From 03cb4d6801c97d156bf02fb5d17a2d8a0b220447 Mon Sep 17 00:00:00 2001 From: LuanRT Date: Thu, 7 May 2026 14:38:16 -0300 Subject: [PATCH] chore(docs): update --- docs/api/classes/Actions.md | 12 +- .../classes/AppendContinuationItemsAction.md | 20 +- docs/api/classes/Continuation.md | 24 +- docs/api/classes/ContinuationCommand.md | 20 +- docs/api/classes/EventEmitter.md | 36 +-- docs/api/classes/GridContinuation.md | 22 +- docs/api/classes/HTTPClient.md | 12 +- docs/api/classes/Innertube.md | 104 ++++--- docs/api/classes/ItemSectionContinuation.md | 20 +- docs/api/classes/LiveChatContinuation.md | 34 +-- .../classes/MusicPlaylistShelfContinuation.md | 20 +- docs/api/classes/MusicShelfContinuation.md | 20 +- docs/api/classes/NavigateAction.md | 18 +- docs/api/classes/OAuth2.md | 38 +-- docs/api/classes/Platform.md | 6 +- docs/api/classes/Player.md | 30 +-- docs/api/classes/PlaylistPanelContinuation.md | 20 +- .../classes/ReloadContinuationItemsCommand.md | 22 +- docs/api/classes/SectionListContinuation.md | 20 +- docs/api/classes/Session.md | 122 ++++----- docs/api/classes/ShowMiniplayerCommand.md | 20 +- docs/api/classes/UniversalCache.md | 12 +- docs/api/enumerations/ClientType.md | 36 ++- docs/api/interfaces/ApiResponse.md | 8 +- docs/api/interfaces/HTTPClientInit.md | 4 +- docs/api/interfaces/IBotguardChallenge.md | 12 +- docs/api/interfaces/IEndpoint.md | 6 +- docs/api/interfaces/IParsedResponse.md | 104 +++---- docs/api/interfaces/IPlayabilityStatus.md | 12 +- docs/api/interfaces/IPlaybackTracking.md | 6 +- docs/api/interfaces/IPlayerConfig.md | 8 +- docs/api/interfaces/IRawBotguardChallenge.md | 12 +- docs/api/interfaces/IRawPlayerConfig.md | 8 +- docs/api/interfaces/IRawResponse.md | 88 +++--- docs/api/interfaces/IRawTrustedResource.md | 6 +- docs/api/interfaces/IStreamingData.md | 14 +- docs/api/interfaces/ITrustedResource.md | 6 +- .../AddToPlaylistServiceRequest.md | 10 +- docs/api/type-aliases/BrowseRequest.md | 16 +- .../BrowseRequestSupportedMetadata.md | 4 +- docs/api/type-aliases/Context.md | 10 +- docs/api/type-aliases/ContinuationRequest.md | 10 +- docs/api/type-aliases/CreateCommentRequest.md | 18 +- .../CreatePlaylistServiceRequest.md | 14 +- .../DeletePlaylistServiceRequest.md | 4 +- docs/api/type-aliases/DeviceAndUserCode.md | 14 +- docs/api/type-aliases/FeedbackContext.md | 4 +- docs/api/type-aliases/FeedbackRequest.md | 10 +- docs/api/type-aliases/FormData.md | 4 +- .../GetAccountsListInnertubeRequest.md | 18 +- .../GetKidsBlocklistPickerRequest.md | 4 +- docs/api/type-aliases/IBrowseResponse.md | 2 +- .../api/type-aliases/IGetChallengeResponse.md | 2 +- .../IGetNotificationsMenuResponse.md | 2 +- .../type-aliases/IGetTranscriptResponse.md | 2 +- docs/api/type-aliases/IGuideResponse.md | 2 +- docs/api/type-aliases/INextResponse.md | 2 +- docs/api/type-aliases/IPlayerResponse.md | 2 +- docs/api/type-aliases/IResolveURLResponse.md | 2 +- docs/api/type-aliases/ISearchResponse.md | 2 +- .../type-aliases/IUpdatedMetadataResponse.md | 2 +- docs/api/type-aliases/InlineSettingStatus.md | 2 +- docs/api/type-aliases/InnertubeEndpoint.md | 2 +- docs/api/type-aliases/LikeRequest.md | 6 +- docs/api/type-aliases/LikeTarget.md | 4 +- .../LiveChatItemContextMenuRequest.md | 4 +- ...ifyChannelNotificationPreferenceRequest.md | 6 +- docs/api/type-aliases/NextNavendpoint.md | 4 +- .../OAuth2AuthErrorEventHandler.md | 2 +- .../type-aliases/OAuth2AuthEventHandler.md | 2 +- .../OAuth2AuthPendingEventHandler.md | 2 +- docs/api/type-aliases/OAuth2ClientID.md | 6 +- docs/api/type-aliases/OAuth2Tokens.md | 16 +- docs/api/type-aliases/ParsedResponse.md | 2 +- .../PerformCommentActionRequest.md | 4 +- docs/api/type-aliases/PlaylistEditRequest.md | 8 +- .../api/type-aliases/PlaylistPrivacyStatus.md | 2 +- docs/api/type-aliases/RawData.md | 2 +- docs/api/type-aliases/RawNode.md | 2 +- docs/api/type-aliases/ReelWatchRequest.md | 10 +- docs/api/type-aliases/SWSessionData.md | 8 +- docs/api/type-aliases/SearchRequest.md | 10 +- docs/api/type-aliases/SessionArgs.md | 20 +- docs/api/type-aliases/SessionData.md | 10 +- docs/api/type-aliases/SessionOptions.md | 51 ++-- .../type-aliases/ShareEntityServiceRequest.md | 6 +- docs/api/type-aliases/SubscribeRequest.md | 12 +- docs/api/type-aliases/UnsubscribeRequest.md | 8 +- docs/api/type-aliases/WatchNextRequest.md | 14 +- docs/api/type-aliases/WatchRequest.md | 22 +- .../BinarySerializer/functions/deserialize.md | 2 +- .../BinarySerializer/functions/serialize.md | 2 +- .../variables/MAGIC_HEADER.md | 2 +- .../BinarySerializer/variables/VERSION.md | 2 +- .../namespaces/Clients/classes/Kids.md | 14 +- .../namespaces/Clients/classes/Music.md | 38 +-- .../namespaces/Clients/classes/Studio.md | 12 +- .../namespaces/Constants/variables/CLIENTS.md | 46 +++- .../Constants/variables/CLIENT_NAME_IDS.md | 6 +- .../variables/INNERTUBE_HEADERS_BASE.md | 2 +- .../namespaces/Constants/variables/OAUTH.md | 2 +- .../Constants/variables/STREAM_HEADERS.md | 2 +- .../Constants/variables/SUPPORTED_CLIENTS.md | 2 +- .../namespaces/Constants/variables/URLS.md | 2 +- .../FormatUtils/functions/chooseFormat.md | 2 +- .../FormatUtils/functions/download.md | 6 +- .../FormatUtils/functions/toDash.md | 2 +- .../Generator/functions/camelToSnake.md | 2 +- .../Generator/functions/createRuntimeClass.md | 2 +- .../functions/generateRuntimeClass.md | 2 +- .../functions/generateTypescriptClass.md | 2 +- .../Generator/functions/inferType.md | 2 +- .../Generator/functions/introspect.md | 2 +- .../Generator/functions/isArrayType.md | 2 +- .../Generator/functions/isIgnoredKey.md | 2 +- .../Generator/functions/isMiscType.md | 2 +- .../Generator/functions/isRenderer.md | 2 +- .../Generator/functions/isRendererList.md | 2 +- .../Generator/functions/mergeKeyInfo.md | 2 +- .../namespaces/Generator/functions/parse.md | 6 +- .../Generator/functions/toParser.md | 8 +- .../Generator/functions/toTypeDeclaration.md | 6 +- .../interfaces/ObjectInferenceType.md | 8 +- .../interfaces/PrimitiveInferenceType.md | 8 +- .../interfaces/RendererInferenceType.md | 8 +- .../type-aliases/ArrayInferenceType.md | 2 +- .../Generator/type-aliases/InferenceType.md | 2 +- .../Generator/type-aliases/KeyInfo.md | 2 +- .../type-aliases/MiscInferenceType.md | 2 +- .../namespaces/Helpers/classes/Maybe.md | 70 ++--- .../namespaces/Helpers/classes/Memo.md | 34 +-- .../Helpers/classes/SuperParsedResult.md | 14 +- .../namespaces/Helpers/classes/YTNode.md | 24 +- .../namespaces/Helpers/functions/observe.md | 2 +- .../Helpers/interfaces/Constructor.md | 4 +- .../Helpers/interfaces/YTNodeConstructor.md | 6 +- .../Helpers/type-aliases/ObservedArray.md | 2 +- .../functions/createWrapperFunction.md | 2 +- .../JsHelpers/functions/extractNodeSource.md | 2 +- .../JsHelpers/functions/getNodeSourceRange.md | 2 +- .../JsHelpers/functions/memberBaseName.md | 2 +- .../JsHelpers/functions/memberToString.md | 2 +- .../namespaces/JsHelpers/functions/walkAst.md | 4 +- .../JsHelpers/interfaces/AstVisitObject.md | 6 +- .../JsHelpers/type-aliases/AstVisitFn.md | 2 +- .../JsHelpers/type-aliases/AstVisitResult.md | 2 +- .../JsHelpers/type-aliases/AstVisitor.md | 2 +- .../JsHelpers/variables/WALK_STOP.md | 2 +- .../namespaces/JsHelpers/variables/indent.md | 2 +- .../JsHelpers/variables/jsBuiltIns.md | 2 +- .../namespaces/JsMatchers/README.md | 3 +- .../JsMatchers/functions/nMatcher.md | 17 -- .../JsMatchers/functions/nsigMatcher.md | 17 ++ .../JsMatchers/functions/sigMatcher.md | 17 -- .../JsMatchers/functions/timestampMatcher.md | 2 +- .../namespaces/LZW/functions/compress.md | 2 +- .../namespaces/LZW/functions/decompress.md | 2 +- .../namespaces/Log/functions/debug.md | 6 +- .../namespaces/Log/functions/error.md | 6 +- .../namespaces/Log/functions/info.md | 6 +- .../namespaces/Log/functions/setLevel.md | 2 +- .../namespaces/Log/functions/warn.md | 6 +- .../namespaces/Log/functions/warnOnce.md | 2 +- .../namespaces/Log/variables/Level.md | 2 +- .../Managers/classes/AccountManager.md | 10 +- .../Managers/classes/InteractionManager.md | 24 +- .../Managers/classes/PlaylistManager.md | 26 +- .../Misc/classes/AccessibilityContext.md | 6 +- .../Misc/classes/AccessibilityData.md | 10 +- .../namespaces/Misc/classes/Author.md | 24 +- .../namespaces/Misc/classes/ChildElement.md | 22 +- .../namespaces/Misc/classes/CommandContext.md | 24 +- .../namespaces/Misc/classes/EmojiRun.md | 12 +- .../namespaces/Misc/classes/Format.md | 118 ++++---- .../Misc/classes/RendererContext.md | 8 +- .../Misc/classes/SubscriptionButton.md | 12 +- .../namespaces/Misc/classes/Text.md | 22 +- .../namespaces/Misc/classes/TextRun.md | 34 +-- .../namespaces/Misc/classes/Thumbnail.md | 12 +- .../namespaces/Misc/classes/VideoDetails.md | 44 +-- .../namespaces/Mixins/classes/Feed.md | 48 ++-- .../Mixins/classes/FilterableFeed.md | 88 +++--- .../namespaces/Mixins/classes/MediaInfo.md | 60 ++--- .../namespaces/Mixins/classes/TabbedFeed.md | 58 ++-- .../Parser/functions/addRuntimeParser.md | 2 +- .../functions/applyCommentsMutations.md | 2 +- .../Parser/functions/applyMutations.md | 2 +- .../Parser/functions/getDynamicParsers.md | 2 +- .../Parser/functions/getParserByName.md | 2 +- .../namespaces/Parser/functions/hasParser.md | 2 +- .../namespaces/Parser/functions/parse.md | 6 +- .../Parser/functions/parseActions.md | 2 +- .../namespaces/Parser/functions/parseArray.md | 6 +- .../namespaces/Parser/functions/parseC.md | 2 +- .../Parser/functions/parseCommand.md | 2 +- .../Parser/functions/parseCommands.md | 2 +- .../Parser/functions/parseFormats.md | 2 +- .../namespaces/Parser/functions/parseItem.md | 6 +- .../namespaces/Parser/functions/parseLC.md | 2 +- .../namespaces/Parser/functions/parseRR.md | 2 +- .../Parser/functions/parseResponse.md | 2 +- .../Parser/functions/sanitizeClassName.md | 2 +- .../Parser/functions/setParserErrorHandler.md | 2 +- .../Parser/functions/shouldIgnore.md | 2 +- .../Parser/type-aliases/ParserError.md | 2 +- .../Parser/type-aliases/ParserErrorHandler.md | 2 +- .../ProtoUtils/functions/decodeVisitorData.md | 2 +- .../functions/encodeCommentActionParams.md | 6 +- .../ProtoUtils/functions/encodeNextParams.md | 2 +- .../ProtoUtils/functions/encodeVisitorData.md | 2 +- .../type-aliases/CommentActionParamsArgs.md | 10 +- .../youtubei.js/namespaces/Types/README.md | 2 +- .../namespaces/Types/classes/JsAnalyzer.md | 18 +- .../namespaces/Types/classes/JsExtractor.md | 6 +- .../Types/interfaces/AnalyzerOptions.md | 4 +- .../Types/interfaces/BuildScriptResult.md | 8 +- .../Types/interfaces/DownloadOptions.md | 20 +- .../Types/interfaces/EmitterOptions.md | 12 +- .../Types/interfaces/ExtractionConfig.md | 29 +- .../Types/interfaces/ExtractionState.md | 16 +- .../Types/interfaces/FormatOptions.md | 18 +- .../Types/interfaces/GetVideoInfoOptions.md | 6 +- .../namespaces/Types/interfaces/ICache.md | 10 +- .../Types/interfaces/ICacheConstructor.md | 4 +- .../Types/interfaces/PlatformShim.md | 46 ++-- .../interfaces/SideEffectPolicyOptions.md | 4 +- .../Types/interfaces/VariableMetadata.md | 20 +- .../namespaces/Types/type-aliases/Duration.md | 4 +- .../Types/type-aliases/EngagementType.md | 2 +- .../Types/type-aliases/EvalResult.md | 2 +- .../Types/type-aliases/ExtractionMatch.md | 2 +- .../namespaces/Types/type-aliases/Feature.md | 2 +- .../Types/type-aliases/FetchFunction.md | 2 +- .../Types/type-aliases/FormatFilter.md | 2 +- .../Types/type-aliases/InnerTubeClient.md | 4 +- .../Types/type-aliases/InnerTubeConfig.md | 2 +- .../Types/type-aliases/MusicSearchFilters.md | 4 +- .../Types/type-aliases/MusicSearchType.md | 2 +- .../Types/type-aliases/Prioritize.md | 7 + .../namespaces/Types/type-aliases/Runtime.md | 2 +- .../Types/type-aliases/SearchFilters.md | 16 +- .../Types/type-aliases/SearchType.md | 4 +- .../Types/type-aliases/SideEffectMode.md | 2 +- .../namespaces/Types/type-aliases/SortBy.md | 7 - .../Types/type-aliases/URLTransformer.md | 2 +- .../UpdateVideoMetadataOptions.md | 2 +- .../Types/type-aliases/UploadDate.md | 4 +- .../UploadedVideoMetadataOptions.md | 2 +- .../Types/type-aliases/VMPrimative.md | 2 +- .../youtubei.js/namespaces/Utils/README.md | 1 + .../namespaces/Utils/classes/ChannelError.md | 34 ++- .../Utils/classes/InnertubeError.md | 42 ++- .../Utils/classes/MissingParamError.md | 42 ++- .../namespaces/Utils/classes/OAuth2Error.md | 42 ++- .../namespaces/Utils/classes/ParsingError.md | 42 ++- .../namespaces/Utils/classes/PlayerError.md | 34 ++- .../namespaces/Utils/classes/SessionError.md | 34 ++- .../namespaces/Utils/functions/base64ToU8.md | 2 +- .../namespaces/Utils/functions/concatMemos.md | 2 +- .../namespaces/Utils/functions/deepCompare.md | 2 +- .../Utils/functions/escapeStringRegexp.md | 2 +- .../Utils/functions/generateRandomString.md | 2 +- .../Utils/functions/generateSidAuth.md | 2 +- .../namespaces/Utils/functions/getCookie.md | 6 +- .../Utils/functions/getNsigProcessorFn.md | 25 ++ .../Utils/functions/getRandomUserAgent.md | 2 +- .../functions/getStringBetweenStrings.md | 2 +- .../namespaces/Utils/functions/hasKeys.md | 2 +- .../namespaces/Utils/functions/isTextRun.md | 2 +- .../Utils/functions/streamToIterable.md | 8 +- .../Utils/functions/throwIfMissing.md | 2 +- .../Utils/functions/timeToSeconds.md | 2 +- .../namespaces/Utils/functions/u8ToBase64.md | 2 +- .../Utils/type-aliases/DeviceCategory.md | 2 +- .../namespaces/Utils/variables/debugFetch.md | 2 +- .../namespaces/YT/classes/AccountInfo.md | 8 +- .../namespaces/YT/classes/Channel.md | 199 +++++++++----- .../YT/classes/ChannelListContinuation.md | 50 ++-- .../namespaces/YT/classes/Comments.md | 22 +- .../YT/classes/FilteredChannelList.md | 130 +++++---- .../namespaces/YT/classes/Guide.md | 8 +- .../namespaces/YT/classes/HashtagFeed.md | 96 ++++--- .../namespaces/YT/classes/History.md | 58 ++-- .../namespaces/YT/classes/HomeFeed.md | 100 ++++--- .../namespaces/YT/classes/ItemMenu.md | 12 +- .../namespaces/YT/classes/Library.md | 58 ++-- .../namespaces/YT/classes/LiveChat.md | 74 +++-- .../YT/classes/NotificationsMenu.md | 12 +- .../namespaces/YT/classes/Playlist.md | 58 ++-- .../namespaces/YT/classes/Search.md | 66 ++--- .../namespaces/YT/classes/Settings.md | 20 +- .../namespaces/YT/classes/SmoothedQueue.md | 24 +- .../namespaces/YT/classes/TranscriptInfo.md | 14 +- .../namespaces/YT/classes/VideoInfo.md | 100 +++---- .../namespaces/YTKids/classes/Channel.md | 52 ++-- .../namespaces/YTKids/classes/HomeFeed.md | 56 ++-- .../namespaces/YTKids/classes/Search.md | 48 ++-- .../namespaces/YTKids/classes/VideoInfo.md | 68 ++--- .../namespaces/YTMusic/classes/Album.md | 16 +- .../namespaces/YTMusic/classes/Artist.md | 12 +- .../namespaces/YTMusic/classes/Explore.md | 10 +- .../namespaces/YTMusic/classes/HomeFeed.md | 18 +- .../namespaces/YTMusic/classes/Library.md | 22 +- .../YTMusic/classes/LibraryContinuation.md | 12 +- .../namespaces/YTMusic/classes/Playlist.md | 26 +- .../namespaces/YTMusic/classes/Recap.md | 12 +- .../namespaces/YTMusic/classes/Search.md | 36 +-- .../namespaces/YTMusic/classes/TrackInfo.md | 74 ++--- .../youtubei.js/namespaces/YTNodes/README.md | 8 + .../YTNodes/classes/AboutChannel.md | 20 +- .../YTNodes/classes/AboutChannelView.md | 44 +-- .../YTNodes/classes/AccountChannel.md | 20 +- .../namespaces/YTNodes/classes/AccountItem.md | 32 +-- .../YTNodes/classes/AccountItemSection.md | 20 +- .../classes/AccountItemSectionHeader.md | 18 +- .../YTNodes/classes/AccountSectionList.md | 20 +- .../YTNodes/classes/ActiveAccountHeader.md | 26 +- .../classes/AddBannerToLiveChatCommand.md | 18 +- .../YTNodes/classes/AddChatItemAction.md | 20 +- .../classes/AddLiveChatTickerItemAction.md | 20 +- .../YTNodes/classes/AddToPlaylist.md | 20 +- .../YTNodes/classes/AddToPlaylistCommand.md | 26 +- .../YTNodes/classes/AddToPlaylistEndpoint.md | 20 +- .../classes/AddToPlaylistServiceEndpoint.md | 20 +- .../namespaces/YTNodes/classes/Alert.md | 20 +- .../YTNodes/classes/AlertWithButton.md | 22 +- .../YTNodes/classes/AnchoredSection.md | 26 +- .../classes/AnimatedThumbnailOverlayView.md | 18 +- .../YTNodes/classes/AttributionView.md | 20 +- .../YTNodes/classes/AudioOnlyPlayability.md | 18 +- .../YTNodes/classes/AuthorCommentBadge.md | 24 +- .../YTNodes/classes/AutomixPreviewVideo.md | 18 +- .../YTNodes/classes/AvatarStackView.md | 22 +- .../namespaces/YTNodes/classes/AvatarView.md | 22 +- .../YTNodes/classes/BackgroundPromo.md | 24 +- .../YTNodes/classes/BackstageImage.md | 20 +- .../YTNodes/classes/BackstagePost.md | 42 +-- .../YTNodes/classes/BackstagePostThread.md | 18 +- .../namespaces/YTNodes/classes/BadgeView.md | 22 +- .../YTNodes/classes/BrowseEndpoint.md | 20 +- .../YTNodes/classes/BrowseFeedActions.md | 18 +- .../YTNodes/classes/BrowserMediaSession.md | 20 +- .../classes/BumperUserEduContentView.md | 22 +- .../namespaces/YTNodes/classes/Button.md | 36 +-- .../YTNodes/classes/ButtonCardView.md | 22 +- .../namespaces/YTNodes/classes/ButtonView.md | 72 ++--- .../YTNodes/classes/C4TabbedHeader.md | 40 +-- .../YTNodes/classes/CallToActionButton.md | 22 +- .../namespaces/YTNodes/classes/Card.md | 26 +- .../YTNodes/classes/CardCollection.md | 22 +- .../YTNodes/classes/CarouselHeader.md | 18 +- .../YTNodes/classes/CarouselItem.md | 28 +- .../YTNodes/classes/CarouselItemView.md | 20 +- .../YTNodes/classes/CarouselLockup.md | 20 +- .../YTNodes/classes/CarouselTitleView.md | 22 +- .../ChangeEngagementPanelVisibilityAction.md | 20 +- .../namespaces/YTNodes/classes/Channel.md | 34 +-- .../classes/ChannelAboutFullMetadata.md | 40 +-- .../YTNodes/classes/ChannelAgeGate.md | 28 +- .../classes/ChannelExternalLinkView.md | 22 +- .../YTNodes/classes/ChannelFeaturedContent.md | 20 +- .../YTNodes/classes/ChannelHeaderLinks.md | 20 +- .../YTNodes/classes/ChannelHeaderLinksView.md | 20 +- .../YTNodes/classes/ChannelMetadata.md | 44 +-- .../YTNodes/classes/ChannelMobileHeader.md | 18 +- .../YTNodes/classes/ChannelOptions.md | 24 +- .../YTNodes/classes/ChannelOwnerEmptyState.md | 20 +- .../YTNodes/classes/ChannelSubMenu.md | 20 +- .../YTNodes/classes/ChannelSwitcherHeader.md | 20 +- .../YTNodes/classes/ChannelSwitcherPage.md | 20 +- .../YTNodes/classes/ChannelTagline.md | 28 +- .../classes/ChannelThumbnailWithLink.md | 24 +- .../YTNodes/classes/ChannelVideoPlayer.md | 26 +- .../namespaces/YTNodes/classes/Chapter.md | 22 +- .../namespaces/YTNodes/classes/ChildVideo.md | 24 +- .../namespaces/YTNodes/classes/ChipBarView.md | 34 ++- .../namespaces/YTNodes/classes/ChipCloud.md | 24 +- .../YTNodes/classes/ChipCloudChip.md | 22 +- .../namespaces/YTNodes/classes/ChipView.md | 118 ++++++-- .../classes/ClientSideToggleMenuItem.md | 32 +-- .../namespaces/YTNodes/classes/ClipAdState.md | 20 +- .../YTNodes/classes/ClipCreation.md | 36 +-- .../YTNodes/classes/ClipCreationScrubber.md | 32 +-- .../YTNodes/classes/ClipCreationTextInput.md | 20 +- .../namespaces/YTNodes/classes/ClipSection.md | 18 +- .../classes/CollaboratorInfoCardContent.md | 26 +- .../YTNodes/classes/CollageHeroImage.md | 24 +- .../classes/CollectionThumbnailView.md | 30 +-- .../YTNodes/classes/CommandExecutorCommand.md | 18 +- .../YTNodes/classes/CommentActionButtons.md | 24 +- .../YTNodes/classes/CommentDialog.md | 30 +-- .../YTNodes/classes/CommentReplies.md | 26 +- .../YTNodes/classes/CommentReplyDialog.md | 26 +- .../YTNodes/classes/CommentSimplebox.md | 26 +- .../YTNodes/classes/CommentThread.md | 34 +-- .../namespaces/YTNodes/classes/CommentView.md | 94 +++---- .../classes/CommentsEntryPointHeader.md | 28 +- .../classes/CommentsEntryPointTeaser.md | 20 +- .../YTNodes/classes/CommentsHeader.md | 28 +- .../YTNodes/classes/CommentsSimplebox.md | 20 +- .../YTNodes/classes/CompactChannel.md | 34 +-- .../namespaces/YTNodes/classes/CompactLink.md | 28 +- .../namespaces/YTNodes/classes/CompactMix.md | 44 +-- .../YTNodes/classes/CompactMovie.md | 38 +-- .../YTNodes/classes/CompactPlaylist.md | 44 +-- .../YTNodes/classes/CompactStation.md | 26 +- .../YTNodes/classes/CompactVideo.md | 68 ++--- .../classes/CompositeVideoPrimaryInfo.md | 20 +- .../YTNodes/classes/ConfirmDialog.md | 24 +- .../YTNodes/classes/ContentMetadataView.md | 20 +- .../classes/ContentPreviewImageView.md | 20 +- .../YTNodes/classes/ContinuationCommand.md | 20 +- .../YTNodes/classes/ContinuationItem.md | 22 +- .../YTNodes/classes/ConversationBar.md | 18 +- .../namespaces/YTNodes/classes/CopyLink.md | 22 +- .../YTNodes/classes/CreateCommentEndpoint.md | 20 +- .../YTNodes/classes/CreatePlaylistDialog.md | 26 +- .../classes/CreatePlaylistDialogFormView.md | 28 +- .../classes/CreatePlaylistServiceEndpoint.md | 20 +- .../YTNodes/classes/CreatorHeart.md | 30 +-- .../YTNodes/classes/CreatorHeartView.md | 32 +-- .../YTNodes/classes/DecoratedAvatarView.md | 22 +- .../YTNodes/classes/DecoratedPlayerBar.md | 20 +- .../YTNodes/classes/DefaultPromoPanel.md | 38 +-- .../YTNodes/classes/DeletePlaylistEndpoint.md | 20 +- .../YTNodes/classes/DescriptionPreviewView.md | 28 +- .../YTNodes/classes/DialogHeaderView.md | 18 +- .../namespaces/YTNodes/classes/DialogView.md | 24 +- .../namespaces/YTNodes/classes/DidYouMean.md | 22 +- .../YTNodes/classes/DimChatItemAction.md | 18 +- .../YTNodes/classes/DislikeButtonView.md | 20 +- .../YTNodes/classes/DismissableDialog.md | 24 +- .../DismissableDialogContentSection.md | 20 +- .../YTNodes/classes/DownloadButton.md | 24 +- .../YTNodes/classes/DownloadListItemView.md | 223 +++++++++++++++ .../namespaces/YTNodes/classes/Dropdown.md | 20 +- .../YTNodes/classes/DropdownItem.md | 28 +- .../YTNodes/classes/DropdownView.md | 28 +- .../YTNodes/classes/DynamicTextView.md | 20 +- .../namespaces/YTNodes/classes/Element.md | 20 +- .../YTNodes/classes/EmergencyOnebox.md | 22 +- .../namespaces/YTNodes/classes/EmojiPicker.md | 42 +-- .../YTNodes/classes/EmojiPickerCategory.md | 26 +- .../classes/EmojiPickerCategoryButton.md | 22 +- .../classes/EmojiPickerUpsellCategory.md | 28 +- .../YTNodes/classes/EndScreenPlaylist.md | 28 +- .../YTNodes/classes/EndScreenVideo.md | 34 +-- .../namespaces/YTNodes/classes/Endscreen.md | 20 +- .../YTNodes/classes/EndscreenElement.md | 52 ++-- .../classes/EngagementPanelSectionList.md | 28 +- .../classes/EngagementPanelTitleHeader.md | 24 +- .../YTNodes/classes/EomSettingsDisclaimer.md | 22 +- .../YTNodes/classes/ExpandableMetadata.md | 26 +- .../YTNodes/classes/ExpandableTab.md | 24 +- .../classes/ExpandableVideoDescriptionBody.md | 22 +- .../YTNodes/classes/ExpandedShelfContents.md | 20 +- .../namespaces/YTNodes/classes/Factoid.md | 22 +- .../YTNodes/classes/FancyDismissibleDialog.md | 20 +- .../YTNodes/classes/FeedFilterChipBar.md | 18 +- .../namespaces/YTNodes/classes/FeedNudge.md | 28 +- .../YTNodes/classes/FeedTabbedHeader.md | 18 +- .../YTNodes/classes/FeedbackEndpoint.md | 20 +- .../YTNodes/classes/FlexibleActionsView.md | 20 +- .../namespaces/YTNodes/classes/Form.md | 18 +- .../YTNodes/classes/FormFooterView.md | 22 +- .../namespaces/YTNodes/classes/FormPopup.md | 22 +- .../namespaces/YTNodes/classes/GameCard.md | 18 +- .../namespaces/YTNodes/classes/GameDetails.md | 26 +- .../GetAccountsListInnertubeEndpoint.md | 20 +- .../classes/GetKidsBlocklistPickerCommand.md | 20 +- .../YTNodes/classes/GetMultiPageMenuAction.md | 18 +- .../namespaces/YTNodes/classes/Grid.md | 30 +-- .../namespaces/YTNodes/classes/GridChannel.md | 28 +- .../namespaces/YTNodes/classes/GridHeader.md | 18 +- .../namespaces/YTNodes/classes/GridMix.md | 34 +-- .../namespaces/YTNodes/classes/GridMovie.md | 32 +-- .../YTNodes/classes/GridPlaylist.md | 38 +-- .../YTNodes/classes/GridShelfView.md | 30 +-- .../namespaces/YTNodes/classes/GridShow.md | 28 +- .../namespaces/YTNodes/classes/GridVideo.md | 52 ++-- .../YTNodes/classes/GuideCollapsibleEntry.md | 22 +- .../classes/GuideCollapsibleSectionEntry.md | 24 +- .../YTNodes/classes/GuideDownloadsEntry.md | 30 +-- .../namespaces/YTNodes/classes/GuideEntry.md | 28 +- .../YTNodes/classes/GuideSection.md | 20 +- .../classes/GuideSubscriptionsSection.md | 20 +- .../YTNodes/classes/HashtagHeader.md | 20 +- .../namespaces/YTNodes/classes/HashtagTile.md | 30 +-- .../namespaces/YTNodes/classes/HeatMarker.md | 22 +- .../namespaces/YTNodes/classes/Heatmap.md | 26 +- .../YTNodes/classes/HeroPlaylistThumbnail.md | 20 +- .../classes/HideEngagementPanelEndpoint.md | 18 +- .../YTNodes/classes/HighlightsCarousel.md | 18 +- .../YTNodes/classes/HistorySuggestion.md | 24 +- .../YTNodes/classes/HorizontalCardList.md | 24 +- .../YTNodes/classes/HorizontalList.md | 22 +- .../YTNodes/classes/HorizontalMovieList.md | 24 +- .../classes/HowThisWasMadeSectionView.md | 22 +- .../YTNodes/classes/HypePointsFactoid.md | 18 +- .../namespaces/YTNodes/classes/IconLink.md | 22 +- .../YTNodes/classes/ImageBannerView.md | 20 +- .../YTNodes/classes/IncludingResultsFor.md | 28 +- .../YTNodes/classes/InfoPanelContainer.md | 30 +-- .../YTNodes/classes/InfoPanelContent.md | 34 +-- .../namespaces/YTNodes/classes/InfoRow.md | 24 +- .../classes/InteractiveTabbedHeader.md | 34 +-- .../namespaces/YTNodes/classes/ItemSection.md | 24 +- .../YTNodes/classes/ItemSectionHeader.md | 18 +- .../YTNodes/classes/ItemSectionTab.md | 22 +- .../classes/ItemSectionTabbedHeader.md | 22 +- .../YTNodes/classes/KidsBlocklistPicker.md | 24 +- .../classes/KidsBlocklistPickerItem.md | 30 +-- .../YTNodes/classes/KidsCategoriesHeader.md | 20 +- .../YTNodes/classes/KidsCategoryTab.md | 24 +- .../YTNodes/classes/KidsHomeScreen.md | 18 +- .../namespaces/YTNodes/classes/LikeButton.md | 24 +- .../YTNodes/classes/LikeButtonView.md | 22 +- .../YTNodes/classes/LikeEndpoint.md | 22 +- .../YTNodes/classes/ListItemView.md | 98 +++++-- .../namespaces/YTNodes/classes/ListView.md | 28 +- .../namespaces/YTNodes/classes/LiveChat.md | 26 +- .../YTNodes/classes/LiveChatActionPanel.md | 22 +- .../YTNodes/classes/LiveChatAuthorBadge.md | 26 +- .../YTNodes/classes/LiveChatAutoModMessage.md | 28 +- .../YTNodes/classes/LiveChatBanner.md | 36 +-- .../classes/LiveChatBannerChatSummary.md | 26 +- .../YTNodes/classes/LiveChatBannerHeader.md | 22 +- .../YTNodes/classes/LiveChatBannerPoll.md | 28 +- .../YTNodes/classes/LiveChatBannerRedirect.md | 24 +- .../YTNodes/classes/LiveChatDialog.md | 20 +- .../YTNodes/classes/LiveChatHeader.md | 22 +- .../YTNodes/classes/LiveChatItemBumperView.md | 18 +- .../LiveChatItemContextMenuEndpoint.md | 20 +- .../YTNodes/classes/LiveChatItemList.md | 20 +- .../YTNodes/classes/LiveChatMembershipItem.md | 36 +-- .../YTNodes/classes/LiveChatMessageInput.md | 24 +- .../classes/LiveChatModeChangeMessage.md | 30 +-- .../YTNodes/classes/LiveChatPaidMessage.md | 58 ++-- .../YTNodes/classes/LiveChatPaidSticker.md | 50 ++-- .../YTNodes/classes/LiveChatParticipant.md | 22 +- .../classes/LiveChatParticipantsList.md | 20 +- .../classes/LiveChatPlaceholderItem.md | 20 +- .../YTNodes/classes/LiveChatProductItem.md | 44 +-- .../LiveChatRestrictedParticipation.md | 20 +- ...hatSponsorshipsGiftPurchaseAnnouncement.md | 24 +- ...tSponsorshipsGiftRedemptionAnnouncement.md | 30 +-- .../classes/LiveChatSponsorshipsHeader.md | 30 +-- .../YTNodes/classes/LiveChatTextMessage.md | 36 +-- .../classes/LiveChatTickerPaidMessageItem.md | 40 +-- .../classes/LiveChatTickerPaidStickerItem.md | 36 +-- .../classes/LiveChatTickerSponsorItem.md | 24 +- .../LiveChatViewerEngagementMessage.md | 32 +-- .../YTNodes/classes/LockupMetadataView.md | 24 +- .../namespaces/YTNodes/classes/LockupView.md | 26 +- .../YTNodes/classes/MacroMarkersInfoItem.md | 20 +- .../YTNodes/classes/MacroMarkersList.md | 20 +- .../YTNodes/classes/MacroMarkersListEntity.md | 36 +-- .../YTNodes/classes/MacroMarkersListItem.md | 28 +- .../classes/MarkChatItemAsDeletedAction.md | 20 +- .../MarkChatItemsByAuthorAsDeletedAction.md | 20 +- .../namespaces/YTNodes/classes/Menu.md | 28 +- .../YTNodes/classes/MenuFlexibleItem.md | 22 +- .../YTNodes/classes/MenuNavigationItem.md | 36 +-- .../namespaces/YTNodes/classes/MenuPopup.md | 18 +- .../YTNodes/classes/MenuServiceItem.md | 36 +-- .../classes/MenuServiceItemDownload.md | 20 +- .../namespaces/YTNodes/classes/MenuTitle.md | 18 +- .../YTNodes/classes/MerchandiseItem.md | 38 +-- .../YTNodes/classes/MerchandiseShelf.md | 24 +- .../namespaces/YTNodes/classes/Message.md | 18 +- .../YTNodes/classes/MetadataBadge.md | 24 +- .../namespaces/YTNodes/classes/MetadataRow.md | 20 +- .../YTNodes/classes/MetadataRowContainer.md | 20 +- .../YTNodes/classes/MetadataRowHeader.md | 20 +- .../YTNodes/classes/MetadataScreen.md | 18 +- .../YTNodes/classes/MicroformatData.md | 62 ++--- .../namespaces/YTNodes/classes/Mix.md | 44 +-- .../YTNodes/classes/MobileTopbar.md | 22 +- .../classes/ModalWithTitleAndButton.md | 22 +- ...fyChannelNotificationPreferenceEndpoint.md | 20 +- .../namespaces/YTNodes/classes/Movie.md | 42 +-- .../YTNodes/classes/MovingThumbnail.md | 16 +- .../YTNodes/classes/MultiMarkersPlayerBar.md | 18 +- .../YTNodes/classes/MultiPageMenu.md | 22 +- .../MultiPageMenuNotificationSection.md | 22 +- .../YTNodes/classes/MultiPageMenuSection.md | 18 +- .../YTNodes/classes/MusicCardShelf.md | 38 +-- .../classes/MusicCardShelfHeaderBasic.md | 18 +- .../YTNodes/classes/MusicCarouselShelf.md | 22 +- .../classes/MusicCarouselShelfBasicHeader.md | 26 +- .../YTNodes/classes/MusicDescriptionShelf.md | 24 +- .../YTNodes/classes/MusicDetailHeader.md | 38 +-- .../classes/MusicDownloadStateBadge.md | 20 +- .../MusicEditablePlaylistDetailHeader.md | 22 +- .../YTNodes/classes/MusicElementHeader.md | 18 +- .../namespaces/YTNodes/classes/MusicHeader.md | 20 +- .../YTNodes/classes/MusicImmersiveHeader.md | 34 +-- .../YTNodes/classes/MusicInlineBadge.md | 22 +- .../classes/MusicItemThumbnailOverlay.md | 22 +- .../classes/MusicLargeCardItemCarousel.md | 20 +- .../YTNodes/classes/MusicMenuItemDivider.md | 16 +- .../YTNodes/classes/MusicMultiRowListItem.md | 34 +-- .../YTNodes/classes/MusicMultiSelectMenu.md | 20 +- .../classes/MusicMultiSelectMenuItem.md | 26 +- .../YTNodes/classes/MusicNavigationButton.md | 20 +- .../YTNodes/classes/MusicPlayButton.md | 32 +-- .../classes/MusicPlaylistEditHeader.md | 30 +-- .../YTNodes/classes/MusicPlaylistShelf.md | 24 +- .../namespaces/YTNodes/classes/MusicQueue.md | 18 +- .../YTNodes/classes/MusicResponsiveHeader.md | 34 +-- .../classes/MusicResponsiveListItem.md | 64 ++--- .../MusicResponsiveListItemFixedColumn.md | 20 +- .../MusicResponsiveListItemFlexColumn.md | 20 +- .../namespaces/YTNodes/classes/MusicShelf.md | 30 +-- .../YTNodes/classes/MusicSideAlignedItem.md | 20 +- .../YTNodes/classes/MusicSortFilterButton.md | 22 +- .../YTNodes/classes/MusicTastebuilderShelf.md | 26 +- .../MusicTastebuilderShelfThumbnail.md | 18 +- .../YTNodes/classes/MusicThumbnail.md | 18 +- .../YTNodes/classes/MusicTwoRowItem.md | 46 ++-- .../YTNodes/classes/MusicVisualHeader.md | 24 +- .../YTNodes/classes/NavigationEndpoint.md | 42 +-- .../YTNodes/classes/Notification.md | 34 +-- .../YTNodes/classes/NotificationAction.md | 18 +- .../OpenOnePickAddVideoModalCommand.md | 22 +- .../YTNodes/classes/OpenPopupAction.md | 20 +- .../namespaces/YTNodes/classes/PageHeader.md | 20 +- .../YTNodes/classes/PageHeaderView.md | 34 +-- .../YTNodes/classes/PageIndicatorView.md | 231 ++++++++++++++++ .../YTNodes/classes/PageIntroduction.md | 24 +- .../YTNodes/classes/PanelFooterView.md | 22 +- .../YTNodes/classes/PdgCommentChip.md | 22 +- .../YTNodes/classes/PdgReplyButtonView.md | 22 +- .../classes/PerformCommentActionEndpoint.md | 20 +- .../namespaces/YTNodes/classes/PivotBar.md | 18 +- .../YTNodes/classes/PivotBarItem.md | 30 +-- .../namespaces/YTNodes/classes/PivotButton.md | 30 +-- .../classes/PlayerAnnotationsExpanded.md | 22 +- .../YTNodes/classes/PlayerCaptchaView.md | 255 ++++++++++++++++++ .../classes/PlayerCaptionsTracklist.md | 24 +- .../YTNodes/classes/PlayerControlsOverlay.md | 18 +- .../YTNodes/classes/PlayerErrorMessage.md | 26 +- .../classes/PlayerLegacyDesktopYpcOffer.md | 24 +- .../classes/PlayerLegacyDesktopYpcTrailer.md | 34 +-- .../classes/PlayerLiveStoryboardSpec.md | 18 +- .../YTNodes/classes/PlayerMicroformat.md | 48 ++-- .../YTNodes/classes/PlayerOverflow.md | 20 +- .../YTNodes/classes/PlayerOverlay.md | 34 +-- .../YTNodes/classes/PlayerOverlayAutoplay.md | 42 +-- .../classes/PlayerOverlayVideoDetails.md | 20 +- .../YTNodes/classes/PlayerStoryboardSpec.md | 18 +- .../namespaces/YTNodes/classes/Playlist.md | 44 +-- .../YTNodes/classes/PlaylistAddToOption.md | 30 +-- .../classes/PlaylistCustomThumbnail.md | 18 +- .../YTNodes/classes/PlaylistEditEndpoint.md | 20 +- .../YTNodes/classes/PlaylistHeader.md | 50 ++-- .../classes/PlaylistInfoCardContent.md | 26 +- .../YTNodes/classes/PlaylistMetadata.md | 20 +- .../YTNodes/classes/PlaylistPanel.md | 34 +-- .../YTNodes/classes/PlaylistPanelVideo.md | 40 +-- .../classes/PlaylistPanelVideoWrapper.md | 20 +- .../YTNodes/classes/PlaylistSidebar.md | 20 +- .../classes/PlaylistSidebarPrimaryInfo.md | 28 +- .../classes/PlaylistSidebarSecondaryInfo.md | 20 +- .../classes/PlaylistThumbnailOverlay.md | 20 +- .../YTNodes/classes/PlaylistVideo.md | 50 ++-- .../YTNodes/classes/PlaylistVideoList.md | 24 +- .../YTNodes/classes/PlaylistVideoThumbnail.md | 18 +- .../namespaces/YTNodes/classes/Poll.md | 24 +- .../namespaces/YTNodes/classes/PollHeader.md | 26 +- .../namespaces/YTNodes/classes/Post.md | 42 +-- .../YTNodes/classes/PostMultiImage.md | 18 +- .../YTNodes/classes/PrefetchWatchCommand.md | 20 +- .../YTNodes/classes/PremiereTrailerBadge.md | 18 +- .../namespaces/YTNodes/classes/ProductList.md | 18 +- .../YTNodes/classes/ProductListHeader.md | 20 +- .../YTNodes/classes/ProductListItem.md | 32 +-- .../YTNodes/classes/ProfileColumn.md | 20 +- .../YTNodes/classes/ProfileColumnStats.md | 20 +- .../classes/ProfileColumnStatsEntry.md | 20 +- .../YTNodes/classes/ProfileColumnUserInfo.md | 20 +- .../namespaces/YTNodes/classes/Quiz.md | 20 +- .../YTNodes/classes/RecognitionShelf.md | 26 +- .../namespaces/YTNodes/classes/ReelItem.md | 30 +-- .../YTNodes/classes/ReelPlayerHeader.md | 26 +- .../YTNodes/classes/ReelPlayerOverlay.md | 38 +-- .../namespaces/YTNodes/classes/ReelShelf.md | 24 +- .../YTNodes/classes/ReelWatchEndpoint.md | 20 +- .../YTNodes/classes/RelatedChipCloud.md | 18 +- .../classes/RemoveBannerForLiveChatCommand.md | 18 +- .../YTNodes/classes/RemoveChatItemAction.md | 18 +- .../classes/RemoveChatItemByAuthorAction.md | 18 +- .../YTNodes/classes/ReplaceChatItemAction.md | 20 +- .../YTNodes/classes/ReplaceLiveChatAction.md | 20 +- .../YTNodes/classes/ReplayChatItemAction.md | 20 +- .../namespaces/YTNodes/classes/RichGrid.md | 22 +- .../namespaces/YTNodes/classes/RichItem.md | 18 +- .../YTNodes/classes/RichListHeader.md | 24 +- .../YTNodes/classes/RichMetadata.md | 28 +- .../YTNodes/classes/RichMetadataRow.md | 18 +- .../namespaces/YTNodes/classes/RichSection.md | 22 +- .../namespaces/YTNodes/classes/RichShelf.md | 40 +-- .../YTNodes/classes/RunAttestationCommand.md | 20 +- .../namespaces/YTNodes/classes/SearchBox.md | 24 +- .../YTNodes/classes/SearchEndpoint.md | 20 +- .../YTNodes/classes/SearchFilter.md | 28 +- .../YTNodes/classes/SearchFilterGroup.md | 20 +- .../classes/SearchFilterOptionsDialog.md | 20 +- .../YTNodes/classes/SearchHeader.md | 20 +- .../YTNodes/classes/SearchRefinementCard.md | 22 +- .../YTNodes/classes/SearchSubMenu.md | 22 +- .../YTNodes/classes/SearchSuggestion.md | 24 +- .../classes/SearchSuggestionsSection.md | 18 +- .../classes/SecondarySearchContainer.md | 20 +- .../YTNodes/classes/SectionHeaderView.md | 18 +- .../namespaces/YTNodes/classes/SectionList.md | 26 +- .../classes/SegmentedLikeDislikeButton.md | 20 +- .../classes/SegmentedLikeDislikeButtonView.md | 30 +-- .../YTNodes/classes/SendFeedbackAction.md | 18 +- .../YTNodes/classes/SettingBoolean.md | 26 +- .../YTNodes/classes/SettingsCheckbox.md | 26 +- .../YTNodes/classes/SettingsOptions.md | 22 +- .../YTNodes/classes/SettingsSidebar.md | 22 +- .../YTNodes/classes/SettingsSwitch.md | 26 +- .../YTNodes/classes/ShareEndpoint.md | 20 +- .../YTNodes/classes/ShareEntityEndpoint.md | 20 +- .../classes/ShareEntityServiceEndpoint.md | 20 +- .../YTNodes/classes/SharePanelHeader.md | 18 +- .../YTNodes/classes/SharePanelTitleV15.md | 18 +- .../namespaces/YTNodes/classes/ShareTarget.md | 24 +- .../namespaces/YTNodes/classes/SharedPost.md | 34 +-- .../namespaces/YTNodes/classes/SheetView.md | 247 +++++++++++++++++ .../namespaces/YTNodes/classes/Shelf.md | 30 +-- .../YTNodes/classes/ShortsLockupView.md | 36 +-- .../YTNodes/classes/ShowCustomThumbnail.md | 18 +- .../YTNodes/classes/ShowDialogCommand.md | 20 +- .../classes/ShowEngagementPanelEndpoint.md | 20 +- .../classes/ShowLiveChatActionPanelAction.md | 18 +- .../classes/ShowLiveChatDialogAction.md | 18 +- .../classes/ShowLiveChatTooltipCommand.md | 18 +- .../YTNodes/classes/ShowSheetCommand.md | 231 ++++++++++++++++ .../YTNodes/classes/ShowingResultsFor.md | 28 +- .../YTNodes/classes/SignalAction.md | 18 +- .../YTNodes/classes/SignalServiceEndpoint.md | 20 +- .../YTNodes/classes/SimpleCardContent.md | 28 +- .../YTNodes/classes/SimpleCardTeaser.md | 20 +- .../YTNodes/classes/SimpleMenuHeader.md | 20 +- .../YTNodes/classes/SimpleTextSection.md | 20 +- .../classes/SingleActionEmergencySupport.md | 26 +- .../classes/SingleColumnBrowseResults.md | 18 +- .../SingleColumnMusicWatchNextResults.md | 18 +- .../YTNodes/classes/SingleHeroImage.md | 20 +- .../namespaces/YTNodes/classes/SlimOwner.md | 24 +- .../YTNodes/classes/SlimVideoMetadata.md | 30 +-- .../YTNodes/classes/SortFilterHeader.md | 18 +- .../YTNodes/classes/SortFilterSubMenu.md | 28 +- .../YTNodes/classes/SponsorCommentBadge.md | 20 +- .../namespaces/YTNodes/classes/StartAt.md | 18 +- .../classes/StructuredDescriptionContent.md | 20 +- .../StructuredDescriptionPlaylistLockup.md | 36 +-- .../YTNodes/classes/SubFeedOption.md | 22 +- .../YTNodes/classes/SubFeedSelector.md | 20 +- .../YTNodes/classes/SubscribeButton.md | 50 ++-- .../YTNodes/classes/SubscribeButtonView.md | 74 ++--- .../YTNodes/classes/SubscribeEndpoint.md | 20 +- .../SubscriptionNotificationToggleButton.md | 22 +- .../namespaces/YTNodes/classes/Tab.md | 24 +- .../namespaces/YTNodes/classes/Tabbed.md | 18 +- .../YTNodes/classes/TabbedSearchResults.md | 18 +- .../YTNodes/classes/TextCarouselItemView.md | 24 +- .../YTNodes/classes/TextFieldView.md | 24 +- .../namespaces/YTNodes/classes/TextHeader.md | 20 +- .../classes/ThirdPartyShareTargetSection.md | 18 +- .../YTNodes/classes/ThumbnailBadgeView.md | 24 +- .../classes/ThumbnailBottomOverlayView.md | 20 +- .../ThumbnailHoverOverlayToggleActionsView.md | 18 +- .../classes/ThumbnailHoverOverlayView.md | 22 +- .../classes/ThumbnailLandscapePortrait.md | 20 +- .../classes/ThumbnailOverlayBadgeView.md | 20 +- .../classes/ThumbnailOverlayBottomPanel.md | 20 +- .../classes/ThumbnailOverlayEndorsement.md | 18 +- .../classes/ThumbnailOverlayHoverText.md | 20 +- .../ThumbnailOverlayInlineUnplayable.md | 20 +- .../classes/ThumbnailOverlayLoadingPreview.md | 18 +- .../classes/ThumbnailOverlayNowPlaying.md | 18 +- .../classes/ThumbnailOverlayPinking.md | 18 +- .../classes/ThumbnailOverlayPlaybackStatus.md | 18 +- .../ThumbnailOverlayProgressBarView.md | 18 +- .../classes/ThumbnailOverlayResumePlayback.md | 18 +- .../classes/ThumbnailOverlaySidePanel.md | 20 +- .../classes/ThumbnailOverlayTimeStatus.md | 20 +- .../classes/ThumbnailOverlayTitleView.md | 231 ++++++++++++++++ .../classes/ThumbnailOverlayToggleButton.md | 26 +- .../YTNodes/classes/ThumbnailView.md | 22 +- .../YTNodes/classes/TimedMarkerDecoration.md | 26 +- .../classes/TitleAndButtonListHeader.md | 18 +- .../YTNodes/classes/ToggleButton.md | 42 +-- .../YTNodes/classes/ToggleButtonView.md | 26 +- .../YTNodes/classes/ToggleFormField.md | 24 +- .../YTNodes/classes/ToggleMenuServiceItem.md | 28 +- .../namespaces/YTNodes/classes/Tooltip.md | 28 +- .../YTNodes/classes/TopbarMenuButton.md | 22 +- .../YTNodes/classes/TopicChannelDetails.md | 26 +- .../namespaces/YTNodes/classes/Transcript.md | 18 +- .../YTNodes/classes/TranscriptFooter.md | 18 +- .../YTNodes/classes/TranscriptSearchBox.md | 24 +- .../YTNodes/classes/TranscriptSearchPanel.md | 24 +- .../classes/TranscriptSectionHeader.md | 22 +- .../YTNodes/classes/TranscriptSegment.md | 26 +- .../YTNodes/classes/TranscriptSegmentList.md | 24 +- .../YTNodes/classes/TwoColumnBrowseResults.md | 20 +- .../YTNodes/classes/TwoColumnSearchResults.md | 24 +- .../classes/TwoColumnWatchNextResults.md | 26 +- .../YTNodes/classes/UnifiedSharePanel.md | 24 +- .../YTNodes/classes/UniversalWatchCard.md | 24 +- .../YTNodes/classes/UnsubscribeEndpoint.md | 20 +- .../UpdateChannelSwitcherPageAction.md | 20 +- .../YTNodes/classes/UpdateDateTextAction.md | 18 +- .../classes/UpdateDescriptionAction.md | 18 +- .../classes/UpdateEngagementPanelAction.md | 20 +- .../UpdateEngagementPanelContentCommand.md | 20 +- .../classes/UpdateLiveChatPollAction.md | 18 +- .../classes/UpdateSubscribeButtonAction.md | 20 +- .../YTNodes/classes/UpdateTitleAction.md | 18 +- .../classes/UpdateToggleButtonTextAction.md | 22 +- .../YTNodes/classes/UpdateViewershipAction.md | 162 ++++++++--- .../YTNodes/classes/UploadTimeFactoid.md | 18 +- .../YTNodes/classes/UpsellDialog.md | 26 +- .../YTNodes/classes/VerticalList.md | 24 +- .../YTNodes/classes/VerticalWatchCardList.md | 24 +- .../namespaces/YTNodes/classes/Video.md | 86 +++--- .../YTNodes/classes/VideoAttributeView.md | 34 +-- .../classes/VideoAttributesSectionView.md | 26 +- .../namespaces/YTNodes/classes/VideoCard.md | 88 +++--- .../classes/VideoDescriptionCourseSection.md | 20 +- .../YTNodes/classes/VideoDescriptionHeader.md | 30 +-- .../VideoDescriptionInfocardsSection.md | 28 +- .../classes/VideoDescriptionMusicSection.md | 20 +- .../VideoDescriptionTranscriptSection.md | 22 +- .../YTNodes/classes/VideoInfoCardContent.md | 28 +- .../classes/VideoMetadataCarouselView.md | 20 +- .../namespaces/YTNodes/classes/VideoOwner.md | 22 +- .../YTNodes/classes/VideoPrimaryInfo.md | 32 +-- .../YTNodes/classes/VideoSecondaryInfo.md | 34 +-- .../classes/VideoSummaryContentView.md | 239 ++++++++++++++++ .../classes/VideoSummaryParagraphView.md | 223 +++++++++++++++ .../YTNodes/classes/VideoViewCount.md | 56 ++-- .../YTNodes/classes/ViewCountFactoid.md | 22 +- .../classes/VoiceReplyContainerView.md | 20 +- .../YTNodes/classes/WatchCardCompactVideo.md | 24 +- .../YTNodes/classes/WatchCardHeroVideo.md | 24 +- .../YTNodes/classes/WatchCardRichHeader.md | 26 +- .../classes/WatchCardSectionSequence.md | 18 +- .../YTNodes/classes/WatchEndpoint.md | 20 +- .../YTNodes/classes/WatchNextEndScreen.md | 20 +- .../YTNodes/classes/WatchNextEndpoint.md | 20 +- .../YTNodes/classes/WatchNextTabbedResults.md | 20 +- .../namespaces/YTNodes/classes/YpcTrailer.md | 20 +- .../YTShorts/classes/ShortFormVideoInfo.md | 70 ++--- 859 files changed, 11610 insertions(+), 9101 deletions(-) delete mode 100644 docs/api/youtubei.js/namespaces/JsMatchers/functions/nMatcher.md create mode 100644 docs/api/youtubei.js/namespaces/JsMatchers/functions/nsigMatcher.md delete mode 100644 docs/api/youtubei.js/namespaces/JsMatchers/functions/sigMatcher.md create mode 100644 docs/api/youtubei.js/namespaces/Types/type-aliases/Prioritize.md delete mode 100644 docs/api/youtubei.js/namespaces/Types/type-aliases/SortBy.md create mode 100644 docs/api/youtubei.js/namespaces/Utils/functions/getNsigProcessorFn.md create mode 100644 docs/api/youtubei.js/namespaces/YTNodes/classes/DownloadListItemView.md create mode 100644 docs/api/youtubei.js/namespaces/YTNodes/classes/PageIndicatorView.md create mode 100644 docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerCaptchaView.md create mode 100644 docs/api/youtubei.js/namespaces/YTNodes/classes/SheetView.md create mode 100644 docs/api/youtubei.js/namespaces/YTNodes/classes/ShowSheetCommand.md create mode 100644 docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayTitleView.md create mode 100644 docs/api/youtubei.js/namespaces/YTNodes/classes/VideoSummaryContentView.md create mode 100644 docs/api/youtubei.js/namespaces/YTNodes/classes/VideoSummaryParagraphView.md diff --git a/docs/api/classes/Actions.md b/docs/api/classes/Actions.md index 6ce13b0f..a67fb120 100644 --- a/docs/api/classes/Actions.md +++ b/docs/api/classes/Actions.md @@ -2,7 +2,7 @@ # Class: Actions -Defined in: [src/core/Actions.ts:46](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Actions.ts#L46) +Defined in: [src/core/Actions.ts:46](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Actions.ts#L46) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/core/Actions.ts:46](https://github.com/LuanRT/YouTube.js/blob/0 > **new Actions**(`session`): `Actions` -Defined in: [src/core/Actions.ts:49](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Actions.ts#L49) +Defined in: [src/core/Actions.ts:49](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Actions.ts#L49) #### Parameters @@ -28,7 +28,7 @@ Defined in: [src/core/Actions.ts:49](https://github.com/LuanRT/YouTube.js/blob/0 > **session**: [`Session`](Session.md) -Defined in: [src/core/Actions.ts:47](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Actions.ts#L47) +Defined in: [src/core/Actions.ts:47](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Actions.ts#L47) ## Methods @@ -38,7 +38,7 @@ Defined in: [src/core/Actions.ts:47](https://github.com/LuanRT/YouTube.js/blob/0 > **execute**\<`T`\>(`endpoint`, `args`): `Promise`\<[`ParsedResponse`](../type-aliases/ParsedResponse.md)\<`T`\>\> -Defined in: [src/core/Actions.ts:81](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Actions.ts#L81) +Defined in: [src/core/Actions.ts:81](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Actions.ts#L81) Executes an API call. @@ -84,7 +84,7 @@ Call arguments > **execute**\<`T`\>(`endpoint`, `args?`): `Promise`\<[`ApiResponse`](../interfaces/ApiResponse.md)\> -Defined in: [src/core/Actions.ts:88](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Actions.ts#L88) +Defined in: [src/core/Actions.ts:88](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Actions.ts#L88) Executes an API call. @@ -132,7 +132,7 @@ Call arguments > **stats**(`url`, `client`, `params`): `Promise`\<`Response`\> -Defined in: [src/core/Actions.ts:59](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Actions.ts#L59) +Defined in: [src/core/Actions.ts:59](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Actions.ts#L59) Makes calls to the playback tracking API. diff --git a/docs/api/classes/AppendContinuationItemsAction.md b/docs/api/classes/AppendContinuationItemsAction.md index 0cfa97a7..d6794bae 100644 --- a/docs/api/classes/AppendContinuationItemsAction.md +++ b/docs/api/classes/AppendContinuationItemsAction.md @@ -2,7 +2,7 @@ # Class: AppendContinuationItemsAction -Defined in: [src/parser/classes/actions/AppendContinuationItemsAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/AppendContinuationItemsAction.ts#L6) +Defined in: [src/parser/classes/actions/AppendContinuationItemsAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/AppendContinuationItemsAction.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/actions/AppendContinuationItemsAction.ts:6](http > **new AppendContinuationItemsAction**(`data`): `AppendContinuationItemsAction` -Defined in: [src/parser/classes/actions/AppendContinuationItemsAction.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/AppendContinuationItemsAction.ts#L12) +Defined in: [src/parser/classes/actions/AppendContinuationItemsAction.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/AppendContinuationItemsAction.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/actions/AppendContinuationItemsAction.ts:12](htt > **contents**: [`ObservedArray`](../youtubei.js/namespaces/Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../youtubei.js/namespaces/Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/actions/AppendContinuationItemsAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/AppendContinuationItemsAction.ts#L9) +Defined in: [src/parser/classes/actions/AppendContinuationItemsAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/AppendContinuationItemsAction.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/actions/AppendContinuationItemsAction.ts:9](http > **target**: `string` -Defined in: [src/parser/classes/actions/AppendContinuationItemsAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/AppendContinuationItemsAction.ts#L10) +Defined in: [src/parser/classes/actions/AppendContinuationItemsAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/AppendContinuationItemsAction.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/actions/AppendContinuationItemsAction.ts:10](htt > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'AppendContinuationItemsAction'` -Defined in: [src/parser/classes/actions/AppendContinuationItemsAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/AppendContinuationItemsAction.ts#L7) +Defined in: [src/parser/classes/actions/AppendContinuationItemsAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/AppendContinuationItemsAction.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/actions/AppendContinuationItemsAction.ts:7](http > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is AppendContinuationItemsAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../youtubei.js/namespaces/Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/classes/Continuation.md b/docs/api/classes/Continuation.md index f0724f15..881b6198 100644 --- a/docs/api/classes/Continuation.md +++ b/docs/api/classes/Continuation.md @@ -2,7 +2,7 @@ # Class: Continuation -Defined in: [src/parser/continuations.ts:139](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L139) +Defined in: [src/parser/continuations.ts:139](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L139) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/continuations.ts:139](https://github.com/LuanRT/YouTube. > **new Continuation**(`data`): `Continuation` -Defined in: [src/parser/continuations.ts:147](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L147) +Defined in: [src/parser/continuations.ts:147](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L147) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/continuations.ts:147](https://github.com/LuanRT/YouTube. > **continuation\_type**: `string` -Defined in: [src/parser/continuations.ts:142](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L142) +Defined in: [src/parser/continuations.ts:142](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L142) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/continuations.ts:142](https://github.com/LuanRT/YouTube. > `optional` **time\_until\_last\_message\_ms**: `number` -Defined in: [src/parser/continuations.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L144) +Defined in: [src/parser/continuations.ts:144](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L144) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/continuations.ts:144](https://github.com/LuanRT/YouTube. > `optional` **timeout\_ms**: `number` -Defined in: [src/parser/continuations.ts:143](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L143) +Defined in: [src/parser/continuations.ts:143](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L143) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/continuations.ts:143](https://github.com/LuanRT/YouTube. > **token**: `string` -Defined in: [src/parser/continuations.ts:145](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L145) +Defined in: [src/parser/continuations.ts:145](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L145) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/continuations.ts:145](https://github.com/LuanRT/YouTube. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `readonly` `static` **type**: `"continuation"` = `'continuation'` -Defined in: [src/parser/continuations.ts:140](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L140) +Defined in: [src/parser/continuations.ts:140](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L140) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/continuations.ts:140](https://github.com/LuanRT/YouTube. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Continuation & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../youtubei.js/namespaces/Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/classes/ContinuationCommand.md b/docs/api/classes/ContinuationCommand.md index d298bb09..ee5a0aed 100644 --- a/docs/api/classes/ContinuationCommand.md +++ b/docs/api/classes/ContinuationCommand.md @@ -2,7 +2,7 @@ # Class: ContinuationCommand -Defined in: [src/parser/continuations.ts:214](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L214) +Defined in: [src/parser/continuations.ts:214](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L214) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/continuations.ts:214](https://github.com/LuanRT/YouTube. > **new ContinuationCommand**(`data`): `ContinuationCommand` -Defined in: [src/parser/continuations.ts:220](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L220) +Defined in: [src/parser/continuations.ts:220](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L220) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/continuations.ts:220](https://github.com/LuanRT/YouTube. > **request**: `string` -Defined in: [src/parser/continuations.ts:217](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L217) +Defined in: [src/parser/continuations.ts:217](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L217) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/continuations.ts:217](https://github.com/LuanRT/YouTube. > **token**: `string` -Defined in: [src/parser/continuations.ts:218](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L218) +Defined in: [src/parser/continuations.ts:218](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L218) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/continuations.ts:218](https://github.com/LuanRT/YouTube. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `readonly` `static` **type**: `"ContinuationCommand"` = `'ContinuationCommand'` -Defined in: [src/parser/continuations.ts:215](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L215) +Defined in: [src/parser/continuations.ts:215](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L215) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/continuations.ts:215](https://github.com/LuanRT/YouTube. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ContinuationCommand & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../youtubei.js/namespaces/Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/classes/EventEmitter.md b/docs/api/classes/EventEmitter.md index 2b0d5623..ae51b4b5 100644 --- a/docs/api/classes/EventEmitter.md +++ b/docs/api/classes/EventEmitter.md @@ -2,7 +2,7 @@ # Class: EventEmitter -Defined in: [src/utils/EventEmitterLike.ts:3](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/EventEmitterLike.ts#L3) +Defined in: [src/utils/EventEmitterLike.ts:3](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/EventEmitterLike.ts#L3) ## Extends @@ -19,7 +19,7 @@ Defined in: [src/utils/EventEmitterLike.ts:3](https://github.com/LuanRT/YouTube. > **new EventEmitter**(): `EventEmitterLike` -Defined in: [src/utils/EventEmitterLike.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/EventEmitterLike.ts#L6) +Defined in: [src/utils/EventEmitterLike.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/EventEmitterLike.ts#L6) #### Returns @@ -35,21 +35,9 @@ Defined in: [src/utils/EventEmitterLike.ts:6](https://github.com/LuanRT/YouTube. > **addEventListener**(`type`, `callback`, `options?`): `void` -Defined in: node\_modules/typescript/lib/lib.dom.d.ts:8256 +Defined in: node\_modules/typescript/lib/lib.dom.d.ts:11569 -Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. - -The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. - -When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. - -When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. - -When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. - -If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. - -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. +The **`addEventListener()`** method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target. [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) @@ -81,9 +69,9 @@ The event listener is appended to target's event listener list and is not append > **dispatchEvent**(`event`): `boolean` -Defined in: node\_modules/typescript/lib/lib.dom.d.ts:8262 +Defined in: node\_modules/typescript/lib/lib.dom.d.ts:11575 -Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. +The **`dispatchEvent()`** method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order. [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent) @@ -107,7 +95,7 @@ Dispatches a synthetic event event to target and returns true if either event's > **emit**(`type`, ...`args`): `void` -Defined in: [src/utils/EventEmitterLike.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/EventEmitterLike.ts#L10) +Defined in: [src/utils/EventEmitterLike.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/EventEmitterLike.ts#L10) #### Parameters @@ -129,7 +117,7 @@ Defined in: [src/utils/EventEmitterLike.ts:10](https://github.com/LuanRT/YouTube > **off**(`type`, `listener`): `void` -Defined in: [src/utils/EventEmitterLike.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/EventEmitterLike.ts#L40) +Defined in: [src/utils/EventEmitterLike.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/EventEmitterLike.ts#L40) #### Parameters @@ -151,7 +139,7 @@ Defined in: [src/utils/EventEmitterLike.ts:40](https://github.com/LuanRT/YouTube > **on**(`type`, `listener`): `void` -Defined in: [src/utils/EventEmitterLike.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/EventEmitterLike.ts#L15) +Defined in: [src/utils/EventEmitterLike.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/EventEmitterLike.ts#L15) #### Parameters @@ -173,7 +161,7 @@ Defined in: [src/utils/EventEmitterLike.ts:15](https://github.com/LuanRT/YouTube > **once**(`type`, `listener`): `void` -Defined in: [src/utils/EventEmitterLike.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/EventEmitterLike.ts#L27) +Defined in: [src/utils/EventEmitterLike.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/EventEmitterLike.ts#L27) #### Parameters @@ -195,9 +183,9 @@ Defined in: [src/utils/EventEmitterLike.ts:27](https://github.com/LuanRT/YouTube > **removeEventListener**(`type`, `callback`, `options?`): `void` -Defined in: node\_modules/typescript/lib/lib.dom.d.ts:8268 +Defined in: node\_modules/typescript/lib/lib.dom.d.ts:11581 -Removes the event listener in target's event listener list with the same type, callback, and options. +The **`removeEventListener()`** method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target. [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) diff --git a/docs/api/classes/GridContinuation.md b/docs/api/classes/GridContinuation.md index 6af64fee..45e5d3aa 100644 --- a/docs/api/classes/GridContinuation.md +++ b/docs/api/classes/GridContinuation.md @@ -2,7 +2,7 @@ # Class: GridContinuation -Defined in: [src/parser/continuations.ts:108](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L108) +Defined in: [src/parser/continuations.ts:108](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L108) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/continuations.ts:108](https://github.com/LuanRT/YouTube. > **new GridContinuation**(`data`): `GridContinuation` -Defined in: [src/parser/continuations.ts:114](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L114) +Defined in: [src/parser/continuations.ts:114](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L114) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/continuations.ts:114](https://github.com/LuanRT/YouTube. > **continuation**: `string` -Defined in: [src/parser/continuations.ts:111](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L111) +Defined in: [src/parser/continuations.ts:111](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L111) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/continuations.ts:111](https://github.com/LuanRT/YouTube. > **items**: [`ObservedArray`](../youtubei.js/namespaces/Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../youtubei.js/namespaces/Helpers/classes/YTNode.md)\> \| `null` -Defined in: [src/parser/continuations.ts:112](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L112) +Defined in: [src/parser/continuations.ts:112](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L112) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/continuations.ts:112](https://github.com/LuanRT/YouTube. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `readonly` `static` **type**: `"gridContinuation"` = `'gridContinuation'` -Defined in: [src/parser/continuations.ts:109](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L109) +Defined in: [src/parser/continuations.ts:109](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L109) #### Overrides @@ -78,7 +78,7 @@ Defined in: [src/parser/continuations.ts:109](https://github.com/LuanRT/YouTube. > **get** **contents**(): [`ObservedArray`](../youtubei.js/namespaces/Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../youtubei.js/namespaces/Helpers/classes/YTNode.md)\> \| `null` -Defined in: [src/parser/continuations.ts:120](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L120) +Defined in: [src/parser/continuations.ts:120](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L120) ##### Returns @@ -90,7 +90,7 @@ Defined in: [src/parser/continuations.ts:120](https://github.com/LuanRT/YouTube. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -132,7 +132,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is GridContinuation & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -170,7 +170,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -208,7 +208,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../youtubei.js/namespaces/Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/classes/HTTPClient.md b/docs/api/classes/HTTPClient.md index af17f9e9..952c8923 100644 --- a/docs/api/classes/HTTPClient.md +++ b/docs/api/classes/HTTPClient.md @@ -2,7 +2,7 @@ # Class: HTTPClient -Defined in: [src/utils/HTTPClient.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/HTTPClient.ts#L25) +Defined in: [src/utils/HTTPClient.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/HTTPClient.ts#L25) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/utils/HTTPClient.ts:25](https://github.com/LuanRT/YouTube.js/bl > **new HTTPClient**(`session`, `cookie?`, `fetch?`): `HTTPClient` -Defined in: [src/utils/HTTPClient.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/HTTPClient.ts#L30) +Defined in: [src/utils/HTTPClient.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/HTTPClient.ts#L30) #### Parameters @@ -38,13 +38,13 @@ Defined in: [src/utils/HTTPClient.ts:30](https://github.com/LuanRT/YouTube.js/bl > **get** **fetch\_function**(): \{(`input`, `init?`): `Promise`\<`Response`\>; (`input`, `init?`): `Promise`\<`Response`\>; \} -Defined in: [src/utils/HTTPClient.ts:36](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/HTTPClient.ts#L36) +Defined in: [src/utils/HTTPClient.ts:36](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/HTTPClient.ts#L36) ##### Returns > (`input`, `init?`): `Promise`\<`Response`\> -[MDN Reference](https://developer.mozilla.org/docs/Web/API/fetch) +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) ###### Parameters @@ -62,7 +62,7 @@ Defined in: [src/utils/HTTPClient.ts:36](https://github.com/LuanRT/YouTube.js/bl > (`input`, `init?`): `Promise`\<`Response`\> -[MDN Reference](https://developer.mozilla.org/docs/Web/API/fetch) +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) ###### Parameters @@ -84,7 +84,7 @@ Defined in: [src/utils/HTTPClient.ts:36](https://github.com/LuanRT/YouTube.js/bl > **fetch**(`input`, `init?`): `Promise`\<`Response`\> -Defined in: [src/utils/HTTPClient.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/HTTPClient.ts#L40) +Defined in: [src/utils/HTTPClient.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/HTTPClient.ts#L40) #### Parameters diff --git a/docs/api/classes/Innertube.md b/docs/api/classes/Innertube.md index a0f994d6..a98e1ca5 100644 --- a/docs/api/classes/Innertube.md +++ b/docs/api/classes/Innertube.md @@ -2,7 +2,7 @@ # Class: Innertube -Defined in: [src/Innertube.ts:64](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L64) +Defined in: [src/Innertube.ts:64](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L64) Provides access to various services and modules in the YouTube API. @@ -19,7 +19,7 @@ const innertube = await Innertube.create({ cache: new UniversalCache(true)}); > **new Innertube**(`session`): `Innertube` -Defined in: [src/Innertube.ts:67](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L67) +Defined in: [src/Innertube.ts:67](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L67) #### Parameters @@ -39,7 +39,7 @@ Defined in: [src/Innertube.ts:67](https://github.com/LuanRT/YouTube.js/blob/0733 > **get** **account**(): [`AccountManager`](../youtubei.js/namespaces/Managers/classes/AccountManager.md) -Defined in: [src/Innertube.ts:609](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L609) +Defined in: [src/Innertube.ts:603](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L603) An interface for managing and retrieving account information. @@ -55,7 +55,7 @@ An interface for managing and retrieving account information. > **get** **actions**(): [`Actions`](Actions.md) -Defined in: [src/Innertube.ts:630](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L630) +Defined in: [src/Innertube.ts:624](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L624) An internal class used to dispatch requests. @@ -71,7 +71,7 @@ An internal class used to dispatch requests. > **get** **interact**(): [`InteractionManager`](../youtubei.js/namespaces/Managers/classes/InteractionManager.md) -Defined in: [src/Innertube.ts:623](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L623) +Defined in: [src/Innertube.ts:617](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L617) An interface for directly interacting with certain YouTube features. @@ -87,7 +87,7 @@ An interface for directly interacting with certain YouTube features. > **get** **kids**(): [`Kids`](../youtubei.js/namespaces/Clients/classes/Kids.md) -Defined in: [src/Innertube.ts:602](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L602) +Defined in: [src/Innertube.ts:596](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L596) An interface for interacting with YouTube Kids. @@ -103,7 +103,7 @@ An interface for interacting with YouTube Kids. > **get** **music**(): [`Music`](../youtubei.js/namespaces/Clients/classes/Music.md) -Defined in: [src/Innertube.ts:588](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L588) +Defined in: [src/Innertube.ts:582](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L582) An interface for interacting with YouTube Music. @@ -119,7 +119,7 @@ An interface for interacting with YouTube Music. > **get** **playlist**(): [`PlaylistManager`](../youtubei.js/namespaces/Managers/classes/PlaylistManager.md) -Defined in: [src/Innertube.ts:616](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L616) +Defined in: [src/Innertube.ts:610](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L610) An interface for managing playlists. @@ -135,7 +135,7 @@ An interface for managing playlists. > **get** **session**(): [`Session`](Session.md) -Defined in: [src/Innertube.ts:637](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L637) +Defined in: [src/Innertube.ts:631](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L631) The session used by this instance. @@ -151,7 +151,7 @@ The session used by this instance. > **get** **studio**(): [`Studio`](../youtubei.js/namespaces/Clients/classes/Studio.md) -Defined in: [src/Innertube.ts:595](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L595) +Defined in: [src/Innertube.ts:589](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L589) An interface for interacting with YouTube Studio. @@ -167,7 +167,7 @@ An interface for interacting with YouTube Studio. > **call**\<`T`\>(`endpoint`, `args`): `Promise`\<`T`\> -Defined in: [src/Innertube.ts:579](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L579) +Defined in: [src/Innertube.ts:573](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L573) Utility method to call an endpoint without having to use [Actions](Actions.md). @@ -197,7 +197,7 @@ Utility method to call an endpoint without having to use [Actions](Actions.md). > **call**(`endpoint`, `args?`): `Promise`\<[`ApiResponse`](../interfaces/ApiResponse.md)\> -Defined in: [src/Innertube.ts:580](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L580) +Defined in: [src/Innertube.ts:574](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L574) Utility method to call an endpoint without having to use [Actions](Actions.md). @@ -221,9 +221,9 @@ Utility method to call an endpoint without having to use [Actions](Actions.md). ### download() -> **download**(`video_id`, `options?`): `Promise`\<`ReadableStream`\<`Uint8Array`\>\> +> **download**(`video_id`, `options?`): `Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\> -Defined in: [src/Innertube.ts:477](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L477) +Defined in: [src/Innertube.ts:471](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L471) Downloads a given video. If all you need the direct download link, see [getStreamingData](#getstreamingdata). If you wish to retrieve the video info too, have a look at [getBasicInfo](#getbasicinfo) or [getInfo](#getinfo). @@ -244,7 +244,7 @@ Download options. #### Returns -`Promise`\<`ReadableStream`\<`Uint8Array`\>\> +`Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\> *** @@ -252,7 +252,7 @@ Download options. > **getAttestationChallenge**(`engagement_type`, `ids?`): `Promise`\<[`IGetChallengeResponse`](../type-aliases/IGetChallengeResponse.md)\> -Defined in: [src/Innertube.ts:565](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L565) +Defined in: [src/Innertube.ts:559](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L559) Fetches an attestation challenge. @@ -276,7 +276,7 @@ Fetches an attestation challenge. > **getBasicInfo**(`video_id`, `options?`): `Promise`\<[`VideoInfo`](../youtubei.js/namespaces/YT/classes/VideoInfo.md)\> -Defined in: [src/Innertube.ts:124](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L124) +Defined in: [src/Innertube.ts:124](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L124) #### Parameters @@ -298,7 +298,7 @@ Defined in: [src/Innertube.ts:124](https://github.com/LuanRT/YouTube.js/blob/073 > **getChannel**(`id`): `Promise`\<[`Channel`](../youtubei.js/namespaces/YT/classes/Channel.md)\> -Defined in: [src/Innertube.ts:391](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L391) +Defined in: [src/Innertube.ts:385](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L385) #### Parameters @@ -316,7 +316,7 @@ Defined in: [src/Innertube.ts:391](https://github.com/LuanRT/YouTube.js/blob/073 > **getChannelsFeed**(): `Promise`\<[`Feed`](../youtubei.js/namespaces/Mixins/classes/Feed.md)\<[`IBrowseResponse`](../type-aliases/IBrowseResponse.md)\>\> -Defined in: [src/Innertube.ts:385](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L385) +Defined in: [src/Innertube.ts:379](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L379) #### Returns @@ -328,7 +328,7 @@ Defined in: [src/Innertube.ts:385](https://github.com/LuanRT/YouTube.js/blob/073 > **getComments**(`video_id`, `sort_by?`, `comment_id?`): `Promise`\<[`Comments`](../youtubei.js/namespaces/YT/classes/Comments.md)\> -Defined in: [src/Innertube.ts:306](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L306) +Defined in: [src/Innertube.ts:306](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L306) #### Parameters @@ -354,7 +354,7 @@ Defined in: [src/Innertube.ts:306](https://github.com/LuanRT/YouTube.js/blob/073 > **getCourses**(): `Promise`\<[`Feed`](../youtubei.js/namespaces/Mixins/classes/Feed.md)\<[`IBrowseResponse`](../type-aliases/IBrowseResponse.md)\>\> -Defined in: [src/Innertube.ts:373](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L373) +Defined in: [src/Innertube.ts:367](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L367) #### Returns @@ -366,7 +366,7 @@ Defined in: [src/Innertube.ts:373](https://github.com/LuanRT/YouTube.js/blob/073 > **getGuide**(): `Promise`\<[`Guide`](../youtubei.js/namespaces/YT/classes/Guide.md)\> -Defined in: [src/Innertube.ts:350](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L350) +Defined in: [src/Innertube.ts:350](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L350) #### Returns @@ -378,7 +378,7 @@ Defined in: [src/Innertube.ts:350](https://github.com/LuanRT/YouTube.js/blob/073 > **getHashtag**(`hashtag`): `Promise`\<[`HashtagFeed`](../youtubei.js/namespaces/YT/classes/HashtagFeed.md)\> -Defined in: [src/Innertube.ts:436](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L436) +Defined in: [src/Innertube.ts:430](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L430) #### Parameters @@ -396,7 +396,7 @@ Defined in: [src/Innertube.ts:436](https://github.com/LuanRT/YouTube.js/blob/073 > **getHistory**(): `Promise`\<[`History`](../youtubei.js/namespaces/YT/classes/History.md)\> -Defined in: [src/Innertube.ts:361](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L361) +Defined in: [src/Innertube.ts:361](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L361) #### Returns @@ -408,7 +408,7 @@ Defined in: [src/Innertube.ts:361](https://github.com/LuanRT/YouTube.js/blob/073 > **getHomeFeed**(): `Promise`\<[`HomeFeed`](../youtubei.js/namespaces/YT/classes/HomeFeed.md)\> -Defined in: [src/Innertube.ts:344](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L344) +Defined in: [src/Innertube.ts:344](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L344) #### Returns @@ -420,7 +420,7 @@ Defined in: [src/Innertube.ts:344](https://github.com/LuanRT/YouTube.js/blob/073 > **getInfo**(`target`, `options?`): `Promise`\<[`VideoInfo`](../youtubei.js/namespaces/YT/classes/VideoInfo.md)\> -Defined in: [src/Innertube.ts:75](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L75) +Defined in: [src/Innertube.ts:75](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L75) #### Parameters @@ -442,7 +442,7 @@ Defined in: [src/Innertube.ts:75](https://github.com/LuanRT/YouTube.js/blob/0733 > **getLibrary**(): `Promise`\<[`Library`](../youtubei.js/namespaces/YT/classes/Library.md)\> -Defined in: [src/Innertube.ts:355](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L355) +Defined in: [src/Innertube.ts:355](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L355) #### Returns @@ -454,7 +454,7 @@ Defined in: [src/Innertube.ts:355](https://github.com/LuanRT/YouTube.js/blob/073 > **getNotifications**(): `Promise`\<[`NotificationsMenu`](../youtubei.js/namespaces/YT/classes/NotificationsMenu.md)\> -Defined in: [src/Innertube.ts:403](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L403) +Defined in: [src/Innertube.ts:397](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L397) #### Returns @@ -466,7 +466,7 @@ Defined in: [src/Innertube.ts:403](https://github.com/LuanRT/YouTube.js/blob/073 > **getPlaylist**(`id`): `Promise`\<[`Playlist`](../youtubei.js/namespaces/YT/classes/Playlist.md)\> -Defined in: [src/Innertube.ts:423](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L423) +Defined in: [src/Innertube.ts:417](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L417) #### Parameters @@ -484,7 +484,7 @@ Defined in: [src/Innertube.ts:423](https://github.com/LuanRT/YouTube.js/blob/073 > **getPlaylists**(): `Promise`\<[`Feed`](../youtubei.js/namespaces/Mixins/classes/Feed.md)\<[`IBrowseResponse`](../type-aliases/IBrowseResponse.md)\>\> -Defined in: [src/Innertube.ts:417](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L417) +Defined in: [src/Innertube.ts:411](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L411) Retrieves the user's playlists. @@ -498,7 +498,7 @@ Retrieves the user's playlists. > **getPost**(`post_id`, `channel_id`): `Promise`\<[`Feed`](../youtubei.js/namespaces/Mixins/classes/Feed.md)\<[`IBrowseResponse`](../type-aliases/IBrowseResponse.md)\>\> -Defined in: [src/Innertube.ts:497](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L497) +Defined in: [src/Innertube.ts:491](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L491) Gets a post page given a post id and the channel id @@ -522,7 +522,7 @@ Gets a post page given a post id and the channel id > **getPostComments**(`post_id`, `channel_id`, `sort_by?`): `Promise`\<[`Comments`](../youtubei.js/namespaces/YT/classes/Comments.md)\> -Defined in: [src/Innertube.ts:518](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L518) +Defined in: [src/Innertube.ts:512](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L512) Gets the comments of a post. @@ -550,7 +550,7 @@ Gets the comments of a post. > **getSearchSuggestions**(`query`, `previous_query?`): `Promise`\<`string`[]\> -Defined in: [src/Innertube.ts:277](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L277) +Defined in: [src/Innertube.ts:277](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L277) #### Parameters @@ -572,7 +572,7 @@ Defined in: [src/Innertube.ts:277](https://github.com/LuanRT/YouTube.js/blob/073 > **getShortsVideoInfo**(`video_id`, `client?`): `Promise`\<[`ShortFormVideoInfo`](../youtubei.js/namespaces/YTShorts/classes/ShortFormVideoInfo.md)\> -Defined in: [src/Innertube.ts:166](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L166) +Defined in: [src/Innertube.ts:166](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L166) #### Parameters @@ -592,9 +592,9 @@ Defined in: [src/Innertube.ts:166](https://github.com/LuanRT/YouTube.js/blob/073 ### getStreamingData() -> **getStreamingData**(`video_id`, `options`): `Promise`\<[`Format`](../youtubei.js/namespaces/Misc/classes/Format.md)\> +> **getStreamingData**(`video_id`, `options?`): `Promise`\<[`Format`](../youtubei.js/namespaces/Misc/classes/Format.md)\> -Defined in: [src/Innertube.ts:462](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L462) +Defined in: [src/Innertube.ts:456](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L456) An alternative to [download](#download). Returns deciphered streaming data. @@ -609,7 +609,7 @@ If you wish to retrieve the video info too, have a look at [getBasicInfo](#getba The video id. -##### options +##### options? [`FormatOptions`](../youtubei.js/namespaces/Types/interfaces/FormatOptions.md) = `{}` @@ -625,7 +625,7 @@ Format options. > **getSubscriptionsFeed**(): `Promise`\<[`Feed`](../youtubei.js/namespaces/Mixins/classes/Feed.md)\<[`IBrowseResponse`](../type-aliases/IBrowseResponse.md)\>\> -Defined in: [src/Innertube.ts:379](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L379) +Defined in: [src/Innertube.ts:373](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L373) #### Returns @@ -633,23 +633,11 @@ Defined in: [src/Innertube.ts:379](https://github.com/LuanRT/YouTube.js/blob/073 *** -### getTrending() - -> **getTrending**(): `Promise`\<[`TabbedFeed`](../youtubei.js/namespaces/Mixins/classes/TabbedFeed.md)\<[`IBrowseResponse`](../type-aliases/IBrowseResponse.md)\>\> - -Defined in: [src/Innertube.ts:367](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L367) - -#### Returns - -`Promise`\<[`TabbedFeed`](../youtubei.js/namespaces/Mixins/classes/TabbedFeed.md)\<[`IBrowseResponse`](../type-aliases/IBrowseResponse.md)\>\> - -*** - ### getUnseenNotificationsCount() > **getUnseenNotificationsCount**(): `Promise`\<`number`\> -Defined in: [src/Innertube.ts:408](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L408) +Defined in: [src/Innertube.ts:402](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L402) #### Returns @@ -661,7 +649,7 @@ Defined in: [src/Innertube.ts:408](https://github.com/LuanRT/YouTube.js/blob/073 > **resolveURL**(`url`): `Promise`\<[`NavigationEndpoint`](../youtubei.js/namespaces/YTNodes/classes/NavigationEndpoint.md)\> -Defined in: [src/Innertube.ts:485](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L485) +Defined in: [src/Innertube.ts:479](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L479) Resolves the given URL. @@ -679,9 +667,9 @@ Resolves the given URL. ### search() -> **search**(`query`, `filters`): `Promise`\<[`Search`](../youtubei.js/namespaces/YT/classes/Search.md)\> +> **search**(`query`, `filters?`): `Promise`\<[`Search`](../youtubei.js/namespaces/YT/classes/Search.md)\> -Defined in: [src/Innertube.ts:201](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L201) +Defined in: [src/Innertube.ts:201](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L201) #### Parameters @@ -689,7 +677,7 @@ Defined in: [src/Innertube.ts:201](https://github.com/LuanRT/YouTube.js/blob/073 `string` -##### filters +##### filters? [`SearchFilters`](../youtubei.js/namespaces/Types/type-aliases/SearchFilters.md) = `{}` @@ -701,13 +689,13 @@ Defined in: [src/Innertube.ts:201](https://github.com/LuanRT/YouTube.js/blob/073 ### create() -> `static` **create**(`config`): `Promise`\<`Innertube`\> +> `static` **create**(`config?`): `Promise`\<`Innertube`\> -Defined in: [src/Innertube.ts:71](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/Innertube.ts#L71) +Defined in: [src/Innertube.ts:71](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/Innertube.ts#L71) #### Parameters -##### config +##### config? [`SessionOptions`](../type-aliases/SessionOptions.md) = `{}` diff --git a/docs/api/classes/ItemSectionContinuation.md b/docs/api/classes/ItemSectionContinuation.md index c1b08aa3..3226006f 100644 --- a/docs/api/classes/ItemSectionContinuation.md +++ b/docs/api/classes/ItemSectionContinuation.md @@ -2,7 +2,7 @@ # Class: ItemSectionContinuation -Defined in: [src/parser/continuations.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L9) +Defined in: [src/parser/continuations.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/continuations.ts:9](https://github.com/LuanRT/YouTube.js > **new ItemSectionContinuation**(`data`): `ItemSectionContinuation` -Defined in: [src/parser/continuations.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L15) +Defined in: [src/parser/continuations.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/continuations.ts:15](https://github.com/LuanRT/YouTube.j > **contents**: [`ObservedArray`](../youtubei.js/namespaces/Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../youtubei.js/namespaces/Helpers/classes/YTNode.md)\> -Defined in: [src/parser/continuations.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L12) +Defined in: [src/parser/continuations.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/continuations.ts:12](https://github.com/LuanRT/YouTube.j > `optional` **continuation**: `string` -Defined in: [src/parser/continuations.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L13) +Defined in: [src/parser/continuations.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L13) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/continuations.ts:13](https://github.com/LuanRT/YouTube.j > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `readonly` `static` **type**: `"itemSectionContinuation"` = `'itemSectionContinuation'` -Defined in: [src/parser/continuations.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L10) +Defined in: [src/parser/continuations.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L10) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/continuations.ts:10](https://github.com/LuanRT/YouTube.j > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ItemSectionContinuation & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../youtubei.js/namespaces/Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/classes/LiveChatContinuation.md b/docs/api/classes/LiveChatContinuation.md index 5ea43215..929c12a8 100644 --- a/docs/api/classes/LiveChatContinuation.md +++ b/docs/api/classes/LiveChatContinuation.md @@ -2,7 +2,7 @@ # Class: LiveChatContinuation -Defined in: [src/parser/continuations.ts:156](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L156) +Defined in: [src/parser/continuations.ts:156](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L156) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/continuations.ts:156](https://github.com/LuanRT/YouTube. > **new LiveChatContinuation**(`data`): `LiveChatContinuation` -Defined in: [src/parser/continuations.ts:174](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L174) +Defined in: [src/parser/continuations.ts:174](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L174) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/continuations.ts:174](https://github.com/LuanRT/YouTube. > **action\_panel**: [`YTNode`](../youtubei.js/namespaces/Helpers/classes/YTNode.md) \| `null` -Defined in: [src/parser/continuations.ts:160](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L160) +Defined in: [src/parser/continuations.ts:160](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L160) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/continuations.ts:160](https://github.com/LuanRT/YouTube. > **actions**: [`ObservedArray`](../youtubei.js/namespaces/Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../youtubei.js/namespaces/Helpers/classes/YTNode.md)\> -Defined in: [src/parser/continuations.ts:159](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L159) +Defined in: [src/parser/continuations.ts:159](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L159) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/continuations.ts:159](https://github.com/LuanRT/YouTube. > **continuation**: [`Continuation`](Continuation.md) -Defined in: [src/parser/continuations.ts:171](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L171) +Defined in: [src/parser/continuations.ts:171](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L171) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/continuations.ts:171](https://github.com/LuanRT/YouTube. > **emojis**: `object`[] -Defined in: [src/parser/continuations.ts:165](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L165) +Defined in: [src/parser/continuations.ts:165](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L165) #### emoji\_id @@ -84,7 +84,7 @@ Defined in: [src/parser/continuations.ts:165](https://github.com/LuanRT/YouTube. > **header**: [`LiveChatHeader`](../youtubei.js/namespaces/YTNodes/classes/LiveChatHeader.md) \| `null` -Defined in: [src/parser/continuations.ts:162](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L162) +Defined in: [src/parser/continuations.ts:162](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L162) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/continuations.ts:162](https://github.com/LuanRT/YouTube. > **item\_list**: [`LiveChatItemList`](../youtubei.js/namespaces/YTNodes/classes/LiveChatItemList.md) \| `null` -Defined in: [src/parser/continuations.ts:161](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L161) +Defined in: [src/parser/continuations.ts:161](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L161) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/continuations.ts:161](https://github.com/LuanRT/YouTube. > **participants\_list**: [`LiveChatParticipantsList`](../youtubei.js/namespaces/YTNodes/classes/LiveChatParticipantsList.md) \| `null` -Defined in: [src/parser/continuations.ts:163](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L163) +Defined in: [src/parser/continuations.ts:163](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L163) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/continuations.ts:163](https://github.com/LuanRT/YouTube. > **popout\_message**: [`Message`](../youtubei.js/namespaces/YTNodes/classes/Message.md) \| `null` -Defined in: [src/parser/continuations.ts:164](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L164) +Defined in: [src/parser/continuations.ts:164](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L164) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/continuations.ts:164](https://github.com/LuanRT/YouTube. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -128,7 +128,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **viewer\_name**: `string` -Defined in: [src/parser/continuations.ts:172](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L172) +Defined in: [src/parser/continuations.ts:172](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L172) *** @@ -136,7 +136,7 @@ Defined in: [src/parser/continuations.ts:172](https://github.com/LuanRT/YouTube. > `readonly` `static` **type**: `"liveChatContinuation"` = `'liveChatContinuation'` -Defined in: [src/parser/continuations.ts:157](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L157) +Defined in: [src/parser/continuations.ts:157](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L157) #### Overrides @@ -148,7 +148,7 @@ Defined in: [src/parser/continuations.ts:157](https://github.com/LuanRT/YouTube. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -190,7 +190,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatContinuation & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -228,7 +228,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -266,7 +266,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../youtubei.js/namespaces/Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/classes/MusicPlaylistShelfContinuation.md b/docs/api/classes/MusicPlaylistShelfContinuation.md index e1c2910b..fa3bee0e 100644 --- a/docs/api/classes/MusicPlaylistShelfContinuation.md +++ b/docs/api/classes/MusicPlaylistShelfContinuation.md @@ -2,7 +2,7 @@ # Class: MusicPlaylistShelfContinuation -Defined in: [src/parser/continuations.ts:80](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L80) +Defined in: [src/parser/continuations.ts:80](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L80) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/continuations.ts:80](https://github.com/LuanRT/YouTube.j > **new MusicPlaylistShelfContinuation**(`data`): `MusicPlaylistShelfContinuation` -Defined in: [src/parser/continuations.ts:86](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L86) +Defined in: [src/parser/continuations.ts:86](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L86) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/continuations.ts:86](https://github.com/LuanRT/YouTube.j > **contents**: [`ObservedArray`](../youtubei.js/namespaces/Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../youtubei.js/namespaces/Helpers/classes/YTNode.md)\> \| `null` -Defined in: [src/parser/continuations.ts:84](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L84) +Defined in: [src/parser/continuations.ts:84](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L84) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/continuations.ts:84](https://github.com/LuanRT/YouTube.j > **continuation**: `string` -Defined in: [src/parser/continuations.ts:83](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L83) +Defined in: [src/parser/continuations.ts:83](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L83) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/continuations.ts:83](https://github.com/LuanRT/YouTube.j > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `readonly` `static` **type**: `"musicPlaylistShelfContinuation"` = `'musicPlaylistShelfContinuation'` -Defined in: [src/parser/continuations.ts:81](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L81) +Defined in: [src/parser/continuations.ts:81](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L81) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/continuations.ts:81](https://github.com/LuanRT/YouTube.j > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicPlaylistShelfContinuation & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../youtubei.js/namespaces/Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/classes/MusicShelfContinuation.md b/docs/api/classes/MusicShelfContinuation.md index 4b2e8434..4c3a036f 100644 --- a/docs/api/classes/MusicShelfContinuation.md +++ b/docs/api/classes/MusicShelfContinuation.md @@ -2,7 +2,7 @@ # Class: MusicShelfContinuation -Defined in: [src/parser/continuations.ts:93](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L93) +Defined in: [src/parser/continuations.ts:93](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L93) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/continuations.ts:93](https://github.com/LuanRT/YouTube.j > **new MusicShelfContinuation**(`data`): `MusicShelfContinuation` -Defined in: [src/parser/continuations.ts:99](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L99) +Defined in: [src/parser/continuations.ts:99](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L99) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/continuations.ts:99](https://github.com/LuanRT/YouTube.j > **contents**: [`ObservedArray`](../youtubei.js/namespaces/Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../youtubei.js/namespaces/Helpers/classes/YTNode.md)\> -Defined in: [src/parser/continuations.ts:97](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L97) +Defined in: [src/parser/continuations.ts:97](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L97) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/continuations.ts:97](https://github.com/LuanRT/YouTube.j > **continuation**: `string` -Defined in: [src/parser/continuations.ts:96](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L96) +Defined in: [src/parser/continuations.ts:96](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L96) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/continuations.ts:96](https://github.com/LuanRT/YouTube.j > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `readonly` `static` **type**: `"musicShelfContinuation"` = `'musicShelfContinuation'` -Defined in: [src/parser/continuations.ts:94](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L94) +Defined in: [src/parser/continuations.ts:94](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L94) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/continuations.ts:94](https://github.com/LuanRT/YouTube.j > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicShelfContinuation & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../youtubei.js/namespaces/Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/classes/NavigateAction.md b/docs/api/classes/NavigateAction.md index 443381a8..2b5f0e4e 100644 --- a/docs/api/classes/NavigateAction.md +++ b/docs/api/classes/NavigateAction.md @@ -2,7 +2,7 @@ # Class: NavigateAction -Defined in: [src/parser/continuations.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L24) +Defined in: [src/parser/continuations.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L24) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/continuations.ts:24](https://github.com/LuanRT/YouTube.j > **new NavigateAction**(`data`): `NavigateAction` -Defined in: [src/parser/continuations.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L29) +Defined in: [src/parser/continuations.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L29) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/continuations.ts:29](https://github.com/LuanRT/YouTube.j > **endpoint**: [`NavigationEndpoint`](../youtubei.js/namespaces/YTNodes/classes/NavigationEndpoint.md) -Defined in: [src/parser/continuations.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L27) +Defined in: [src/parser/continuations.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L27) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/continuations.ts:27](https://github.com/LuanRT/YouTube.j > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `readonly` `static` **type**: `"navigateAction"` = `'navigateAction'` -Defined in: [src/parser/continuations.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L25) +Defined in: [src/parser/continuations.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L25) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/continuations.ts:25](https://github.com/LuanRT/YouTube.j > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is NavigateAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../youtubei.js/namespaces/Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/classes/OAuth2.md b/docs/api/classes/OAuth2.md index 4a43f6f2..9c81b890 100644 --- a/docs/api/classes/OAuth2.md +++ b/docs/api/classes/OAuth2.md @@ -2,7 +2,7 @@ # Class: OAuth2 -Defined in: [src/core/OAuth2.ts:35](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L35) +Defined in: [src/core/OAuth2.ts:35](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L35) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/core/OAuth2.ts:35](https://github.com/LuanRT/YouTube.js/blob/07 > **new OAuth2**(`session`): `OAuth2` -Defined in: [src/core/OAuth2.ts:46](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L46) +Defined in: [src/core/OAuth2.ts:46](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L46) #### Parameters @@ -28,7 +28,7 @@ Defined in: [src/core/OAuth2.ts:46](https://github.com/LuanRT/YouTube.js/blob/07 > **AUTH\_SERVER\_CODE\_URL**: `URL` -Defined in: [src/core/OAuth2.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L39) +Defined in: [src/core/OAuth2.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L39) *** @@ -36,7 +36,7 @@ Defined in: [src/core/OAuth2.ts:39](https://github.com/LuanRT/YouTube.js/blob/07 > **AUTH\_SERVER\_REVOKE\_TOKEN\_URL**: `URL` -Defined in: [src/core/OAuth2.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L41) +Defined in: [src/core/OAuth2.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L41) *** @@ -44,7 +44,7 @@ Defined in: [src/core/OAuth2.ts:41](https://github.com/LuanRT/YouTube.js/blob/07 > **AUTH\_SERVER\_TOKEN\_URL**: `URL` -Defined in: [src/core/OAuth2.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L40) +Defined in: [src/core/OAuth2.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L40) *** @@ -52,7 +52,7 @@ Defined in: [src/core/OAuth2.ts:40](https://github.com/LuanRT/YouTube.js/blob/07 > **client\_id**: [`OAuth2ClientID`](../type-aliases/OAuth2ClientID.md) \| `undefined` -Defined in: [src/core/OAuth2.ts:43](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L43) +Defined in: [src/core/OAuth2.ts:43](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L43) *** @@ -60,7 +60,7 @@ Defined in: [src/core/OAuth2.ts:43](https://github.com/LuanRT/YouTube.js/blob/07 > **oauth2\_tokens**: [`OAuth2Tokens`](../type-aliases/OAuth2Tokens.md) \| `undefined` -Defined in: [src/core/OAuth2.ts:44](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L44) +Defined in: [src/core/OAuth2.ts:44](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L44) *** @@ -68,7 +68,7 @@ Defined in: [src/core/OAuth2.ts:44](https://github.com/LuanRT/YouTube.js/blob/07 > **YTTV\_URL**: `URL` -Defined in: [src/core/OAuth2.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L38) +Defined in: [src/core/OAuth2.ts:38](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L38) ## Methods @@ -76,7 +76,7 @@ Defined in: [src/core/OAuth2.ts:38](https://github.com/LuanRT/YouTube.js/blob/07 > **cacheCredentials**(): `Promise`\<`void`\> -Defined in: [src/core/OAuth2.ts:105](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L105) +Defined in: [src/core/OAuth2.ts:105](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L105) #### Returns @@ -88,7 +88,7 @@ Defined in: [src/core/OAuth2.ts:105](https://github.com/LuanRT/YouTube.js/blob/0 > **getClientID**(): `Promise`\<[`OAuth2ClientID`](../type-aliases/OAuth2ClientID.md)\> -Defined in: [src/core/OAuth2.ts:268](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L268) +Defined in: [src/core/OAuth2.ts:268](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L268) #### Returns @@ -100,7 +100,7 @@ Defined in: [src/core/OAuth2.ts:268](https://github.com/LuanRT/YouTube.js/blob/0 > **getDeviceAndUserCode**(): `Promise`\<[`DeviceAndUserCode`](../type-aliases/DeviceAndUserCode.md)\> -Defined in: [src/core/OAuth2.ts:236](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L236) +Defined in: [src/core/OAuth2.ts:236](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L236) #### Returns @@ -112,7 +112,7 @@ Defined in: [src/core/OAuth2.ts:236](https://github.com/LuanRT/YouTube.js/blob/0 > **init**(`tokens?`): `Promise`\<`void`\> -Defined in: [src/core/OAuth2.ts:54](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L54) +Defined in: [src/core/OAuth2.ts:54](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L54) #### Parameters @@ -130,7 +130,7 @@ Defined in: [src/core/OAuth2.ts:54](https://github.com/LuanRT/YouTube.js/blob/07 > **pollForAccessToken**(`device_and_user_code`): `void` -Defined in: [src/core/OAuth2.ts:130](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L130) +Defined in: [src/core/OAuth2.ts:130](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L130) #### Parameters @@ -148,7 +148,7 @@ Defined in: [src/core/OAuth2.ts:130](https://github.com/LuanRT/YouTube.js/blob/0 > **refreshAccessToken**(): `Promise`\<`void`\> -Defined in: [src/core/OAuth2.ts:197](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L197) +Defined in: [src/core/OAuth2.ts:197](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L197) #### Returns @@ -160,7 +160,7 @@ Defined in: [src/core/OAuth2.ts:197](https://github.com/LuanRT/YouTube.js/blob/0 > **removeCache**(): `Promise`\<`void`\> -Defined in: [src/core/OAuth2.ts:126](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L126) +Defined in: [src/core/OAuth2.ts:126](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L126) #### Returns @@ -172,7 +172,7 @@ Defined in: [src/core/OAuth2.ts:126](https://github.com/LuanRT/YouTube.js/blob/0 > **revokeCredentials**(): `Promise`\<`Response` \| `undefined`\> -Defined in: [src/core/OAuth2.ts:185](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L185) +Defined in: [src/core/OAuth2.ts:185](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L185) #### Returns @@ -184,7 +184,7 @@ Defined in: [src/core/OAuth2.ts:185](https://github.com/LuanRT/YouTube.js/blob/0 > **setTokens**(`tokens`): `void` -Defined in: [src/core/OAuth2.ts:85](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L85) +Defined in: [src/core/OAuth2.ts:85](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L85) #### Parameters @@ -202,7 +202,7 @@ Defined in: [src/core/OAuth2.ts:85](https://github.com/LuanRT/YouTube.js/blob/07 > **shouldRefreshToken**(): `boolean` -Defined in: [src/core/OAuth2.ts:313](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L313) +Defined in: [src/core/OAuth2.ts:313](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L313) #### Returns @@ -214,7 +214,7 @@ Defined in: [src/core/OAuth2.ts:313](https://github.com/LuanRT/YouTube.js/blob/0 > **validateTokens**(`tokens`): `boolean` -Defined in: [src/core/OAuth2.ts:319](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L319) +Defined in: [src/core/OAuth2.ts:319](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L319) #### Parameters diff --git a/docs/api/classes/Platform.md b/docs/api/classes/Platform.md index defd9e15..8b241e52 100644 --- a/docs/api/classes/Platform.md +++ b/docs/api/classes/Platform.md @@ -2,7 +2,7 @@ # Class: Platform -Defined in: [src/utils/Utils.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L15) +Defined in: [src/utils/Utils.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L15) ## Constructors @@ -22,7 +22,7 @@ Defined in: [src/utils/Utils.ts:15](https://github.com/LuanRT/YouTube.js/blob/07 > **get** `static` **shim**(): [`PlatformShim`](../youtubei.js/namespaces/Types/interfaces/PlatformShim.md) -Defined in: [src/utils/Utils.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L20) +Defined in: [src/utils/Utils.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L20) ##### Returns @@ -34,7 +34,7 @@ Defined in: [src/utils/Utils.ts:20](https://github.com/LuanRT/YouTube.js/blob/07 > `static` **load**(`platform`): `void` -Defined in: [src/utils/Utils.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L16) +Defined in: [src/utils/Utils.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L16) #### Parameters diff --git a/docs/api/classes/Player.md b/docs/api/classes/Player.md index 6c43280f..f035b508 100644 --- a/docs/api/classes/Player.md +++ b/docs/api/classes/Player.md @@ -2,7 +2,7 @@ # Class: Player -Defined in: [src/core/Player.ts:37](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Player.ts#L37) +Defined in: [src/core/Player.ts:38](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Player.ts#L38) Represents YouTube's player script. This is required to decipher signatures. @@ -12,7 +12,7 @@ Represents YouTube's player script. This is required to decipher signatures. > **new Player**(`player_id`, `signature_timestamp`, `data?`): `Player` -Defined in: [src/core/Player.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Player.ts#L40) +Defined in: [src/core/Player.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Player.ts#L41) #### Parameters @@ -38,7 +38,7 @@ Defined in: [src/core/Player.ts:40](https://github.com/LuanRT/YouTube.js/blob/07 > `optional` **data**: [`BuildScriptResult`](../youtubei.js/namespaces/Types/interfaces/BuildScriptResult.md) -Defined in: [src/core/Player.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Player.ts#L40) +Defined in: [src/core/Player.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Player.ts#L41) *** @@ -46,7 +46,7 @@ Defined in: [src/core/Player.ts:40](https://github.com/LuanRT/YouTube.js/blob/07 > **player\_id**: `string` -Defined in: [src/core/Player.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Player.ts#L40) +Defined in: [src/core/Player.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Player.ts#L41) *** @@ -54,7 +54,7 @@ Defined in: [src/core/Player.ts:40](https://github.com/LuanRT/YouTube.js/blob/07 > `optional` **po\_token**: `string` -Defined in: [src/core/Player.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Player.ts#L38) +Defined in: [src/core/Player.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Player.ts#L39) *** @@ -62,7 +62,7 @@ Defined in: [src/core/Player.ts:38](https://github.com/LuanRT/YouTube.js/blob/07 > **signature\_timestamp**: `number` -Defined in: [src/core/Player.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Player.ts#L40) +Defined in: [src/core/Player.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Player.ts#L41) ## Accessors @@ -72,7 +72,7 @@ Defined in: [src/core/Player.ts:40](https://github.com/LuanRT/YouTube.js/blob/07 > **get** **url**(): `string` -Defined in: [src/core/Player.ts:284](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Player.ts#L284) +Defined in: [src/core/Player.ts:285](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Player.ts#L285) ##### Returns @@ -86,7 +86,7 @@ Defined in: [src/core/Player.ts:284](https://github.com/LuanRT/YouTube.js/blob/0 > **get** `static` **LIBRARY\_VERSION**(): `number` -Defined in: [src/core/Player.ts:288](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Player.ts#L288) +Defined in: [src/core/Player.ts:289](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Player.ts#L289) ##### Returns @@ -98,7 +98,7 @@ Defined in: [src/core/Player.ts:288](https://github.com/LuanRT/YouTube.js/blob/0 > **cache**(`cache?`): `Promise`\<`void`\> -Defined in: [src/core/Player.ts:270](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Player.ts#L270) +Defined in: [src/core/Player.ts:271](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Player.ts#L271) #### Parameters @@ -116,7 +116,7 @@ Defined in: [src/core/Player.ts:270](https://github.com/LuanRT/YouTube.js/blob/0 > **decipher**(`url?`, `signature_cipher?`, `cipher?`, `this_response_nsig_cache?`): `Promise`\<`string`\> -Defined in: [src/core/Player.ts:134](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Player.ts#L134) +Defined in: [src/core/Player.ts:129](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Player.ts#L129) #### Parameters @@ -144,9 +144,9 @@ Defined in: [src/core/Player.ts:134](https://github.com/LuanRT/YouTube.js/blob/0 ### create() -> `static` **create**(`cache`, `fetch`, `po_token?`, `player_id?`): `Promise`\<`Player`\> +> `static` **create**(`cache`, `fetch?`, `po_token?`, `player_id?`): `Promise`\<`Player`\> -Defined in: [src/core/Player.ts:42](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Player.ts#L42) +Defined in: [src/core/Player.ts:43](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Player.ts#L43) #### Parameters @@ -154,7 +154,7 @@ Defined in: [src/core/Player.ts:42](https://github.com/LuanRT/YouTube.js/blob/07 [`ICache`](../youtubei.js/namespaces/Types/interfaces/ICache.md) | `undefined` -##### fetch +##### fetch? \{(`input`, `init?`): `Promise`\<`Response`\>; (`input`, `init?`): `Promise`\<`Response`\>; \} @@ -176,7 +176,7 @@ Defined in: [src/core/Player.ts:42](https://github.com/LuanRT/YouTube.js/blob/07 > `static` **fromCache**(`cache`, `player_id`): `Promise`\<`Player` \| `null`\> -Defined in: [src/core/Player.ts:243](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Player.ts#L243) +Defined in: [src/core/Player.ts:244](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Player.ts#L244) #### Parameters @@ -198,7 +198,7 @@ Defined in: [src/core/Player.ts:243](https://github.com/LuanRT/YouTube.js/blob/0 > `static` **fromSource**(`player_id`, `options`): `Promise`\<`Player`\> -Defined in: [src/core/Player.ts:264](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Player.ts#L264) +Defined in: [src/core/Player.ts:265](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Player.ts#L265) #### Parameters diff --git a/docs/api/classes/PlaylistPanelContinuation.md b/docs/api/classes/PlaylistPanelContinuation.md index 092c98ef..9b6a1639 100644 --- a/docs/api/classes/PlaylistPanelContinuation.md +++ b/docs/api/classes/PlaylistPanelContinuation.md @@ -2,7 +2,7 @@ # Class: PlaylistPanelContinuation -Defined in: [src/parser/continuations.ts:125](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L125) +Defined in: [src/parser/continuations.ts:125](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L125) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/continuations.ts:125](https://github.com/LuanRT/YouTube. > **new PlaylistPanelContinuation**(`data`): `PlaylistPanelContinuation` -Defined in: [src/parser/continuations.ts:131](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L131) +Defined in: [src/parser/continuations.ts:131](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L131) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/continuations.ts:131](https://github.com/LuanRT/YouTube. > **contents**: [`ObservedArray`](../youtubei.js/namespaces/Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../youtubei.js/namespaces/Helpers/classes/YTNode.md)\> -Defined in: [src/parser/continuations.ts:129](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L129) +Defined in: [src/parser/continuations.ts:129](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L129) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/continuations.ts:129](https://github.com/LuanRT/YouTube. > **continuation**: `string` -Defined in: [src/parser/continuations.ts:128](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L128) +Defined in: [src/parser/continuations.ts:128](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L128) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/continuations.ts:128](https://github.com/LuanRT/YouTube. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `readonly` `static` **type**: `"playlistPanelContinuation"` = `'playlistPanelContinuation'` -Defined in: [src/parser/continuations.ts:126](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L126) +Defined in: [src/parser/continuations.ts:126](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L126) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/continuations.ts:126](https://github.com/LuanRT/YouTube. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlaylistPanelContinuation & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../youtubei.js/namespaces/Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/classes/ReloadContinuationItemsCommand.md b/docs/api/classes/ReloadContinuationItemsCommand.md index 24df7caa..4f82a7b2 100644 --- a/docs/api/classes/ReloadContinuationItemsCommand.md +++ b/docs/api/classes/ReloadContinuationItemsCommand.md @@ -2,7 +2,7 @@ # Class: ReloadContinuationItemsCommand -Defined in: [src/parser/continuations.ts:50](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L50) +Defined in: [src/parser/continuations.ts:50](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L50) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/continuations.ts:50](https://github.com/LuanRT/YouTube.j > **new ReloadContinuationItemsCommand**(`data`): `ReloadContinuationItemsCommand` -Defined in: [src/parser/continuations.ts:57](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L57) +Defined in: [src/parser/continuations.ts:57](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L57) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/continuations.ts:57](https://github.com/LuanRT/YouTube.j > **contents**: [`ObservedArray`](../youtubei.js/namespaces/Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../youtubei.js/namespaces/Helpers/classes/YTNode.md)\> \| `null` -Defined in: [src/parser/continuations.ts:54](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L54) +Defined in: [src/parser/continuations.ts:54](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L54) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/continuations.ts:54](https://github.com/LuanRT/YouTube.j > `optional` **slot**: `string` -Defined in: [src/parser/continuations.ts:55](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L55) +Defined in: [src/parser/continuations.ts:55](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L55) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/continuations.ts:55](https://github.com/LuanRT/YouTube.j > **target\_id**: `string` -Defined in: [src/parser/continuations.ts:53](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L53) +Defined in: [src/parser/continuations.ts:53](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L53) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/continuations.ts:53](https://github.com/LuanRT/YouTube.j > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `readonly` `static` **type**: `"reloadContinuationItemsCommand"` = `'reloadContinuationItemsCommand'` -Defined in: [src/parser/continuations.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L51) +Defined in: [src/parser/continuations.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L51) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/continuations.ts:51](https://github.com/LuanRT/YouTube.j > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ReloadContinuationItemsCommand & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../youtubei.js/namespaces/Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/classes/SectionListContinuation.md b/docs/api/classes/SectionListContinuation.md index ad30b840..983d64d4 100644 --- a/docs/api/classes/SectionListContinuation.md +++ b/docs/api/classes/SectionListContinuation.md @@ -2,7 +2,7 @@ # Class: SectionListContinuation -Defined in: [src/parser/continuations.ts:65](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L65) +Defined in: [src/parser/continuations.ts:65](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L65) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/continuations.ts:65](https://github.com/LuanRT/YouTube.j > **new SectionListContinuation**(`data`): `SectionListContinuation` -Defined in: [src/parser/continuations.ts:71](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L71) +Defined in: [src/parser/continuations.ts:71](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L71) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/continuations.ts:71](https://github.com/LuanRT/YouTube.j > **contents**: [`ObservedArray`](../youtubei.js/namespaces/Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../youtubei.js/namespaces/Helpers/classes/YTNode.md)\> \| `null` -Defined in: [src/parser/continuations.ts:69](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L69) +Defined in: [src/parser/continuations.ts:69](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L69) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/continuations.ts:69](https://github.com/LuanRT/YouTube.j > **continuation**: `string` -Defined in: [src/parser/continuations.ts:68](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L68) +Defined in: [src/parser/continuations.ts:68](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L68) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/continuations.ts:68](https://github.com/LuanRT/YouTube.j > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `readonly` `static` **type**: `"sectionListContinuation"` = `'sectionListContinuation'` -Defined in: [src/parser/continuations.ts:66](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L66) +Defined in: [src/parser/continuations.ts:66](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L66) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/continuations.ts:66](https://github.com/LuanRT/YouTube.j > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SectionListContinuation & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../youtubei.js/namespaces/Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/classes/Session.md b/docs/api/classes/Session.md index 6aa7f751..c4ea917d 100644 --- a/docs/api/classes/Session.md +++ b/docs/api/classes/Session.md @@ -2,7 +2,7 @@ # Class: Session -Defined in: [src/core/Session.ts:251](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L251) +Defined in: [src/core/Session.ts:257](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L257) Represents an InnerTube session. This holds all the data needed to make requests to YouTube. @@ -16,7 +16,7 @@ Represents an InnerTube session. This holds all the data needed to make requests > **new Session**(`context`, `api_key`, `api_version`, `account_index`, `config_data?`, `player?`, `cookie?`, `fetch?`, `cache?`, `po_token?`): `Session` -Defined in: [src/core/Session.ts:258](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L258) +Defined in: [src/core/Session.ts:264](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L264) #### Parameters @@ -74,7 +74,7 @@ Defined in: [src/core/Session.ts:258](https://github.com/LuanRT/YouTube.js/blob/ > **account\_index**: `number` -Defined in: [src/core/Session.ts:262](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L262) +Defined in: [src/core/Session.ts:268](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L268) *** @@ -82,7 +82,7 @@ Defined in: [src/core/Session.ts:262](https://github.com/LuanRT/YouTube.js/blob/ > **actions**: [`Actions`](Actions.md) -Defined in: [src/core/Session.ts:255](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L255) +Defined in: [src/core/Session.ts:261](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L261) *** @@ -90,7 +90,7 @@ Defined in: [src/core/Session.ts:255](https://github.com/LuanRT/YouTube.js/blob/ > **api\_key**: `string` -Defined in: [src/core/Session.ts:260](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L260) +Defined in: [src/core/Session.ts:266](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L266) *** @@ -98,7 +98,7 @@ Defined in: [src/core/Session.ts:260](https://github.com/LuanRT/YouTube.js/blob/ > **api\_version**: `string` -Defined in: [src/core/Session.ts:261](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L261) +Defined in: [src/core/Session.ts:267](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L267) *** @@ -106,7 +106,7 @@ Defined in: [src/core/Session.ts:261](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **cache**: [`ICache`](../youtubei.js/namespaces/Types/interfaces/ICache.md) -Defined in: [src/core/Session.ts:267](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L267) +Defined in: [src/core/Session.ts:273](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L273) *** @@ -114,7 +114,7 @@ Defined in: [src/core/Session.ts:267](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **config\_data**: `string` -Defined in: [src/core/Session.ts:263](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L263) +Defined in: [src/core/Session.ts:269](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L269) *** @@ -122,7 +122,7 @@ Defined in: [src/core/Session.ts:263](https://github.com/LuanRT/YouTube.js/blob/ > **context**: [`Context`](../type-aliases/Context.md) -Defined in: [src/core/Session.ts:259](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L259) +Defined in: [src/core/Session.ts:265](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L265) *** @@ -130,7 +130,7 @@ Defined in: [src/core/Session.ts:259](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **cookie**: `string` -Defined in: [src/core/Session.ts:265](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L265) +Defined in: [src/core/Session.ts:271](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L271) *** @@ -138,7 +138,7 @@ Defined in: [src/core/Session.ts:265](https://github.com/LuanRT/YouTube.js/blob/ > **http**: [`HTTPClient`](HTTPClient.md) -Defined in: [src/core/Session.ts:253](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L253) +Defined in: [src/core/Session.ts:259](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L259) *** @@ -146,7 +146,7 @@ Defined in: [src/core/Session.ts:253](https://github.com/LuanRT/YouTube.js/blob/ > **logged\_in**: `boolean` -Defined in: [src/core/Session.ts:254](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L254) +Defined in: [src/core/Session.ts:260](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L260) *** @@ -154,7 +154,7 @@ Defined in: [src/core/Session.ts:254](https://github.com/LuanRT/YouTube.js/blob/ > **oauth**: [`OAuth2`](OAuth2.md) -Defined in: [src/core/Session.ts:252](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L252) +Defined in: [src/core/Session.ts:258](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L258) *** @@ -162,7 +162,7 @@ Defined in: [src/core/Session.ts:252](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **player**: [`Player`](Player.md) -Defined in: [src/core/Session.ts:264](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L264) +Defined in: [src/core/Session.ts:270](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L270) *** @@ -170,7 +170,7 @@ Defined in: [src/core/Session.ts:264](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **po\_token**: `string` -Defined in: [src/core/Session.ts:268](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L268) +Defined in: [src/core/Session.ts:274](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L274) *** @@ -178,7 +178,7 @@ Defined in: [src/core/Session.ts:268](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **user\_agent**: `string` -Defined in: [src/core/Session.ts:256](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L256) +Defined in: [src/core/Session.ts:262](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L262) ## Accessors @@ -188,7 +188,7 @@ Defined in: [src/core/Session.ts:256](https://github.com/LuanRT/YouTube.js/blob/ > **get** **client\_name**(): `string` -Defined in: [src/core/Session.ts:688](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L688) +Defined in: [src/core/Session.ts:698](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L698) ##### Returns @@ -202,7 +202,7 @@ Defined in: [src/core/Session.ts:688](https://github.com/LuanRT/YouTube.js/blob/ > **get** **client\_version**(): `string` -Defined in: [src/core/Session.ts:684](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L684) +Defined in: [src/core/Session.ts:694](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L694) ##### Returns @@ -216,7 +216,7 @@ Defined in: [src/core/Session.ts:684](https://github.com/LuanRT/YouTube.js/blob/ > **get** **lang**(): `string` -Defined in: [src/core/Session.ts:692](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L692) +Defined in: [src/core/Session.ts:702](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L702) ##### Returns @@ -228,21 +228,9 @@ Defined in: [src/core/Session.ts:692](https://github.com/LuanRT/YouTube.js/blob/ > **addEventListener**(`type`, `callback`, `options?`): `void` -Defined in: node\_modules/typescript/lib/lib.dom.d.ts:8256 +Defined in: node\_modules/typescript/lib/lib.dom.d.ts:11569 -Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. - -The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. - -When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. - -When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. - -When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. - -If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. - -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. +The **`addEventListener()`** method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target. [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) @@ -274,9 +262,9 @@ The event listener is appended to target's event listener list and is not append > **dispatchEvent**(`event`): `boolean` -Defined in: node\_modules/typescript/lib/lib.dom.d.ts:8262 +Defined in: node\_modules/typescript/lib/lib.dom.d.ts:11575 -Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. +The **`dispatchEvent()`** method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order. [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent) @@ -300,7 +288,7 @@ Dispatches a synthetic event event to target and returns true if either event's > **emit**(`type`, ...`args`): `void` -Defined in: [src/utils/EventEmitterLike.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/EventEmitterLike.ts#L10) +Defined in: [src/utils/EventEmitterLike.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/EventEmitterLike.ts#L10) #### Parameters @@ -326,7 +314,7 @@ Defined in: [src/utils/EventEmitterLike.ts:10](https://github.com/LuanRT/YouTube > **off**(`type`, `listener`): `void` -Defined in: [src/utils/EventEmitterLike.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/EventEmitterLike.ts#L40) +Defined in: [src/utils/EventEmitterLike.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/EventEmitterLike.ts#L40) #### Parameters @@ -354,7 +342,7 @@ Defined in: [src/utils/EventEmitterLike.ts:40](https://github.com/LuanRT/YouTube > **on**(`type`, `listener`): `void` -Defined in: [src/core/Session.ts:278](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L278) +Defined in: [src/core/Session.ts:284](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L284) ##### Parameters @@ -378,7 +366,7 @@ Defined in: [src/core/Session.ts:278](https://github.com/LuanRT/YouTube.js/blob/ > **on**(`type`, `listener`): `void` -Defined in: [src/core/Session.ts:279](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L279) +Defined in: [src/core/Session.ts:285](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L285) ##### Parameters @@ -402,7 +390,7 @@ Defined in: [src/core/Session.ts:279](https://github.com/LuanRT/YouTube.js/blob/ > **on**(`type`, `listener`): `void` -Defined in: [src/core/Session.ts:280](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L280) +Defined in: [src/core/Session.ts:286](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L286) ##### Parameters @@ -426,7 +414,7 @@ Defined in: [src/core/Session.ts:280](https://github.com/LuanRT/YouTube.js/blob/ > **on**(`type`, `listener`): `void` -Defined in: [src/core/Session.ts:281](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L281) +Defined in: [src/core/Session.ts:287](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L287) ##### Parameters @@ -454,7 +442,7 @@ Defined in: [src/core/Session.ts:281](https://github.com/LuanRT/YouTube.js/blob/ > **once**(`type`, `listener`): `void` -Defined in: [src/core/Session.ts:287](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L287) +Defined in: [src/core/Session.ts:293](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L293) ##### Parameters @@ -478,7 +466,7 @@ Defined in: [src/core/Session.ts:287](https://github.com/LuanRT/YouTube.js/blob/ > **once**(`type`, `listener`): `void` -Defined in: [src/core/Session.ts:288](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L288) +Defined in: [src/core/Session.ts:294](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L294) ##### Parameters @@ -502,7 +490,7 @@ Defined in: [src/core/Session.ts:288](https://github.com/LuanRT/YouTube.js/blob/ > **once**(`type`, `listener`): `void` -Defined in: [src/core/Session.ts:289](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L289) +Defined in: [src/core/Session.ts:295](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L295) ##### Parameters @@ -528,9 +516,9 @@ Defined in: [src/core/Session.ts:289](https://github.com/LuanRT/YouTube.js/blob/ > **removeEventListener**(`type`, `callback`, `options?`): `void` -Defined in: node\_modules/typescript/lib/lib.dom.d.ts:8268 +Defined in: node\_modules/typescript/lib/lib.dom.d.ts:11581 -Removes the event listener in target's event listener list with the same type, callback, and options. +The **`removeEventListener()`** method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target. [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) @@ -562,7 +550,7 @@ Removes the event listener in target's event listener list with the same type, c > **signIn**(`credentials?`): `Promise`\<`void`\> -Defined in: [src/core/Session.ts:651](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L651) +Defined in: [src/core/Session.ts:661](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L661) #### Parameters @@ -580,7 +568,7 @@ Defined in: [src/core/Session.ts:651](https://github.com/LuanRT/YouTube.js/blob/ > **signOut**(): `Promise`\<`Response` \| `undefined`\> -Defined in: [src/core/Session.ts:674](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L674) +Defined in: [src/core/Session.ts:684](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L684) Signs out of the current account and revokes the credentials. @@ -592,13 +580,13 @@ Signs out of the current account and revokes the credentials. ### create() -> `static` **create**(`options`): `Promise`\<`Session`\> +> `static` **create**(`options?`): `Promise`\<`Session`\> -Defined in: [src/core/Session.ts:295](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L295) +Defined in: [src/core/Session.ts:301](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L301) #### Parameters -##### options +##### options? [`SessionOptions`](../type-aliases/SessionOptions.md) = `{}` @@ -612,7 +600,7 @@ Defined in: [src/core/Session.ts:295](https://github.com/LuanRT/YouTube.js/blob/ > `static` **fromCache**(`cache`, `session_args`): `Promise`\<[`SessionData`](../type-aliases/SessionData.md) \| `null`\> -Defined in: [src/core/Session.ts:327](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L327) +Defined in: [src/core/Session.ts:334](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L334) Retrieves session data from cache. @@ -638,53 +626,57 @@ User provided session arguments. ### getSessionData() -> `static` **getSessionData**(`lang`, `location`, `account_index`, `visitor_data`, `user_agent`, `enable_safety_mode`, `generate_session_locally`, `device_category`, `client_name`, `tz`, `fetch`, `on_behalf_of_user?`, `cache?`, `enable_session_cache?`, `po_token?`, `retrieve_innertube_config?`): `Promise`\<\{ `account_index`: `number`; `api_key`: `string`; `api_version`: `string`; `config_data?`: `string`; `context`: [`Context`](../type-aliases/Context.md); \}\> +> `static` **getSessionData**(`lang?`, `location?`, `account_index?`, `visitor_data?`, `user_agent?`, `enable_safety_mode?`, `generate_session_locally?`, `fail_fast?`, `device_category?`, `client_name?`, `tz?`, `fetch?`, `on_behalf_of_user?`, `cache?`, `enable_session_cache?`, `po_token?`, `retrieve_innertube_config?`): `Promise`\<\{ `account_index`: `number`; `api_key`: `string`; `api_version`: `string`; `config_data?`: `string`; `context`: [`Context`](../type-aliases/Context.md); \}\> -Defined in: [src/core/Session.ts:376](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L376) +Defined in: [src/core/Session.ts:383](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L383) #### Parameters -##### lang +##### lang? `string` = `''` -##### location +##### location? `string` = `''` -##### account\_index +##### account\_index? `number` = `0` -##### visitor\_data +##### visitor\_data? `string` = `''` -##### user\_agent +##### user\_agent? `string` = `...` -##### enable\_safety\_mode +##### enable\_safety\_mode? `boolean` = `false` -##### generate\_session\_locally +##### generate\_session\_locally? `boolean` = `false` -##### device\_category +##### fail\_fast? + +`boolean` = `false` + +##### device\_category? [`DeviceCategory`](../youtubei.js/namespaces/Utils/type-aliases/DeviceCategory.md) = `'desktop'` -##### client\_name +##### client\_name? [`ClientType`](../enumerations/ClientType.md) = `ClientType.WEB` -##### tz +##### tz? `string` = `...` -##### fetch +##### fetch? \{(`input`, `init?`): `Promise`\<`Response`\>; (`input`, `init?`): `Promise`\<`Response`\>; \} diff --git a/docs/api/classes/ShowMiniplayerCommand.md b/docs/api/classes/ShowMiniplayerCommand.md index cf86a2ae..e320350a 100644 --- a/docs/api/classes/ShowMiniplayerCommand.md +++ b/docs/api/classes/ShowMiniplayerCommand.md @@ -2,7 +2,7 @@ # Class: ShowMiniplayerCommand -Defined in: [src/parser/continuations.ts:35](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L35) +Defined in: [src/parser/continuations.ts:35](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L35) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/continuations.ts:35](https://github.com/LuanRT/YouTube.j > **new ShowMiniplayerCommand**(`data`): `ShowMiniplayerCommand` -Defined in: [src/parser/continuations.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L41) +Defined in: [src/parser/continuations.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L41) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/continuations.ts:41](https://github.com/LuanRT/YouTube.j > **miniplayer\_command**: [`NavigationEndpoint`](../youtubei.js/namespaces/YTNodes/classes/NavigationEndpoint.md) -Defined in: [src/parser/continuations.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L38) +Defined in: [src/parser/continuations.ts:38](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L38) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/continuations.ts:38](https://github.com/LuanRT/YouTube.j > **show\_premium\_branding**: `boolean` -Defined in: [src/parser/continuations.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L39) +Defined in: [src/parser/continuations.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L39) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/continuations.ts:39](https://github.com/LuanRT/YouTube.j > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `readonly` `static` **type**: `"showMiniplayerCommand"` = `'showMiniplayerCommand'` -Defined in: [src/parser/continuations.ts:36](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/continuations.ts#L36) +Defined in: [src/parser/continuations.ts:36](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/continuations.ts#L36) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/continuations.ts:36](https://github.com/LuanRT/YouTube.j > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ShowMiniplayerCommand & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../youtubei.js/namespaces/Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/classes/UniversalCache.md b/docs/api/classes/UniversalCache.md index 67a5d6b6..1878bc3c 100644 --- a/docs/api/classes/UniversalCache.md +++ b/docs/api/classes/UniversalCache.md @@ -2,7 +2,7 @@ # Class: UniversalCache -Defined in: [src/utils/Cache.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Cache.ts#L4) +Defined in: [src/utils/Cache.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Cache.ts#L4) ## Implements @@ -14,7 +14,7 @@ Defined in: [src/utils/Cache.ts:4](https://github.com/LuanRT/YouTube.js/blob/073 > **new UniversalCache**(`persistent`, `persistent_directory?`): `UniversalCache` -Defined in: [src/utils/Cache.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Cache.ts#L6) +Defined in: [src/utils/Cache.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Cache.ts#L6) #### Parameters @@ -38,7 +38,7 @@ Defined in: [src/utils/Cache.ts:6](https://github.com/LuanRT/YouTube.js/blob/073 > **get** **cache\_dir**(): `string` -Defined in: [src/utils/Cache.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Cache.ts#L9) +Defined in: [src/utils/Cache.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Cache.ts#L9) ##### Returns @@ -54,7 +54,7 @@ Defined in: [src/utils/Cache.ts:9](https://github.com/LuanRT/YouTube.js/blob/073 > **get**(`key`): `Promise`\<`ArrayBuffer` \| `undefined`\> -Defined in: [src/utils/Cache.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Cache.ts#L12) +Defined in: [src/utils/Cache.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Cache.ts#L12) #### Parameters @@ -76,7 +76,7 @@ Defined in: [src/utils/Cache.ts:12](https://github.com/LuanRT/YouTube.js/blob/07 > **remove**(`key`): `Promise`\<`void`\> -Defined in: [src/utils/Cache.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Cache.ts#L18) +Defined in: [src/utils/Cache.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Cache.ts#L18) #### Parameters @@ -98,7 +98,7 @@ Defined in: [src/utils/Cache.ts:18](https://github.com/LuanRT/YouTube.js/blob/07 > **set**(`key`, `value`): `Promise`\<`void`\> -Defined in: [src/utils/Cache.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Cache.ts#L15) +Defined in: [src/utils/Cache.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Cache.ts#L15) #### Parameters diff --git a/docs/api/enumerations/ClientType.md b/docs/api/enumerations/ClientType.md index 8511bb3f..1e603d2f 100644 --- a/docs/api/enumerations/ClientType.md +++ b/docs/api/enumerations/ClientType.md @@ -2,7 +2,7 @@ # Enumeration: ClientType -Defined in: [src/core/Session.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L22) +Defined in: [src/core/Session.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L22) ## Enumeration Members @@ -10,7 +10,7 @@ Defined in: [src/core/Session.ts:22](https://github.com/LuanRT/YouTube.js/blob/0 > **ANDROID**: `"ANDROID"` -Defined in: [src/core/Session.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L28) +Defined in: [src/core/Session.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L28) *** @@ -18,7 +18,7 @@ Defined in: [src/core/Session.ts:28](https://github.com/LuanRT/YouTube.js/blob/0 > **ANDROID\_CREATOR**: `"ANDROID_CREATOR"` -Defined in: [src/core/Session.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L30) +Defined in: [src/core/Session.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L31) *** @@ -26,7 +26,15 @@ Defined in: [src/core/Session.ts:30](https://github.com/LuanRT/YouTube.js/blob/0 > **ANDROID\_MUSIC**: `"ANDROID_MUSIC"` -Defined in: [src/core/Session.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L29) +Defined in: [src/core/Session.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L30) + +*** + +### ANDROID\_VR + +> **ANDROID\_VR**: `"ANDROID_VR"` + +Defined in: [src/core/Session.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L29) *** @@ -34,7 +42,7 @@ Defined in: [src/core/Session.ts:29](https://github.com/LuanRT/YouTube.js/blob/0 > **IOS**: `"iOS"` -Defined in: [src/core/Session.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L27) +Defined in: [src/core/Session.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L27) *** @@ -42,7 +50,7 @@ Defined in: [src/core/Session.ts:27](https://github.com/LuanRT/YouTube.js/blob/0 > **KIDS**: `"WEB_KIDS"` -Defined in: [src/core/Session.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L25) +Defined in: [src/core/Session.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L25) *** @@ -50,7 +58,7 @@ Defined in: [src/core/Session.ts:25](https://github.com/LuanRT/YouTube.js/blob/0 > **MUSIC**: `"WEB_REMIX"` -Defined in: [src/core/Session.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L26) +Defined in: [src/core/Session.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L26) *** @@ -58,7 +66,7 @@ Defined in: [src/core/Session.ts:26](https://github.com/LuanRT/YouTube.js/blob/0 > **MWEB**: `"MWEB"` -Defined in: [src/core/Session.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L24) +Defined in: [src/core/Session.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L24) *** @@ -66,7 +74,7 @@ Defined in: [src/core/Session.ts:24](https://github.com/LuanRT/YouTube.js/blob/0 > **TV**: `"TVHTML5"` -Defined in: [src/core/Session.ts:31](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L31) +Defined in: [src/core/Session.ts:32](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L32) *** @@ -74,7 +82,7 @@ Defined in: [src/core/Session.ts:31](https://github.com/LuanRT/YouTube.js/blob/0 > **TV\_EMBEDDED**: `"TVHTML5_SIMPLY_EMBEDDED_PLAYER"` -Defined in: [src/core/Session.ts:33](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L33) +Defined in: [src/core/Session.ts:34](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L34) *** @@ -82,7 +90,7 @@ Defined in: [src/core/Session.ts:33](https://github.com/LuanRT/YouTube.js/blob/0 > **TV\_SIMPLY**: `"TVHTML5_SIMPLY"` -Defined in: [src/core/Session.ts:32](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L32) +Defined in: [src/core/Session.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L33) *** @@ -90,7 +98,7 @@ Defined in: [src/core/Session.ts:32](https://github.com/LuanRT/YouTube.js/blob/0 > **WEB**: `"WEB"` -Defined in: [src/core/Session.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L23) +Defined in: [src/core/Session.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L23) *** @@ -98,7 +106,7 @@ Defined in: [src/core/Session.ts:23](https://github.com/LuanRT/YouTube.js/blob/0 > **WEB\_CREATOR**: `"WEB_CREATOR"` -Defined in: [src/core/Session.ts:35](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L35) +Defined in: [src/core/Session.ts:36](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L36) *** @@ -106,4 +114,4 @@ Defined in: [src/core/Session.ts:35](https://github.com/LuanRT/YouTube.js/blob/0 > **WEB\_EMBEDDED**: `"WEB_EMBEDDED_PLAYER"` -Defined in: [src/core/Session.ts:34](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L34) +Defined in: [src/core/Session.ts:35](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L35) diff --git a/docs/api/interfaces/ApiResponse.md b/docs/api/interfaces/ApiResponse.md index 4c0cd5c9..a706608f 100644 --- a/docs/api/interfaces/ApiResponse.md +++ b/docs/api/interfaces/ApiResponse.md @@ -2,7 +2,7 @@ # Interface: ApiResponse -Defined in: [src/core/Actions.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Actions.ts#L18) +Defined in: [src/core/Actions.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Actions.ts#L18) ## Properties @@ -10,7 +10,7 @@ Defined in: [src/core/Actions.ts:18](https://github.com/LuanRT/YouTube.js/blob/0 > **data**: [`IRawResponse`](IRawResponse.md) -Defined in: [src/core/Actions.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Actions.ts#L21) +Defined in: [src/core/Actions.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Actions.ts#L21) *** @@ -18,7 +18,7 @@ Defined in: [src/core/Actions.ts:21](https://github.com/LuanRT/YouTube.js/blob/0 > **status\_code**: `number` -Defined in: [src/core/Actions.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Actions.ts#L20) +Defined in: [src/core/Actions.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Actions.ts#L20) *** @@ -26,4 +26,4 @@ Defined in: [src/core/Actions.ts:20](https://github.com/LuanRT/YouTube.js/blob/0 > **success**: `boolean` -Defined in: [src/core/Actions.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Actions.ts#L19) +Defined in: [src/core/Actions.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Actions.ts#L19) diff --git a/docs/api/interfaces/HTTPClientInit.md b/docs/api/interfaces/HTTPClientInit.md index 625d26cb..8b554640 100644 --- a/docs/api/interfaces/HTTPClientInit.md +++ b/docs/api/interfaces/HTTPClientInit.md @@ -2,7 +2,7 @@ # Interface: HTTPClientInit -Defined in: [src/utils/HTTPClient.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/HTTPClient.ts#L13) +Defined in: [src/utils/HTTPClient.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/HTTPClient.ts#L13) ## Properties @@ -10,4 +10,4 @@ Defined in: [src/utils/HTTPClient.ts:13](https://github.com/LuanRT/YouTube.js/bl > `optional` **baseURL**: `string` -Defined in: [src/utils/HTTPClient.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/HTTPClient.ts#L14) +Defined in: [src/utils/HTTPClient.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/HTTPClient.ts#L14) diff --git a/docs/api/interfaces/IBotguardChallenge.md b/docs/api/interfaces/IBotguardChallenge.md index b0119a45..5a43d125 100644 --- a/docs/api/interfaces/IBotguardChallenge.md +++ b/docs/api/interfaces/IBotguardChallenge.md @@ -2,7 +2,7 @@ # Interface: IBotguardChallenge -Defined in: [src/parser/types/ParsedResponse.ts:91](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L91) +Defined in: [src/parser/types/ParsedResponse.ts:91](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L91) ## Properties @@ -10,7 +10,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:91](https://github.com/LuanRT/Yo > **client\_experiments\_state\_blob**: `string` -Defined in: [src/parser/types/ParsedResponse.ts:96](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L96) +Defined in: [src/parser/types/ParsedResponse.ts:96](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L96) *** @@ -18,7 +18,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:96](https://github.com/LuanRT/Yo > **global\_name**: `string` -Defined in: [src/parser/types/ParsedResponse.ts:95](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L95) +Defined in: [src/parser/types/ParsedResponse.ts:95](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L95) *** @@ -26,7 +26,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:95](https://github.com/LuanRT/Yo > **interpreter\_hash**: `string` -Defined in: [src/parser/types/ParsedResponse.ts:93](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L93) +Defined in: [src/parser/types/ParsedResponse.ts:93](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L93) *** @@ -34,7 +34,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:93](https://github.com/LuanRT/Yo > **interpreter\_url**: [`ITrustedResource`](ITrustedResource.md) -Defined in: [src/parser/types/ParsedResponse.ts:92](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L92) +Defined in: [src/parser/types/ParsedResponse.ts:92](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L92) *** @@ -42,4 +42,4 @@ Defined in: [src/parser/types/ParsedResponse.ts:92](https://github.com/LuanRT/Yo > **program**: `string` -Defined in: [src/parser/types/ParsedResponse.ts:94](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L94) +Defined in: [src/parser/types/ParsedResponse.ts:94](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L94) diff --git a/docs/api/interfaces/IEndpoint.md b/docs/api/interfaces/IEndpoint.md index c7c4d7f8..171e4cc8 100644 --- a/docs/api/interfaces/IEndpoint.md +++ b/docs/api/interfaces/IEndpoint.md @@ -2,7 +2,7 @@ # Interface: IEndpoint\ -Defined in: [src/parser/types/CommandEndpoints.ts:1](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L1) +Defined in: [src/parser/types/CommandEndpoints.ts:1](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L1) ## Type Parameters @@ -16,7 +16,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:1](https://github.com/LuanRT/Y > **buildRequest**(): `T` -Defined in: [src/parser/types/CommandEndpoints.ts:3](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L3) +Defined in: [src/parser/types/CommandEndpoints.ts:3](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L3) #### Returns @@ -28,7 +28,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:3](https://github.com/LuanRT/Y > **getApiPath**(): `string` -Defined in: [src/parser/types/CommandEndpoints.ts:2](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L2) +Defined in: [src/parser/types/CommandEndpoints.ts:2](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L2) #### Returns diff --git a/docs/api/interfaces/IParsedResponse.md b/docs/api/interfaces/IParsedResponse.md index d8e79b03..e55211c5 100644 --- a/docs/api/interfaces/IParsedResponse.md +++ b/docs/api/interfaces/IParsedResponse.md @@ -2,7 +2,7 @@ # Interface: IParsedResponse -Defined in: [src/parser/types/ParsedResponse.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L25) +Defined in: [src/parser/types/ParsedResponse.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L25) ## Properties @@ -10,7 +10,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:25](https://github.com/LuanRT/Yo > `optional` **actions**: [`SuperParsedResult`](../youtubei.js/namespaces/Helpers/classes/SuperParsedResult.md)\<[`YTNode`](../youtubei.js/namespaces/Helpers/classes/YTNode.md)\> -Defined in: [src/parser/types/ParsedResponse.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L29) +Defined in: [src/parser/types/ParsedResponse.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L29) *** @@ -18,7 +18,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:29](https://github.com/LuanRT/Yo > `optional` **actions\_memo**: [`Memo`](../youtubei.js/namespaces/Helpers/classes/Memo.md) -Defined in: [src/parser/types/ParsedResponse.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L30) +Defined in: [src/parser/types/ParsedResponse.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L30) *** @@ -26,7 +26,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:30](https://github.com/LuanRT/Yo > `optional` **alerts**: [`ObservedArray`](../youtubei.js/namespaces/Helpers/type-aliases/ObservedArray.md)\<[`Alert`](../youtubei.js/namespaces/YTNodes/classes/Alert.md) \| [`AlertWithButton`](../youtubei.js/namespaces/YTNodes/classes/AlertWithButton.md)\> -Defined in: [src/parser/types/ParsedResponse.ts:53](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L53) +Defined in: [src/parser/types/ParsedResponse.ts:53](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L53) *** @@ -34,7 +34,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:53](https://github.com/LuanRT/Yo > `optional` **annotations**: [`ObservedArray`](../youtubei.js/namespaces/Helpers/type-aliases/ObservedArray.md)\<[`PlayerAnnotationsExpanded`](../youtubei.js/namespaces/YTNodes/classes/PlayerAnnotationsExpanded.md)\> -Defined in: [src/parser/types/ParsedResponse.ts:65](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L65) +Defined in: [src/parser/types/ParsedResponse.ts:65](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L65) *** @@ -42,7 +42,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:65](https://github.com/LuanRT/Yo > `optional` **background**: [`MusicThumbnail`](../youtubei.js/namespaces/YTNodes/classes/MusicThumbnail.md) -Defined in: [src/parser/types/ParsedResponse.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L26) +Defined in: [src/parser/types/ParsedResponse.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L26) *** @@ -50,7 +50,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:26](https://github.com/LuanRT/Yo > `optional` **bg\_challenge**: [`IBotguardChallenge`](IBotguardChallenge.md) -Defined in: [src/parser/types/ParsedResponse.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L28) +Defined in: [src/parser/types/ParsedResponse.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L28) *** @@ -58,7 +58,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:28](https://github.com/LuanRT/Yo > `optional` **captions**: [`PlayerCaptionsTracklist`](../youtubei.js/namespaces/YTNodes/classes/PlayerCaptionsTracklist.md) -Defined in: [src/parser/types/ParsedResponse.ts:63](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L63) +Defined in: [src/parser/types/ParsedResponse.ts:63](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L63) *** @@ -66,7 +66,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:63](https://github.com/LuanRT/Yo > `optional` **cards**: [`CardCollection`](../youtubei.js/namespaces/YTNodes/classes/CardCollection.md) -Defined in: [src/parser/types/ParsedResponse.ts:68](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L68) +Defined in: [src/parser/types/ParsedResponse.ts:68](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L68) *** @@ -74,7 +74,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:68](https://github.com/LuanRT/Yo > `optional` **challenge**: `string` -Defined in: [src/parser/types/ParsedResponse.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L27) +Defined in: [src/parser/types/ParsedResponse.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L27) *** @@ -82,7 +82,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:27](https://github.com/LuanRT/Yo > `optional` **contents**: [`SuperParsedResult`](../youtubei.js/namespaces/Helpers/classes/SuperParsedResult.md)\<[`YTNode`](../youtubei.js/namespaces/Helpers/classes/YTNode.md)\> -Defined in: [src/parser/types/ParsedResponse.ts:31](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L31) +Defined in: [src/parser/types/ParsedResponse.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L31) *** @@ -90,7 +90,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:31](https://github.com/LuanRT/Yo > `optional` **contents\_memo**: [`Memo`](../youtubei.js/namespaces/Helpers/classes/Memo.md) -Defined in: [src/parser/types/ParsedResponse.ts:32](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L32) +Defined in: [src/parser/types/ParsedResponse.ts:32](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L32) *** @@ -98,7 +98,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:32](https://github.com/LuanRT/Yo > `optional` **continuation**: [`Continuation`](../classes/Continuation.md) -Defined in: [src/parser/types/ParsedResponse.ts:46](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L46) +Defined in: [src/parser/types/ParsedResponse.ts:46](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L46) *** @@ -106,7 +106,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:46](https://github.com/LuanRT/Yo > `optional` **continuation\_contents**: [`ItemSectionContinuation`](../classes/ItemSectionContinuation.md) \| [`SectionListContinuation`](../classes/SectionListContinuation.md) \| [`LiveChatContinuation`](../classes/LiveChatContinuation.md) \| [`MusicPlaylistShelfContinuation`](../classes/MusicPlaylistShelfContinuation.md) \| [`MusicShelfContinuation`](../classes/MusicShelfContinuation.md) \| [`GridContinuation`](../classes/GridContinuation.md) \| [`PlaylistPanelContinuation`](../classes/PlaylistPanelContinuation.md) \| [`ContinuationCommand`](../classes/ContinuationCommand.md) -Defined in: [src/parser/types/ParsedResponse.ts:47](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L47) +Defined in: [src/parser/types/ParsedResponse.ts:47](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L47) *** @@ -114,7 +114,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:47](https://github.com/LuanRT/Yo > `optional` **continuation\_contents\_memo**: [`Memo`](../youtubei.js/namespaces/Helpers/classes/Memo.md) -Defined in: [src/parser/types/ParsedResponse.ts:49](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L49) +Defined in: [src/parser/types/ParsedResponse.ts:49](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L49) *** @@ -122,7 +122,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:49](https://github.com/LuanRT/Yo > `optional` **continuation\_endpoint**: [`YTNode`](../youtubei.js/namespaces/Helpers/classes/YTNode.md) -Defined in: [src/parser/types/ParsedResponse.ts:81](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L81) +Defined in: [src/parser/types/ParsedResponse.ts:81](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L81) *** @@ -130,7 +130,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:81](https://github.com/LuanRT/Yo > `optional` **cpn\_info**: `object` -Defined in: [src/parser/types/ParsedResponse.ts:69](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L69) +Defined in: [src/parser/types/ParsedResponse.ts:69](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L69) #### cpn? @@ -146,7 +146,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:69](https://github.com/LuanRT/Yo > `optional` **current\_video\_endpoint**: [`NavigationEndpoint`](../youtubei.js/namespaces/YTNodes/classes/NavigationEndpoint.md) -Defined in: [src/parser/types/ParsedResponse.ts:61](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L61) +Defined in: [src/parser/types/ParsedResponse.ts:61](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L61) *** @@ -154,7 +154,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:61](https://github.com/LuanRT/Yo > `optional` **endpoint**: [`NavigationEndpoint`](../youtubei.js/namespaces/YTNodes/classes/NavigationEndpoint.md) -Defined in: [src/parser/types/ParsedResponse.ts:62](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L62) +Defined in: [src/parser/types/ParsedResponse.ts:62](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L62) *** @@ -162,7 +162,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:62](https://github.com/LuanRT/Yo > `optional` **endscreen**: [`Endscreen`](../youtubei.js/namespaces/YTNodes/classes/Endscreen.md) -Defined in: [src/parser/types/ParsedResponse.ts:67](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L67) +Defined in: [src/parser/types/ParsedResponse.ts:67](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L67) *** @@ -170,7 +170,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:67](https://github.com/LuanRT/Yo > `optional` **engagement\_panels**: [`ObservedArray`](../youtubei.js/namespaces/Helpers/type-aliases/ObservedArray.md)\<[`EngagementPanelSectionList`](../youtubei.js/namespaces/YTNodes/classes/EngagementPanelSectionList.md)\> -Defined in: [src/parser/types/ParsedResponse.ts:76](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L76) +Defined in: [src/parser/types/ParsedResponse.ts:76](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L76) *** @@ -178,7 +178,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:76](https://github.com/LuanRT/Yo > `optional` **entries**: [`NavigationEndpoint`](../youtubei.js/namespaces/YTNodes/classes/NavigationEndpoint.md)[] -Defined in: [src/parser/types/ParsedResponse.ts:78](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L78) +Defined in: [src/parser/types/ParsedResponse.ts:78](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L78) *** @@ -186,7 +186,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:78](https://github.com/LuanRT/Yo > `optional` **entries\_memo**: [`Memo`](../youtubei.js/namespaces/Helpers/classes/Memo.md) -Defined in: [src/parser/types/ParsedResponse.ts:79](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L79) +Defined in: [src/parser/types/ParsedResponse.ts:79](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L79) *** @@ -194,7 +194,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:79](https://github.com/LuanRT/Yo > `optional` **estimated\_results**: `number` -Defined in: [src/parser/types/ParsedResponse.ts:55](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L55) +Defined in: [src/parser/types/ParsedResponse.ts:55](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L55) *** @@ -202,7 +202,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:55](https://github.com/LuanRT/Yo > `optional` **header**: [`SuperParsedResult`](../youtubei.js/namespaces/Helpers/classes/SuperParsedResult.md)\<[`YTNode`](../youtubei.js/namespaces/Helpers/classes/YTNode.md)\> -Defined in: [src/parser/types/ParsedResponse.ts:33](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L33) +Defined in: [src/parser/types/ParsedResponse.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L33) *** @@ -210,7 +210,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:33](https://github.com/LuanRT/Yo > `optional` **header\_memo**: [`Memo`](../youtubei.js/namespaces/Helpers/classes/Memo.md) -Defined in: [src/parser/types/ParsedResponse.ts:34](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L34) +Defined in: [src/parser/types/ParsedResponse.ts:34](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L34) *** @@ -218,7 +218,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:34](https://github.com/LuanRT/Yo > `optional` **items**: [`SuperParsedResult`](../youtubei.js/namespaces/Helpers/classes/SuperParsedResult.md)\<[`YTNode`](../youtubei.js/namespaces/Helpers/classes/YTNode.md)\> -Defined in: [src/parser/types/ParsedResponse.ts:77](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L77) +Defined in: [src/parser/types/ParsedResponse.ts:77](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L77) *** @@ -226,7 +226,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:77](https://github.com/LuanRT/Yo > `optional` **items\_memo**: [`Memo`](../youtubei.js/namespaces/Helpers/classes/Memo.md) -Defined in: [src/parser/types/ParsedResponse.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L39) +Defined in: [src/parser/types/ParsedResponse.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L39) *** @@ -234,7 +234,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:39](https://github.com/LuanRT/Yo > `optional` **live\_chat\_item\_context\_menu\_supported\_renderers**: [`YTNode`](../youtubei.js/namespaces/Helpers/classes/YTNode.md) -Defined in: [src/parser/types/ParsedResponse.ts:37](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L37) +Defined in: [src/parser/types/ParsedResponse.ts:37](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L37) *** @@ -242,7 +242,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:37](https://github.com/LuanRT/Yo > `optional` **live\_chat\_item\_context\_menu\_supported\_renderers\_memo**: [`Memo`](../youtubei.js/namespaces/Helpers/classes/Memo.md) -Defined in: [src/parser/types/ParsedResponse.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L38) +Defined in: [src/parser/types/ParsedResponse.ts:38](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L38) *** @@ -250,7 +250,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:38](https://github.com/LuanRT/Yo > `optional` **metadata**: [`SuperParsedResult`](../youtubei.js/namespaces/Helpers/classes/SuperParsedResult.md)\<[`YTNode`](../youtubei.js/namespaces/Helpers/classes/YTNode.md)\> -Defined in: [src/parser/types/ParsedResponse.ts:50](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L50) +Defined in: [src/parser/types/ParsedResponse.ts:50](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L50) *** @@ -258,7 +258,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:50](https://github.com/LuanRT/Yo > `optional` **microformat**: [`YTNode`](../youtubei.js/namespaces/Helpers/classes/YTNode.md) -Defined in: [src/parser/types/ParsedResponse.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L51) +Defined in: [src/parser/types/ParsedResponse.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L51) *** @@ -266,7 +266,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:51](https://github.com/LuanRT/Yo > `optional` **on\_response\_received\_actions**: [`ObservedArray`](../youtubei.js/namespaces/Helpers/type-aliases/ObservedArray.md)\<[`OpenPopupAction`](../youtubei.js/namespaces/YTNodes/classes/OpenPopupAction.md) \| [`AppendContinuationItemsAction`](../classes/AppendContinuationItemsAction.md) \| [`ReloadContinuationItemsCommand`](../classes/ReloadContinuationItemsCommand.md) \| [`NavigateAction`](../classes/NavigateAction.md) \| [`ShowMiniplayerCommand`](../classes/ShowMiniplayerCommand.md)\> -Defined in: [src/parser/types/ParsedResponse.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L40) +Defined in: [src/parser/types/ParsedResponse.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L40) *** @@ -274,7 +274,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:40](https://github.com/LuanRT/Yo > `optional` **on\_response\_received\_actions\_memo**: [`Memo`](../youtubei.js/namespaces/Helpers/classes/Memo.md) -Defined in: [src/parser/types/ParsedResponse.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L41) +Defined in: [src/parser/types/ParsedResponse.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L41) *** @@ -282,7 +282,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:41](https://github.com/LuanRT/Yo > `optional` **on\_response\_received\_commands**: [`ObservedArray`](../youtubei.js/namespaces/Helpers/type-aliases/ObservedArray.md)\<[`OpenPopupAction`](../youtubei.js/namespaces/YTNodes/classes/OpenPopupAction.md) \| [`AppendContinuationItemsAction`](../classes/AppendContinuationItemsAction.md) \| [`ReloadContinuationItemsCommand`](../classes/ReloadContinuationItemsCommand.md) \| [`NavigateAction`](../classes/NavigateAction.md) \| [`ShowMiniplayerCommand`](../classes/ShowMiniplayerCommand.md)\> -Defined in: [src/parser/types/ParsedResponse.ts:44](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L44) +Defined in: [src/parser/types/ParsedResponse.ts:44](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L44) *** @@ -290,7 +290,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:44](https://github.com/LuanRT/Yo > `optional` **on\_response\_received\_commands\_memo**: [`Memo`](../youtubei.js/namespaces/Helpers/classes/Memo.md) -Defined in: [src/parser/types/ParsedResponse.ts:45](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L45) +Defined in: [src/parser/types/ParsedResponse.ts:45](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L45) *** @@ -298,7 +298,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:45](https://github.com/LuanRT/Yo > `optional` **on\_response\_received\_endpoints**: [`ObservedArray`](../youtubei.js/namespaces/Helpers/type-aliases/ObservedArray.md)\<[`OpenPopupAction`](../youtubei.js/namespaces/YTNodes/classes/OpenPopupAction.md) \| [`AppendContinuationItemsAction`](../classes/AppendContinuationItemsAction.md) \| [`ReloadContinuationItemsCommand`](../classes/ReloadContinuationItemsCommand.md) \| [`NavigateAction`](../classes/NavigateAction.md) \| [`ShowMiniplayerCommand`](../classes/ShowMiniplayerCommand.md)\> -Defined in: [src/parser/types/ParsedResponse.ts:42](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L42) +Defined in: [src/parser/types/ParsedResponse.ts:42](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L42) *** @@ -306,7 +306,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:42](https://github.com/LuanRT/Yo > `optional` **on\_response\_received\_endpoints\_memo**: [`Memo`](../youtubei.js/namespaces/Helpers/classes/Memo.md) -Defined in: [src/parser/types/ParsedResponse.ts:43](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L43) +Defined in: [src/parser/types/ParsedResponse.ts:43](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L43) *** @@ -314,7 +314,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:43](https://github.com/LuanRT/Yo > `optional` **overlay**: [`YTNode`](../youtubei.js/namespaces/Helpers/classes/YTNode.md) -Defined in: [src/parser/types/ParsedResponse.ts:52](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L52) +Defined in: [src/parser/types/ParsedResponse.ts:52](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L52) *** @@ -322,7 +322,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:52](https://github.com/LuanRT/Yo > `optional` **playability\_status**: [`IPlayabilityStatus`](IPlayabilityStatus.md) -Defined in: [src/parser/types/ParsedResponse.ts:58](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L58) +Defined in: [src/parser/types/ParsedResponse.ts:58](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L58) *** @@ -330,7 +330,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:58](https://github.com/LuanRT/Yo > `optional` **playback\_tracking**: [`IPlaybackTracking`](IPlaybackTracking.md) -Defined in: [src/parser/types/ParsedResponse.ts:57](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L57) +Defined in: [src/parser/types/ParsedResponse.ts:57](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L57) *** @@ -338,7 +338,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:57](https://github.com/LuanRT/Yo > `optional` **player\_config**: [`IPlayerConfig`](IPlayerConfig.md) -Defined in: [src/parser/types/ParsedResponse.ts:60](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L60) +Defined in: [src/parser/types/ParsedResponse.ts:60](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L60) *** @@ -346,7 +346,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:60](https://github.com/LuanRT/Yo > `optional` **player\_overlays**: [`SuperParsedResult`](../youtubei.js/namespaces/Helpers/classes/SuperParsedResult.md)\<[`YTNode`](../youtubei.js/namespaces/Helpers/classes/YTNode.md)\> -Defined in: [src/parser/types/ParsedResponse.ts:56](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L56) +Defined in: [src/parser/types/ParsedResponse.ts:56](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L56) *** @@ -354,7 +354,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:56](https://github.com/LuanRT/Yo > `optional` **player\_response**: [`IPlayerResponse`](../type-aliases/IPlayerResponse.md) -Defined in: [src/parser/types/ParsedResponse.ts:82](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L82) +Defined in: [src/parser/types/ParsedResponse.ts:82](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L82) *** @@ -362,7 +362,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:82](https://github.com/LuanRT/Yo > `optional` **refinements**: `string`[] -Defined in: [src/parser/types/ParsedResponse.ts:54](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L54) +Defined in: [src/parser/types/ParsedResponse.ts:54](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L54) *** @@ -370,7 +370,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:54](https://github.com/LuanRT/Yo > `optional` **sidebar**: [`YTNode`](../youtubei.js/namespaces/Helpers/classes/YTNode.md) -Defined in: [src/parser/types/ParsedResponse.ts:35](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L35) +Defined in: [src/parser/types/ParsedResponse.ts:35](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L35) *** @@ -378,7 +378,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:35](https://github.com/LuanRT/Yo > `optional` **sidebar\_memo**: [`Memo`](../youtubei.js/namespaces/Helpers/classes/Memo.md) -Defined in: [src/parser/types/ParsedResponse.ts:36](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L36) +Defined in: [src/parser/types/ParsedResponse.ts:36](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L36) *** @@ -386,7 +386,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:36](https://github.com/LuanRT/Yo > `optional` **storyboards**: [`PlayerStoryboardSpec`](../youtubei.js/namespaces/YTNodes/classes/PlayerStoryboardSpec.md) \| [`PlayerLiveStoryboardSpec`](../youtubei.js/namespaces/YTNodes/classes/PlayerLiveStoryboardSpec.md) -Defined in: [src/parser/types/ParsedResponse.ts:66](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L66) +Defined in: [src/parser/types/ParsedResponse.ts:66](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L66) *** @@ -394,7 +394,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:66](https://github.com/LuanRT/Yo > `optional` **streaming\_data**: [`IStreamingData`](IStreamingData.md) -Defined in: [src/parser/types/ParsedResponse.ts:59](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L59) +Defined in: [src/parser/types/ParsedResponse.ts:59](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L59) *** @@ -402,7 +402,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:59](https://github.com/LuanRT/Yo > `optional` **target\_id**: `string` -Defined in: [src/parser/types/ParsedResponse.ts:80](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L80) +Defined in: [src/parser/types/ParsedResponse.ts:80](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L80) *** @@ -410,7 +410,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:80](https://github.com/LuanRT/Yo > `optional` **video\_details**: [`VideoDetails`](../youtubei.js/namespaces/Misc/classes/VideoDetails.md) -Defined in: [src/parser/types/ParsedResponse.ts:64](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L64) +Defined in: [src/parser/types/ParsedResponse.ts:64](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L64) *** @@ -418,4 +418,4 @@ Defined in: [src/parser/types/ParsedResponse.ts:64](https://github.com/LuanRT/Yo > `optional` **watch\_next\_response**: [`INextResponse`](../type-aliases/INextResponse.md) -Defined in: [src/parser/types/ParsedResponse.ts:83](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L83) +Defined in: [src/parser/types/ParsedResponse.ts:83](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L83) diff --git a/docs/api/interfaces/IPlayabilityStatus.md b/docs/api/interfaces/IPlayabilityStatus.md index d0af7e31..25934513 100644 --- a/docs/api/interfaces/IPlayabilityStatus.md +++ b/docs/api/interfaces/IPlayabilityStatus.md @@ -2,7 +2,7 @@ # Interface: IPlayabilityStatus -Defined in: [src/parser/types/ParsedResponse.ts:103](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L103) +Defined in: [src/parser/types/ParsedResponse.ts:103](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L103) ## Properties @@ -10,7 +10,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:103](https://github.com/LuanRT/Y > **audio\_only\_playability**: [`AudioOnlyPlayability`](../youtubei.js/namespaces/YTNodes/classes/AudioOnlyPlayability.md) \| `null` -Defined in: [src/parser/types/ParsedResponse.ts:106](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L106) +Defined in: [src/parser/types/ParsedResponse.ts:106](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L106) *** @@ -18,7 +18,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:106](https://github.com/LuanRT/Y > **embeddable**: `boolean` -Defined in: [src/parser/types/ParsedResponse.ts:107](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L107) +Defined in: [src/parser/types/ParsedResponse.ts:107](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L107) *** @@ -26,7 +26,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:107](https://github.com/LuanRT/Y > **error\_screen**: [`YTNode`](../youtubei.js/namespaces/Helpers/classes/YTNode.md) \| `null` -Defined in: [src/parser/types/ParsedResponse.ts:105](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L105) +Defined in: [src/parser/types/ParsedResponse.ts:105](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L105) *** @@ -34,7 +34,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:105](https://github.com/LuanRT/Y > **reason**: `string` -Defined in: [src/parser/types/ParsedResponse.ts:108](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L108) +Defined in: [src/parser/types/ParsedResponse.ts:108](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L108) *** @@ -42,4 +42,4 @@ Defined in: [src/parser/types/ParsedResponse.ts:108](https://github.com/LuanRT/Y > **status**: `string` -Defined in: [src/parser/types/ParsedResponse.ts:104](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L104) +Defined in: [src/parser/types/ParsedResponse.ts:104](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L104) diff --git a/docs/api/interfaces/IPlaybackTracking.md b/docs/api/interfaces/IPlaybackTracking.md index fdecf3b7..343ff49c 100644 --- a/docs/api/interfaces/IPlaybackTracking.md +++ b/docs/api/interfaces/IPlaybackTracking.md @@ -2,7 +2,7 @@ # Interface: IPlaybackTracking -Defined in: [src/parser/types/ParsedResponse.ts:99](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L99) +Defined in: [src/parser/types/ParsedResponse.ts:99](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L99) ## Properties @@ -10,7 +10,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:99](https://github.com/LuanRT/Yo > **videostats\_playback\_url**: `string` -Defined in: [src/parser/types/ParsedResponse.ts:101](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L101) +Defined in: [src/parser/types/ParsedResponse.ts:101](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L101) *** @@ -18,4 +18,4 @@ Defined in: [src/parser/types/ParsedResponse.ts:101](https://github.com/LuanRT/Y > **videostats\_watchtime\_url**: `string` -Defined in: [src/parser/types/ParsedResponse.ts:100](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L100) +Defined in: [src/parser/types/ParsedResponse.ts:100](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L100) diff --git a/docs/api/interfaces/IPlayerConfig.md b/docs/api/interfaces/IPlayerConfig.md index 1b387d5e..df65bfdb 100644 --- a/docs/api/interfaces/IPlayerConfig.md +++ b/docs/api/interfaces/IPlayerConfig.md @@ -2,7 +2,7 @@ # Interface: IPlayerConfig -Defined in: [src/parser/types/ParsedResponse.ts:111](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L111) +Defined in: [src/parser/types/ParsedResponse.ts:111](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L111) ## Properties @@ -10,7 +10,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:111](https://github.com/LuanRT/Y > **audio\_config**: `object` -Defined in: [src/parser/types/ParsedResponse.ts:112](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L112) +Defined in: [src/parser/types/ParsedResponse.ts:112](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L112) #### enable\_per\_format\_loudness @@ -30,7 +30,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:112](https://github.com/LuanRT/Y > **media\_common\_config**: `object` -Defined in: [src/parser/types/ParsedResponse.ts:120](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L120) +Defined in: [src/parser/types/ParsedResponse.ts:120](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L120) #### dynamic\_readahead\_config @@ -62,7 +62,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:120](https://github.com/LuanRT/Y > **stream\_selection\_config**: `object` -Defined in: [src/parser/types/ParsedResponse.ts:117](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L117) +Defined in: [src/parser/types/ParsedResponse.ts:117](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L117) #### max\_bitrate diff --git a/docs/api/interfaces/IRawBotguardChallenge.md b/docs/api/interfaces/IRawBotguardChallenge.md index 02a3b966..8b7fbcae 100644 --- a/docs/api/interfaces/IRawBotguardChallenge.md +++ b/docs/api/interfaces/IRawBotguardChallenge.md @@ -2,7 +2,7 @@ # Interface: IRawBotguardChallenge -Defined in: [src/parser/types/RawResponse.ts:1572](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1572) +Defined in: [src/parser/types/RawResponse.ts:1572](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1572) ## Properties @@ -10,7 +10,7 @@ Defined in: [src/parser/types/RawResponse.ts:1572](https://github.com/LuanRT/You > **clientExperimentsStateBlob**: `string` -Defined in: [src/parser/types/RawResponse.ts:1577](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1577) +Defined in: [src/parser/types/RawResponse.ts:1577](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1577) *** @@ -18,7 +18,7 @@ Defined in: [src/parser/types/RawResponse.ts:1577](https://github.com/LuanRT/You > **globalName**: `string` -Defined in: [src/parser/types/RawResponse.ts:1576](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1576) +Defined in: [src/parser/types/RawResponse.ts:1576](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1576) *** @@ -26,7 +26,7 @@ Defined in: [src/parser/types/RawResponse.ts:1576](https://github.com/LuanRT/You > **interpreterHash**: `string` -Defined in: [src/parser/types/RawResponse.ts:1574](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1574) +Defined in: [src/parser/types/RawResponse.ts:1574](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1574) *** @@ -34,7 +34,7 @@ Defined in: [src/parser/types/RawResponse.ts:1574](https://github.com/LuanRT/You > **interpreterUrl**: [`IRawTrustedResource`](IRawTrustedResource.md) -Defined in: [src/parser/types/RawResponse.ts:1573](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1573) +Defined in: [src/parser/types/RawResponse.ts:1573](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1573) *** @@ -42,4 +42,4 @@ Defined in: [src/parser/types/RawResponse.ts:1573](https://github.com/LuanRT/You > **program**: `string` -Defined in: [src/parser/types/RawResponse.ts:1575](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1575) +Defined in: [src/parser/types/RawResponse.ts:1575](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1575) diff --git a/docs/api/interfaces/IRawPlayerConfig.md b/docs/api/interfaces/IRawPlayerConfig.md index aae7a89b..709b0a58 100644 --- a/docs/api/interfaces/IRawPlayerConfig.md +++ b/docs/api/interfaces/IRawPlayerConfig.md @@ -2,7 +2,7 @@ # Interface: IRawPlayerConfig -Defined in: [src/parser/types/RawResponse.ts:1546](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1546) +Defined in: [src/parser/types/RawResponse.ts:1546](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1546) ## Properties @@ -10,7 +10,7 @@ Defined in: [src/parser/types/RawResponse.ts:1546](https://github.com/LuanRT/You > **audioConfig**: `object` -Defined in: [src/parser/types/RawResponse.ts:1547](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1547) +Defined in: [src/parser/types/RawResponse.ts:1547](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1547) #### enablePerFormatLoudness @@ -30,7 +30,7 @@ Defined in: [src/parser/types/RawResponse.ts:1547](https://github.com/LuanRT/You > **mediaCommonConfig**: `object` -Defined in: [src/parser/types/RawResponse.ts:1555](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1555) +Defined in: [src/parser/types/RawResponse.ts:1555](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1555) #### dynamicReadaheadConfig? @@ -62,7 +62,7 @@ Defined in: [src/parser/types/RawResponse.ts:1555](https://github.com/LuanRT/You > **streamSelectionConfig**: `object` -Defined in: [src/parser/types/RawResponse.ts:1552](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1552) +Defined in: [src/parser/types/RawResponse.ts:1552](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1552) #### maxBitrate diff --git a/docs/api/interfaces/IRawResponse.md b/docs/api/interfaces/IRawResponse.md index 745cac50..bb0c68e2 100644 --- a/docs/api/interfaces/IRawResponse.md +++ b/docs/api/interfaces/IRawResponse.md @@ -2,7 +2,7 @@ # Interface: IRawResponse -Defined in: [src/parser/types/RawResponse.ts:1580](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1580) +Defined in: [src/parser/types/RawResponse.ts:1580](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1580) ## Indexable @@ -14,7 +14,7 @@ Defined in: [src/parser/types/RawResponse.ts:1580](https://github.com/LuanRT/You > `optional` **actions**: [`RawNode`](../type-aliases/RawNode.md)[] -Defined in: [src/parser/types/RawResponse.ts:1590](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1590) +Defined in: [src/parser/types/RawResponse.ts:1590](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1590) *** @@ -22,7 +22,7 @@ Defined in: [src/parser/types/RawResponse.ts:1590](https://github.com/LuanRT/You > `optional` **alerts**: [`RawNode`](../type-aliases/RawNode.md)[] -Defined in: [src/parser/types/RawResponse.ts:1598](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1598) +Defined in: [src/parser/types/RawResponse.ts:1598](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1598) *** @@ -30,7 +30,7 @@ Defined in: [src/parser/types/RawResponse.ts:1598](https://github.com/LuanRT/You > `optional` **annotations**: [`RawNode`](../type-aliases/RawNode.md)[] -Defined in: [src/parser/types/RawResponse.ts:1634](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1634) +Defined in: [src/parser/types/RawResponse.ts:1634](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1634) *** @@ -38,7 +38,7 @@ Defined in: [src/parser/types/RawResponse.ts:1634](https://github.com/LuanRT/You > `optional` **background**: [`RawNode`](../type-aliases/RawNode.md) -Defined in: [src/parser/types/RawResponse.ts:1582](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1582) +Defined in: [src/parser/types/RawResponse.ts:1582](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1582) *** @@ -46,7 +46,7 @@ Defined in: [src/parser/types/RawResponse.ts:1582](https://github.com/LuanRT/You > `optional` **bgChallenge**: [`IRawBotguardChallenge`](IRawBotguardChallenge.md) -Defined in: [src/parser/types/RawResponse.ts:1583](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1583) +Defined in: [src/parser/types/RawResponse.ts:1583](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1583) *** @@ -54,7 +54,7 @@ Defined in: [src/parser/types/RawResponse.ts:1583](https://github.com/LuanRT/You > `optional` **captions**: [`RawNode`](../type-aliases/RawNode.md) -Defined in: [src/parser/types/RawResponse.ts:1632](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1632) +Defined in: [src/parser/types/RawResponse.ts:1632](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1632) *** @@ -62,7 +62,7 @@ Defined in: [src/parser/types/RawResponse.ts:1632](https://github.com/LuanRT/You > `optional` **cards**: [`RawNode`](../type-aliases/RawNode.md) -Defined in: [src/parser/types/RawResponse.ts:1637](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1637) +Defined in: [src/parser/types/RawResponse.ts:1637](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1637) *** @@ -70,7 +70,7 @@ Defined in: [src/parser/types/RawResponse.ts:1637](https://github.com/LuanRT/You > `optional` **challenge**: `string` -Defined in: [src/parser/types/RawResponse.ts:1584](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1584) +Defined in: [src/parser/types/RawResponse.ts:1584](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1584) *** @@ -78,7 +78,7 @@ Defined in: [src/parser/types/RawResponse.ts:1584](https://github.com/LuanRT/You > `optional` **contents**: [`RawData`](../type-aliases/RawData.md) -Defined in: [src/parser/types/RawResponse.ts:1585](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1585) +Defined in: [src/parser/types/RawResponse.ts:1585](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1585) *** @@ -86,7 +86,7 @@ Defined in: [src/parser/types/RawResponse.ts:1585](https://github.com/LuanRT/You > `optional` **continuation**: [`RawNode`](../type-aliases/RawNode.md) -Defined in: [src/parser/types/RawResponse.ts:1594](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1594) +Defined in: [src/parser/types/RawResponse.ts:1594](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1594) *** @@ -94,7 +94,7 @@ Defined in: [src/parser/types/RawResponse.ts:1594](https://github.com/LuanRT/You > `optional` **continuationContents**: [`RawNode`](../type-aliases/RawNode.md) -Defined in: [src/parser/types/RawResponse.ts:1589](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1589) +Defined in: [src/parser/types/RawResponse.ts:1589](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1589) *** @@ -102,7 +102,7 @@ Defined in: [src/parser/types/RawResponse.ts:1589](https://github.com/LuanRT/You > `optional` **cpnInfo**: `IYoutubeApiInnertubeCpnInfo` -Defined in: [src/parser/types/RawResponse.ts:1638](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1638) +Defined in: [src/parser/types/RawResponse.ts:1638](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1638) *** @@ -110,7 +110,7 @@ Defined in: [src/parser/types/RawResponse.ts:1638](https://github.com/LuanRT/You > `optional` **currentVideoEndpoint**: [`RawNode`](../type-aliases/RawNode.md) -Defined in: [src/parser/types/RawResponse.ts:1628](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1628) +Defined in: [src/parser/types/RawResponse.ts:1628](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1628) *** @@ -118,7 +118,7 @@ Defined in: [src/parser/types/RawResponse.ts:1628](https://github.com/LuanRT/You > `optional` **endpoint**: [`RawNode`](../type-aliases/RawNode.md) -Defined in: [src/parser/types/RawResponse.ts:1631](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1631) +Defined in: [src/parser/types/RawResponse.ts:1631](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1631) *** @@ -126,7 +126,7 @@ Defined in: [src/parser/types/RawResponse.ts:1631](https://github.com/LuanRT/You > `optional` **endscreen**: [`RawNode`](../type-aliases/RawNode.md) -Defined in: [src/parser/types/RawResponse.ts:1636](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1636) +Defined in: [src/parser/types/RawResponse.ts:1636](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1636) *** @@ -134,7 +134,7 @@ Defined in: [src/parser/types/RawResponse.ts:1636](https://github.com/LuanRT/You > `optional` **engagementPanels**: [`RawNode`](../type-aliases/RawNode.md)[] -Defined in: [src/parser/types/RawResponse.ts:1642](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1642) +Defined in: [src/parser/types/RawResponse.ts:1642](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1642) *** @@ -142,7 +142,7 @@ Defined in: [src/parser/types/RawResponse.ts:1642](https://github.com/LuanRT/You > `optional` **entries**: [`RawNode`](../type-aliases/RawNode.md)[] -Defined in: [src/parser/types/RawResponse.ts:1643](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1643) +Defined in: [src/parser/types/RawResponse.ts:1643](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1643) *** @@ -150,7 +150,7 @@ Defined in: [src/parser/types/RawResponse.ts:1643](https://github.com/LuanRT/You > `optional` **estimatedResults**: `string` -Defined in: [src/parser/types/RawResponse.ts:1600](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1600) +Defined in: [src/parser/types/RawResponse.ts:1600](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1600) *** @@ -158,7 +158,7 @@ Defined in: [src/parser/types/RawResponse.ts:1600](https://github.com/LuanRT/You > `optional` **frameworkUpdates**: `any` -Defined in: [src/parser/types/RawResponse.ts:1641](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1641) +Defined in: [src/parser/types/RawResponse.ts:1641](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1641) *** @@ -166,7 +166,7 @@ Defined in: [src/parser/types/RawResponse.ts:1641](https://github.com/LuanRT/You > `optional` **header**: [`RawNode`](../type-aliases/RawNode.md) -Defined in: [src/parser/types/RawResponse.ts:1592](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1592) +Defined in: [src/parser/types/RawResponse.ts:1592](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1592) *** @@ -174,7 +174,7 @@ Defined in: [src/parser/types/RawResponse.ts:1592](https://github.com/LuanRT/You > `optional` **items**: [`RawNode`](../type-aliases/RawNode.md)[] -Defined in: [src/parser/types/RawResponse.ts:1640](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1640) +Defined in: [src/parser/types/RawResponse.ts:1640](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1640) *** @@ -182,7 +182,7 @@ Defined in: [src/parser/types/RawResponse.ts:1640](https://github.com/LuanRT/You > `optional` **liveChatItemContextMenuSupportedRenderers**: [`RawNode`](../type-aliases/RawNode.md) -Defined in: [src/parser/types/RawResponse.ts:1591](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1591) +Defined in: [src/parser/types/RawResponse.ts:1591](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1591) *** @@ -190,7 +190,7 @@ Defined in: [src/parser/types/RawResponse.ts:1591](https://github.com/LuanRT/You > `optional` **metadata**: [`RawNode`](../type-aliases/RawNode.md) -Defined in: [src/parser/types/RawResponse.ts:1595](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1595) +Defined in: [src/parser/types/RawResponse.ts:1595](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1595) *** @@ -198,7 +198,7 @@ Defined in: [src/parser/types/RawResponse.ts:1595](https://github.com/LuanRT/You > `optional` **microformat**: [`RawNode`](../type-aliases/RawNode.md) -Defined in: [src/parser/types/RawResponse.ts:1596](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1596) +Defined in: [src/parser/types/RawResponse.ts:1596](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1596) *** @@ -206,7 +206,7 @@ Defined in: [src/parser/types/RawResponse.ts:1596](https://github.com/LuanRT/You > `optional` **onResponseReceivedActions**: [`RawNode`](../type-aliases/RawNode.md)[] -Defined in: [src/parser/types/RawResponse.ts:1586](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1586) +Defined in: [src/parser/types/RawResponse.ts:1586](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1586) *** @@ -214,7 +214,7 @@ Defined in: [src/parser/types/RawResponse.ts:1586](https://github.com/LuanRT/You > `optional` **onResponseReceivedCommands**: [`RawNode`](../type-aliases/RawNode.md)[] -Defined in: [src/parser/types/RawResponse.ts:1588](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1588) +Defined in: [src/parser/types/RawResponse.ts:1588](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1588) *** @@ -222,7 +222,7 @@ Defined in: [src/parser/types/RawResponse.ts:1588](https://github.com/LuanRT/You > `optional` **onResponseReceivedEndpoints**: [`RawNode`](../type-aliases/RawNode.md)[] -Defined in: [src/parser/types/RawResponse.ts:1587](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1587) +Defined in: [src/parser/types/RawResponse.ts:1587](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1587) *** @@ -230,7 +230,7 @@ Defined in: [src/parser/types/RawResponse.ts:1587](https://github.com/LuanRT/You > `optional` **overlay**: [`RawNode`](../type-aliases/RawNode.md) -Defined in: [src/parser/types/RawResponse.ts:1597](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1597) +Defined in: [src/parser/types/RawResponse.ts:1597](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1597) *** @@ -238,7 +238,7 @@ Defined in: [src/parser/types/RawResponse.ts:1597](https://github.com/LuanRT/You > `optional` **playabilityStatus**: `object` -Defined in: [src/parser/types/RawResponse.ts:1610](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1610) +Defined in: [src/parser/types/RawResponse.ts:1610](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1610) #### audioOnlyPlayability? @@ -266,7 +266,7 @@ Defined in: [src/parser/types/RawResponse.ts:1610](https://github.com/LuanRT/You > `optional` **playbackTracking**: `object` -Defined in: [src/parser/types/RawResponse.ts:1602](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1602) +Defined in: [src/parser/types/RawResponse.ts:1602](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1602) #### videostatsPlaybackUrl @@ -290,7 +290,7 @@ Defined in: [src/parser/types/RawResponse.ts:1602](https://github.com/LuanRT/You > `optional` **playerConfig**: [`IRawPlayerConfig`](IRawPlayerConfig.md) -Defined in: [src/parser/types/RawResponse.ts:1625](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1625) +Defined in: [src/parser/types/RawResponse.ts:1625](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1625) *** @@ -298,7 +298,7 @@ Defined in: [src/parser/types/RawResponse.ts:1625](https://github.com/LuanRT/You > `optional` **playerOverlays**: [`RawNode`](../type-aliases/RawNode.md) -Defined in: [src/parser/types/RawResponse.ts:1601](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1601) +Defined in: [src/parser/types/RawResponse.ts:1601](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1601) *** @@ -306,7 +306,7 @@ Defined in: [src/parser/types/RawResponse.ts:1601](https://github.com/LuanRT/You > `optional` **playerResponse**: `IRawResponse` -Defined in: [src/parser/types/RawResponse.ts:1626](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1626) +Defined in: [src/parser/types/RawResponse.ts:1626](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1626) *** @@ -314,7 +314,7 @@ Defined in: [src/parser/types/RawResponse.ts:1626](https://github.com/LuanRT/You > `optional` **playlistId**: `string` -Defined in: [src/parser/types/RawResponse.ts:1630](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1630) +Defined in: [src/parser/types/RawResponse.ts:1630](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1630) *** @@ -322,7 +322,7 @@ Defined in: [src/parser/types/RawResponse.ts:1630](https://github.com/LuanRT/You > `optional` **refinements**: `string`[] -Defined in: [src/parser/types/RawResponse.ts:1599](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1599) +Defined in: [src/parser/types/RawResponse.ts:1599](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1599) *** @@ -330,7 +330,7 @@ Defined in: [src/parser/types/RawResponse.ts:1599](https://github.com/LuanRT/You > `optional` **responseContext**: `IYoutubeApiInnertubeResponseContext` -Defined in: [src/parser/types/RawResponse.ts:1581](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1581) +Defined in: [src/parser/types/RawResponse.ts:1581](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1581) *** @@ -338,7 +338,7 @@ Defined in: [src/parser/types/RawResponse.ts:1581](https://github.com/LuanRT/You > `optional` **sidebar**: [`RawNode`](../type-aliases/RawNode.md) -Defined in: [src/parser/types/RawResponse.ts:1593](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1593) +Defined in: [src/parser/types/RawResponse.ts:1593](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1593) *** @@ -346,7 +346,7 @@ Defined in: [src/parser/types/RawResponse.ts:1593](https://github.com/LuanRT/You > `optional` **storyboards**: [`RawNode`](../type-aliases/RawNode.md) -Defined in: [src/parser/types/RawResponse.ts:1635](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1635) +Defined in: [src/parser/types/RawResponse.ts:1635](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1635) *** @@ -354,7 +354,7 @@ Defined in: [src/parser/types/RawResponse.ts:1635](https://github.com/LuanRT/You > `optional` **streamingData**: `object` -Defined in: [src/parser/types/RawResponse.ts:1617](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1617) +Defined in: [src/parser/types/RawResponse.ts:1617](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1617) #### adaptiveFormats @@ -386,7 +386,7 @@ Defined in: [src/parser/types/RawResponse.ts:1617](https://github.com/LuanRT/You > `optional` **targetId**: `string` -Defined in: [src/parser/types/RawResponse.ts:1639](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1639) +Defined in: [src/parser/types/RawResponse.ts:1639](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1639) *** @@ -394,7 +394,7 @@ Defined in: [src/parser/types/RawResponse.ts:1639](https://github.com/LuanRT/You > `optional` **unseenCount**: `number` -Defined in: [src/parser/types/RawResponse.ts:1629](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1629) +Defined in: [src/parser/types/RawResponse.ts:1629](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1629) *** @@ -402,7 +402,7 @@ Defined in: [src/parser/types/RawResponse.ts:1629](https://github.com/LuanRT/You > `optional` **videoDetails**: [`RawNode`](../type-aliases/RawNode.md) -Defined in: [src/parser/types/RawResponse.ts:1633](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1633) +Defined in: [src/parser/types/RawResponse.ts:1633](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1633) *** @@ -410,4 +410,4 @@ Defined in: [src/parser/types/RawResponse.ts:1633](https://github.com/LuanRT/You > `optional` **watchNextResponse**: `IRawResponse` -Defined in: [src/parser/types/RawResponse.ts:1627](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1627) +Defined in: [src/parser/types/RawResponse.ts:1627](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1627) diff --git a/docs/api/interfaces/IRawTrustedResource.md b/docs/api/interfaces/IRawTrustedResource.md index e0f1b78e..a2821fd5 100644 --- a/docs/api/interfaces/IRawTrustedResource.md +++ b/docs/api/interfaces/IRawTrustedResource.md @@ -2,7 +2,7 @@ # Interface: IRawTrustedResource -Defined in: [src/parser/types/RawResponse.ts:1567](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1567) +Defined in: [src/parser/types/RawResponse.ts:1567](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1567) ## Properties @@ -10,7 +10,7 @@ Defined in: [src/parser/types/RawResponse.ts:1567](https://github.com/LuanRT/You > `optional` **privateDoNotAccessOrElseSafeScriptWrappedValue**: `string` -Defined in: [src/parser/types/RawResponse.ts:1569](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1569) +Defined in: [src/parser/types/RawResponse.ts:1569](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1569) *** @@ -18,4 +18,4 @@ Defined in: [src/parser/types/RawResponse.ts:1569](https://github.com/LuanRT/You > `optional` **privateDoNotAccessOrElseTrustedResourceUrlWrappedValue**: `string` -Defined in: [src/parser/types/RawResponse.ts:1568](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1568) +Defined in: [src/parser/types/RawResponse.ts:1568](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1568) diff --git a/docs/api/interfaces/IStreamingData.md b/docs/api/interfaces/IStreamingData.md index e3213206..65c042c6 100644 --- a/docs/api/interfaces/IStreamingData.md +++ b/docs/api/interfaces/IStreamingData.md @@ -2,7 +2,7 @@ # Interface: IStreamingData -Defined in: [src/parser/types/ParsedResponse.ts:132](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L132) +Defined in: [src/parser/types/ParsedResponse.ts:132](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L132) ## Properties @@ -10,7 +10,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:132](https://github.com/LuanRT/Y > **adaptive\_formats**: [`Format`](../youtubei.js/namespaces/Misc/classes/Format.md)[] -Defined in: [src/parser/types/ParsedResponse.ts:135](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L135) +Defined in: [src/parser/types/ParsedResponse.ts:135](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L135) *** @@ -18,7 +18,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:135](https://github.com/LuanRT/Y > `optional` **dash\_manifest\_url**: `string` -Defined in: [src/parser/types/ParsedResponse.ts:136](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L136) +Defined in: [src/parser/types/ParsedResponse.ts:136](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L136) *** @@ -26,7 +26,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:136](https://github.com/LuanRT/Y > **expires**: `Date` -Defined in: [src/parser/types/ParsedResponse.ts:133](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L133) +Defined in: [src/parser/types/ParsedResponse.ts:133](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L133) *** @@ -34,7 +34,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:133](https://github.com/LuanRT/Y > **formats**: [`Format`](../youtubei.js/namespaces/Misc/classes/Format.md)[] -Defined in: [src/parser/types/ParsedResponse.ts:134](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L134) +Defined in: [src/parser/types/ParsedResponse.ts:134](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L134) *** @@ -42,7 +42,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:134](https://github.com/LuanRT/Y > `optional` **hls\_manifest\_url**: `string` -Defined in: [src/parser/types/ParsedResponse.ts:137](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L137) +Defined in: [src/parser/types/ParsedResponse.ts:137](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L137) *** @@ -50,4 +50,4 @@ Defined in: [src/parser/types/ParsedResponse.ts:137](https://github.com/LuanRT/Y > `optional` **server\_abr\_streaming\_url**: `string` -Defined in: [src/parser/types/ParsedResponse.ts:138](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L138) +Defined in: [src/parser/types/ParsedResponse.ts:138](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L138) diff --git a/docs/api/interfaces/ITrustedResource.md b/docs/api/interfaces/ITrustedResource.md index 4518a6d2..7bce7e65 100644 --- a/docs/api/interfaces/ITrustedResource.md +++ b/docs/api/interfaces/ITrustedResource.md @@ -2,7 +2,7 @@ # Interface: ITrustedResource -Defined in: [src/parser/types/ParsedResponse.ts:86](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L86) +Defined in: [src/parser/types/ParsedResponse.ts:86](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L86) ## Properties @@ -10,7 +10,7 @@ Defined in: [src/parser/types/ParsedResponse.ts:86](https://github.com/LuanRT/Yo > `optional` **private\_do\_not\_access\_or\_else\_safe\_script\_wrapped\_value**: `string` -Defined in: [src/parser/types/ParsedResponse.ts:88](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L88) +Defined in: [src/parser/types/ParsedResponse.ts:88](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L88) *** @@ -18,4 +18,4 @@ Defined in: [src/parser/types/ParsedResponse.ts:88](https://github.com/LuanRT/Yo > `optional` **private\_do\_not\_access\_or\_else\_trusted\_resource\_url\_wrapped\_value**: `string` -Defined in: [src/parser/types/ParsedResponse.ts:87](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L87) +Defined in: [src/parser/types/ParsedResponse.ts:87](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L87) diff --git a/docs/api/type-aliases/AddToPlaylistServiceRequest.md b/docs/api/type-aliases/AddToPlaylistServiceRequest.md index cae35802..db92f71f 100644 --- a/docs/api/type-aliases/AddToPlaylistServiceRequest.md +++ b/docs/api/type-aliases/AddToPlaylistServiceRequest.md @@ -4,7 +4,7 @@ > **AddToPlaylistServiceRequest** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:55](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L55) +Defined in: [src/parser/types/CommandEndpoints.ts:55](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L55) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:55](https://github.com/LuanRT/ > `optional` **excludeWatchLater**: `boolean` -Defined in: [src/parser/types/CommandEndpoints.ts:59](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L59) +Defined in: [src/parser/types/CommandEndpoints.ts:59](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L59) *** @@ -20,7 +20,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:59](https://github.com/LuanRT/ > `optional` **params**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:58](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L58) +Defined in: [src/parser/types/CommandEndpoints.ts:58](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L58) *** @@ -28,7 +28,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:58](https://github.com/LuanRT/ > `optional` **playlistId**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:57](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L57) +Defined in: [src/parser/types/CommandEndpoints.ts:57](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L57) *** @@ -36,4 +36,4 @@ Defined in: [src/parser/types/CommandEndpoints.ts:57](https://github.com/LuanRT/ > `optional` **videoIds**: `string`[] -Defined in: [src/parser/types/CommandEndpoints.ts:56](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L56) +Defined in: [src/parser/types/CommandEndpoints.ts:56](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L56) diff --git a/docs/api/type-aliases/BrowseRequest.md b/docs/api/type-aliases/BrowseRequest.md index b1e5a329..5a829663 100644 --- a/docs/api/type-aliases/BrowseRequest.md +++ b/docs/api/type-aliases/BrowseRequest.md @@ -4,7 +4,7 @@ > **BrowseRequest** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L6) +Defined in: [src/parser/types/CommandEndpoints.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L6) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:6](https://github.com/LuanRT/Y > `optional` **browseId**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L7) +Defined in: [src/parser/types/CommandEndpoints.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L7) *** @@ -20,7 +20,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:7](https://github.com/LuanRT/Y > `optional` **browseRequestSupportedMetadata**: [`BrowseRequestSupportedMetadata`](BrowseRequestSupportedMetadata.md) -Defined in: [src/parser/types/CommandEndpoints.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L12) +Defined in: [src/parser/types/CommandEndpoints.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L12) *** @@ -28,7 +28,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:12](https://github.com/LuanRT/ > `optional` **formData**: [`FormData`](FormData.md) -Defined in: [src/parser/types/CommandEndpoints.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L10) +Defined in: [src/parser/types/CommandEndpoints.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L10) *** @@ -36,7 +36,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:10](https://github.com/LuanRT/ > `optional` **inlineSettingStatus**: [`InlineSettingStatus`](InlineSettingStatus.md) -Defined in: [src/parser/types/CommandEndpoints.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L13) +Defined in: [src/parser/types/CommandEndpoints.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:13](https://github.com/LuanRT/ > `optional` **params**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L8) +Defined in: [src/parser/types/CommandEndpoints.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:8](https://github.com/LuanRT/Y > `optional` **query**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L9) +Defined in: [src/parser/types/CommandEndpoints.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L9) *** @@ -60,4 +60,4 @@ Defined in: [src/parser/types/CommandEndpoints.ts:9](https://github.com/LuanRT/Y > `optional` **subscriptionSettingsState**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L11) +Defined in: [src/parser/types/CommandEndpoints.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L11) diff --git a/docs/api/type-aliases/BrowseRequestSupportedMetadata.md b/docs/api/type-aliases/BrowseRequestSupportedMetadata.md index 24dae617..b51c1536 100644 --- a/docs/api/type-aliases/BrowseRequestSupportedMetadata.md +++ b/docs/api/type-aliases/BrowseRequestSupportedMetadata.md @@ -4,7 +4,7 @@ > **BrowseRequestSupportedMetadata** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L25) +Defined in: [src/parser/types/CommandEndpoints.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L25) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:25](https://github.com/LuanRT/ > **downloadsBrowseParams**: `object` -Defined in: [src/parser/types/CommandEndpoints.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L26) +Defined in: [src/parser/types/CommandEndpoints.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L26) #### offlineFeatureSettingState diff --git a/docs/api/type-aliases/Context.md b/docs/api/type-aliases/Context.md index 56c8f816..2e18582b 100644 --- a/docs/api/type-aliases/Context.md +++ b/docs/api/type-aliases/Context.md @@ -4,7 +4,7 @@ > **Context** = `object` -Defined in: [src/core/Session.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L38) +Defined in: [src/core/Session.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L39) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/core/Session.ts:38](https://github.com/LuanRT/YouTube.js/blob/0 > **client**: `object` -Defined in: [src/core/Session.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L39) +Defined in: [src/core/Session.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L40) #### androidSdkVersion? @@ -196,7 +196,7 @@ Defined in: [src/core/Session.ts:39](https://github.com/LuanRT/YouTube.js/blob/0 > `optional` **request**: `object` -Defined in: [src/core/Session.ts:98](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L98) +Defined in: [src/core/Session.ts:99](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L99) #### internalExperimentFlags @@ -212,7 +212,7 @@ Defined in: [src/core/Session.ts:98](https://github.com/LuanRT/YouTube.js/blob/0 > `optional` **thirdParty**: `object` -Defined in: [src/core/Session.ts:95](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L95) +Defined in: [src/core/Session.ts:96](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L96) #### embedUrl @@ -224,7 +224,7 @@ Defined in: [src/core/Session.ts:95](https://github.com/LuanRT/YouTube.js/blob/0 > **user**: `object` -Defined in: [src/core/Session.ts:90](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L90) +Defined in: [src/core/Session.ts:91](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L91) #### enableSafetyMode diff --git a/docs/api/type-aliases/ContinuationRequest.md b/docs/api/type-aliases/ContinuationRequest.md index 0747f90e..073f529c 100644 --- a/docs/api/type-aliases/ContinuationRequest.md +++ b/docs/api/type-aliases/ContinuationRequest.md @@ -4,7 +4,7 @@ > **ContinuationRequest** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:143](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L143) +Defined in: [src/parser/types/CommandEndpoints.ts:143](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L143) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:143](https://github.com/LuanRT > `optional` **continuation**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:145](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L145) +Defined in: [src/parser/types/CommandEndpoints.ts:145](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L145) *** @@ -20,7 +20,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:145](https://github.com/LuanRT > `optional` **fetchCommentsParams**: `object` -Defined in: [src/parser/types/CommandEndpoints.ts:147](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L147) +Defined in: [src/parser/types/CommandEndpoints.ts:147](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L147) #### continuation @@ -32,7 +32,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:147](https://github.com/LuanRT > `optional` **formData**: [`FormData`](FormData.md) -Defined in: [src/parser/types/CommandEndpoints.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L144) +Defined in: [src/parser/types/CommandEndpoints.ts:144](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L144) *** @@ -40,4 +40,4 @@ Defined in: [src/parser/types/CommandEndpoints.ts:144](https://github.com/LuanRT > `optional` **notificationsMenuRequestType**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:146](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L146) +Defined in: [src/parser/types/CommandEndpoints.ts:146](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L146) diff --git a/docs/api/type-aliases/CreateCommentRequest.md b/docs/api/type-aliases/CreateCommentRequest.md index d48255a3..faeaa329 100644 --- a/docs/api/type-aliases/CreateCommentRequest.md +++ b/docs/api/type-aliases/CreateCommentRequest.md @@ -4,7 +4,7 @@ > **CreateCommentRequest** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:179](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L179) +Defined in: [src/parser/types/CommandEndpoints.ts:179](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L179) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:179](https://github.com/LuanRT > `optional` **accessRestrictions**: `object` -Defined in: [src/parser/types/CommandEndpoints.ts:186](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L186) +Defined in: [src/parser/types/CommandEndpoints.ts:186](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L186) #### restriction @@ -24,7 +24,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:186](https://github.com/LuanRT > `optional` **botguardResponse**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:187](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L187) +Defined in: [src/parser/types/CommandEndpoints.ts:187](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L187) *** @@ -32,7 +32,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:187](https://github.com/LuanRT > `optional` **commentText**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:181](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L181) +Defined in: [src/parser/types/CommandEndpoints.ts:181](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L181) *** @@ -40,7 +40,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:181](https://github.com/LuanRT > `optional` **createCommentParams**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:180](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L180) +Defined in: [src/parser/types/CommandEndpoints.ts:180](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L180) *** @@ -48,7 +48,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:180](https://github.com/LuanRT > `optional` **imageAttachment**: `object` -Defined in: [src/parser/types/CommandEndpoints.ts:184](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L184) +Defined in: [src/parser/types/CommandEndpoints.ts:184](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L184) #### encryptedBlobId @@ -60,7 +60,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:184](https://github.com/LuanRT > `optional` **pollAttachment**: `object` -Defined in: [src/parser/types/CommandEndpoints.ts:183](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L183) +Defined in: [src/parser/types/CommandEndpoints.ts:183](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L183) #### choices @@ -72,7 +72,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:183](https://github.com/LuanRT > `optional` **sharedPostAttachment**: `object` -Defined in: [src/parser/types/CommandEndpoints.ts:185](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L185) +Defined in: [src/parser/types/CommandEndpoints.ts:185](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L185) #### postId @@ -84,7 +84,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:185](https://github.com/LuanRT > `optional` **videoAttachment**: `object` -Defined in: [src/parser/types/CommandEndpoints.ts:182](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L182) +Defined in: [src/parser/types/CommandEndpoints.ts:182](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L182) #### videoId diff --git a/docs/api/type-aliases/CreatePlaylistServiceRequest.md b/docs/api/type-aliases/CreatePlaylistServiceRequest.md index 6814748c..8d3cdb84 100644 --- a/docs/api/type-aliases/CreatePlaylistServiceRequest.md +++ b/docs/api/type-aliases/CreatePlaylistServiceRequest.md @@ -4,7 +4,7 @@ > **CreatePlaylistServiceRequest** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:104](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L104) +Defined in: [src/parser/types/CommandEndpoints.ts:104](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L104) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:104](https://github.com/LuanRT > `optional` **description**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:107](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L107) +Defined in: [src/parser/types/CommandEndpoints.ts:107](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L107) *** @@ -20,7 +20,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:107](https://github.com/LuanRT > `optional` **params**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:109](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L109) +Defined in: [src/parser/types/CommandEndpoints.ts:109](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L109) *** @@ -28,7 +28,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:109](https://github.com/LuanRT > `optional` **privacyStatus**: [`PlaylistPrivacyStatus`](PlaylistPrivacyStatus.md) -Defined in: [src/parser/types/CommandEndpoints.ts:106](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L106) +Defined in: [src/parser/types/CommandEndpoints.ts:106](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L106) *** @@ -36,7 +36,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:106](https://github.com/LuanRT > `optional` **sourcePlaylistId**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:110](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L110) +Defined in: [src/parser/types/CommandEndpoints.ts:110](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L110) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:110](https://github.com/LuanRT > `optional` **title**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:105](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L105) +Defined in: [src/parser/types/CommandEndpoints.ts:105](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L105) *** @@ -52,4 +52,4 @@ Defined in: [src/parser/types/CommandEndpoints.ts:105](https://github.com/LuanRT > `optional` **videoIds**: `string`[] -Defined in: [src/parser/types/CommandEndpoints.ts:108](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L108) +Defined in: [src/parser/types/CommandEndpoints.ts:108](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L108) diff --git a/docs/api/type-aliases/DeletePlaylistServiceRequest.md b/docs/api/type-aliases/DeletePlaylistServiceRequest.md index c1090598..0c565835 100644 --- a/docs/api/type-aliases/DeletePlaylistServiceRequest.md +++ b/docs/api/type-aliases/DeletePlaylistServiceRequest.md @@ -4,7 +4,7 @@ > **DeletePlaylistServiceRequest** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:113](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L113) +Defined in: [src/parser/types/CommandEndpoints.ts:113](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L113) ## Properties @@ -12,4 +12,4 @@ Defined in: [src/parser/types/CommandEndpoints.ts:113](https://github.com/LuanRT > `optional` **playlistId**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:114](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L114) +Defined in: [src/parser/types/CommandEndpoints.ts:114](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L114) diff --git a/docs/api/type-aliases/DeviceAndUserCode.md b/docs/api/type-aliases/DeviceAndUserCode.md index d54cd40c..7862ccee 100644 --- a/docs/api/type-aliases/DeviceAndUserCode.md +++ b/docs/api/type-aliases/DeviceAndUserCode.md @@ -4,7 +4,7 @@ > **DeviceAndUserCode** = `object` -Defined in: [src/core/OAuth2.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L22) +Defined in: [src/core/OAuth2.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L22) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/core/OAuth2.ts:22](https://github.com/LuanRT/YouTube.js/blob/07 > **device\_code**: `string` -Defined in: [src/core/OAuth2.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L23) +Defined in: [src/core/OAuth2.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L23) *** @@ -20,7 +20,7 @@ Defined in: [src/core/OAuth2.ts:23](https://github.com/LuanRT/YouTube.js/blob/07 > `optional` **error\_code**: `string` -Defined in: [src/core/OAuth2.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L28) +Defined in: [src/core/OAuth2.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L28) *** @@ -28,7 +28,7 @@ Defined in: [src/core/OAuth2.ts:28](https://github.com/LuanRT/YouTube.js/blob/07 > **expires\_in**: `number` -Defined in: [src/core/OAuth2.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L24) +Defined in: [src/core/OAuth2.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L24) *** @@ -36,7 +36,7 @@ Defined in: [src/core/OAuth2.ts:24](https://github.com/LuanRT/YouTube.js/blob/07 > **interval**: `number` -Defined in: [src/core/OAuth2.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L25) +Defined in: [src/core/OAuth2.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L25) *** @@ -44,7 +44,7 @@ Defined in: [src/core/OAuth2.ts:25](https://github.com/LuanRT/YouTube.js/blob/07 > **user\_code**: `string` -Defined in: [src/core/OAuth2.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L26) +Defined in: [src/core/OAuth2.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L26) *** @@ -52,4 +52,4 @@ Defined in: [src/core/OAuth2.ts:26](https://github.com/LuanRT/YouTube.js/blob/07 > **verification\_url**: `string` -Defined in: [src/core/OAuth2.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L27) +Defined in: [src/core/OAuth2.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L27) diff --git a/docs/api/type-aliases/FeedbackContext.md b/docs/api/type-aliases/FeedbackContext.md index b4bd0fb2..ec4af0a9 100644 --- a/docs/api/type-aliases/FeedbackContext.md +++ b/docs/api/type-aliases/FeedbackContext.md @@ -4,7 +4,7 @@ > **FeedbackContext** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:35](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L35) +Defined in: [src/parser/types/CommandEndpoints.ts:35](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L35) ## Properties @@ -12,4 +12,4 @@ Defined in: [src/parser/types/CommandEndpoints.ts:35](https://github.com/LuanRT/ > **cpn**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:36](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L36) +Defined in: [src/parser/types/CommandEndpoints.ts:36](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L36) diff --git a/docs/api/type-aliases/FeedbackRequest.md b/docs/api/type-aliases/FeedbackRequest.md index 1e3030a8..aad98295 100644 --- a/docs/api/type-aliases/FeedbackRequest.md +++ b/docs/api/type-aliases/FeedbackRequest.md @@ -4,7 +4,7 @@ > **FeedbackRequest** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L39) +Defined in: [src/parser/types/CommandEndpoints.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L39) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:39](https://github.com/LuanRT/ > `optional` **feedbackContext**: [`FeedbackContext`](FeedbackContext.md) -Defined in: [src/parser/types/CommandEndpoints.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L41) +Defined in: [src/parser/types/CommandEndpoints.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L41) *** @@ -20,7 +20,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:41](https://github.com/LuanRT/ > `optional` **feedbackTokens**: `string`[] -Defined in: [src/parser/types/CommandEndpoints.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L40) +Defined in: [src/parser/types/CommandEndpoints.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L40) *** @@ -28,7 +28,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:40](https://github.com/LuanRT/ > `optional` **isFeedbackTokenUnencrypted**: `boolean` -Defined in: [src/parser/types/CommandEndpoints.ts:42](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L42) +Defined in: [src/parser/types/CommandEndpoints.ts:42](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L42) *** @@ -36,4 +36,4 @@ Defined in: [src/parser/types/CommandEndpoints.ts:42](https://github.com/LuanRT/ > `optional` **shouldMerge**: `boolean` -Defined in: [src/parser/types/CommandEndpoints.ts:43](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L43) +Defined in: [src/parser/types/CommandEndpoints.ts:43](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L43) diff --git a/docs/api/type-aliases/FormData.md b/docs/api/type-aliases/FormData.md index 79e4c1f9..365ad92f 100644 --- a/docs/api/type-aliases/FormData.md +++ b/docs/api/type-aliases/FormData.md @@ -4,7 +4,7 @@ > **FormData** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L16) +Defined in: [src/parser/types/CommandEndpoints.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L16) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:16](https://github.com/LuanRT/ > **accountSettingsFormData**: `object` -Defined in: [src/parser/types/CommandEndpoints.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L17) +Defined in: [src/parser/types/CommandEndpoints.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L17) #### flagAudioDescriptionDefaultOn diff --git a/docs/api/type-aliases/GetAccountsListInnertubeRequest.md b/docs/api/type-aliases/GetAccountsListInnertubeRequest.md index b0262849..41e4389d 100644 --- a/docs/api/type-aliases/GetAccountsListInnertubeRequest.md +++ b/docs/api/type-aliases/GetAccountsListInnertubeRequest.md @@ -4,7 +4,7 @@ > **GetAccountsListInnertubeRequest** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:162](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L162) +Defined in: [src/parser/types/CommandEndpoints.ts:162](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L162) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:162](https://github.com/LuanRT > `optional` **callCircumstance**: `"SUPPLEMENTAL_USER"` \| `"SWITCHING_USERS_FULL"` -Defined in: [src/parser/types/CommandEndpoints.ts:168](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L168) +Defined in: [src/parser/types/CommandEndpoints.ts:168](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L168) *** @@ -20,7 +20,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:168](https://github.com/LuanRT > `optional` **channelSwitcherQuery**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:165](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L165) +Defined in: [src/parser/types/CommandEndpoints.ts:165](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L165) *** @@ -28,7 +28,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:165](https://github.com/LuanRT > `optional` **contentOwnerConfig**: `Record`\<`string`, `any`\> -Defined in: [src/parser/types/CommandEndpoints.ts:167](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L167) +Defined in: [src/parser/types/CommandEndpoints.ts:167](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L167) *** @@ -36,7 +36,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:167](https://github.com/LuanRT > `optional` **nextNavendpoint**: [`NextNavendpoint`](NextNavendpoint.md) -Defined in: [src/parser/types/CommandEndpoints.ts:164](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L164) +Defined in: [src/parser/types/CommandEndpoints.ts:164](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L164) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:164](https://github.com/LuanRT > `optional` **obfuscatedSelectedGaiaId**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:169](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L169) +Defined in: [src/parser/types/CommandEndpoints.ts:169](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L169) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:169](https://github.com/LuanRT > `optional` **requestType**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:163](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L163) +Defined in: [src/parser/types/CommandEndpoints.ts:163](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L163) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:163](https://github.com/LuanRT > `optional` **selectedSerializedDelegationContext**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:170](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L170) +Defined in: [src/parser/types/CommandEndpoints.ts:170](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L170) *** @@ -68,4 +68,4 @@ Defined in: [src/parser/types/CommandEndpoints.ts:170](https://github.com/LuanRT > `optional` **triggerChannelCreation**: `boolean` -Defined in: [src/parser/types/CommandEndpoints.ts:166](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L166) +Defined in: [src/parser/types/CommandEndpoints.ts:166](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L166) diff --git a/docs/api/type-aliases/GetKidsBlocklistPickerRequest.md b/docs/api/type-aliases/GetKidsBlocklistPickerRequest.md index 23fbe3b4..4653a1cc 100644 --- a/docs/api/type-aliases/GetKidsBlocklistPickerRequest.md +++ b/docs/api/type-aliases/GetKidsBlocklistPickerRequest.md @@ -4,7 +4,7 @@ > **GetKidsBlocklistPickerRequest** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:173](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L173) +Defined in: [src/parser/types/CommandEndpoints.ts:173](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L173) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:173](https://github.com/LuanRT > `optional` **blockedForKidsContent**: `object` -Defined in: [src/parser/types/CommandEndpoints.ts:174](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L174) +Defined in: [src/parser/types/CommandEndpoints.ts:174](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L174) #### external\_channel\_id diff --git a/docs/api/type-aliases/IBrowseResponse.md b/docs/api/type-aliases/IBrowseResponse.md index 5efe33eb..19949597 100644 --- a/docs/api/type-aliases/IBrowseResponse.md +++ b/docs/api/type-aliases/IBrowseResponse.md @@ -4,4 +4,4 @@ > **IBrowseResponse** = `Pick`\<[`IParsedResponse`](../interfaces/IParsedResponse.md), `"background"` \| `"continuation_contents"` \| `"continuation_contents_memo"` \| `"on_response_received_actions"` \| `"on_response_received_actions_memo"` \| `"on_response_received_endpoints"` \| `"on_response_received_endpoints_memo"` \| `"contents"` \| `"contents_memo"` \| `"header"` \| `"header_memo"` \| `"metadata"` \| `"microformat"` \| `"alerts"` \| `"sidebar"` \| `"sidebar_memo"`\> -Defined in: [src/parser/types/ParsedResponse.ts:143](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L143) +Defined in: [src/parser/types/ParsedResponse.ts:143](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L143) diff --git a/docs/api/type-aliases/IGetChallengeResponse.md b/docs/api/type-aliases/IGetChallengeResponse.md index 0c68fa96..f104577e 100644 --- a/docs/api/type-aliases/IGetChallengeResponse.md +++ b/docs/api/type-aliases/IGetChallengeResponse.md @@ -4,4 +4,4 @@ > **IGetChallengeResponse** = `Pick`\<[`IParsedResponse`](../interfaces/IParsedResponse.md), `"challenge"` \| `"bg_challenge"`\> -Defined in: [src/parser/types/ParsedResponse.ts:150](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L150) +Defined in: [src/parser/types/ParsedResponse.ts:150](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L150) diff --git a/docs/api/type-aliases/IGetNotificationsMenuResponse.md b/docs/api/type-aliases/IGetNotificationsMenuResponse.md index ef30c0e8..181f4042 100644 --- a/docs/api/type-aliases/IGetNotificationsMenuResponse.md +++ b/docs/api/type-aliases/IGetNotificationsMenuResponse.md @@ -4,4 +4,4 @@ > **IGetNotificationsMenuResponse** = `Pick`\<[`IParsedResponse`](../interfaces/IParsedResponse.md), `"actions"` \| `"actions_memo"`\> -Defined in: [src/parser/types/ParsedResponse.ts:147](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L147) +Defined in: [src/parser/types/ParsedResponse.ts:147](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L147) diff --git a/docs/api/type-aliases/IGetTranscriptResponse.md b/docs/api/type-aliases/IGetTranscriptResponse.md index b7061c0b..f5167533 100644 --- a/docs/api/type-aliases/IGetTranscriptResponse.md +++ b/docs/api/type-aliases/IGetTranscriptResponse.md @@ -4,4 +4,4 @@ > **IGetTranscriptResponse** = `Pick`\<[`IParsedResponse`](../interfaces/IParsedResponse.md), `"actions"` \| `"actions_memo"`\> -Defined in: [src/parser/types/ParsedResponse.ts:146](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L146) +Defined in: [src/parser/types/ParsedResponse.ts:146](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L146) diff --git a/docs/api/type-aliases/IGuideResponse.md b/docs/api/type-aliases/IGuideResponse.md index 833dbf40..fdb7269e 100644 --- a/docs/api/type-aliases/IGuideResponse.md +++ b/docs/api/type-aliases/IGuideResponse.md @@ -4,4 +4,4 @@ > **IGuideResponse** = `Pick`\<[`IParsedResponse`](../interfaces/IParsedResponse.md), `"items"` \| `"items_memo"`\> -Defined in: [src/parser/types/ParsedResponse.ts:149](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L149) +Defined in: [src/parser/types/ParsedResponse.ts:149](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L149) diff --git a/docs/api/type-aliases/INextResponse.md b/docs/api/type-aliases/INextResponse.md index cdb3a796..e5b2954d 100644 --- a/docs/api/type-aliases/INextResponse.md +++ b/docs/api/type-aliases/INextResponse.md @@ -4,4 +4,4 @@ > **INextResponse** = `Pick`\<[`IParsedResponse`](../interfaces/IParsedResponse.md), `"contents"` \| `"contents_memo"` \| `"continuation_contents"` \| `"continuation_contents_memo"` \| `"current_video_endpoint"` \| `"on_response_received_endpoints"` \| `"on_response_received_endpoints_memo"` \| `"player_overlays"` \| `"engagement_panels"`\> -Defined in: [src/parser/types/ParsedResponse.ts:142](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L142) +Defined in: [src/parser/types/ParsedResponse.ts:142](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L142) diff --git a/docs/api/type-aliases/IPlayerResponse.md b/docs/api/type-aliases/IPlayerResponse.md index 99d20ed2..e040080d 100644 --- a/docs/api/type-aliases/IPlayerResponse.md +++ b/docs/api/type-aliases/IPlayerResponse.md @@ -4,4 +4,4 @@ > **IPlayerResponse** = `Pick`\<[`IParsedResponse`](../interfaces/IParsedResponse.md), `"captions"` \| `"cards"` \| `"endscreen"` \| `"microformat"` \| `"annotations"` \| `"playability_status"` \| `"streaming_data"` \| `"player_config"` \| `"playback_tracking"` \| `"storyboards"` \| `"video_details"`\> -Defined in: [src/parser/types/ParsedResponse.ts:141](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L141) +Defined in: [src/parser/types/ParsedResponse.ts:141](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L141) diff --git a/docs/api/type-aliases/IResolveURLResponse.md b/docs/api/type-aliases/IResolveURLResponse.md index eed44e0a..ba86c3e1 100644 --- a/docs/api/type-aliases/IResolveURLResponse.md +++ b/docs/api/type-aliases/IResolveURLResponse.md @@ -4,4 +4,4 @@ > **IResolveURLResponse** = `Pick`\<[`IParsedResponse`](../interfaces/IParsedResponse.md), `"endpoint"`\> -Defined in: [src/parser/types/ParsedResponse.ts:145](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L145) +Defined in: [src/parser/types/ParsedResponse.ts:145](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L145) diff --git a/docs/api/type-aliases/ISearchResponse.md b/docs/api/type-aliases/ISearchResponse.md index 4c547ad9..b8586169 100644 --- a/docs/api/type-aliases/ISearchResponse.md +++ b/docs/api/type-aliases/ISearchResponse.md @@ -4,4 +4,4 @@ > **ISearchResponse** = `Pick`\<[`IParsedResponse`](../interfaces/IParsedResponse.md), `"header"` \| `"header_memo"` \| `"contents"` \| `"contents_memo"` \| `"on_response_received_commands"` \| `"continuation_contents"` \| `"continuation_contents_memo"` \| `"refinements"` \| `"estimated_results"`\> -Defined in: [src/parser/types/ParsedResponse.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L144) +Defined in: [src/parser/types/ParsedResponse.ts:144](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L144) diff --git a/docs/api/type-aliases/IUpdatedMetadataResponse.md b/docs/api/type-aliases/IUpdatedMetadataResponse.md index d618e110..07cc6a3f 100644 --- a/docs/api/type-aliases/IUpdatedMetadataResponse.md +++ b/docs/api/type-aliases/IUpdatedMetadataResponse.md @@ -4,4 +4,4 @@ > **IUpdatedMetadataResponse** = `Pick`\<[`IParsedResponse`](../interfaces/IParsedResponse.md), `"actions"` \| `"actions_memo"` \| `"continuation"`\> -Defined in: [src/parser/types/ParsedResponse.ts:148](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/ParsedResponse.ts#L148) +Defined in: [src/parser/types/ParsedResponse.ts:148](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/ParsedResponse.ts#L148) diff --git a/docs/api/type-aliases/InlineSettingStatus.md b/docs/api/type-aliases/InlineSettingStatus.md index 2dd341cd..af3f5a40 100644 --- a/docs/api/type-aliases/InlineSettingStatus.md +++ b/docs/api/type-aliases/InlineSettingStatus.md @@ -4,4 +4,4 @@ > **InlineSettingStatus** = `"INLINE_SETTING_STATUS_DISABLED"` \| `"INLINE_SETTING_STATUS_ON"` -Defined in: [src/parser/types/CommandEndpoints.ts:33](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L33) +Defined in: [src/parser/types/CommandEndpoints.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L33) diff --git a/docs/api/type-aliases/InnertubeEndpoint.md b/docs/api/type-aliases/InnertubeEndpoint.md index cf568eeb..a4c0d50a 100644 --- a/docs/api/type-aliases/InnertubeEndpoint.md +++ b/docs/api/type-aliases/InnertubeEndpoint.md @@ -4,4 +4,4 @@ > **InnertubeEndpoint** = `"/player"` \| `"/search"` \| `"/browse"` \| `"/next"` \| `"/reel"` \| `"/updated_metadata"` \| `"/notification/get_notification_menu"` \| `"/att/get"` \| `string` -Defined in: [src/core/Actions.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Actions.ts#L24) +Defined in: [src/core/Actions.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Actions.ts#L24) diff --git a/docs/api/type-aliases/LikeRequest.md b/docs/api/type-aliases/LikeRequest.md index 33f49152..6862a6ff 100644 --- a/docs/api/type-aliases/LikeRequest.md +++ b/docs/api/type-aliases/LikeRequest.md @@ -4,7 +4,7 @@ > **LikeRequest** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:50](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L50) +Defined in: [src/parser/types/CommandEndpoints.ts:50](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L50) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:50](https://github.com/LuanRT/ > `optional` **params**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:52](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L52) +Defined in: [src/parser/types/CommandEndpoints.ts:52](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L52) *** @@ -20,4 +20,4 @@ Defined in: [src/parser/types/CommandEndpoints.ts:52](https://github.com/LuanRT/ > `optional` **target**: [`LikeTarget`](LikeTarget.md) -Defined in: [src/parser/types/CommandEndpoints.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L51) +Defined in: [src/parser/types/CommandEndpoints.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L51) diff --git a/docs/api/type-aliases/LikeTarget.md b/docs/api/type-aliases/LikeTarget.md index 3c6e1ddd..71cbae5a 100644 --- a/docs/api/type-aliases/LikeTarget.md +++ b/docs/api/type-aliases/LikeTarget.md @@ -4,7 +4,7 @@ > **LikeTarget** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:46](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L46) +Defined in: [src/parser/types/CommandEndpoints.ts:46](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L46) ## Properties @@ -12,4 +12,4 @@ Defined in: [src/parser/types/CommandEndpoints.ts:46](https://github.com/LuanRT/ > **videoId**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:47](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L47) +Defined in: [src/parser/types/CommandEndpoints.ts:47](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L47) diff --git a/docs/api/type-aliases/LiveChatItemContextMenuRequest.md b/docs/api/type-aliases/LiveChatItemContextMenuRequest.md index 675a06e8..7744e715 100644 --- a/docs/api/type-aliases/LiveChatItemContextMenuRequest.md +++ b/docs/api/type-aliases/LiveChatItemContextMenuRequest.md @@ -4,7 +4,7 @@ > **LiveChatItemContextMenuRequest** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:152](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L152) +Defined in: [src/parser/types/CommandEndpoints.ts:152](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L152) ## Properties @@ -12,4 +12,4 @@ Defined in: [src/parser/types/CommandEndpoints.ts:152](https://github.com/LuanRT > `optional` **params**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:153](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L153) +Defined in: [src/parser/types/CommandEndpoints.ts:153](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L153) diff --git a/docs/api/type-aliases/ModifyChannelNotificationPreferenceRequest.md b/docs/api/type-aliases/ModifyChannelNotificationPreferenceRequest.md index 332624fd..4f678fb3 100644 --- a/docs/api/type-aliases/ModifyChannelNotificationPreferenceRequest.md +++ b/docs/api/type-aliases/ModifyChannelNotificationPreferenceRequest.md @@ -4,7 +4,7 @@ > **ModifyChannelNotificationPreferenceRequest** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:194](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L194) +Defined in: [src/parser/types/CommandEndpoints.ts:194](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L194) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:194](https://github.com/LuanRT > `optional` **params**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:195](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L195) +Defined in: [src/parser/types/CommandEndpoints.ts:195](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L195) *** @@ -20,4 +20,4 @@ Defined in: [src/parser/types/CommandEndpoints.ts:195](https://github.com/LuanRT > `optional` **secondaryParams**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:196](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L196) +Defined in: [src/parser/types/CommandEndpoints.ts:196](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L196) diff --git a/docs/api/type-aliases/NextNavendpoint.md b/docs/api/type-aliases/NextNavendpoint.md index d672315b..96383e9c 100644 --- a/docs/api/type-aliases/NextNavendpoint.md +++ b/docs/api/type-aliases/NextNavendpoint.md @@ -4,7 +4,7 @@ > **NextNavendpoint** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:156](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L156) +Defined in: [src/parser/types/CommandEndpoints.ts:156](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L156) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:156](https://github.com/LuanRT > **urlEndpoint**: `object` -Defined in: [src/parser/types/CommandEndpoints.ts:157](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L157) +Defined in: [src/parser/types/CommandEndpoints.ts:157](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L157) #### url diff --git a/docs/api/type-aliases/OAuth2AuthErrorEventHandler.md b/docs/api/type-aliases/OAuth2AuthErrorEventHandler.md index b614112b..1cfa8b68 100644 --- a/docs/api/type-aliases/OAuth2AuthErrorEventHandler.md +++ b/docs/api/type-aliases/OAuth2AuthErrorEventHandler.md @@ -4,7 +4,7 @@ > **OAuth2AuthErrorEventHandler** = (`err`) => `void` -Defined in: [src/core/OAuth2.ts:33](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L33) +Defined in: [src/core/OAuth2.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L33) ## Parameters diff --git a/docs/api/type-aliases/OAuth2AuthEventHandler.md b/docs/api/type-aliases/OAuth2AuthEventHandler.md index 8f3fb37e..3b9a967b 100644 --- a/docs/api/type-aliases/OAuth2AuthEventHandler.md +++ b/docs/api/type-aliases/OAuth2AuthEventHandler.md @@ -4,7 +4,7 @@ > **OAuth2AuthEventHandler** = (`data`) => `void` -Defined in: [src/core/OAuth2.ts:31](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L31) +Defined in: [src/core/OAuth2.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L31) ## Parameters diff --git a/docs/api/type-aliases/OAuth2AuthPendingEventHandler.md b/docs/api/type-aliases/OAuth2AuthPendingEventHandler.md index 89e1d01a..c0b4396c 100644 --- a/docs/api/type-aliases/OAuth2AuthPendingEventHandler.md +++ b/docs/api/type-aliases/OAuth2AuthPendingEventHandler.md @@ -4,7 +4,7 @@ > **OAuth2AuthPendingEventHandler** = (`data`) => `void` -Defined in: [src/core/OAuth2.ts:32](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L32) +Defined in: [src/core/OAuth2.ts:32](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L32) ## Parameters diff --git a/docs/api/type-aliases/OAuth2ClientID.md b/docs/api/type-aliases/OAuth2ClientID.md index d3ce5bbd..45be1de9 100644 --- a/docs/api/type-aliases/OAuth2ClientID.md +++ b/docs/api/type-aliases/OAuth2ClientID.md @@ -4,7 +4,7 @@ > **OAuth2ClientID** = `object` -Defined in: [src/core/OAuth2.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L7) +Defined in: [src/core/OAuth2.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L7) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/core/OAuth2.ts:7](https://github.com/LuanRT/YouTube.js/blob/073 > **client\_id**: `string` -Defined in: [src/core/OAuth2.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L8) +Defined in: [src/core/OAuth2.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L8) *** @@ -20,4 +20,4 @@ Defined in: [src/core/OAuth2.ts:8](https://github.com/LuanRT/YouTube.js/blob/073 > **client\_secret**: `string` -Defined in: [src/core/OAuth2.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L9) +Defined in: [src/core/OAuth2.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L9) diff --git a/docs/api/type-aliases/OAuth2Tokens.md b/docs/api/type-aliases/OAuth2Tokens.md index 95b02fef..5f903764 100644 --- a/docs/api/type-aliases/OAuth2Tokens.md +++ b/docs/api/type-aliases/OAuth2Tokens.md @@ -4,7 +4,7 @@ > **OAuth2Tokens** = `object` -Defined in: [src/core/OAuth2.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L12) +Defined in: [src/core/OAuth2.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L12) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/core/OAuth2.ts:12](https://github.com/LuanRT/YouTube.js/blob/07 > **access\_token**: `string` -Defined in: [src/core/OAuth2.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L13) +Defined in: [src/core/OAuth2.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L13) *** @@ -20,7 +20,7 @@ Defined in: [src/core/OAuth2.ts:13](https://github.com/LuanRT/YouTube.js/blob/07 > `optional` **client**: [`OAuth2ClientID`](OAuth2ClientID.md) -Defined in: [src/core/OAuth2.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L19) +Defined in: [src/core/OAuth2.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L19) *** @@ -28,7 +28,7 @@ Defined in: [src/core/OAuth2.ts:19](https://github.com/LuanRT/YouTube.js/blob/07 > `optional` **expires\_in**: `number` -Defined in: [src/core/OAuth2.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L15) +Defined in: [src/core/OAuth2.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L15) *** @@ -36,7 +36,7 @@ Defined in: [src/core/OAuth2.ts:15](https://github.com/LuanRT/YouTube.js/blob/07 > **expiry\_date**: `string` -Defined in: [src/core/OAuth2.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L14) +Defined in: [src/core/OAuth2.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L14) *** @@ -44,7 +44,7 @@ Defined in: [src/core/OAuth2.ts:14](https://github.com/LuanRT/YouTube.js/blob/07 > **refresh\_token**: `string` -Defined in: [src/core/OAuth2.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L16) +Defined in: [src/core/OAuth2.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L16) *** @@ -52,7 +52,7 @@ Defined in: [src/core/OAuth2.ts:16](https://github.com/LuanRT/YouTube.js/blob/07 > `optional` **scope**: `string` -Defined in: [src/core/OAuth2.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L17) +Defined in: [src/core/OAuth2.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L17) *** @@ -60,4 +60,4 @@ Defined in: [src/core/OAuth2.ts:17](https://github.com/LuanRT/YouTube.js/blob/07 > `optional` **token\_type**: `string` -Defined in: [src/core/OAuth2.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/OAuth2.ts#L18) +Defined in: [src/core/OAuth2.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/OAuth2.ts#L18) diff --git a/docs/api/type-aliases/ParsedResponse.md b/docs/api/type-aliases/ParsedResponse.md index f63e5038..29503891 100644 --- a/docs/api/type-aliases/ParsedResponse.md +++ b/docs/api/type-aliases/ParsedResponse.md @@ -4,7 +4,7 @@ > **ParsedResponse**\<`T`\> = `T` *extends* `"/player"` ? [`IPlayerResponse`](IPlayerResponse.md) : `T` *extends* `"/search"` ? [`ISearchResponse`](ISearchResponse.md) : `T` *extends* `"/browse"` ? [`IBrowseResponse`](IBrowseResponse.md) : `T` *extends* `"/next"` ? [`INextResponse`](INextResponse.md) : `T` *extends* `"/updated_metadata"` ? [`IUpdatedMetadataResponse`](IUpdatedMetadataResponse.md) : `T` *extends* `"/navigation/resolve_url"` ? [`IResolveURLResponse`](IResolveURLResponse.md) : `T` *extends* `"/notification/get_notification_menu"` ? [`IGetNotificationsMenuResponse`](IGetNotificationsMenuResponse.md) : `T` *extends* `"/att/get"` ? [`IGetChallengeResponse`](IGetChallengeResponse.md) : [`IParsedResponse`](../interfaces/IParsedResponse.md) -Defined in: [src/core/Actions.ts:35](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Actions.ts#L35) +Defined in: [src/core/Actions.ts:35](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Actions.ts#L35) ## Type Parameters diff --git a/docs/api/type-aliases/PerformCommentActionRequest.md b/docs/api/type-aliases/PerformCommentActionRequest.md index dd803a6d..01e4b47b 100644 --- a/docs/api/type-aliases/PerformCommentActionRequest.md +++ b/docs/api/type-aliases/PerformCommentActionRequest.md @@ -4,7 +4,7 @@ > **PerformCommentActionRequest** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:190](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L190) +Defined in: [src/parser/types/CommandEndpoints.ts:190](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L190) ## Properties @@ -12,4 +12,4 @@ Defined in: [src/parser/types/CommandEndpoints.ts:190](https://github.com/LuanRT > `optional` **actions**: `Record`\<`string`, `any`\>[] -Defined in: [src/parser/types/CommandEndpoints.ts:191](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L191) +Defined in: [src/parser/types/CommandEndpoints.ts:191](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L191) diff --git a/docs/api/type-aliases/PlaylistEditRequest.md b/docs/api/type-aliases/PlaylistEditRequest.md index 01a9d2f4..0167341b 100644 --- a/docs/api/type-aliases/PlaylistEditRequest.md +++ b/docs/api/type-aliases/PlaylistEditRequest.md @@ -4,7 +4,7 @@ > **PlaylistEditRequest** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:96](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L96) +Defined in: [src/parser/types/CommandEndpoints.ts:96](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L96) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:96](https://github.com/LuanRT/ > `optional` **actions**: `Record`\<`string`, `any`\>[] -Defined in: [src/parser/types/CommandEndpoints.ts:97](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L97) +Defined in: [src/parser/types/CommandEndpoints.ts:97](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L97) *** @@ -20,7 +20,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:97](https://github.com/LuanRT/ > `optional` **params**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:99](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L99) +Defined in: [src/parser/types/CommandEndpoints.ts:99](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L99) *** @@ -28,4 +28,4 @@ Defined in: [src/parser/types/CommandEndpoints.ts:99](https://github.com/LuanRT/ > `optional` **playlistId**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:98](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L98) +Defined in: [src/parser/types/CommandEndpoints.ts:98](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L98) diff --git a/docs/api/type-aliases/PlaylistPrivacyStatus.md b/docs/api/type-aliases/PlaylistPrivacyStatus.md index 7a6abc8d..c794e542 100644 --- a/docs/api/type-aliases/PlaylistPrivacyStatus.md +++ b/docs/api/type-aliases/PlaylistPrivacyStatus.md @@ -4,4 +4,4 @@ > **PlaylistPrivacyStatus** = `"PUBLIC"` \| `"UNLISTED"` \| `"PRIVATE"` -Defined in: [src/parser/types/CommandEndpoints.ts:102](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L102) +Defined in: [src/parser/types/CommandEndpoints.ts:102](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L102) diff --git a/docs/api/type-aliases/RawData.md b/docs/api/type-aliases/RawData.md index 352a4ac7..f956bc3c 100644 --- a/docs/api/type-aliases/RawData.md +++ b/docs/api/type-aliases/RawData.md @@ -4,4 +4,4 @@ > **RawData** = [`RawNode`](RawNode.md) \| [`RawNode`](RawNode.md)[] -Defined in: [src/parser/types/RawResponse.ts:2](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L2) +Defined in: [src/parser/types/RawResponse.ts:2](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L2) diff --git a/docs/api/type-aliases/RawNode.md b/docs/api/type-aliases/RawNode.md index aa214ccf..8fbe76b2 100644 --- a/docs/api/type-aliases/RawNode.md +++ b/docs/api/type-aliases/RawNode.md @@ -4,4 +4,4 @@ > **RawNode** = `Record`\<`string`, `any`\> -Defined in: [src/parser/types/RawResponse.ts:1](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/RawResponse.ts#L1) +Defined in: [src/parser/types/RawResponse.ts:1](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/RawResponse.ts#L1) diff --git a/docs/api/type-aliases/ReelWatchRequest.md b/docs/api/type-aliases/ReelWatchRequest.md index 3310ba27..094fcb8a 100644 --- a/docs/api/type-aliases/ReelWatchRequest.md +++ b/docs/api/type-aliases/ReelWatchRequest.md @@ -4,7 +4,7 @@ > **ReelWatchRequest** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:84](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L84) +Defined in: [src/parser/types/CommandEndpoints.ts:84](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L84) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:84](https://github.com/LuanRT/ > `optional` **disablePlayerResponse**: `boolean` -Defined in: [src/parser/types/CommandEndpoints.ts:87](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L87) +Defined in: [src/parser/types/CommandEndpoints.ts:87](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L87) *** @@ -20,7 +20,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:87](https://github.com/LuanRT/ > `optional` **inputType**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:85](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L85) +Defined in: [src/parser/types/CommandEndpoints.ts:85](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L85) *** @@ -28,7 +28,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:85](https://github.com/LuanRT/ > `optional` **params**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:86](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L86) +Defined in: [src/parser/types/CommandEndpoints.ts:86](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L86) *** @@ -36,7 +36,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:86](https://github.com/LuanRT/ > `optional` **playerRequest**: `object` -Defined in: [src/parser/types/CommandEndpoints.ts:88](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L88) +Defined in: [src/parser/types/CommandEndpoints.ts:88](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L88) #### contentCheckOk? diff --git a/docs/api/type-aliases/SWSessionData.md b/docs/api/type-aliases/SWSessionData.md index b3d19dc2..5a5b5b3e 100644 --- a/docs/api/type-aliases/SWSessionData.md +++ b/docs/api/type-aliases/SWSessionData.md @@ -4,7 +4,7 @@ > **SWSessionData** = `object` -Defined in: [src/core/Session.ts:228](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L228) +Defined in: [src/core/Session.ts:234](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L234) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/core/Session.ts:228](https://github.com/LuanRT/YouTube.js/blob/ > **api\_key**: `string` -Defined in: [src/core/Session.ts:230](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L230) +Defined in: [src/core/Session.ts:236](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L236) *** @@ -20,7 +20,7 @@ Defined in: [src/core/Session.ts:230](https://github.com/LuanRT/YouTube.js/blob/ > **api\_version**: `string` -Defined in: [src/core/Session.ts:231](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L231) +Defined in: [src/core/Session.ts:237](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L237) *** @@ -28,4 +28,4 @@ Defined in: [src/core/Session.ts:231](https://github.com/LuanRT/YouTube.js/blob/ > **context\_data**: `ContextData` -Defined in: [src/core/Session.ts:229](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L229) +Defined in: [src/core/Session.ts:235](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L235) diff --git a/docs/api/type-aliases/SearchRequest.md b/docs/api/type-aliases/SearchRequest.md index 3badfed7..124be330 100644 --- a/docs/api/type-aliases/SearchRequest.md +++ b/docs/api/type-aliases/SearchRequest.md @@ -4,7 +4,7 @@ > **SearchRequest** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:117](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L117) +Defined in: [src/parser/types/CommandEndpoints.ts:117](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L117) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:117](https://github.com/LuanRT > `optional` **params**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:119](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L119) +Defined in: [src/parser/types/CommandEndpoints.ts:119](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L119) *** @@ -20,7 +20,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:119](https://github.com/LuanRT > `optional` **query**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:118](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L118) +Defined in: [src/parser/types/CommandEndpoints.ts:118](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L118) *** @@ -28,7 +28,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:118](https://github.com/LuanRT > `optional` **suggestStats**: `unknown` -Defined in: [src/parser/types/CommandEndpoints.ts:121](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L121) +Defined in: [src/parser/types/CommandEndpoints.ts:121](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L121) *** @@ -36,4 +36,4 @@ Defined in: [src/parser/types/CommandEndpoints.ts:121](https://github.com/LuanRT > `optional` **webSearchboxStatsUrl**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:120](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L120) +Defined in: [src/parser/types/CommandEndpoints.ts:120](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L120) diff --git a/docs/api/type-aliases/SessionArgs.md b/docs/api/type-aliases/SessionArgs.md index b168ec4c..4d6c8c7e 100644 --- a/docs/api/type-aliases/SessionArgs.md +++ b/docs/api/type-aliases/SessionArgs.md @@ -4,7 +4,7 @@ > **SessionArgs** = `object` -Defined in: [src/core/Session.ts:234](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L234) +Defined in: [src/core/Session.ts:240](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L240) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/core/Session.ts:234](https://github.com/LuanRT/YouTube.js/blob/ > **client\_name**: [`ClientType`](../enumerations/ClientType.md) -Defined in: [src/core/Session.ts:240](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L240) +Defined in: [src/core/Session.ts:246](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L246) *** @@ -20,7 +20,7 @@ Defined in: [src/core/Session.ts:240](https://github.com/LuanRT/YouTube.js/blob/ > **device\_category**: [`DeviceCategory`](../youtubei.js/namespaces/Utils/type-aliases/DeviceCategory.md) -Defined in: [src/core/Session.ts:239](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L239) +Defined in: [src/core/Session.ts:245](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L245) *** @@ -28,7 +28,7 @@ Defined in: [src/core/Session.ts:239](https://github.com/LuanRT/YouTube.js/blob/ > **enable\_safety\_mode**: `boolean` -Defined in: [src/core/Session.ts:241](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L241) +Defined in: [src/core/Session.ts:247](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L247) *** @@ -36,7 +36,7 @@ Defined in: [src/core/Session.ts:241](https://github.com/LuanRT/YouTube.js/blob/ > **lang**: `string` -Defined in: [src/core/Session.ts:235](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L235) +Defined in: [src/core/Session.ts:241](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L241) *** @@ -44,7 +44,7 @@ Defined in: [src/core/Session.ts:235](https://github.com/LuanRT/YouTube.js/blob/ > **location**: `string` -Defined in: [src/core/Session.ts:236](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L236) +Defined in: [src/core/Session.ts:242](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L242) *** @@ -52,7 +52,7 @@ Defined in: [src/core/Session.ts:236](https://github.com/LuanRT/YouTube.js/blob/ > **on\_behalf\_of\_user**: `string` \| `undefined` -Defined in: [src/core/Session.ts:243](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L243) +Defined in: [src/core/Session.ts:249](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L249) *** @@ -60,7 +60,7 @@ Defined in: [src/core/Session.ts:243](https://github.com/LuanRT/YouTube.js/blob/ > **time\_zone**: `string` -Defined in: [src/core/Session.ts:237](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L237) +Defined in: [src/core/Session.ts:243](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L243) *** @@ -68,7 +68,7 @@ Defined in: [src/core/Session.ts:237](https://github.com/LuanRT/YouTube.js/blob/ > **user\_agent**: `string` -Defined in: [src/core/Session.ts:238](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L238) +Defined in: [src/core/Session.ts:244](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L244) *** @@ -76,4 +76,4 @@ Defined in: [src/core/Session.ts:238](https://github.com/LuanRT/YouTube.js/blob/ > **visitor\_data**: `string` -Defined in: [src/core/Session.ts:242](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L242) +Defined in: [src/core/Session.ts:248](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L248) diff --git a/docs/api/type-aliases/SessionData.md b/docs/api/type-aliases/SessionData.md index 22ee22db..15d43504 100644 --- a/docs/api/type-aliases/SessionData.md +++ b/docs/api/type-aliases/SessionData.md @@ -4,7 +4,7 @@ > **SessionData** = `object` -Defined in: [src/core/Session.ts:217](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L217) +Defined in: [src/core/Session.ts:223](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L223) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/core/Session.ts:217](https://github.com/LuanRT/YouTube.js/blob/ > **api\_key**: `string` -Defined in: [src/core/Session.ts:219](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L219) +Defined in: [src/core/Session.ts:225](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L225) *** @@ -20,7 +20,7 @@ Defined in: [src/core/Session.ts:219](https://github.com/LuanRT/YouTube.js/blob/ > **api\_version**: `string` -Defined in: [src/core/Session.ts:220](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L220) +Defined in: [src/core/Session.ts:226](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L226) *** @@ -28,7 +28,7 @@ Defined in: [src/core/Session.ts:220](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **config\_data**: `string` -Defined in: [src/core/Session.ts:221](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L221) +Defined in: [src/core/Session.ts:227](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L227) *** @@ -36,4 +36,4 @@ Defined in: [src/core/Session.ts:221](https://github.com/LuanRT/YouTube.js/blob/ > **context**: [`Context`](Context.md) -Defined in: [src/core/Session.ts:218](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L218) +Defined in: [src/core/Session.ts:224](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L224) diff --git a/docs/api/type-aliases/SessionOptions.md b/docs/api/type-aliases/SessionOptions.md index 69066ff3..ee7cce6b 100644 --- a/docs/api/type-aliases/SessionOptions.md +++ b/docs/api/type-aliases/SessionOptions.md @@ -4,7 +4,7 @@ > **SessionOptions** = `object` -Defined in: [src/core/Session.ts:127](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L127) +Defined in: [src/core/Session.ts:128](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L128) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/core/Session.ts:127](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **account\_index**: `number` -Defined in: [src/core/Session.ts:145](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L145) +Defined in: [src/core/Session.ts:146](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L146) The account index to use. This is useful if you have multiple accounts logged in. @@ -24,7 +24,7 @@ The account index to use. This is useful if you have multiple accounts logged in > `optional` **cache**: [`ICache`](../youtubei.js/namespaces/Types/interfaces/ICache.md) -Defined in: [src/core/Session.ts:191](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L191) +Defined in: [src/core/Session.ts:197](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L197) Used to cache algorithms, session data, and OAuth2 tokens. @@ -34,7 +34,7 @@ Used to cache algorithms, session data, and OAuth2 tokens. > `optional` **client\_type**: [`ClientType`](../enumerations/ClientType.md) -Defined in: [src/core/Session.ts:183](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L183) +Defined in: [src/core/Session.ts:189](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L189) InnerTube client type. @@ -44,7 +44,7 @@ InnerTube client type. > `optional` **cookie**: `string` -Defined in: [src/core/Session.ts:195](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L195) +Defined in: [src/core/Session.ts:201](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L201) YouTube cookies. @@ -54,7 +54,7 @@ YouTube cookies. > `optional` **device\_category**: [`DeviceCategory`](../youtubei.js/namespaces/Utils/type-aliases/DeviceCategory.md) -Defined in: [src/core/Session.ts:179](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L179) +Defined in: [src/core/Session.ts:185](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L185) Platform to use for the session. @@ -64,7 +64,7 @@ Platform to use for the session. > `optional` **enable\_safety\_mode**: `boolean` -Defined in: [src/core/Session.ts:159](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L159) +Defined in: [src/core/Session.ts:160](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L160) Specifies whether to enable safety mode. This will prevent the session from loading any potentially unsafe content. @@ -74,17 +74,28 @@ Specifies whether to enable safety mode. This will prevent the session from load > `optional` **enable\_session\_cache**: `boolean` -Defined in: [src/core/Session.ts:175](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L175) +Defined in: [src/core/Session.ts:181](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L181) Specifies whether the session data should be cached. *** +### fail\_fast? + +> `optional` **fail\_fast**: `boolean` + +Defined in: [src/core/Session.ts:177](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L177) + +If set to `true`, session creation will fail if it's not possible to retrieve session data from YouTube. +If `false`, a local fallback will be used. + +*** + ### fetch? > `optional` **fetch**: [`FetchFunction`](../youtubei.js/namespaces/Types/type-aliases/FetchFunction.md) -Defined in: [src/core/Session.ts:204](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L204) +Defined in: [src/core/Session.ts:210](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L210) Fetch function to use. @@ -94,7 +105,7 @@ Fetch function to use. > `optional` **generate\_session\_locally**: `boolean` -Defined in: [src/core/Session.ts:171](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L171) +Defined in: [src/core/Session.ts:172](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L172) Specifies whether to generate the session data locally or retrieve it from YouTube. This can be useful if you need more performance. @@ -108,7 +119,7 @@ If you want to force a new session to be generated, you must clear the cache or > `optional` **lang**: `string` -Defined in: [src/core/Session.ts:131](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L131) +Defined in: [src/core/Session.ts:132](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L132) Language. @@ -118,7 +129,7 @@ Language. > `optional` **location**: `string` -Defined in: [src/core/Session.ts:135](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L135) +Defined in: [src/core/Session.ts:136](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L136) Geolocation. @@ -128,7 +139,7 @@ Geolocation. > `optional` **on\_behalf\_of\_user**: `string` -Defined in: [src/core/Session.ts:149](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L149) +Defined in: [src/core/Session.ts:150](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L150) Specify the Page ID of the YouTube profile/channel to use, if the logged-in account has multiple profiles. @@ -138,7 +149,7 @@ Specify the Page ID of the YouTube profile/channel to use, if the logged-in acco > `optional` **player\_id**: `string` -Defined in: [src/core/Session.ts:214](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L214) +Defined in: [src/core/Session.ts:220](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L220) Player ID override. In most cases, this isn't necessary; but when YouTube introduces breaking changes, @@ -150,7 +161,7 @@ forcing an older Player ID can help work around temporary issues. > `optional` **po\_token**: `string` -Defined in: [src/core/Session.ts:208](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L208) +Defined in: [src/core/Session.ts:214](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L214) Session bound Proof of Origin Token. This is an attestation token generated by BotGuard/DroidGuard. It is used to confirm that the request is coming from a real client. @@ -160,7 +171,7 @@ Session bound Proof of Origin Token. This is an attestation token generated by B > `optional` **retrieve\_innertube\_config**: `boolean` -Defined in: [src/core/Session.ts:163](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L163) +Defined in: [src/core/Session.ts:164](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L164) Specifies whether to retrieve the InnerTube config. Useful for "onesie" requests. @@ -170,7 +181,7 @@ Specifies whether to retrieve the InnerTube config. Useful for "onesie" requests > `optional` **retrieve\_player**: `boolean` -Defined in: [src/core/Session.ts:155](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L155) +Defined in: [src/core/Session.ts:156](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L156) Specifies whether to retrieve the JS player. Disabling this will make session creation faster. @@ -182,7 +193,7 @@ Specifies whether to retrieve the JS player. Disabling this will make session cr > `optional` **timezone**: `string` -Defined in: [src/core/Session.ts:187](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L187) +Defined in: [src/core/Session.ts:193](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L193) The time zone. @@ -192,7 +203,7 @@ The time zone. > `optional` **user\_agent**: `string` -Defined in: [src/core/Session.ts:139](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L139) +Defined in: [src/core/Session.ts:140](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L140) User agent (InnerTube requests only). @@ -202,7 +213,7 @@ User agent (InnerTube requests only). > `optional` **visitor\_data**: `string` -Defined in: [src/core/Session.ts:200](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/Session.ts#L200) +Defined in: [src/core/Session.ts:206](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/Session.ts#L206) Setting this to a valid and persistent visitor data string will allow YouTube to give this session tailored content even when not logged in. A good way to get a valid one is by either grabbing it from a browser or calling InnerTube's `/visitor_id` endpoint. diff --git a/docs/api/type-aliases/ShareEntityServiceRequest.md b/docs/api/type-aliases/ShareEntityServiceRequest.md index b05d73aa..e14b9adb 100644 --- a/docs/api/type-aliases/ShareEntityServiceRequest.md +++ b/docs/api/type-aliases/ShareEntityServiceRequest.md @@ -4,7 +4,7 @@ > **ShareEntityServiceRequest** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:138](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L138) +Defined in: [src/parser/types/CommandEndpoints.ts:138](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L138) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:138](https://github.com/LuanRT > `optional` **clientParams**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:140](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L140) +Defined in: [src/parser/types/CommandEndpoints.ts:140](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L140) *** @@ -20,4 +20,4 @@ Defined in: [src/parser/types/CommandEndpoints.ts:140](https://github.com/LuanRT > `optional` **serializedSharedEntity**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:139](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L139) +Defined in: [src/parser/types/CommandEndpoints.ts:139](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L139) diff --git a/docs/api/type-aliases/SubscribeRequest.md b/docs/api/type-aliases/SubscribeRequest.md index fda3f798..bf11f255 100644 --- a/docs/api/type-aliases/SubscribeRequest.md +++ b/docs/api/type-aliases/SubscribeRequest.md @@ -4,7 +4,7 @@ > **SubscribeRequest** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:124](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L124) +Defined in: [src/parser/types/CommandEndpoints.ts:124](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L124) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:124](https://github.com/LuanRT > `optional` **botguardResponse**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:128](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L128) +Defined in: [src/parser/types/CommandEndpoints.ts:128](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L128) *** @@ -20,7 +20,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:128](https://github.com/LuanRT > `optional` **channelIds**: `string`[] -Defined in: [src/parser/types/CommandEndpoints.ts:125](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L125) +Defined in: [src/parser/types/CommandEndpoints.ts:125](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L125) *** @@ -28,7 +28,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:125](https://github.com/LuanRT > `optional` **clientFeature**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:129](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L129) +Defined in: [src/parser/types/CommandEndpoints.ts:129](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L129) *** @@ -36,7 +36,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:129](https://github.com/LuanRT > `optional` **params**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:127](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L127) +Defined in: [src/parser/types/CommandEndpoints.ts:127](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L127) *** @@ -44,4 +44,4 @@ Defined in: [src/parser/types/CommandEndpoints.ts:127](https://github.com/LuanRT > `optional` **siloName**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:126](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L126) +Defined in: [src/parser/types/CommandEndpoints.ts:126](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L126) diff --git a/docs/api/type-aliases/UnsubscribeRequest.md b/docs/api/type-aliases/UnsubscribeRequest.md index caf53664..2dccfcc1 100644 --- a/docs/api/type-aliases/UnsubscribeRequest.md +++ b/docs/api/type-aliases/UnsubscribeRequest.md @@ -4,7 +4,7 @@ > **UnsubscribeRequest** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:132](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L132) +Defined in: [src/parser/types/CommandEndpoints.ts:132](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L132) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:132](https://github.com/LuanRT > `optional` **channelIds**: `string`[] -Defined in: [src/parser/types/CommandEndpoints.ts:133](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L133) +Defined in: [src/parser/types/CommandEndpoints.ts:133](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L133) *** @@ -20,7 +20,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:133](https://github.com/LuanRT > `optional` **params**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:135](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L135) +Defined in: [src/parser/types/CommandEndpoints.ts:135](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L135) *** @@ -28,4 +28,4 @@ Defined in: [src/parser/types/CommandEndpoints.ts:135](https://github.com/LuanRT > `optional` **siloName**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:134](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L134) +Defined in: [src/parser/types/CommandEndpoints.ts:134](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L134) diff --git a/docs/api/type-aliases/WatchNextRequest.md b/docs/api/type-aliases/WatchNextRequest.md index 7fba465d..b299000c 100644 --- a/docs/api/type-aliases/WatchNextRequest.md +++ b/docs/api/type-aliases/WatchNextRequest.md @@ -4,7 +4,7 @@ > **WatchNextRequest** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:75](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L75) +Defined in: [src/parser/types/CommandEndpoints.ts:75](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L75) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:75](https://github.com/LuanRT/ > `optional` **contentCheckOk**: `boolean` -Defined in: [src/parser/types/CommandEndpoints.ts:81](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L81) +Defined in: [src/parser/types/CommandEndpoints.ts:81](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L81) *** @@ -20,7 +20,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:81](https://github.com/LuanRT/ > `optional` **params**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:79](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L79) +Defined in: [src/parser/types/CommandEndpoints.ts:79](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L79) *** @@ -28,7 +28,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:79](https://github.com/LuanRT/ > `optional` **playlistId**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:77](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L77) +Defined in: [src/parser/types/CommandEndpoints.ts:77](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L77) *** @@ -36,7 +36,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:77](https://github.com/LuanRT/ > `optional` **playlistIndex**: `number` -Defined in: [src/parser/types/CommandEndpoints.ts:78](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L78) +Defined in: [src/parser/types/CommandEndpoints.ts:78](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L78) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:78](https://github.com/LuanRT/ > `optional` **racyCheckOk**: `boolean` -Defined in: [src/parser/types/CommandEndpoints.ts:80](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L80) +Defined in: [src/parser/types/CommandEndpoints.ts:80](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L80) *** @@ -52,4 +52,4 @@ Defined in: [src/parser/types/CommandEndpoints.ts:80](https://github.com/LuanRT/ > `optional` **videoId**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:76](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L76) +Defined in: [src/parser/types/CommandEndpoints.ts:76](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L76) diff --git a/docs/api/type-aliases/WatchRequest.md b/docs/api/type-aliases/WatchRequest.md index d52a62fd..60837f6c 100644 --- a/docs/api/type-aliases/WatchRequest.md +++ b/docs/api/type-aliases/WatchRequest.md @@ -4,7 +4,7 @@ > **WatchRequest** = `object` -Defined in: [src/parser/types/CommandEndpoints.ts:62](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L62) +Defined in: [src/parser/types/CommandEndpoints.ts:62](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L62) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:62](https://github.com/LuanRT/ > `optional` **contentCheckOk**: `boolean` -Defined in: [src/parser/types/CommandEndpoints.ts:70](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L70) +Defined in: [src/parser/types/CommandEndpoints.ts:70](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L70) *** @@ -20,7 +20,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:70](https://github.com/LuanRT/ > `optional` **disablePlayerResponse**: `boolean` -Defined in: [src/parser/types/CommandEndpoints.ts:71](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L71) +Defined in: [src/parser/types/CommandEndpoints.ts:71](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L71) *** @@ -28,7 +28,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:71](https://github.com/LuanRT/ > `optional` **overrideMutedAtStart**: `boolean` -Defined in: [src/parser/types/CommandEndpoints.ts:68](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L68) +Defined in: [src/parser/types/CommandEndpoints.ts:68](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L68) *** @@ -36,7 +36,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:68](https://github.com/LuanRT/ > `optional` **params**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:66](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L66) +Defined in: [src/parser/types/CommandEndpoints.ts:66](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L66) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:66](https://github.com/LuanRT/ > `optional` **playerRequest**: `Record`\<`string`, `any`\> -Defined in: [src/parser/types/CommandEndpoints.ts:72](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L72) +Defined in: [src/parser/types/CommandEndpoints.ts:72](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L72) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:72](https://github.com/LuanRT/ > `optional` **playlistId**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:64](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L64) +Defined in: [src/parser/types/CommandEndpoints.ts:64](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L64) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:64](https://github.com/LuanRT/ > `optional` **playlistIndex**: `number` -Defined in: [src/parser/types/CommandEndpoints.ts:65](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L65) +Defined in: [src/parser/types/CommandEndpoints.ts:65](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L65) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:65](https://github.com/LuanRT/ > `optional` **racyCheckOk**: `boolean` -Defined in: [src/parser/types/CommandEndpoints.ts:69](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L69) +Defined in: [src/parser/types/CommandEndpoints.ts:69](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L69) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/types/CommandEndpoints.ts:69](https://github.com/LuanRT/ > `optional` **startTimeSecs**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:67](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L67) +Defined in: [src/parser/types/CommandEndpoints.ts:67](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L67) *** @@ -84,4 +84,4 @@ Defined in: [src/parser/types/CommandEndpoints.ts:67](https://github.com/LuanRT/ > `optional` **videoId**: `string` -Defined in: [src/parser/types/CommandEndpoints.ts:63](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/types/CommandEndpoints.ts#L63) +Defined in: [src/parser/types/CommandEndpoints.ts:63](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/types/CommandEndpoints.ts#L63) diff --git a/docs/api/youtubei.js/namespaces/BinarySerializer/functions/deserialize.md b/docs/api/youtubei.js/namespaces/BinarySerializer/functions/deserialize.md index c8ad7ccd..e3483ec2 100644 --- a/docs/api/youtubei.js/namespaces/BinarySerializer/functions/deserialize.md +++ b/docs/api/youtubei.js/namespaces/BinarySerializer/functions/deserialize.md @@ -4,7 +4,7 @@ > **deserialize**\<`T`\>(`buffer`): `T` -Defined in: [src/utils/BinarySerializer.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/BinarySerializer.ts#L23) +Defined in: [src/utils/BinarySerializer.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/BinarySerializer.ts#L23) ## Type Parameters diff --git a/docs/api/youtubei.js/namespaces/BinarySerializer/functions/serialize.md b/docs/api/youtubei.js/namespaces/BinarySerializer/functions/serialize.md index a9612875..d281c408 100644 --- a/docs/api/youtubei.js/namespaces/BinarySerializer/functions/serialize.md +++ b/docs/api/youtubei.js/namespaces/BinarySerializer/functions/serialize.md @@ -4,7 +4,7 @@ > **serialize**(`data`): `ArrayBuffer` -Defined in: [src/utils/BinarySerializer.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/BinarySerializer.ts#L6) +Defined in: [src/utils/BinarySerializer.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/BinarySerializer.ts#L6) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/BinarySerializer/variables/MAGIC_HEADER.md b/docs/api/youtubei.js/namespaces/BinarySerializer/variables/MAGIC_HEADER.md index 3ba2a0ed..2acd3150 100644 --- a/docs/api/youtubei.js/namespaces/BinarySerializer/variables/MAGIC_HEADER.md +++ b/docs/api/youtubei.js/namespaces/BinarySerializer/variables/MAGIC_HEADER.md @@ -4,4 +4,4 @@ > `const` **MAGIC\_HEADER**: `5849684` = `0x594254` -Defined in: [src/utils/BinarySerializer.ts:3](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/BinarySerializer.ts#L3) +Defined in: [src/utils/BinarySerializer.ts:3](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/BinarySerializer.ts#L3) diff --git a/docs/api/youtubei.js/namespaces/BinarySerializer/variables/VERSION.md b/docs/api/youtubei.js/namespaces/BinarySerializer/variables/VERSION.md index 420e779c..caf3086e 100644 --- a/docs/api/youtubei.js/namespaces/BinarySerializer/variables/VERSION.md +++ b/docs/api/youtubei.js/namespaces/BinarySerializer/variables/VERSION.md @@ -4,4 +4,4 @@ > `const` **VERSION**: `1` = `1` -Defined in: [src/utils/BinarySerializer.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/BinarySerializer.ts#L4) +Defined in: [src/utils/BinarySerializer.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/BinarySerializer.ts#L4) diff --git a/docs/api/youtubei.js/namespaces/Clients/classes/Kids.md b/docs/api/youtubei.js/namespaces/Clients/classes/Kids.md index 59a9e362..de9b0490 100644 --- a/docs/api/youtubei.js/namespaces/Clients/classes/Kids.md +++ b/docs/api/youtubei.js/namespaces/Clients/classes/Kids.md @@ -2,7 +2,7 @@ # Class: Kids -Defined in: [src/core/clients/Kids.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Kids.ts#L9) +Defined in: [src/core/clients/Kids.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Kids.ts#L9) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/core/clients/Kids.ts:9](https://github.com/LuanRT/YouTube.js/bl > **new Kids**(`session`): `Kids` -Defined in: [src/core/clients/Kids.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Kids.ts#L12) +Defined in: [src/core/clients/Kids.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Kids.ts#L12) #### Parameters @@ -28,7 +28,7 @@ Defined in: [src/core/clients/Kids.ts:12](https://github.com/LuanRT/YouTube.js/b > **blockChannel**(`channel_id`): `Promise`\<[`ApiResponse`](../../../../interfaces/ApiResponse.md)[]\> -Defined in: [src/core/clients/Kids.ts:79](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Kids.ts#L79) +Defined in: [src/core/clients/Kids.ts:79](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Kids.ts#L79) Retrieves the list of supervised accounts that the signed-in user has access to, and blocks the given channel for each of them. @@ -53,7 +53,7 @@ A list of API responses. > **getChannel**(`channel_id`): `Promise`\<[`Channel`](../../YTKids/classes/Channel.md)\> -Defined in: [src/core/clients/Kids.ts:61](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Kids.ts#L61) +Defined in: [src/core/clients/Kids.ts:61](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Kids.ts#L61) #### Parameters @@ -71,7 +71,7 @@ Defined in: [src/core/clients/Kids.ts:61](https://github.com/LuanRT/YouTube.js/b > **getHomeFeed**(): `Promise`\<[`HomeFeed`](../../YTKids/classes/HomeFeed.md)\> -Defined in: [src/core/clients/Kids.ts:67](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Kids.ts#L67) +Defined in: [src/core/clients/Kids.ts:67](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Kids.ts#L67) #### Returns @@ -83,7 +83,7 @@ Defined in: [src/core/clients/Kids.ts:67](https://github.com/LuanRT/YouTube.js/b > **getInfo**(`video_id`, `options?`): `Promise`\<[`VideoInfo`](../../YTKids/classes/VideoInfo.md)\> -Defined in: [src/core/clients/Kids.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Kids.ts#L22) +Defined in: [src/core/clients/Kids.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Kids.ts#L22) #### Parameters @@ -105,7 +105,7 @@ Defined in: [src/core/clients/Kids.ts:22](https://github.com/LuanRT/YouTube.js/b > **search**(`query`): `Promise`\<[`Search`](../../YTKids/classes/Search.md)\> -Defined in: [src/core/clients/Kids.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Kids.ts#L16) +Defined in: [src/core/clients/Kids.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Kids.ts#L16) #### Parameters diff --git a/docs/api/youtubei.js/namespaces/Clients/classes/Music.md b/docs/api/youtubei.js/namespaces/Clients/classes/Music.md index d3901ce2..23fa78d8 100644 --- a/docs/api/youtubei.js/namespaces/Clients/classes/Music.md +++ b/docs/api/youtubei.js/namespaces/Clients/classes/Music.md @@ -2,7 +2,7 @@ # Class: Music -Defined in: [src/core/clients/Music.ts:33](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Music.ts#L33) +Defined in: [src/core/clients/Music.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Music.ts#L33) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/core/clients/Music.ts:33](https://github.com/LuanRT/YouTube.js/ > **new Music**(`session`): `Music` -Defined in: [src/core/clients/Music.ts:37](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Music.ts#L37) +Defined in: [src/core/clients/Music.ts:37](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Music.ts#L37) #### Parameters @@ -28,7 +28,7 @@ Defined in: [src/core/clients/Music.ts:37](https://github.com/LuanRT/YouTube.js/ > **getAlbum**(`album_id`): `Promise`\<[`Album`](../../YTMusic/classes/Album.md)\> -Defined in: [src/core/clients/Music.ts:186](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Music.ts#L186) +Defined in: [src/core/clients/Music.ts:186](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Music.ts#L186) #### Parameters @@ -46,7 +46,7 @@ Defined in: [src/core/clients/Music.ts:186](https://github.com/LuanRT/YouTube.js > **getArtist**(`artist_id`): `Promise`\<[`Artist`](../../YTMusic/classes/Artist.md)\> -Defined in: [src/core/clients/Music.ts:176](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Music.ts#L176) +Defined in: [src/core/clients/Music.ts:176](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Music.ts#L176) #### Parameters @@ -64,7 +64,7 @@ Defined in: [src/core/clients/Music.ts:176](https://github.com/LuanRT/YouTube.js > **getExplore**(): `Promise`\<[`Explore`](../../YTMusic/classes/Explore.md)\> -Defined in: [src/core/clients/Music.ts:163](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Music.ts#L163) +Defined in: [src/core/clients/Music.ts:163](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Music.ts#L163) #### Returns @@ -76,7 +76,7 @@ Defined in: [src/core/clients/Music.ts:163](https://github.com/LuanRT/YouTube.js > **getHomeFeed**(): `Promise`\<[`HomeFeed`](../../YTMusic/classes/HomeFeed.md)\> -Defined in: [src/core/clients/Music.ts:157](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Music.ts#L157) +Defined in: [src/core/clients/Music.ts:157](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Music.ts#L157) #### Returns @@ -88,7 +88,7 @@ Defined in: [src/core/clients/Music.ts:157](https://github.com/LuanRT/YouTube.js > **getInfo**(`target`, `options?`): `Promise`\<[`TrackInfo`](../../YTMusic/classes/TrackInfo.md)\> -Defined in: [src/core/clients/Music.ts:47](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Music.ts#L47) +Defined in: [src/core/clients/Music.ts:47](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Music.ts#L47) Retrieves track info. Passing a list item of type MusicTwoRowItem automatically starts a radio. @@ -116,7 +116,7 @@ Options for fetching video info. > **getLibrary**(): `Promise`\<[`Library`](../../YTMusic/classes/Library.md)\> -Defined in: [src/core/clients/Music.ts:170](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Music.ts#L170) +Defined in: [src/core/clients/Music.ts:170](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Music.ts#L170) #### Returns @@ -128,7 +128,7 @@ Defined in: [src/core/clients/Music.ts:170](https://github.com/LuanRT/YouTube.js > **getLyrics**(`video_id`): `Promise`\<[`MusicDescriptionShelf`](../../YTNodes/classes/MusicDescriptionShelf.md) \| `undefined`\> -Defined in: [src/core/clients/Music.ts:267](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Music.ts#L267) +Defined in: [src/core/clients/Music.ts:267](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Music.ts#L267) #### Parameters @@ -146,7 +146,7 @@ Defined in: [src/core/clients/Music.ts:267](https://github.com/LuanRT/YouTube.js > **getPlaylist**(`playlist_id`): `Promise`\<[`Playlist`](../../YTMusic/classes/Playlist.md)\> -Defined in: [src/core/clients/Music.ts:196](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Music.ts#L196) +Defined in: [src/core/clients/Music.ts:196](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Music.ts#L196) #### Parameters @@ -164,7 +164,7 @@ Defined in: [src/core/clients/Music.ts:196](https://github.com/LuanRT/YouTube.js > **getRecap**(): `Promise`\<[`Recap`](../../YTMusic/classes/Recap.md)\> -Defined in: [src/core/clients/Music.ts:293](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Music.ts#L293) +Defined in: [src/core/clients/Music.ts:293](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Music.ts#L293) #### Returns @@ -176,7 +176,7 @@ Defined in: [src/core/clients/Music.ts:293](https://github.com/LuanRT/YouTube.js > **getRelated**(`video_id`): `Promise`\<[`SectionList`](../../YTNodes/classes/SectionList.md) \| [`Message`](../../YTNodes/classes/Message.md)\> -Defined in: [src/core/clients/Music.ts:246](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Music.ts#L246) +Defined in: [src/core/clients/Music.ts:246](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Music.ts#L246) #### Parameters @@ -194,7 +194,7 @@ Defined in: [src/core/clients/Music.ts:246](https://github.com/LuanRT/YouTube.js > **getSearchSuggestions**(`input`): `Promise`\<[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`SearchSuggestionsSection`](../../YTNodes/classes/SearchSuggestionsSection.md)\>\> -Defined in: [src/core/clients/Music.ts:299](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Music.ts#L299) +Defined in: [src/core/clients/Music.ts:299](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Music.ts#L299) #### Parameters @@ -210,9 +210,9 @@ Defined in: [src/core/clients/Music.ts:299](https://github.com/LuanRT/YouTube.js ### getUpNext() -> **getUpNext**(`video_id`, `automix`): `Promise`\<[`PlaylistPanel`](../../YTNodes/classes/PlaylistPanel.md)\> +> **getUpNext**(`video_id`, `automix?`): `Promise`\<[`PlaylistPanel`](../../YTNodes/classes/PlaylistPanel.md)\> -Defined in: [src/core/clients/Music.ts:206](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Music.ts#L206) +Defined in: [src/core/clients/Music.ts:206](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Music.ts#L206) #### Parameters @@ -220,7 +220,7 @@ Defined in: [src/core/clients/Music.ts:206](https://github.com/LuanRT/YouTube.js `string` -##### automix +##### automix? `boolean` = `true` @@ -232,9 +232,9 @@ Defined in: [src/core/clients/Music.ts:206](https://github.com/LuanRT/YouTube.js ### search() -> **search**(`query`, `filters`): `Promise`\<[`Search`](../../YTMusic/classes/Search.md)\> +> **search**(`query`, `filters?`): `Promise`\<[`Search`](../../YTMusic/classes/Search.md)\> -Defined in: [src/core/clients/Music.ts:135](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Music.ts#L135) +Defined in: [src/core/clients/Music.ts:135](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Music.ts#L135) #### Parameters @@ -242,7 +242,7 @@ Defined in: [src/core/clients/Music.ts:135](https://github.com/LuanRT/YouTube.js `string` -##### filters +##### filters? [`MusicSearchFilters`](../../Types/type-aliases/MusicSearchFilters.md) = `{}` diff --git a/docs/api/youtubei.js/namespaces/Clients/classes/Studio.md b/docs/api/youtubei.js/namespaces/Clients/classes/Studio.md index 81e10040..4d449def 100644 --- a/docs/api/youtubei.js/namespaces/Clients/classes/Studio.md +++ b/docs/api/youtubei.js/namespaces/Clients/classes/Studio.md @@ -2,7 +2,7 @@ # Class: Studio -Defined in: [src/core/clients/Studio.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Studio.ts#L22) +Defined in: [src/core/clients/Studio.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Studio.ts#L22) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/core/clients/Studio.ts:22](https://github.com/LuanRT/YouTube.js > **new Studio**(`session`): `Studio` -Defined in: [src/core/clients/Studio.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Studio.ts#L25) +Defined in: [src/core/clients/Studio.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Studio.ts#L25) #### Parameters @@ -28,7 +28,7 @@ Defined in: [src/core/clients/Studio.ts:25](https://github.com/LuanRT/YouTube.js > **updateVideoMetadata**(`video_id`, `metadata`): `Promise`\<[`ApiResponse`](../../../../interfaces/ApiResponse.md)\> -Defined in: [src/core/clients/Studio.ts:47](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Studio.ts#L47) +Defined in: [src/core/clients/Studio.ts:47](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Studio.ts#L47) Updates the metadata of a video. @@ -67,9 +67,9 @@ const response = await yt.studio.updateVideoMetadata(videoId, { ### upload() -> **upload**(`file`, `metadata`): `Promise`\<[`ApiResponse`](../../../../interfaces/ApiResponse.md)\> +> **upload**(`file`, `metadata?`): `Promise`\<[`ApiResponse`](../../../../interfaces/ApiResponse.md)\> -Defined in: [src/core/clients/Studio.ts:150](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/clients/Studio.ts#L150) +Defined in: [src/core/clients/Studio.ts:150](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/clients/Studio.ts#L150) Uploads a video to YouTube. @@ -79,7 +79,7 @@ Uploads a video to YouTube. `BodyInit` -##### metadata +##### metadata? [`UploadedVideoMetadataOptions`](../../Types/type-aliases/UploadedVideoMetadataOptions.md) = `{}` diff --git a/docs/api/youtubei.js/namespaces/Constants/variables/CLIENTS.md b/docs/api/youtubei.js/namespaces/Constants/variables/CLIENTS.md index a0ba003c..13033fb2 100644 --- a/docs/api/youtubei.js/namespaces/Constants/variables/CLIENTS.md +++ b/docs/api/youtubei.js/namespaces/Constants/variables/CLIENTS.md @@ -4,7 +4,7 @@ > `const` **CLIENTS**: `object` -Defined in: [src/utils/Constants.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Constants.ts#L25) +Defined in: [src/utils/Constants.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Constants.ts#L25) ## Type Declaration @@ -18,15 +18,43 @@ Defined in: [src/utils/Constants.ts:25](https://github.com/LuanRT/YouTube.js/blo #### ANDROID.SDK\_VERSION -> `readonly` **SDK\_VERSION**: `33` = `33` +> `readonly` **SDK\_VERSION**: `36` = `36` #### ANDROID.USER\_AGENT -> `readonly` **USER\_AGENT**: `"com.google.android.youtube/19.35.36(Linux; U; Android 13; en_US; SM-S908E Build/TP1A.220624.014) gzip"` = `'com.google.android.youtube/19.35.36(Linux; U; Android 13; en_US; SM-S908E Build/TP1A.220624.014) gzip'` +> `readonly` **USER\_AGENT**: `"com.google.android.youtube/21.03.36(Linux; U; Android 16; en_US; SM-S908E Build/TP1A.220624.014) gzip"` = `'com.google.android.youtube/21.03.36(Linux; U; Android 16; en_US; SM-S908E Build/TP1A.220624.014) gzip'` #### ANDROID.VERSION -> `readonly` **VERSION**: `"19.35.36"` = `'19.35.36'` +> `readonly` **VERSION**: `"21.03.36"` = `'21.03.36'` + +### ANDROID\_VR + +> `readonly` **ANDROID\_VR**: `object` + +#### ANDROID\_VR.DEVICE\_MAKE + +> `readonly` **DEVICE\_MAKE**: `"Oculus"` = `'Oculus'` + +#### ANDROID\_VR.DEVICE\_MODEL + +> `readonly` **DEVICE\_MODEL**: `"Quest 3"` = `'Quest 3'` + +#### ANDROID\_VR.NAME + +> `readonly` **NAME**: `"ANDROID_VR"` = `'ANDROID_VR'` + +#### ANDROID\_VR.SDK\_VERSION + +> `readonly` **SDK\_VERSION**: `32` = `32` + +#### ANDROID\_VR.USER\_AGENT + +> `readonly` **USER\_AGENT**: `"com.google.android.apps.youtube.vr.oculus/1.65.10 (Linux; U; Android 12L; eureka-user Build/SQ3A.220605.009.A1) gzip"` = `'com.google.android.apps.youtube.vr.oculus/1.65.10 (Linux; U; Android 12L; eureka-user Build/SQ3A.220605.009.A1) gzip'` + +#### ANDROID\_VR.VERSION + +> `readonly` **VERSION**: `"1.65.10"` = `'1.65.10'` ### IOS @@ -70,7 +98,7 @@ Defined in: [src/utils/Constants.ts:25](https://github.com/LuanRT/YouTube.js/blo #### MWEB.VERSION -> `readonly` **VERSION**: `"2.20250224.01.00"` = `'2.20250224.01.00'` +> `readonly` **VERSION**: `"2.20260205.04.01"` = `'2.20260205.04.01'` ### TV @@ -86,7 +114,7 @@ Defined in: [src/utils/Constants.ts:25](https://github.com/LuanRT/YouTube.js/blo #### TV.VERSION -> `readonly` **VERSION**: `"7.20250219.14.00"` = `'7.20250219.14.00'` +> `readonly` **VERSION**: `"7.20260311.12.00"` = `'7.20260311.12.00'` ### TV\_EMBEDDED @@ -138,7 +166,7 @@ Defined in: [src/utils/Constants.ts:25](https://github.com/LuanRT/YouTube.js/blo #### WEB.VERSION -> `readonly` **VERSION**: `"2.20250222.10.00"` = `'2.20250222.10.00'` +> `readonly` **VERSION**: `"2.20260206.01.00"` = `'2.20260206.01.00'` ### WEB\_CREATOR @@ -186,7 +214,7 @@ Defined in: [src/utils/Constants.ts:25](https://github.com/LuanRT/YouTube.js/blo #### WEB\_EMBEDDED.VERSION -> `readonly` **VERSION**: `"1.20250219.01.00"` = `'1.20250219.01.00'` +> `readonly` **VERSION**: `"1.20260206.01.00"` = `'1.20260206.01.00'` ### WEB\_KIDS @@ -198,7 +226,7 @@ Defined in: [src/utils/Constants.ts:25](https://github.com/LuanRT/YouTube.js/blo #### WEB\_KIDS.VERSION -> `readonly` **VERSION**: `"2.20250221.11.00"` = `'2.20250221.11.00'` +> `readonly` **VERSION**: `"2.20260205.00.00"` = `'2.20260205.00.00'` ### YTMUSIC diff --git a/docs/api/youtubei.js/namespaces/Constants/variables/CLIENT_NAME_IDS.md b/docs/api/youtubei.js/namespaces/Constants/variables/CLIENT_NAME_IDS.md index a13a44d1..2973a9cc 100644 --- a/docs/api/youtubei.js/namespaces/Constants/variables/CLIENT_NAME_IDS.md +++ b/docs/api/youtubei.js/namespaces/Constants/variables/CLIENT_NAME_IDS.md @@ -4,7 +4,7 @@ > `const` **CLIENT\_NAME\_IDS**: `object` -Defined in: [src/utils/Constants.ts:100](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Constants.ts#L100) +Defined in: [src/utils/Constants.ts:108](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Constants.ts#L108) The keys correspond to the `NAME` fields in [`CLIENTS`](CLIENTS.md) constant @@ -22,6 +22,10 @@ The keys correspond to the `NAME` fields in [`CLIENTS`](CLIENTS.md) constant > `readonly` **ANDROID\_MUSIC**: `"21"` = `'21'` +### ANDROID\_VR + +> `readonly` **ANDROID\_VR**: `"28"` = `'28'` + ### iOS > `readonly` **iOS**: `"5"` = `'5'` diff --git a/docs/api/youtubei.js/namespaces/Constants/variables/INNERTUBE_HEADERS_BASE.md b/docs/api/youtubei.js/namespaces/Constants/variables/INNERTUBE_HEADERS_BASE.md index c6322c68..7a5f4111 100644 --- a/docs/api/youtubei.js/namespaces/Constants/variables/INNERTUBE_HEADERS_BASE.md +++ b/docs/api/youtubei.js/namespaces/Constants/variables/INNERTUBE_HEADERS_BASE.md @@ -4,7 +4,7 @@ > `const` **INNERTUBE\_HEADERS\_BASE**: `object` -Defined in: [src/utils/Constants.ts:121](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Constants.ts#L121) +Defined in: [src/utils/Constants.ts:130](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Constants.ts#L130) ## Type Declaration diff --git a/docs/api/youtubei.js/namespaces/Constants/variables/OAUTH.md b/docs/api/youtubei.js/namespaces/Constants/variables/OAUTH.md index c2d141f2..de51b499 100644 --- a/docs/api/youtubei.js/namespaces/Constants/variables/OAUTH.md +++ b/docs/api/youtubei.js/namespaces/Constants/variables/OAUTH.md @@ -4,7 +4,7 @@ > `const` **OAUTH**: `object` -Defined in: [src/utils/Constants.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Constants.ts#L19) +Defined in: [src/utils/Constants.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Constants.ts#L19) ## Type Declaration diff --git a/docs/api/youtubei.js/namespaces/Constants/variables/STREAM_HEADERS.md b/docs/api/youtubei.js/namespaces/Constants/variables/STREAM_HEADERS.md index b4f47d87..5d8e8f3b 100644 --- a/docs/api/youtubei.js/namespaces/Constants/variables/STREAM_HEADERS.md +++ b/docs/api/youtubei.js/namespaces/Constants/variables/STREAM_HEADERS.md @@ -4,7 +4,7 @@ > `const` **STREAM\_HEADERS**: `object` -Defined in: [src/utils/Constants.ts:115](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Constants.ts#L115) +Defined in: [src/utils/Constants.ts:124](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Constants.ts#L124) ## Type Declaration diff --git a/docs/api/youtubei.js/namespaces/Constants/variables/SUPPORTED_CLIENTS.md b/docs/api/youtubei.js/namespaces/Constants/variables/SUPPORTED_CLIENTS.md index 9c09a7f6..27a8c503 100644 --- a/docs/api/youtubei.js/namespaces/Constants/variables/SUPPORTED_CLIENTS.md +++ b/docs/api/youtubei.js/namespaces/Constants/variables/SUPPORTED_CLIENTS.md @@ -4,4 +4,4 @@ > `const` **SUPPORTED\_CLIENTS**: `string`[] -Defined in: [src/utils/Constants.ts:127](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Constants.ts#L127) +Defined in: [src/utils/Constants.ts:136](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Constants.ts#L136) diff --git a/docs/api/youtubei.js/namespaces/Constants/variables/URLS.md b/docs/api/youtubei.js/namespaces/Constants/variables/URLS.md index 0d53eec9..08887b61 100644 --- a/docs/api/youtubei.js/namespaces/Constants/variables/URLS.md +++ b/docs/api/youtubei.js/namespaces/Constants/variables/URLS.md @@ -4,7 +4,7 @@ > `const` **URLS**: `object` -Defined in: [src/utils/Constants.ts:2](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Constants.ts#L2) +Defined in: [src/utils/Constants.ts:2](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Constants.ts#L2) ## Type Declaration diff --git a/docs/api/youtubei.js/namespaces/FormatUtils/functions/chooseFormat.md b/docs/api/youtubei.js/namespaces/FormatUtils/functions/chooseFormat.md index e2d1db6c..85b60fc4 100644 --- a/docs/api/youtubei.js/namespaces/FormatUtils/functions/chooseFormat.md +++ b/docs/api/youtubei.js/namespaces/FormatUtils/functions/chooseFormat.md @@ -4,7 +4,7 @@ > **chooseFormat**(`options`, `streaming_data?`): [`Format`](../../Misc/classes/Format.md) -Defined in: [src/utils/FormatUtils.ts:138](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/FormatUtils.ts#L138) +Defined in: [src/utils/FormatUtils.ts:138](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/FormatUtils.ts#L138) Selects the format that best matches the given options. diff --git a/docs/api/youtubei.js/namespaces/FormatUtils/functions/download.md b/docs/api/youtubei.js/namespaces/FormatUtils/functions/download.md index 88a93c78..0a8710c9 100644 --- a/docs/api/youtubei.js/namespaces/FormatUtils/functions/download.md +++ b/docs/api/youtubei.js/namespaces/FormatUtils/functions/download.md @@ -2,9 +2,9 @@ # Function: download() -> **download**(`options`, `actions`, `playability_status?`, `streaming_data?`, `player?`, `cpn?`): `Promise`\<`ReadableStream`\<`Uint8Array`\>\> +> **download**(`options`, `actions`, `playability_status?`, `streaming_data?`, `player?`, `cpn?`): `Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\> -Defined in: [src/utils/FormatUtils.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/FormatUtils.ts#L10) +Defined in: [src/utils/FormatUtils.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/FormatUtils.ts#L10) ## Parameters @@ -34,4 +34,4 @@ Defined in: [src/utils/FormatUtils.ts:10](https://github.com/LuanRT/YouTube.js/b ## Returns -`Promise`\<`ReadableStream`\<`Uint8Array`\>\> +`Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\> diff --git a/docs/api/youtubei.js/namespaces/FormatUtils/functions/toDash.md b/docs/api/youtubei.js/namespaces/FormatUtils/functions/toDash.md index b41d277c..cb7d26ee 100644 --- a/docs/api/youtubei.js/namespaces/FormatUtils/functions/toDash.md +++ b/docs/api/youtubei.js/namespaces/FormatUtils/functions/toDash.md @@ -4,7 +4,7 @@ > **toDash**(`streaming_data?`, `is_post_live_dvr?`, `url_transformer?`, `format_filter?`, `cpn?`, `player?`, `actions?`, `storyboards?`, `caption_tracks?`, `options?`): `Promise`\<`string`\> -Defined in: [src/utils/DashManifest.tsx:290](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/DashManifest.tsx#L290) +Defined in: [src/utils/DashManifest.tsx:290](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/DashManifest.tsx#L290) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/Generator/functions/camelToSnake.md b/docs/api/youtubei.js/namespaces/Generator/functions/camelToSnake.md index 1cc6801e..b950e7a3 100644 --- a/docs/api/youtubei.js/namespaces/Generator/functions/camelToSnake.md +++ b/docs/api/youtubei.js/namespaces/Generator/functions/camelToSnake.md @@ -4,7 +4,7 @@ > **camelToSnake**(`str`): `string` -Defined in: [src/parser/generator.ts:82](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L82) +Defined in: [src/parser/generator.ts:82](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L82) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/Generator/functions/createRuntimeClass.md b/docs/api/youtubei.js/namespaces/Generator/functions/createRuntimeClass.md index 70ee3ddb..e4e8482e 100644 --- a/docs/api/youtubei.js/namespaces/Generator/functions/createRuntimeClass.md +++ b/docs/api/youtubei.js/namespaces/Generator/functions/createRuntimeClass.md @@ -4,7 +4,7 @@ > **createRuntimeClass**(`classname`, `key_info`, `logger`): [`YTNodeConstructor`](../../Helpers/interfaces/YTNodeConstructor.md) -Defined in: [src/parser/generator.ts:411](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L411) +Defined in: [src/parser/generator.ts:411](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L411) Given a classname and its resolved key info, create a new class diff --git a/docs/api/youtubei.js/namespaces/Generator/functions/generateRuntimeClass.md b/docs/api/youtubei.js/namespaces/Generator/functions/generateRuntimeClass.md index dc9df47b..e6c4b083 100644 --- a/docs/api/youtubei.js/namespaces/Generator/functions/generateRuntimeClass.md +++ b/docs/api/youtubei.js/namespaces/Generator/functions/generateRuntimeClass.md @@ -4,7 +4,7 @@ > **generateRuntimeClass**(`classname`, `classdata`, `logger`): [`YTNodeConstructor`](../../Helpers/interfaces/YTNodeConstructor.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/generator.ts:474](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L474) +Defined in: [src/parser/generator.ts:474](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L474) Given example data for a class, introspect, implement dependencies, and create a new class diff --git a/docs/api/youtubei.js/namespaces/Generator/functions/generateTypescriptClass.md b/docs/api/youtubei.js/namespaces/Generator/functions/generateTypescriptClass.md index 1039a18b..e2fcaa9b 100644 --- a/docs/api/youtubei.js/namespaces/Generator/functions/generateTypescriptClass.md +++ b/docs/api/youtubei.js/namespaces/Generator/functions/generateTypescriptClass.md @@ -4,7 +4,7 @@ > **generateTypescriptClass**(`classname`, `key_info`): `string` -Defined in: [src/parser/generator.ts:495](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L495) +Defined in: [src/parser/generator.ts:495](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L495) Generate a typescript class based on the key info diff --git a/docs/api/youtubei.js/namespaces/Generator/functions/inferType.md b/docs/api/youtubei.js/namespaces/Generator/functions/inferType.md index 94dd6af3..778b343e 100644 --- a/docs/api/youtubei.js/namespaces/Generator/functions/inferType.md +++ b/docs/api/youtubei.js/namespaces/Generator/functions/inferType.md @@ -4,7 +4,7 @@ > **inferType**(`key`, `value`): [`InferenceType`](../type-aliases/InferenceType.md) -Defined in: [src/parser/generator.ts:92](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L92) +Defined in: [src/parser/generator.ts:92](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L92) Infer the type of key given its value diff --git a/docs/api/youtubei.js/namespaces/Generator/functions/introspect.md b/docs/api/youtubei.js/namespaces/Generator/functions/introspect.md index f840208b..efa40e26 100644 --- a/docs/api/youtubei.js/namespaces/Generator/functions/introspect.md +++ b/docs/api/youtubei.js/namespaces/Generator/functions/introspect.md @@ -4,7 +4,7 @@ > **introspect**(`classdata`): `object` -Defined in: [src/parser/generator.ts:376](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L376) +Defined in: [src/parser/generator.ts:376](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L376) Introspect an example of a class in order to determine its key info and dependencies diff --git a/docs/api/youtubei.js/namespaces/Generator/functions/isArrayType.md b/docs/api/youtubei.js/namespaces/Generator/functions/isArrayType.md index 6f5b3e2d..c5a2cb43 100644 --- a/docs/api/youtubei.js/namespaces/Generator/functions/isArrayType.md +++ b/docs/api/youtubei.js/namespaces/Generator/functions/isArrayType.md @@ -4,7 +4,7 @@ > **isArrayType**(`value`): `false` \| [`ArrayInferenceType`](../type-aliases/ArrayInferenceType.md) -Defined in: [src/parser/generator.ts:222](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L222) +Defined in: [src/parser/generator.ts:222](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L222) Checks if the given value is an array diff --git a/docs/api/youtubei.js/namespaces/Generator/functions/isIgnoredKey.md b/docs/api/youtubei.js/namespaces/Generator/functions/isIgnoredKey.md index d5ef70d5..654ef629 100644 --- a/docs/api/youtubei.js/namespaces/Generator/functions/isIgnoredKey.md +++ b/docs/api/youtubei.js/namespaces/Generator/functions/isIgnoredKey.md @@ -4,7 +4,7 @@ > **isIgnoredKey**(`key`): `boolean` -Defined in: [src/parser/generator.ts:400](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L400) +Defined in: [src/parser/generator.ts:400](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L400) Is this key ignored by the parser? diff --git a/docs/api/youtubei.js/namespaces/Generator/functions/isMiscType.md b/docs/api/youtubei.js/namespaces/Generator/functions/isMiscType.md index b8f3044a..278dfa14 100644 --- a/docs/api/youtubei.js/namespaces/Generator/functions/isMiscType.md +++ b/docs/api/youtubei.js/namespaces/Generator/functions/isMiscType.md @@ -4,7 +4,7 @@ > **isMiscType**(`key`, `value`): `false` \| [`MiscInferenceType`](../type-aliases/MiscInferenceType.md) -Defined in: [src/parser/generator.ts:163](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L163) +Defined in: [src/parser/generator.ts:163](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L163) Check if the given value is a misc type. diff --git a/docs/api/youtubei.js/namespaces/Generator/functions/isRenderer.md b/docs/api/youtubei.js/namespaces/Generator/functions/isRenderer.md index 81def475..44955efd 100644 --- a/docs/api/youtubei.js/namespaces/Generator/functions/isRenderer.md +++ b/docs/api/youtubei.js/namespaces/Generator/functions/isRenderer.md @@ -4,7 +4,7 @@ > **isRenderer**(`value`): `string` \| `false` -Defined in: [src/parser/generator.ts:202](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L202) +Defined in: [src/parser/generator.ts:202](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L202) Check if the given value is a renderer diff --git a/docs/api/youtubei.js/namespaces/Generator/functions/isRendererList.md b/docs/api/youtubei.js/namespaces/Generator/functions/isRendererList.md index 613e51e4..d4e70847 100644 --- a/docs/api/youtubei.js/namespaces/Generator/functions/isRendererList.md +++ b/docs/api/youtubei.js/namespaces/Generator/functions/isRendererList.md @@ -4,7 +4,7 @@ > **isRendererList**(`value`): `false` \| \{\[`k`: `string`\]: `any`; \} -Defined in: [src/parser/generator.ts:141](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L141) +Defined in: [src/parser/generator.ts:141](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L141) Checks if the given value is an array of renderers diff --git a/docs/api/youtubei.js/namespaces/Generator/functions/mergeKeyInfo.md b/docs/api/youtubei.js/namespaces/Generator/functions/mergeKeyInfo.md index 2105820d..e79f8c69 100644 --- a/docs/api/youtubei.js/namespaces/Generator/functions/mergeKeyInfo.md +++ b/docs/api/youtubei.js/namespaces/Generator/functions/mergeKeyInfo.md @@ -4,7 +4,7 @@ > **mergeKeyInfo**(`key_info`, `new_key_info`): `object` -Defined in: [src/parser/generator.ts:734](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L734) +Defined in: [src/parser/generator.ts:734](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L734) Merges two sets of key info, resolving any conflicts diff --git a/docs/api/youtubei.js/namespaces/Generator/functions/parse.md b/docs/api/youtubei.js/namespaces/Generator/functions/parse.md index ba0f7cc7..f80aeac4 100644 --- a/docs/api/youtubei.js/namespaces/Generator/functions/parse.md +++ b/docs/api/youtubei.js/namespaces/Generator/functions/parse.md @@ -2,9 +2,9 @@ # Function: parse() -> **parse**(`key`, `inference_type`, `data`, `key_path`): `any` +> **parse**(`key`, `inference_type`, `data`, `key_path?`): `any` -Defined in: [src/parser/generator.ts:681](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L681) +Defined in: [src/parser/generator.ts:681](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L681) Parse a value from a given key path using the given inference type @@ -28,7 +28,7 @@ The inference type to parse The data to parse from -### key\_path +### key\_path? `string`[] = `...` diff --git a/docs/api/youtubei.js/namespaces/Generator/functions/toParser.md b/docs/api/youtubei.js/namespaces/Generator/functions/toParser.md index f1821cca..f8765753 100644 --- a/docs/api/youtubei.js/namespaces/Generator/functions/toParser.md +++ b/docs/api/youtubei.js/namespaces/Generator/functions/toParser.md @@ -2,9 +2,9 @@ # Function: toParser() -> **toParser**(`key`, `inference_type`, `key_path`, `indentation`): `string` +> **toParser**(`key`, `inference_type`, `key_path?`, `indentation?`): `string` -Defined in: [src/parser/generator.ts:578](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L578) +Defined in: [src/parser/generator.ts:578](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L578) Generate statements to parse a given inference type @@ -22,13 +22,13 @@ The key to parse The inference type to parse -### key\_path +### key\_path? `string`[] = `...` The path to the key (excluding the key itself) -### indentation +### indentation? `number` = `1` diff --git a/docs/api/youtubei.js/namespaces/Generator/functions/toTypeDeclaration.md b/docs/api/youtubei.js/namespaces/Generator/functions/toTypeDeclaration.md index 708835c6..ccb5537b 100644 --- a/docs/api/youtubei.js/namespaces/Generator/functions/toTypeDeclaration.md +++ b/docs/api/youtubei.js/namespaces/Generator/functions/toTypeDeclaration.md @@ -2,9 +2,9 @@ # Function: toTypeDeclaration() -> **toTypeDeclaration**(`inference_type`, `indentation`): `string` +> **toTypeDeclaration**(`inference_type`, `indentation?`): `string` -Defined in: [src/parser/generator.ts:520](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L520) +Defined in: [src/parser/generator.ts:520](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L520) For a given inference type, get the typescript type declaration @@ -16,7 +16,7 @@ For a given inference type, get the typescript type declaration The inference type to get the declaration for -### indentation +### indentation? `number` = `0` diff --git a/docs/api/youtubei.js/namespaces/Generator/interfaces/ObjectInferenceType.md b/docs/api/youtubei.js/namespaces/Generator/interfaces/ObjectInferenceType.md index 5a1b212d..a6cab983 100644 --- a/docs/api/youtubei.js/namespaces/Generator/interfaces/ObjectInferenceType.md +++ b/docs/api/youtubei.js/namespaces/Generator/interfaces/ObjectInferenceType.md @@ -2,7 +2,7 @@ # Interface: ObjectInferenceType -Defined in: [src/parser/generator.ts:37](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L37) +Defined in: [src/parser/generator.ts:37](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L37) ## Properties @@ -10,7 +10,7 @@ Defined in: [src/parser/generator.ts:37](https://github.com/LuanRT/YouTube.js/bl > **keys**: [`KeyInfo`](../type-aliases/KeyInfo.md) -Defined in: [src/parser/generator.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L39) +Defined in: [src/parser/generator.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L39) *** @@ -18,7 +18,7 @@ Defined in: [src/parser/generator.ts:39](https://github.com/LuanRT/YouTube.js/bl > **optional**: `boolean` -Defined in: [src/parser/generator.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L40) +Defined in: [src/parser/generator.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L40) *** @@ -26,4 +26,4 @@ Defined in: [src/parser/generator.ts:40](https://github.com/LuanRT/YouTube.js/bl > **type**: `"object"` -Defined in: [src/parser/generator.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L38) +Defined in: [src/parser/generator.ts:38](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L38) diff --git a/docs/api/youtubei.js/namespaces/Generator/interfaces/PrimitiveInferenceType.md b/docs/api/youtubei.js/namespaces/Generator/interfaces/PrimitiveInferenceType.md index ff886157..5a15192d 100644 --- a/docs/api/youtubei.js/namespaces/Generator/interfaces/PrimitiveInferenceType.md +++ b/docs/api/youtubei.js/namespaces/Generator/interfaces/PrimitiveInferenceType.md @@ -2,7 +2,7 @@ # Interface: PrimitiveInferenceType -Defined in: [src/parser/generator.ts:49](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L49) +Defined in: [src/parser/generator.ts:49](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L49) ## Properties @@ -10,7 +10,7 @@ Defined in: [src/parser/generator.ts:49](https://github.com/LuanRT/YouTube.js/bl > **optional**: `boolean` -Defined in: [src/parser/generator.ts:52](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L52) +Defined in: [src/parser/generator.ts:52](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L52) *** @@ -18,7 +18,7 @@ Defined in: [src/parser/generator.ts:52](https://github.com/LuanRT/YouTube.js/bl > **type**: `"primitive"` -Defined in: [src/parser/generator.ts:50](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L50) +Defined in: [src/parser/generator.ts:50](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L50) *** @@ -26,4 +26,4 @@ Defined in: [src/parser/generator.ts:50](https://github.com/LuanRT/YouTube.js/bl > **typeof**: (`"string"` \| `"number"` \| `"bigint"` \| `"boolean"` \| `"symbol"` \| `"undefined"` \| `"function"` \| `"unknown"` \| `"never"`)[] -Defined in: [src/parser/generator.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L51) +Defined in: [src/parser/generator.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L51) diff --git a/docs/api/youtubei.js/namespaces/Generator/interfaces/RendererInferenceType.md b/docs/api/youtubei.js/namespaces/Generator/interfaces/RendererInferenceType.md index 095d2f5d..5e69dff0 100644 --- a/docs/api/youtubei.js/namespaces/Generator/interfaces/RendererInferenceType.md +++ b/docs/api/youtubei.js/namespaces/Generator/interfaces/RendererInferenceType.md @@ -2,7 +2,7 @@ # Interface: RendererInferenceType -Defined in: [src/parser/generator.ts:43](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L43) +Defined in: [src/parser/generator.ts:43](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L43) ## Properties @@ -10,7 +10,7 @@ Defined in: [src/parser/generator.ts:43](https://github.com/LuanRT/YouTube.js/bl > **optional**: `boolean` -Defined in: [src/parser/generator.ts:46](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L46) +Defined in: [src/parser/generator.ts:46](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L46) *** @@ -18,7 +18,7 @@ Defined in: [src/parser/generator.ts:46](https://github.com/LuanRT/YouTube.js/bl > **renderers**: `string`[] -Defined in: [src/parser/generator.ts:45](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L45) +Defined in: [src/parser/generator.ts:45](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L45) *** @@ -26,4 +26,4 @@ Defined in: [src/parser/generator.ts:45](https://github.com/LuanRT/YouTube.js/bl > **type**: `"renderer"` -Defined in: [src/parser/generator.ts:44](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L44) +Defined in: [src/parser/generator.ts:44](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L44) diff --git a/docs/api/youtubei.js/namespaces/Generator/type-aliases/ArrayInferenceType.md b/docs/api/youtubei.js/namespaces/Generator/type-aliases/ArrayInferenceType.md index eb9b4b0f..7367f40c 100644 --- a/docs/api/youtubei.js/namespaces/Generator/type-aliases/ArrayInferenceType.md +++ b/docs/api/youtubei.js/namespaces/Generator/type-aliases/ArrayInferenceType.md @@ -4,4 +4,4 @@ > **ArrayInferenceType** = \{ `array_type`: `"primitive"`; `items`: [`PrimitiveInferenceType`](../interfaces/PrimitiveInferenceType.md); `optional`: `boolean`; `type`: `"array"`; \} \| \{ `array_type`: `"object"`; `items`: [`ObjectInferenceType`](../interfaces/ObjectInferenceType.md); `optional`: `boolean`; `type`: `"array"`; \} \| \{ `array_type`: `"renderer"`; `optional`: `boolean`; `renderers`: `string`[]; `type`: `"array"`; \} -Defined in: [src/parser/generator.ts:55](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L55) +Defined in: [src/parser/generator.ts:55](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L55) diff --git a/docs/api/youtubei.js/namespaces/Generator/type-aliases/InferenceType.md b/docs/api/youtubei.js/namespaces/Generator/type-aliases/InferenceType.md index 7146dee9..c83ccb54 100644 --- a/docs/api/youtubei.js/namespaces/Generator/type-aliases/InferenceType.md +++ b/docs/api/youtubei.js/namespaces/Generator/type-aliases/InferenceType.md @@ -4,4 +4,4 @@ > **InferenceType** = [`RendererInferenceType`](../interfaces/RendererInferenceType.md) \| [`MiscInferenceType`](MiscInferenceType.md) \| [`ObjectInferenceType`](../interfaces/ObjectInferenceType.md) \| [`PrimitiveInferenceType`](../interfaces/PrimitiveInferenceType.md) \| [`ArrayInferenceType`](ArrayInferenceType.md) -Defined in: [src/parser/generator.ts:72](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L72) +Defined in: [src/parser/generator.ts:72](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L72) diff --git a/docs/api/youtubei.js/namespaces/Generator/type-aliases/KeyInfo.md b/docs/api/youtubei.js/namespaces/Generator/type-aliases/KeyInfo.md index ab817c1b..4f126f2a 100644 --- a/docs/api/youtubei.js/namespaces/Generator/type-aliases/KeyInfo.md +++ b/docs/api/youtubei.js/namespaces/Generator/type-aliases/KeyInfo.md @@ -4,4 +4,4 @@ > **KeyInfo** = readonly \[`string`, [`InferenceType`](InferenceType.md)\][] -Defined in: [src/parser/generator.ts:74](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L74) +Defined in: [src/parser/generator.ts:74](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L74) diff --git a/docs/api/youtubei.js/namespaces/Generator/type-aliases/MiscInferenceType.md b/docs/api/youtubei.js/namespaces/Generator/type-aliases/MiscInferenceType.md index 9040c167..56ed63b1 100644 --- a/docs/api/youtubei.js/namespaces/Generator/type-aliases/MiscInferenceType.md +++ b/docs/api/youtubei.js/namespaces/Generator/type-aliases/MiscInferenceType.md @@ -4,4 +4,4 @@ > **MiscInferenceType** = \{ `endpoint`: [`NavigationEndpoint`](../../YTNodes/classes/NavigationEndpoint.md); `misc_type`: `"NavigationEndpoint"`; `optional`: `boolean`; `type`: `"misc"`; \} \| \{ `endpoint?`: [`NavigationEndpoint`](../../YTNodes/classes/NavigationEndpoint.md); `misc_type`: `"Text"`; `optional`: `boolean`; `text`: `string`; `type`: `"misc"`; \} \| \{ `misc_type`: `"Thumbnail"`; `optional`: `boolean`; `type`: `"misc"`; \} \| \{ `misc_type`: `"Author"`; `optional`: `boolean`; `params`: \[`string`, `string`?\]; `type`: `"misc"`; \} -Defined in: [src/parser/generator.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/generator.ts#L15) +Defined in: [src/parser/generator.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/generator.ts#L15) diff --git a/docs/api/youtubei.js/namespaces/Helpers/classes/Maybe.md b/docs/api/youtubei.js/namespaces/Helpers/classes/Maybe.md index 49bfab5e..b1a82df1 100644 --- a/docs/api/youtubei.js/namespaces/Helpers/classes/Maybe.md +++ b/docs/api/youtubei.js/namespaces/Helpers/classes/Maybe.md @@ -2,7 +2,7 @@ # Class: Maybe -Defined in: [src/parser/helpers.ts:64](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L64) +Defined in: [src/parser/helpers.ts:64](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L64) A wrapper class that provides type-safe access to a value. @@ -12,7 +12,7 @@ A wrapper class that provides type-safe access to a value. > **new Maybe**(`value`): `Maybe` -Defined in: [src/parser/helpers.ts:67](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L67) +Defined in: [src/parser/helpers.ts:67](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L67) #### Parameters @@ -32,7 +32,7 @@ Defined in: [src/parser/helpers.ts:67](https://github.com/LuanRT/YouTube.js/blob > **get** **typeof**(): `"string"` \| `"number"` \| `"bigint"` \| `"boolean"` \| `"symbol"` \| `"undefined"` \| `"object"` \| `"function"` -Defined in: [src/parser/helpers.ts:82](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L82) +Defined in: [src/parser/helpers.ts:82](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L82) ##### Returns @@ -44,7 +44,7 @@ Defined in: [src/parser/helpers.ts:82](https://github.com/LuanRT/YouTube.js/blob > **any**(): `any` -Defined in: [src/parser/helpers.ts:278](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L278) +Defined in: [src/parser/helpers.ts:278](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L278) #### Returns @@ -60,7 +60,7 @@ This call is not meant to be used outside of debugging. Please use the specific > **array**(): `any`[] -Defined in: [src/parser/helpers.ts:166](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L166) +Defined in: [src/parser/helpers.ts:166](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L166) Get the value as an array. @@ -80,7 +80,7 @@ If the value is not an array. > **arrayOfMaybe**(): `Maybe`[] -Defined in: [src/parser/helpers.ts:178](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L178) +Defined in: [src/parser/helpers.ts:178](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L178) More typesafe variant of [Maybe#array](#array). @@ -100,7 +100,7 @@ If the value is not an array > **bigint**(): `bigint` -Defined in: [src/parser/helpers.ts:102](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L102) +Defined in: [src/parser/helpers.ts:102](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L102) #### Returns @@ -112,7 +112,7 @@ Defined in: [src/parser/helpers.ts:102](https://github.com/LuanRT/YouTube.js/blo > **boolean**(): `boolean` -Defined in: [src/parser/helpers.ts:110](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L110) +Defined in: [src/parser/helpers.ts:110](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L110) #### Returns @@ -124,7 +124,7 @@ Defined in: [src/parser/helpers.ts:110](https://github.com/LuanRT/YouTube.js/blo > **function**(): `Function` -Defined in: [src/parser/helpers.ts:153](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L153) +Defined in: [src/parser/helpers.ts:153](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L153) #### Returns @@ -136,7 +136,7 @@ Defined in: [src/parser/helpers.ts:153](https://github.com/LuanRT/YouTube.js/blo > **instanceof**\<`T`\>(`type`): `T` -Defined in: [src/parser/helpers.ts:289](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L289) +Defined in: [src/parser/helpers.ts:289](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L289) Get the node as an instance of the given class. @@ -170,7 +170,7 @@ If the node is not of the given type. > **isArray**(): `boolean` -Defined in: [src/parser/helpers.ts:194](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L194) +Defined in: [src/parser/helpers.ts:194](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L194) Check whether the value is an array. @@ -186,7 +186,7 @@ whether the value is an array. > **isBigint**(): `boolean` -Defined in: [src/parser/helpers.ts:106](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L106) +Defined in: [src/parser/helpers.ts:106](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L106) #### Returns @@ -198,7 +198,7 @@ Defined in: [src/parser/helpers.ts:106](https://github.com/LuanRT/YouTube.js/blo > **isBoolean**(): `boolean` -Defined in: [src/parser/helpers.ts:114](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L114) +Defined in: [src/parser/helpers.ts:114](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L114) #### Returns @@ -210,7 +210,7 @@ Defined in: [src/parser/helpers.ts:114](https://github.com/LuanRT/YouTube.js/blo > **isFunction**(): `boolean` -Defined in: [src/parser/helpers.ts:157](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L157) +Defined in: [src/parser/helpers.ts:157](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L157) #### Returns @@ -222,7 +222,7 @@ Defined in: [src/parser/helpers.ts:157](https://github.com/LuanRT/YouTube.js/blo > **isInstanceof**\<`T`\>(`type`): `this is Maybe & T` -Defined in: [src/parser/helpers.ts:301](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L301) +Defined in: [src/parser/helpers.ts:301](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L301) Check if the node is an instance of the given class. @@ -252,7 +252,7 @@ Whether the node is an instance of the given type. > **isNode**(): `boolean` -Defined in: [src/parser/helpers.ts:214](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L214) +Defined in: [src/parser/helpers.ts:214](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L214) Check if the value is a YTNode. @@ -268,7 +268,7 @@ Whether the value is a YTNode. > **isNodeOfType**\<`T`, `K`\>(...`types`): `boolean` -Defined in: [src/parser/helpers.ts:233](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L233) +Defined in: [src/parser/helpers.ts:233](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L233) Check if the value is a YTNode of the given type. @@ -302,7 +302,7 @@ Whether the value is a YTNode of the given type. > **isNull**(): `boolean` -Defined in: [src/parser/helpers.ts:140](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L140) +Defined in: [src/parser/helpers.ts:140](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L140) #### Returns @@ -314,7 +314,7 @@ Defined in: [src/parser/helpers.ts:140](https://github.com/LuanRT/YouTube.js/blo > **isNumber**(): `boolean` -Defined in: [src/parser/helpers.ts:98](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L98) +Defined in: [src/parser/helpers.ts:98](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L98) #### Returns @@ -326,7 +326,7 @@ Defined in: [src/parser/helpers.ts:98](https://github.com/LuanRT/YouTube.js/blob > **isObject**(): `boolean` -Defined in: [src/parser/helpers.ts:148](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L148) +Defined in: [src/parser/helpers.ts:148](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L148) #### Returns @@ -338,7 +338,7 @@ Defined in: [src/parser/helpers.ts:148](https://github.com/LuanRT/YouTube.js/blo > **isObserved**(): `any` -Defined in: [src/parser/helpers.ts:251](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L251) +Defined in: [src/parser/helpers.ts:251](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L251) Check if the value is an ObservedArray. @@ -352,7 +352,7 @@ Check if the value is an ObservedArray. > **isParsed**(): `boolean` -Defined in: [src/parser/helpers.ts:270](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L270) +Defined in: [src/parser/helpers.ts:270](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L270) Is the result a SuperParsedResult? @@ -366,7 +366,7 @@ Is the result a SuperParsedResult? > **isString**(): `boolean` -Defined in: [src/parser/helpers.ts:90](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L90) +Defined in: [src/parser/helpers.ts:90](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L90) #### Returns @@ -378,7 +378,7 @@ Defined in: [src/parser/helpers.ts:90](https://github.com/LuanRT/YouTube.js/blob > **isSymbol**(): `boolean` -Defined in: [src/parser/helpers.ts:122](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L122) +Defined in: [src/parser/helpers.ts:122](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L122) #### Returns @@ -390,7 +390,7 @@ Defined in: [src/parser/helpers.ts:122](https://github.com/LuanRT/YouTube.js/blo > **isUndefined**(): `boolean` -Defined in: [src/parser/helpers.ts:130](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L130) +Defined in: [src/parser/helpers.ts:130](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L130) #### Returns @@ -402,7 +402,7 @@ Defined in: [src/parser/helpers.ts:130](https://github.com/LuanRT/YouTube.js/blo > **node**(): [`YTNode`](YTNode.md) -Defined in: [src/parser/helpers.ts:203](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L203) +Defined in: [src/parser/helpers.ts:203](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L203) Get the value as a YTNode. @@ -422,7 +422,7 @@ If the value is not a YTNode. > **nodeOfType**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:224](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L224) +Defined in: [src/parser/helpers.ts:224](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L224) Get the value as a YTNode of the given type. @@ -460,7 +460,7 @@ If the node is not of the given type. > **null**(): `null` -Defined in: [src/parser/helpers.ts:134](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L134) +Defined in: [src/parser/helpers.ts:134](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L134) #### Returns @@ -472,7 +472,7 @@ Defined in: [src/parser/helpers.ts:134](https://github.com/LuanRT/YouTube.js/blo > **number**(): `number` -Defined in: [src/parser/helpers.ts:94](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L94) +Defined in: [src/parser/helpers.ts:94](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L94) #### Returns @@ -484,7 +484,7 @@ Defined in: [src/parser/helpers.ts:94](https://github.com/LuanRT/YouTube.js/blob > **object**(): `object` -Defined in: [src/parser/helpers.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L144) +Defined in: [src/parser/helpers.ts:144](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L144) #### Returns @@ -496,7 +496,7 @@ Defined in: [src/parser/helpers.ts:144](https://github.com/LuanRT/YouTube.js/blo > **observed**(): [`ObservedArray`](../type-aliases/ObservedArray.md)\<[`YTNode`](YTNode.md)\> -Defined in: [src/parser/helpers.ts:241](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L241) +Defined in: [src/parser/helpers.ts:241](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L241) Get the value as an ObservedArray. @@ -512,7 +512,7 @@ the value of the Maybe as a ObservedArray. > **parsed**(): [`SuperParsedResult`](SuperParsedResult.md) -Defined in: [src/parser/helpers.ts:260](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L260) +Defined in: [src/parser/helpers.ts:260](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L260) Get the value of the Maybe as a SuperParsedResult. @@ -532,7 +532,7 @@ If the value is not a SuperParsedResult. > **string**(): `string` -Defined in: [src/parser/helpers.ts:86](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L86) +Defined in: [src/parser/helpers.ts:86](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L86) #### Returns @@ -544,7 +544,7 @@ Defined in: [src/parser/helpers.ts:86](https://github.com/LuanRT/YouTube.js/blob > **symbol**(): `symbol` -Defined in: [src/parser/helpers.ts:118](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L118) +Defined in: [src/parser/helpers.ts:118](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L118) #### Returns @@ -556,7 +556,7 @@ Defined in: [src/parser/helpers.ts:118](https://github.com/LuanRT/YouTube.js/blo > **undefined**(): `undefined` -Defined in: [src/parser/helpers.ts:126](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L126) +Defined in: [src/parser/helpers.ts:126](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L126) #### Returns diff --git a/docs/api/youtubei.js/namespaces/Helpers/classes/Memo.md b/docs/api/youtubei.js/namespaces/Helpers/classes/Memo.md index 6b860a1b..d1046939 100644 --- a/docs/api/youtubei.js/namespaces/Helpers/classes/Memo.md +++ b/docs/api/youtubei.js/namespaces/Helpers/classes/Memo.md @@ -2,7 +2,7 @@ # Class: Memo -Defined in: [src/parser/helpers.ts:502](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L502) +Defined in: [src/parser/helpers.ts:502](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L502) ## Extends @@ -40,7 +40,7 @@ Defined in: node\_modules/typescript/lib/lib.es2015.collection.d.ts:49 ##### iterable? -`Iterable`\ | `null` +`Iterable`\ | `null` #### Returns @@ -94,15 +94,15 @@ Defined in: node\_modules/typescript/lib/lib.es2015.symbol.wellknown.d.ts:319 ### \[iterator\]() -> **\[iterator\]**(): `IterableIterator`\<\[`string`, [`YTNode`](YTNode.md)[]\]\> +> **\[iterator\]**(): `MapIterator`\<\[`string`, [`YTNode`](YTNode.md)[]\]\> -Defined in: node\_modules/typescript/lib/lib.es2015.iterable.d.ts:119 +Defined in: node\_modules/typescript/lib/lib.es2015.iterable.d.ts:143 Returns an iterable of entries in the map. #### Returns -`IterableIterator`\<\[`string`, [`YTNode`](YTNode.md)[]\]\> +`MapIterator`\<\[`string`, [`YTNode`](YTNode.md)[]\]\> #### Inherited from @@ -152,15 +152,15 @@ true if an element in the Map existed and has been removed, or false if the elem ### entries() -> **entries**(): `IterableIterator`\<\[`string`, [`YTNode`](YTNode.md)[]\]\> +> **entries**(): `MapIterator`\<\[`string`, [`YTNode`](YTNode.md)[]\]\> -Defined in: node\_modules/typescript/lib/lib.es2015.iterable.d.ts:124 +Defined in: node\_modules/typescript/lib/lib.es2015.iterable.d.ts:148 Returns an iterable of key, value pairs for every entry in the map. #### Returns -`IterableIterator`\<\[`string`, [`YTNode`](YTNode.md)[]\]\> +`MapIterator`\<\[`string`, [`YTNode`](YTNode.md)[]\]\> #### Inherited from @@ -228,7 +228,7 @@ Returns the element associated with the specified key. If no element is associat > **getType**\<`T`, `K`\>(`types`): [`ObservedArray`](../type-aliases/ObservedArray.md)\<`InstanceType`\<`K`\[`number`\]\>\> -Defined in: [src/parser/helpers.ts:503](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L503) +Defined in: [src/parser/helpers.ts:503](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L503) ##### Type Parameters @@ -254,7 +254,7 @@ Defined in: [src/parser/helpers.ts:503](https://github.com/LuanRT/YouTube.js/blo > **getType**\<`T`, `K`\>(...`types`): [`ObservedArray`](../type-aliases/ObservedArray.md)\<`InstanceType`\<`K`\[`number`\]\>\> -Defined in: [src/parser/helpers.ts:504](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L504) +Defined in: [src/parser/helpers.ts:504](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L504) ##### Type Parameters @@ -304,15 +304,15 @@ boolean indicating whether an element with the specified key exists or not. ### keys() -> **keys**(): `IterableIterator`\<`string`\> +> **keys**(): `MapIterator`\<`string`\> -Defined in: node\_modules/typescript/lib/lib.es2015.iterable.d.ts:129 +Defined in: node\_modules/typescript/lib/lib.es2015.iterable.d.ts:153 Returns an iterable of keys in the map #### Returns -`IterableIterator`\<`string`\> +`MapIterator`\<`string`\> #### Inherited from @@ -350,15 +350,15 @@ Adds a new element with a specified key and value to the Map. If an element with ### values() -> **values**(): `IterableIterator`\<[`YTNode`](YTNode.md)[]\> +> **values**(): `MapIterator`\<[`YTNode`](YTNode.md)[]\> -Defined in: node\_modules/typescript/lib/lib.es2015.iterable.d.ts:134 +Defined in: node\_modules/typescript/lib/lib.es2015.iterable.d.ts:158 Returns an iterable of values in the map #### Returns -`IterableIterator`\<[`YTNode`](YTNode.md)[]\> +`MapIterator`\<[`YTNode`](YTNode.md)[]\> #### Inherited from @@ -370,7 +370,7 @@ Returns an iterable of values in the map > `static` **groupBy**\<`K`, `T`\>(`items`, `keySelector`): `Map`\<`K`, `T`[]\> -Defined in: node\_modules/typescript/lib/lib.esnext.collection.d.ts:25 +Defined in: node\_modules/typescript/lib/lib.es2024.collection.d.ts:25 Groups members of an iterable according to the return value of the passed callback. diff --git a/docs/api/youtubei.js/namespaces/Helpers/classes/SuperParsedResult.md b/docs/api/youtubei.js/namespaces/Helpers/classes/SuperParsedResult.md index 658022bc..ddd497a1 100644 --- a/docs/api/youtubei.js/namespaces/Helpers/classes/SuperParsedResult.md +++ b/docs/api/youtubei.js/namespaces/Helpers/classes/SuperParsedResult.md @@ -2,7 +2,7 @@ # Class: SuperParsedResult\ -Defined in: [src/parser/helpers.ts:318](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L318) +Defined in: [src/parser/helpers.ts:318](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L318) Represents a parsed response in an unknown state. Either a YTNode or a YTNode[] or null. @@ -18,7 +18,7 @@ Represents a parsed response in an unknown state. Either a YTNode or a YTNode[] > **new SuperParsedResult**\<`T`\>(`result`): `SuperParsedResult`\<`T`\> -Defined in: [src/parser/helpers.ts:321](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L321) +Defined in: [src/parser/helpers.ts:321](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L321) #### Parameters @@ -38,7 +38,7 @@ Defined in: [src/parser/helpers.ts:321](https://github.com/LuanRT/YouTube.js/blo > **get** **is\_array**(): `boolean` -Defined in: [src/parser/helpers.ts:328](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L328) +Defined in: [src/parser/helpers.ts:328](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L328) ##### Returns @@ -52,7 +52,7 @@ Defined in: [src/parser/helpers.ts:328](https://github.com/LuanRT/YouTube.js/blo > **get** **is\_node**(): `boolean` -Defined in: [src/parser/helpers.ts:331](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L331) +Defined in: [src/parser/helpers.ts:331](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L331) ##### Returns @@ -66,7 +66,7 @@ Defined in: [src/parser/helpers.ts:331](https://github.com/LuanRT/YouTube.js/blo > **get** **is\_null**(): `boolean` -Defined in: [src/parser/helpers.ts:325](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L325) +Defined in: [src/parser/helpers.ts:325](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L325) ##### Returns @@ -78,7 +78,7 @@ Defined in: [src/parser/helpers.ts:325](https://github.com/LuanRT/YouTube.js/blo > **array**(): [`ObservedArray`](../type-aliases/ObservedArray.md)\<`T`\> -Defined in: [src/parser/helpers.ts:335](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L335) +Defined in: [src/parser/helpers.ts:335](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L335) #### Returns @@ -90,7 +90,7 @@ Defined in: [src/parser/helpers.ts:335](https://github.com/LuanRT/YouTube.js/blo > **item**(): `T` -Defined in: [src/parser/helpers.ts:342](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L342) +Defined in: [src/parser/helpers.ts:342](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L342) #### Returns diff --git a/docs/api/youtubei.js/namespaces/Helpers/classes/YTNode.md b/docs/api/youtubei.js/namespaces/Helpers/classes/YTNode.md index 88d157fa..8f02292e 100644 --- a/docs/api/youtubei.js/namespaces/Helpers/classes/YTNode.md +++ b/docs/api/youtubei.js/namespaces/Helpers/classes/YTNode.md @@ -2,7 +2,7 @@ # Class: YTNode -Defined in: [src/parser/helpers.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L6) +Defined in: [src/parser/helpers.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L6) ## Extended by @@ -102,6 +102,7 @@ Defined in: [src/parser/helpers.ts:6](https://github.com/LuanRT/YouTube.js/blob/ - [`GetKidsBlocklistPickerCommand`](../../YTNodes/classes/GetKidsBlocklistPickerCommand.md) - [`RunAttestationCommand`](../../YTNodes/classes/RunAttestationCommand.md) - [`ShowDialogCommand`](../../YTNodes/classes/ShowDialogCommand.md) +- [`ShowSheetCommand`](../../YTNodes/classes/ShowSheetCommand.md) - [`UpdateEngagementPanelContentCommand`](../../YTNodes/classes/UpdateEngagementPanelContentCommand.md) - [`AuthorCommentBadge`](../../YTNodes/classes/AuthorCommentBadge.md) - [`CommentActionButtons`](../../YTNodes/classes/CommentActionButtons.md) @@ -145,6 +146,7 @@ Defined in: [src/parser/helpers.ts:6](https://github.com/LuanRT/YouTube.js/blob/ - [`DismissableDialog`](../../YTNodes/classes/DismissableDialog.md) - [`DismissableDialogContentSection`](../../YTNodes/classes/DismissableDialogContentSection.md) - [`DownloadButton`](../../YTNodes/classes/DownloadButton.md) +- [`DownloadListItemView`](../../YTNodes/classes/DownloadListItemView.md) - [`Dropdown`](../../YTNodes/classes/Dropdown.md) - [`DropdownItem`](../../YTNodes/classes/DropdownItem.md) - [`DropdownView`](../../YTNodes/classes/DropdownView.md) @@ -365,10 +367,12 @@ Defined in: [src/parser/helpers.ts:6](https://github.com/LuanRT/YouTube.js/blob/ - [`OpenOnePickAddVideoModalCommand`](../../YTNodes/classes/OpenOnePickAddVideoModalCommand.md) - [`PageHeader`](../../YTNodes/classes/PageHeader.md) - [`PageHeaderView`](../../YTNodes/classes/PageHeaderView.md) +- [`PageIndicatorView`](../../YTNodes/classes/PageIndicatorView.md) - [`PageIntroduction`](../../YTNodes/classes/PageIntroduction.md) - [`PanelFooterView`](../../YTNodes/classes/PanelFooterView.md) - [`PivotButton`](../../YTNodes/classes/PivotButton.md) - [`PlayerAnnotationsExpanded`](../../YTNodes/classes/PlayerAnnotationsExpanded.md) +- [`PlayerCaptchaView`](../../YTNodes/classes/PlayerCaptchaView.md) - [`PlayerCaptionsTracklist`](../../YTNodes/classes/PlayerCaptionsTracklist.md) - [`PlayerControlsOverlay`](../../YTNodes/classes/PlayerControlsOverlay.md) - [`PlayerErrorMessage`](../../YTNodes/classes/PlayerErrorMessage.md) @@ -444,6 +448,7 @@ Defined in: [src/parser/helpers.ts:6](https://github.com/LuanRT/YouTube.js/blob/ - [`SharePanelHeader`](../../YTNodes/classes/SharePanelHeader.md) - [`SharePanelTitleV15`](../../YTNodes/classes/SharePanelTitleV15.md) - [`ShareTarget`](../../YTNodes/classes/ShareTarget.md) +- [`SheetView`](../../YTNodes/classes/SheetView.md) - [`Shelf`](../../YTNodes/classes/Shelf.md) - [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) - [`ShowCustomThumbnail`](../../YTNodes/classes/ShowCustomThumbnail.md) @@ -492,6 +497,7 @@ Defined in: [src/parser/helpers.ts:6](https://github.com/LuanRT/YouTube.js/blob/ - [`ThumbnailOverlayResumePlayback`](../../YTNodes/classes/ThumbnailOverlayResumePlayback.md) - [`ThumbnailOverlaySidePanel`](../../YTNodes/classes/ThumbnailOverlaySidePanel.md) - [`ThumbnailOverlayTimeStatus`](../../YTNodes/classes/ThumbnailOverlayTimeStatus.md) +- [`ThumbnailOverlayTitleView`](../../YTNodes/classes/ThumbnailOverlayTitleView.md) - [`ThumbnailOverlayToggleButton`](../../YTNodes/classes/ThumbnailOverlayToggleButton.md) - [`ThumbnailView`](../../YTNodes/classes/ThumbnailView.md) - [`TimedMarkerDecoration`](../../YTNodes/classes/TimedMarkerDecoration.md) @@ -531,6 +537,8 @@ Defined in: [src/parser/helpers.ts:6](https://github.com/LuanRT/YouTube.js/blob/ - [`VideoOwner`](../../YTNodes/classes/VideoOwner.md) - [`VideoPrimaryInfo`](../../YTNodes/classes/VideoPrimaryInfo.md) - [`VideoSecondaryInfo`](../../YTNodes/classes/VideoSecondaryInfo.md) +- [`VideoSummaryContentView`](../../YTNodes/classes/VideoSummaryContentView.md) +- [`VideoSummaryParagraphView`](../../YTNodes/classes/VideoSummaryParagraphView.md) - [`VideoViewCount`](../../YTNodes/classes/VideoViewCount.md) - [`ViewCountFactoid`](../../YTNodes/classes/ViewCountFactoid.md) - [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md) @@ -552,7 +560,7 @@ Defined in: [src/parser/helpers.ts:6](https://github.com/LuanRT/YouTube.js/blob/ > **new YTNode**(): `YTNode` -Defined in: [src/parser/helpers.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L10) +Defined in: [src/parser/helpers.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L10) #### Returns @@ -564,7 +572,7 @@ Defined in: [src/parser/helpers.ts:10](https://github.com/LuanRT/YouTube.js/blob > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) *** @@ -572,7 +580,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `readonly` `static` **type**: `string` = `'YTNode'` -Defined in: [src/parser/helpers.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L7) +Defined in: [src/parser/helpers.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L7) ## Methods @@ -580,7 +588,7 @@ Defined in: [src/parser/helpers.ts:7](https://github.com/LuanRT/YouTube.js/blob/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -618,7 +626,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is YTNode & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -652,7 +660,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -686,7 +694,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/Helpers/functions/observe.md b/docs/api/youtubei.js/namespaces/Helpers/functions/observe.md index 4e31c826..3e48e432 100644 --- a/docs/api/youtubei.js/namespaces/Helpers/functions/observe.md +++ b/docs/api/youtubei.js/namespaces/Helpers/functions/observe.md @@ -4,7 +4,7 @@ > **observe**\<`T`\>(`obj`): [`ObservedArray`](../type-aliases/ObservedArray.md)\<`T`\> -Defined in: [src/parser/helpers.ts:424](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L424) +Defined in: [src/parser/helpers.ts:424](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L424) Creates an observed array that provides additional utility methods for array manipulation and filtering. diff --git a/docs/api/youtubei.js/namespaces/Helpers/interfaces/Constructor.md b/docs/api/youtubei.js/namespaces/Helpers/interfaces/Constructor.md index 1a648516..3d4b06a3 100644 --- a/docs/api/youtubei.js/namespaces/Helpers/interfaces/Constructor.md +++ b/docs/api/youtubei.js/namespaces/Helpers/interfaces/Constructor.md @@ -2,7 +2,7 @@ # Interface: Constructor\ -Defined in: [src/parser/helpers.ts:306](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L306) +Defined in: [src/parser/helpers.ts:306](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L306) ## Type Parameters @@ -16,7 +16,7 @@ Defined in: [src/parser/helpers.ts:306](https://github.com/LuanRT/YouTube.js/blo > **new Constructor**(...`args`): `T` -Defined in: [src/parser/helpers.ts:307](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L307) +Defined in: [src/parser/helpers.ts:307](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L307) #### Parameters diff --git a/docs/api/youtubei.js/namespaces/Helpers/interfaces/YTNodeConstructor.md b/docs/api/youtubei.js/namespaces/Helpers/interfaces/YTNodeConstructor.md index a475f3b2..33810b43 100644 --- a/docs/api/youtubei.js/namespaces/Helpers/interfaces/YTNodeConstructor.md +++ b/docs/api/youtubei.js/namespaces/Helpers/interfaces/YTNodeConstructor.md @@ -2,7 +2,7 @@ # Interface: YTNodeConstructor\ -Defined in: [src/parser/helpers.ts:310](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L310) +Defined in: [src/parser/helpers.ts:310](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L310) ## Type Parameters @@ -16,7 +16,7 @@ Defined in: [src/parser/helpers.ts:310](https://github.com/LuanRT/YouTube.js/blo > **new YTNodeConstructor**(`data`): `T` -Defined in: [src/parser/helpers.ts:311](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L311) +Defined in: [src/parser/helpers.ts:311](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L311) #### Parameters @@ -34,4 +34,4 @@ Defined in: [src/parser/helpers.ts:311](https://github.com/LuanRT/YouTube.js/blo > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:312](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L312) +Defined in: [src/parser/helpers.ts:312](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L312) diff --git a/docs/api/youtubei.js/namespaces/Helpers/type-aliases/ObservedArray.md b/docs/api/youtubei.js/namespaces/Helpers/type-aliases/ObservedArray.md index 008a8c65..0deb3e0b 100644 --- a/docs/api/youtubei.js/namespaces/Helpers/type-aliases/ObservedArray.md +++ b/docs/api/youtubei.js/namespaces/Helpers/type-aliases/ObservedArray.md @@ -4,7 +4,7 @@ > **ObservedArray**\<`T`\> = `T`[] & `object` -Defined in: [src/parser/helpers.ts:353](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L353) +Defined in: [src/parser/helpers.ts:353](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L353) An extended array type that includes additional utility methods for filtering and manipulating YTNode objects. diff --git a/docs/api/youtubei.js/namespaces/JsHelpers/functions/createWrapperFunction.md b/docs/api/youtubei.js/namespaces/JsHelpers/functions/createWrapperFunction.md index 2e479c79..11c8198e 100644 --- a/docs/api/youtubei.js/namespaces/JsHelpers/functions/createWrapperFunction.md +++ b/docs/api/youtubei.js/namespaces/JsHelpers/functions/createWrapperFunction.md @@ -4,7 +4,7 @@ > **createWrapperFunction**(`analyzer`, `name`, `node`): `string` \| `undefined` -Defined in: [src/utils/javascript/helpers.ts:223](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/helpers.ts#L223) +Defined in: [src/utils/javascript/helpers.ts:223](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/helpers.ts#L223) Analyzes an AST node to determine if it's a function call or a function declaration. Based on that, it then creates a new JavaScript function as diff --git a/docs/api/youtubei.js/namespaces/JsHelpers/functions/extractNodeSource.md b/docs/api/youtubei.js/namespaces/JsHelpers/functions/extractNodeSource.md index 90792ebb..fa68b2c9 100644 --- a/docs/api/youtubei.js/namespaces/JsHelpers/functions/extractNodeSource.md +++ b/docs/api/youtubei.js/namespaces/JsHelpers/functions/extractNodeSource.md @@ -4,7 +4,7 @@ > **extractNodeSource**(`node`, `source`): `string` \| `null` -Defined in: [src/utils/javascript/helpers.ts:143](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/helpers.ts#L143) +Defined in: [src/utils/javascript/helpers.ts:143](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/helpers.ts#L143) Extracts the source code corresponding to a given AST node. diff --git a/docs/api/youtubei.js/namespaces/JsHelpers/functions/getNodeSourceRange.md b/docs/api/youtubei.js/namespaces/JsHelpers/functions/getNodeSourceRange.md index 4d5c4e26..ec31a023 100644 --- a/docs/api/youtubei.js/namespaces/JsHelpers/functions/getNodeSourceRange.md +++ b/docs/api/youtubei.js/namespaces/JsHelpers/functions/getNodeSourceRange.md @@ -4,7 +4,7 @@ > **getNodeSourceRange**(`node`): \[`number`, `number`\] \| `null` -Defined in: [src/utils/javascript/helpers.ts:130](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/helpers.ts#L130) +Defined in: [src/utils/javascript/helpers.ts:130](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/helpers.ts#L130) Returns the source range of an ESTree node as a tuple of start and end positions. diff --git a/docs/api/youtubei.js/namespaces/JsHelpers/functions/memberBaseName.md b/docs/api/youtubei.js/namespaces/JsHelpers/functions/memberBaseName.md index 3c43c913..0965b29a 100644 --- a/docs/api/youtubei.js/namespaces/JsHelpers/functions/memberBaseName.md +++ b/docs/api/youtubei.js/namespaces/JsHelpers/functions/memberBaseName.md @@ -4,7 +4,7 @@ > **memberBaseName**(`memberExpression`, `source`): `string` \| `null` -Defined in: [src/utils/javascript/helpers.ts:193](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/helpers.ts#L193) +Defined in: [src/utils/javascript/helpers.ts:193](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/helpers.ts#L193) Retrieves the base identifier for a member expression chain. diff --git a/docs/api/youtubei.js/namespaces/JsHelpers/functions/memberToString.md b/docs/api/youtubei.js/namespaces/JsHelpers/functions/memberToString.md index edea1651..5b2714a0 100644 --- a/docs/api/youtubei.js/namespaces/JsHelpers/functions/memberToString.md +++ b/docs/api/youtubei.js/namespaces/JsHelpers/functions/memberToString.md @@ -4,7 +4,7 @@ > **memberToString**(`memberExpression`, `source`): `string` \| `null` -Defined in: [src/utils/javascript/helpers.ts:153](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/helpers.ts#L153) +Defined in: [src/utils/javascript/helpers.ts:153](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/helpers.ts#L153) Converts a member expression into its dot/bracket string form. diff --git a/docs/api/youtubei.js/namespaces/JsHelpers/functions/walkAst.md b/docs/api/youtubei.js/namespaces/JsHelpers/functions/walkAst.md index f2850993..99e8519d 100644 --- a/docs/api/youtubei.js/namespaces/JsHelpers/functions/walkAst.md +++ b/docs/api/youtubei.js/namespaces/JsHelpers/functions/walkAst.md @@ -4,9 +4,9 @@ > **walkAst**(`root`, `visitor`): `void` -Defined in: [src/utils/javascript/helpers.ts:62](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/helpers.ts#L62) +Defined in: [src/utils/javascript/helpers.ts:62](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/helpers.ts#L62) -Performs a non-recursive traversal of an ESTree AST. +Performs traversal of an ESTree AST. ## Parameters diff --git a/docs/api/youtubei.js/namespaces/JsHelpers/interfaces/AstVisitObject.md b/docs/api/youtubei.js/namespaces/JsHelpers/interfaces/AstVisitObject.md index 14792286..9079b985 100644 --- a/docs/api/youtubei.js/namespaces/JsHelpers/interfaces/AstVisitObject.md +++ b/docs/api/youtubei.js/namespaces/JsHelpers/interfaces/AstVisitObject.md @@ -2,7 +2,7 @@ # Interface: AstVisitObject -Defined in: [src/utils/javascript/helpers.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/helpers.ts#L28) +Defined in: [src/utils/javascript/helpers.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/helpers.ts#L28) ## Methods @@ -10,7 +10,7 @@ Defined in: [src/utils/javascript/helpers.ts:28](https://github.com/LuanRT/YouTu > `optional` **enter**(`node`, `parent`, `ancestors`): [`AstVisitResult`](../type-aliases/AstVisitResult.md) -Defined in: [src/utils/javascript/helpers.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/helpers.ts#L39) +Defined in: [src/utils/javascript/helpers.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/helpers.ts#L39) Callback invoked when an AST node is entered. @@ -48,7 +48,7 @@ Array of ancestor nodes, starting from the root down to the parent. > `optional` **leave**(`node`, `parent`, `ancestors`): [`AstVisitResult`](../type-aliases/AstVisitResult.md) -Defined in: [src/utils/javascript/helpers.ts:49](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/helpers.ts#L49) +Defined in: [src/utils/javascript/helpers.ts:49](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/helpers.ts#L49) Callback invoked when an AST node is exited. diff --git a/docs/api/youtubei.js/namespaces/JsHelpers/type-aliases/AstVisitFn.md b/docs/api/youtubei.js/namespaces/JsHelpers/type-aliases/AstVisitFn.md index dc54ef40..88e04374 100644 --- a/docs/api/youtubei.js/namespaces/JsHelpers/type-aliases/AstVisitFn.md +++ b/docs/api/youtubei.js/namespaces/JsHelpers/type-aliases/AstVisitFn.md @@ -4,7 +4,7 @@ > **AstVisitFn** = (`node`, `parent`, `ancestors`) => [`AstVisitResult`](AstVisitResult.md) -Defined in: [src/utils/javascript/helpers.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/helpers.ts#L26) +Defined in: [src/utils/javascript/helpers.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/helpers.ts#L26) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/JsHelpers/type-aliases/AstVisitResult.md b/docs/api/youtubei.js/namespaces/JsHelpers/type-aliases/AstVisitResult.md index f5dd7499..5d895a80 100644 --- a/docs/api/youtubei.js/namespaces/JsHelpers/type-aliases/AstVisitResult.md +++ b/docs/api/youtubei.js/namespaces/JsHelpers/type-aliases/AstVisitResult.md @@ -4,4 +4,4 @@ > **AstVisitResult** = `boolean` \| *typeof* [`WALK_STOP`](../variables/WALK_STOP.md) \| `void` -Defined in: [src/utils/javascript/helpers.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/helpers.ts#L25) +Defined in: [src/utils/javascript/helpers.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/helpers.ts#L25) diff --git a/docs/api/youtubei.js/namespaces/JsHelpers/type-aliases/AstVisitor.md b/docs/api/youtubei.js/namespaces/JsHelpers/type-aliases/AstVisitor.md index 8b18b913..55acf473 100644 --- a/docs/api/youtubei.js/namespaces/JsHelpers/type-aliases/AstVisitor.md +++ b/docs/api/youtubei.js/namespaces/JsHelpers/type-aliases/AstVisitor.md @@ -4,4 +4,4 @@ > **AstVisitor** = [`AstVisitFn`](AstVisitFn.md) \| [`AstVisitObject`](../interfaces/AstVisitObject.md) -Defined in: [src/utils/javascript/helpers.ts:52](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/helpers.ts#L52) +Defined in: [src/utils/javascript/helpers.ts:52](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/helpers.ts#L52) diff --git a/docs/api/youtubei.js/namespaces/JsHelpers/variables/WALK_STOP.md b/docs/api/youtubei.js/namespaces/JsHelpers/variables/WALK_STOP.md index 14f4901b..77688ead 100644 --- a/docs/api/youtubei.js/namespaces/JsHelpers/variables/WALK_STOP.md +++ b/docs/api/youtubei.js/namespaces/JsHelpers/variables/WALK_STOP.md @@ -4,4 +4,4 @@ > `const` **WALK\_STOP**: *typeof* `WALK_STOP` -Defined in: [src/utils/javascript/helpers.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/helpers.ts#L4) +Defined in: [src/utils/javascript/helpers.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/helpers.ts#L4) diff --git a/docs/api/youtubei.js/namespaces/JsHelpers/variables/indent.md b/docs/api/youtubei.js/namespaces/JsHelpers/variables/indent.md index 56ee4f60..2aeb249f 100644 --- a/docs/api/youtubei.js/namespaces/JsHelpers/variables/indent.md +++ b/docs/api/youtubei.js/namespaces/JsHelpers/variables/indent.md @@ -4,4 +4,4 @@ > `const` **indent**: `" "` = `' '` -Defined in: [src/utils/javascript/helpers.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/helpers.ts#L23) +Defined in: [src/utils/javascript/helpers.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/helpers.ts#L23) diff --git a/docs/api/youtubei.js/namespaces/JsHelpers/variables/jsBuiltIns.md b/docs/api/youtubei.js/namespaces/JsHelpers/variables/jsBuiltIns.md index 2f288d64..52c0fa9e 100644 --- a/docs/api/youtubei.js/namespaces/JsHelpers/variables/jsBuiltIns.md +++ b/docs/api/youtubei.js/namespaces/JsHelpers/variables/jsBuiltIns.md @@ -4,4 +4,4 @@ > `const` **jsBuiltIns**: `Set`\<`string`\> -Defined in: [src/utils/javascript/helpers.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/helpers.ts#L6) +Defined in: [src/utils/javascript/helpers.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/helpers.ts#L6) diff --git a/docs/api/youtubei.js/namespaces/JsMatchers/README.md b/docs/api/youtubei.js/namespaces/JsMatchers/README.md index 0b8a60ba..5f7d2317 100644 --- a/docs/api/youtubei.js/namespaces/JsMatchers/README.md +++ b/docs/api/youtubei.js/namespaces/JsMatchers/README.md @@ -4,6 +4,5 @@ ## Functions -- [nMatcher](functions/nMatcher.md) -- [sigMatcher](functions/sigMatcher.md) +- [nsigMatcher](functions/nsigMatcher.md) - [timestampMatcher](functions/timestampMatcher.md) diff --git a/docs/api/youtubei.js/namespaces/JsMatchers/functions/nMatcher.md b/docs/api/youtubei.js/namespaces/JsMatchers/functions/nMatcher.md deleted file mode 100644 index bfb348c8..00000000 --- a/docs/api/youtubei.js/namespaces/JsMatchers/functions/nMatcher.md +++ /dev/null @@ -1,17 +0,0 @@ -[youtubei.js](../../../../README.md) / [JsMatchers](../README.md) / nMatcher - -# Function: nMatcher() - -> **nMatcher**(`node`): `false` \| `Identifier` - -Defined in: [src/utils/javascript/matchers.ts:53](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/matchers.ts#L53) - -## Parameters - -### node - -`Node` - -## Returns - -`false` \| `Identifier` diff --git a/docs/api/youtubei.js/namespaces/JsMatchers/functions/nsigMatcher.md b/docs/api/youtubei.js/namespaces/JsMatchers/functions/nsigMatcher.md new file mode 100644 index 00000000..739158ae --- /dev/null +++ b/docs/api/youtubei.js/namespaces/JsMatchers/functions/nsigMatcher.md @@ -0,0 +1,17 @@ +[youtubei.js](../../../../README.md) / [JsMatchers](../README.md) / nsigMatcher + +# Function: nsigMatcher() + +> **nsigMatcher**(`node`): `false` \| `VariableDeclarator` + +Defined in: [src/utils/javascript/matchers.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/matchers.ts#L4) + +## Parameters + +### node + +`Node` + +## Returns + +`false` \| `VariableDeclarator` diff --git a/docs/api/youtubei.js/namespaces/JsMatchers/functions/sigMatcher.md b/docs/api/youtubei.js/namespaces/JsMatchers/functions/sigMatcher.md deleted file mode 100644 index 4e4acab7..00000000 --- a/docs/api/youtubei.js/namespaces/JsMatchers/functions/sigMatcher.md +++ /dev/null @@ -1,17 +0,0 @@ -[youtubei.js](../../../../README.md) / [JsMatchers](../README.md) / sigMatcher - -# Function: sigMatcher() - -> **sigMatcher**(`node`): `false` \| `CallExpression` - -Defined in: [src/utils/javascript/matchers.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/matchers.ts#L4) - -## Parameters - -### node - -`Node` - -## Returns - -`false` \| `CallExpression` diff --git a/docs/api/youtubei.js/namespaces/JsMatchers/functions/timestampMatcher.md b/docs/api/youtubei.js/namespaces/JsMatchers/functions/timestampMatcher.md index 4a570396..a7571add 100644 --- a/docs/api/youtubei.js/namespaces/JsMatchers/functions/timestampMatcher.md +++ b/docs/api/youtubei.js/namespaces/JsMatchers/functions/timestampMatcher.md @@ -4,7 +4,7 @@ > **timestampMatcher**(`node`): `boolean` -Defined in: [src/utils/javascript/matchers.ts:68](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/matchers.ts#L68) +Defined in: [src/utils/javascript/matchers.ts:54](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/matchers.ts#L54) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/LZW/functions/compress.md b/docs/api/youtubei.js/namespaces/LZW/functions/compress.md index 94d5ae1e..f89d5be6 100644 --- a/docs/api/youtubei.js/namespaces/LZW/functions/compress.md +++ b/docs/api/youtubei.js/namespaces/LZW/functions/compress.md @@ -4,7 +4,7 @@ > **compress**(`input`): `string` -Defined in: [src/utils/LZW.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/LZW.ts#L5) +Defined in: [src/utils/LZW.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/LZW.ts#L5) Compresses a string using the LZW compression algorithm. diff --git a/docs/api/youtubei.js/namespaces/LZW/functions/decompress.md b/docs/api/youtubei.js/namespaces/LZW/functions/decompress.md index 7731d39b..ab0c2502 100644 --- a/docs/api/youtubei.js/namespaces/LZW/functions/decompress.md +++ b/docs/api/youtubei.js/namespaces/LZW/functions/decompress.md @@ -4,7 +4,7 @@ > **decompress**(`input`): `string` -Defined in: [src/utils/LZW.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/LZW.ts#L40) +Defined in: [src/utils/LZW.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/LZW.ts#L40) Decompresses data that was compressed using the LZW compression algorithm. diff --git a/docs/api/youtubei.js/namespaces/Log/functions/debug.md b/docs/api/youtubei.js/namespaces/Log/functions/debug.md index d2b5ccdb..746003ee 100644 --- a/docs/api/youtubei.js/namespaces/Log/functions/debug.md +++ b/docs/api/youtubei.js/namespaces/Log/functions/debug.md @@ -2,9 +2,9 @@ # Function: debug() -> **debug**(`tag?`, ...`args?`): `void` +> **debug**(`tag?`, ...`args`): `void` -Defined in: [src/utils/Log.ts:44](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Log.ts#L44) +Defined in: [src/utils/Log.ts:44](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Log.ts#L44) ## Parameters @@ -12,7 +12,7 @@ Defined in: [src/utils/Log.ts:44](https://github.com/LuanRT/YouTube.js/blob/0733 `string` -### args? +### args ...`any`[] diff --git a/docs/api/youtubei.js/namespaces/Log/functions/error.md b/docs/api/youtubei.js/namespaces/Log/functions/error.md index ee33eb07..3cdb17b6 100644 --- a/docs/api/youtubei.js/namespaces/Log/functions/error.md +++ b/docs/api/youtubei.js/namespaces/Log/functions/error.md @@ -2,9 +2,9 @@ # Function: error() -> **error**(`tag?`, ...`args?`): `void` +> **error**(`tag?`, ...`args`): `void` -Defined in: [src/utils/Log.ts:42](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Log.ts#L42) +Defined in: [src/utils/Log.ts:42](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Log.ts#L42) ## Parameters @@ -12,7 +12,7 @@ Defined in: [src/utils/Log.ts:42](https://github.com/LuanRT/YouTube.js/blob/0733 `string` -### args? +### args ...`any`[] diff --git a/docs/api/youtubei.js/namespaces/Log/functions/info.md b/docs/api/youtubei.js/namespaces/Log/functions/info.md index ff69ed66..6a87a7ef 100644 --- a/docs/api/youtubei.js/namespaces/Log/functions/info.md +++ b/docs/api/youtubei.js/namespaces/Log/functions/info.md @@ -2,9 +2,9 @@ # Function: info() -> **info**(`tag?`, ...`args?`): `void` +> **info**(`tag?`, ...`args`): `void` -Defined in: [src/utils/Log.ts:43](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Log.ts#L43) +Defined in: [src/utils/Log.ts:43](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Log.ts#L43) ## Parameters @@ -12,7 +12,7 @@ Defined in: [src/utils/Log.ts:43](https://github.com/LuanRT/YouTube.js/blob/0733 `string` -### args? +### args ...`any`[] diff --git a/docs/api/youtubei.js/namespaces/Log/functions/setLevel.md b/docs/api/youtubei.js/namespaces/Log/functions/setLevel.md index 12822be7..ef45f83a 100644 --- a/docs/api/youtubei.js/namespaces/Log/functions/setLevel.md +++ b/docs/api/youtubei.js/namespaces/Log/functions/setLevel.md @@ -4,7 +4,7 @@ > **setLevel**(...`args`): `void` -Defined in: [src/utils/Log.ts:46](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Log.ts#L46) +Defined in: [src/utils/Log.ts:46](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Log.ts#L46) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/Log/functions/warn.md b/docs/api/youtubei.js/namespaces/Log/functions/warn.md index 6b58a747..35b784c3 100644 --- a/docs/api/youtubei.js/namespaces/Log/functions/warn.md +++ b/docs/api/youtubei.js/namespaces/Log/functions/warn.md @@ -2,9 +2,9 @@ # Function: warn() -> **warn**(`tag?`, ...`args?`): `void` +> **warn**(`tag?`, ...`args`): `void` -Defined in: [src/utils/Log.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Log.ts#L41) +Defined in: [src/utils/Log.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Log.ts#L41) ## Parameters @@ -12,7 +12,7 @@ Defined in: [src/utils/Log.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733 `string` -### args? +### args ...`any`[] diff --git a/docs/api/youtubei.js/namespaces/Log/functions/warnOnce.md b/docs/api/youtubei.js/namespaces/Log/functions/warnOnce.md index 6ab4ac94..642b6b5f 100644 --- a/docs/api/youtubei.js/namespaces/Log/functions/warnOnce.md +++ b/docs/api/youtubei.js/namespaces/Log/functions/warnOnce.md @@ -4,7 +4,7 @@ > **warnOnce**(`id`, ...`args`): `void` -Defined in: [src/utils/Log.ts:33](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Log.ts#L33) +Defined in: [src/utils/Log.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Log.ts#L33) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/Log/variables/Level.md b/docs/api/youtubei.js/namespaces/Log/variables/Level.md index 0287f7c0..ab84bf9c 100644 --- a/docs/api/youtubei.js/namespaces/Log/variables/Level.md +++ b/docs/api/youtubei.js/namespaces/Log/variables/Level.md @@ -4,7 +4,7 @@ > `const` **Level**: `object` -Defined in: [src/utils/Log.ts:3](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Log.ts#L3) +Defined in: [src/utils/Log.ts:3](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Log.ts#L3) ## Type Declaration diff --git a/docs/api/youtubei.js/namespaces/Managers/classes/AccountManager.md b/docs/api/youtubei.js/namespaces/Managers/classes/AccountManager.md index c86b4abb..571ee162 100644 --- a/docs/api/youtubei.js/namespaces/Managers/classes/AccountManager.md +++ b/docs/api/youtubei.js/namespaces/Managers/classes/AccountManager.md @@ -2,7 +2,7 @@ # Class: AccountManager -Defined in: [src/core/managers/AccountManager.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/AccountManager.ts#L10) +Defined in: [src/core/managers/AccountManager.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/AccountManager.ts#L10) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/core/managers/AccountManager.ts:10](https://github.com/LuanRT/Y > **new AccountManager**(`actions`): `AccountManager` -Defined in: [src/core/managers/AccountManager.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/AccountManager.ts#L13) +Defined in: [src/core/managers/AccountManager.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/AccountManager.ts#L13) #### Parameters @@ -30,7 +30,7 @@ Defined in: [src/core/managers/AccountManager.ts:13](https://github.com/LuanRT/Y > **getInfo**(`all`): `Promise`\<[`AccountItem`](../../YTNodes/classes/AccountItem.md)[]\> -Defined in: [src/core/managers/AccountManager.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/AccountManager.ts#L20) +Defined in: [src/core/managers/AccountManager.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/AccountManager.ts#L20) Retrieves the list of channels belonging to the signed-in account. Only useful when signed in through cookie. If signed in through OAuth, you will get the active channel only. @@ -48,7 +48,7 @@ Retrieves the list of channels belonging to the signed-in account. Only useful w > **getInfo**(`all?`): `Promise`\<[`AccountInfo`](../../YT/classes/AccountInfo.md)\> -Defined in: [src/core/managers/AccountManager.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/AccountManager.ts#L24) +Defined in: [src/core/managers/AccountManager.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/AccountManager.ts#L24) Retrieves the active channel info for the signed-in account. Throws error if `on_behalf_of_user` was used to create the Innertube instance; use `getInfo(true)` instead. @@ -68,7 +68,7 @@ Retrieves the active channel info for the signed-in account. Throws error if `on > **getSettings**(): `Promise`\<[`Settings`](../../YT/classes/Settings.md)\> -Defined in: [src/core/managers/AccountManager.ts:50](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/AccountManager.ts#L50) +Defined in: [src/core/managers/AccountManager.ts:50](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/AccountManager.ts#L50) Gets YouTube settings. diff --git a/docs/api/youtubei.js/namespaces/Managers/classes/InteractionManager.md b/docs/api/youtubei.js/namespaces/Managers/classes/InteractionManager.md index d6e1fd56..e58bb54f 100644 --- a/docs/api/youtubei.js/namespaces/Managers/classes/InteractionManager.md +++ b/docs/api/youtubei.js/namespaces/Managers/classes/InteractionManager.md @@ -2,7 +2,7 @@ # Class: InteractionManager -Defined in: [src/core/managers/InteractionManager.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/InteractionManager.ts#L7) +Defined in: [src/core/managers/InteractionManager.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/InteractionManager.ts#L7) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/core/managers/InteractionManager.ts:7](https://github.com/LuanR > **new InteractionManager**(`actions`): `InteractionManager` -Defined in: [src/core/managers/InteractionManager.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/InteractionManager.ts#L10) +Defined in: [src/core/managers/InteractionManager.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/InteractionManager.ts#L10) #### Parameters @@ -28,7 +28,7 @@ Defined in: [src/core/managers/InteractionManager.ts:10](https://github.com/Luan > **comment**(`video_id`, `text`): `Promise`\<[`ApiResponse`](../../../../interfaces/ApiResponse.md)\> -Defined in: [src/core/managers/InteractionManager.ts:119](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/InteractionManager.ts#L119) +Defined in: [src/core/managers/InteractionManager.ts:119](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/InteractionManager.ts#L119) Posts a comment on a given video. @@ -56,7 +56,7 @@ The comment text > **dislike**(`video_id`): `Promise`\<[`ApiResponse`](../../../../interfaces/ApiResponse.md)\> -Defined in: [src/core/managers/InteractionManager.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/InteractionManager.ts#L38) +Defined in: [src/core/managers/InteractionManager.ts:38](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/InteractionManager.ts#L38) Dislikes a given video. @@ -78,7 +78,7 @@ The video ID > **like**(`video_id`): `Promise`\<[`ApiResponse`](../../../../interfaces/ApiResponse.md)\> -Defined in: [src/core/managers/InteractionManager.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/InteractionManager.ts#L18) +Defined in: [src/core/managers/InteractionManager.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/InteractionManager.ts#L18) Likes a given video. @@ -100,7 +100,7 @@ The video ID > **removeRating**(`video_id`): `Promise`\<[`ApiResponse`](../../../../interfaces/ApiResponse.md)\> -Defined in: [src/core/managers/InteractionManager.ts:58](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/InteractionManager.ts#L58) +Defined in: [src/core/managers/InteractionManager.ts:58](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/InteractionManager.ts#L58) Removes a like/dislike. @@ -122,7 +122,7 @@ The video ID > **setNotificationPreferences**(`channel_id`, `type`): `Promise`\<[`ApiResponse`](../../../../interfaces/ApiResponse.md)\> -Defined in: [src/core/managers/InteractionManager.ts:174](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/InteractionManager.ts#L174) +Defined in: [src/core/managers/InteractionManager.ts:174](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/InteractionManager.ts#L174) Changes notification preferences for a given channel. Only works with channels you are subscribed to. @@ -151,7 +151,7 @@ The notification type. > **subscribe**(`channel_id`): `Promise`\<[`ApiResponse`](../../../../interfaces/ApiResponse.md)\> -Defined in: [src/core/managers/InteractionManager.ts:78](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/InteractionManager.ts#L78) +Defined in: [src/core/managers/InteractionManager.ts:78](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/InteractionManager.ts#L78) Subscribes to the given channel. @@ -171,9 +171,9 @@ The channel ID ### translate() -> **translate**(`text`, `target_language`, `args`): `Promise`\<\{ `data`: [`IRawResponse`](../../../../interfaces/IRawResponse.md); `status_code`: `number`; `success`: `boolean`; `translated_content`: `any`; \}\> +> **translate**(`text`, `target_language`, `args?`): `Promise`\<\{ `data`: [`IRawResponse`](../../../../interfaces/IRawResponse.md); `status_code`: `number`; `success`: `boolean`; `translated_content`: `any`; \}\> -Defined in: [src/core/managers/InteractionManager.ts:151](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/InteractionManager.ts#L151) +Defined in: [src/core/managers/InteractionManager.ts:151](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/InteractionManager.ts#L151) Translates a given text using YouTube's comment translation feature. @@ -191,7 +191,7 @@ The text to translate an ISO language code -##### args +##### args? optional arguments @@ -213,7 +213,7 @@ optional arguments > **unsubscribe**(`channel_id`): `Promise`\<[`ApiResponse`](../../../../interfaces/ApiResponse.md)\> -Defined in: [src/core/managers/InteractionManager.ts:98](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/InteractionManager.ts#L98) +Defined in: [src/core/managers/InteractionManager.ts:98](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/InteractionManager.ts#L98) Unsubscribes from the given channel. diff --git a/docs/api/youtubei.js/namespaces/Managers/classes/PlaylistManager.md b/docs/api/youtubei.js/namespaces/Managers/classes/PlaylistManager.md index bb531fec..503cae07 100644 --- a/docs/api/youtubei.js/namespaces/Managers/classes/PlaylistManager.md +++ b/docs/api/youtubei.js/namespaces/Managers/classes/PlaylistManager.md @@ -2,7 +2,7 @@ # Class: PlaylistManager -Defined in: [src/core/managers/PlaylistManager.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/PlaylistManager.ts#L8) +Defined in: [src/core/managers/PlaylistManager.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/PlaylistManager.ts#L8) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/core/managers/PlaylistManager.ts:8](https://github.com/LuanRT/Y > **new PlaylistManager**(`actions`): `PlaylistManager` -Defined in: [src/core/managers/PlaylistManager.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/PlaylistManager.ts#L11) +Defined in: [src/core/managers/PlaylistManager.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/PlaylistManager.ts#L11) #### Parameters @@ -28,7 +28,7 @@ Defined in: [src/core/managers/PlaylistManager.ts:11](https://github.com/LuanRT/ > **addToLibrary**(`playlist_id`): `Promise`\<[`ApiResponse`](../../../../interfaces/ApiResponse.md)\> -Defined in: [src/core/managers/PlaylistManager.ts:73](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/PlaylistManager.ts#L73) +Defined in: [src/core/managers/PlaylistManager.ts:73](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/PlaylistManager.ts#L73) Adds a given playlist to the library of a user. @@ -50,7 +50,7 @@ The playlist ID. > **addVideos**(`playlist_id`, `video_ids`): `Promise`\<\{ `action_result`: `any`; `playlist_id`: `string`; \}\> -Defined in: [src/core/managers/PlaylistManager.ts:114](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/PlaylistManager.ts#L114) +Defined in: [src/core/managers/PlaylistManager.ts:114](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/PlaylistManager.ts#L114) Adds videos to a given playlist. @@ -78,7 +78,7 @@ An array of video IDs to add to the playlist. > **create**(`title`, `video_ids`): `Promise`\<\{ `data`: `any`; `playlist_id?`: `string`; `status_code`: `number`; `success`: `boolean`; \}\> -Defined in: [src/core/managers/PlaylistManager.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/PlaylistManager.ts#L20) +Defined in: [src/core/managers/PlaylistManager.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/PlaylistManager.ts#L20) Creates a playlist. @@ -106,7 +106,7 @@ An array of video IDs to add to the playlist. > **delete**(`playlist_id`): `Promise`\<\{ `data`: `any`; `playlist_id`: `string`; `status_code`: `number`; `success`: `boolean`; \}\> -Defined in: [src/core/managers/PlaylistManager.ts:47](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/PlaylistManager.ts#L47) +Defined in: [src/core/managers/PlaylistManager.ts:47](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/PlaylistManager.ts#L47) Deletes a given playlist. @@ -128,7 +128,7 @@ The playlist ID. > **moveVideo**(`playlist_id`, `moved_video_id`, `predecessor_video_id`): `Promise`\<\{ `action_result`: `any`; `playlist_id`: `string`; \}\> -Defined in: [src/core/managers/PlaylistManager.ts:194](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/PlaylistManager.ts#L194) +Defined in: [src/core/managers/PlaylistManager.ts:194](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/PlaylistManager.ts#L194) Moves a video to a new position within a given playlist. @@ -162,7 +162,7 @@ The video ID to move the moved video before. > **removeFromLibrary**(`playlist_id`): `Promise`\<[`ApiResponse`](../../../../interfaces/ApiResponse.md)\> -Defined in: [src/core/managers/PlaylistManager.ts:93](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/PlaylistManager.ts#L93) +Defined in: [src/core/managers/PlaylistManager.ts:93](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/PlaylistManager.ts#L93) Remove a given playlist to the library of a user. @@ -182,9 +182,9 @@ The playlist ID. ### removeVideos() -> **removeVideos**(`playlist_id`, `video_ids`, `use_set_video_ids`): `Promise`\<\{ `action_result`: `any`; `playlist_id`: `string`; \}\> +> **removeVideos**(`playlist_id`, `video_ids`, `use_set_video_ids?`): `Promise`\<\{ `action_result`: `any`; `playlist_id`: `string`; \}\> -Defined in: [src/core/managers/PlaylistManager.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/PlaylistManager.ts#L144) +Defined in: [src/core/managers/PlaylistManager.ts:144](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/PlaylistManager.ts#L144) Removes videos from a given playlist. @@ -202,7 +202,7 @@ The playlist ID. An array of video IDs to remove from the playlist. -##### use\_set\_video\_ids +##### use\_set\_video\_ids? `boolean` = `false` @@ -218,7 +218,7 @@ Option to remove videos using set video IDs. > **setDescription**(`playlist_id`, `description`): `Promise`\<\{ `action_result`: `any`; `playlist_id`: `string`; \}\> -Defined in: [src/core/managers/PlaylistManager.ts:282](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/PlaylistManager.ts#L282) +Defined in: [src/core/managers/PlaylistManager.ts:282](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/PlaylistManager.ts#L282) Sets the description for the given playlist. @@ -246,7 +246,7 @@ The description to use for the playlist. > **setName**(`playlist_id`, `name`): `Promise`\<\{ `action_result`: `any`; `playlist_id`: `string`; \}\> -Defined in: [src/core/managers/PlaylistManager.ts:255](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/managers/PlaylistManager.ts#L255) +Defined in: [src/core/managers/PlaylistManager.ts:255](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/managers/PlaylistManager.ts#L255) Sets the name for the given playlist. diff --git a/docs/api/youtubei.js/namespaces/Misc/classes/AccessibilityContext.md b/docs/api/youtubei.js/namespaces/Misc/classes/AccessibilityContext.md index 56db6a62..e96b45fc 100644 --- a/docs/api/youtubei.js/namespaces/Misc/classes/AccessibilityContext.md +++ b/docs/api/youtubei.js/namespaces/Misc/classes/AccessibilityContext.md @@ -2,7 +2,7 @@ # Class: AccessibilityContext -Defined in: [src/parser/classes/misc/AccessibilityContext.ts:3](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/AccessibilityContext.ts#L3) +Defined in: [src/parser/classes/misc/AccessibilityContext.ts:3](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/AccessibilityContext.ts#L3) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/parser/classes/misc/AccessibilityContext.ts:3](https://github.c > **new AccessibilityContext**(`data`): `AccessibilityContext` -Defined in: [src/parser/classes/misc/AccessibilityContext.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/AccessibilityContext.ts#L6) +Defined in: [src/parser/classes/misc/AccessibilityContext.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/AccessibilityContext.ts#L6) #### Parameters @@ -28,4 +28,4 @@ Defined in: [src/parser/classes/misc/AccessibilityContext.ts:6](https://github.c > **label**: `string` -Defined in: [src/parser/classes/misc/AccessibilityContext.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/AccessibilityContext.ts#L4) +Defined in: [src/parser/classes/misc/AccessibilityContext.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/AccessibilityContext.ts#L4) diff --git a/docs/api/youtubei.js/namespaces/Misc/classes/AccessibilityData.md b/docs/api/youtubei.js/namespaces/Misc/classes/AccessibilityData.md index 5322ad60..2924bdfb 100644 --- a/docs/api/youtubei.js/namespaces/Misc/classes/AccessibilityData.md +++ b/docs/api/youtubei.js/namespaces/Misc/classes/AccessibilityData.md @@ -2,7 +2,7 @@ # Class: AccessibilityData -Defined in: [src/parser/classes/misc/AccessibilityData.ts:115](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/AccessibilityData.ts#L115) +Defined in: [src/parser/classes/misc/AccessibilityData.ts:115](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/AccessibilityData.ts#L115) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/parser/classes/misc/AccessibilityData.ts:115](https://github.co > **new AccessibilityData**(`data`): `AccessibilityData` -Defined in: [src/parser/classes/misc/AccessibilityData.ts:120](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/AccessibilityData.ts#L120) +Defined in: [src/parser/classes/misc/AccessibilityData.ts:120](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/AccessibilityData.ts#L120) #### Parameters @@ -28,7 +28,7 @@ Defined in: [src/parser/classes/misc/AccessibilityData.ts:120](https://github.co > `optional` **accessibility\_identifier**: `string` -Defined in: [src/parser/classes/misc/AccessibilityData.ts:116](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/AccessibilityData.ts#L116) +Defined in: [src/parser/classes/misc/AccessibilityData.ts:116](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/AccessibilityData.ts#L116) *** @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/misc/AccessibilityData.ts:116](https://github.co > `optional` **identifier**: `AccessibilityId` -Defined in: [src/parser/classes/misc/AccessibilityData.ts:117](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/AccessibilityData.ts#L117) +Defined in: [src/parser/classes/misc/AccessibilityData.ts:117](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/AccessibilityData.ts#L117) *** @@ -44,4 +44,4 @@ Defined in: [src/parser/classes/misc/AccessibilityData.ts:117](https://github.co > `optional` **label**: `string` -Defined in: [src/parser/classes/misc/AccessibilityData.ts:118](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/AccessibilityData.ts#L118) +Defined in: [src/parser/classes/misc/AccessibilityData.ts:118](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/AccessibilityData.ts#L118) diff --git a/docs/api/youtubei.js/namespaces/Misc/classes/Author.md b/docs/api/youtubei.js/namespaces/Misc/classes/Author.md index a06ddf4e..9a69a9ba 100644 --- a/docs/api/youtubei.js/namespaces/Misc/classes/Author.md +++ b/docs/api/youtubei.js/namespaces/Misc/classes/Author.md @@ -2,7 +2,7 @@ # Class: Author -Defined in: [src/parser/classes/misc/Author.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Author.ts#L10) +Defined in: [src/parser/classes/misc/Author.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Author.ts#L10) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/parser/classes/misc/Author.ts:10](https://github.com/LuanRT/You > **new Author**(`item`, `badges?`, `thumbs?`, `id?`): `Author` -Defined in: [src/parser/classes/misc/Author.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Author.ts#L21) +Defined in: [src/parser/classes/misc/Author.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Author.ts#L21) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/misc/Author.ts:21](https://github.com/LuanRT/You > **badges**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/misc/Author.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Author.ts#L15) +Defined in: [src/parser/classes/misc/Author.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Author.ts#L15) *** @@ -48,7 +48,7 @@ Defined in: [src/parser/classes/misc/Author.ts:15](https://github.com/LuanRT/You > `optional` **endpoint**: [`NavigationEndpoint`](../../YTNodes/classes/NavigationEndpoint.md) -Defined in: [src/parser/classes/misc/Author.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Author.ts#L14) +Defined in: [src/parser/classes/misc/Author.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Author.ts#L14) *** @@ -56,7 +56,7 @@ Defined in: [src/parser/classes/misc/Author.ts:14](https://github.com/LuanRT/You > **id**: `string` -Defined in: [src/parser/classes/misc/Author.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Author.ts#L11) +Defined in: [src/parser/classes/misc/Author.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Author.ts#L11) *** @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/misc/Author.ts:11](https://github.com/LuanRT/You > `optional` **is\_moderator**: `boolean` -Defined in: [src/parser/classes/misc/Author.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Author.ts#L16) +Defined in: [src/parser/classes/misc/Author.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Author.ts#L16) *** @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/misc/Author.ts:16](https://github.com/LuanRT/You > `optional` **is\_verified**: `boolean` -Defined in: [src/parser/classes/misc/Author.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Author.ts#L17) +Defined in: [src/parser/classes/misc/Author.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Author.ts#L17) *** @@ -80,7 +80,7 @@ Defined in: [src/parser/classes/misc/Author.ts:17](https://github.com/LuanRT/You > `optional` **is\_verified\_artist**: `boolean` -Defined in: [src/parser/classes/misc/Author.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Author.ts#L18) +Defined in: [src/parser/classes/misc/Author.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Author.ts#L18) *** @@ -88,7 +88,7 @@ Defined in: [src/parser/classes/misc/Author.ts:18](https://github.com/LuanRT/You > **name**: `string` -Defined in: [src/parser/classes/misc/Author.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Author.ts#L12) +Defined in: [src/parser/classes/misc/Author.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Author.ts#L12) *** @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/misc/Author.ts:12](https://github.com/LuanRT/You > **thumbnails**: [`Thumbnail`](Thumbnail.md)[] -Defined in: [src/parser/classes/misc/Author.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Author.ts#L13) +Defined in: [src/parser/classes/misc/Author.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Author.ts#L13) *** @@ -104,7 +104,7 @@ Defined in: [src/parser/classes/misc/Author.ts:13](https://github.com/LuanRT/You > **url**: `string` -Defined in: [src/parser/classes/misc/Author.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Author.ts#L19) +Defined in: [src/parser/classes/misc/Author.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Author.ts#L19) ## Accessors @@ -114,7 +114,7 @@ Defined in: [src/parser/classes/misc/Author.ts:19](https://github.com/LuanRT/You > **get** **best\_thumbnail**(): [`Thumbnail`](Thumbnail.md) \| `undefined` -Defined in: [src/parser/classes/misc/Author.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Author.ts#L51) +Defined in: [src/parser/classes/misc/Author.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Author.ts#L51) ##### Returns diff --git a/docs/api/youtubei.js/namespaces/Misc/classes/ChildElement.md b/docs/api/youtubei.js/namespaces/Misc/classes/ChildElement.md index c38e5e58..22584f5b 100644 --- a/docs/api/youtubei.js/namespaces/Misc/classes/ChildElement.md +++ b/docs/api/youtubei.js/namespaces/Misc/classes/ChildElement.md @@ -2,7 +2,7 @@ # Class: ChildElement -Defined in: [src/parser/classes/misc/ChildElement.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/ChildElement.ts#L4) +Defined in: [src/parser/classes/misc/ChildElement.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/ChildElement.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/misc/ChildElement.ts:4](https://github.com/LuanR > **new ChildElement**(`data`): `ChildElement` -Defined in: [src/parser/classes/misc/ChildElement.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/ChildElement.ts#L11) +Defined in: [src/parser/classes/misc/ChildElement.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/ChildElement.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/misc/ChildElement.ts:11](https://github.com/Luan > `optional` **child\_elements**: `ChildElement`[] -Defined in: [src/parser/classes/misc/ChildElement.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/ChildElement.ts#L9) +Defined in: [src/parser/classes/misc/ChildElement.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/ChildElement.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/misc/ChildElement.ts:9](https://github.com/LuanR > **properties**: `any` -Defined in: [src/parser/classes/misc/ChildElement.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/ChildElement.ts#L8) +Defined in: [src/parser/classes/misc/ChildElement.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/ChildElement.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/misc/ChildElement.ts:8](https://github.com/LuanR > `optional` **text**: `string` -Defined in: [src/parser/classes/misc/ChildElement.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/ChildElement.ts#L7) +Defined in: [src/parser/classes/misc/ChildElement.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/ChildElement.ts#L7) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/misc/ChildElement.ts:7](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ChildElement'` -Defined in: [src/parser/classes/misc/ChildElement.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/ChildElement.ts#L5) +Defined in: [src/parser/classes/misc/ChildElement.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/ChildElement.ts#L5) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/misc/ChildElement.ts:5](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ChildElement & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/Misc/classes/CommandContext.md b/docs/api/youtubei.js/namespaces/Misc/classes/CommandContext.md index 773fd2c7..3be83e1a 100644 --- a/docs/api/youtubei.js/namespaces/Misc/classes/CommandContext.md +++ b/docs/api/youtubei.js/namespaces/Misc/classes/CommandContext.md @@ -2,7 +2,7 @@ # Class: CommandContext -Defined in: [src/parser/classes/misc/CommandContext.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/CommandContext.ts#L4) +Defined in: [src/parser/classes/misc/CommandContext.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/CommandContext.ts#L4) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/parser/classes/misc/CommandContext.ts:4](https://github.com/Lua > **new CommandContext**(`data`): `CommandContext` -Defined in: [src/parser/classes/misc/CommandContext.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/CommandContext.ts#L16) +Defined in: [src/parser/classes/misc/CommandContext.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/CommandContext.ts#L16) #### Parameters @@ -28,7 +28,7 @@ Defined in: [src/parser/classes/misc/CommandContext.ts:16](https://github.com/Lu > `optional` **on\_first\_visible**: [`NavigationEndpoint`](../../YTNodes/classes/NavigationEndpoint.md) -Defined in: [src/parser/classes/misc/CommandContext.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/CommandContext.ts#L13) +Defined in: [src/parser/classes/misc/CommandContext.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/CommandContext.ts#L13) *** @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/misc/CommandContext.ts:13](https://github.com/Lu > `optional` **on\_focus**: [`NavigationEndpoint`](../../YTNodes/classes/NavigationEndpoint.md) -Defined in: [src/parser/classes/misc/CommandContext.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/CommandContext.ts#L5) +Defined in: [src/parser/classes/misc/CommandContext.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/CommandContext.ts#L5) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/misc/CommandContext.ts:5](https://github.com/Lua > `optional` **on\_hidden**: [`NavigationEndpoint`](../../YTNodes/classes/NavigationEndpoint.md) -Defined in: [src/parser/classes/misc/CommandContext.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/CommandContext.ts#L6) +Defined in: [src/parser/classes/misc/CommandContext.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/CommandContext.ts#L6) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/misc/CommandContext.ts:6](https://github.com/Lua > `optional` **on\_hover**: [`NavigationEndpoint`](../../YTNodes/classes/NavigationEndpoint.md) -Defined in: [src/parser/classes/misc/CommandContext.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/CommandContext.ts#L14) +Defined in: [src/parser/classes/misc/CommandContext.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/CommandContext.ts#L14) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/misc/CommandContext.ts:14](https://github.com/Lu > `optional` **on\_long\_press**: [`NavigationEndpoint`](../../YTNodes/classes/NavigationEndpoint.md) -Defined in: [src/parser/classes/misc/CommandContext.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/CommandContext.ts#L9) +Defined in: [src/parser/classes/misc/CommandContext.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/CommandContext.ts#L9) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/misc/CommandContext.ts:9](https://github.com/Lua > `optional` **on\_tap**: [`NavigationEndpoint`](../../YTNodes/classes/NavigationEndpoint.md) -Defined in: [src/parser/classes/misc/CommandContext.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/CommandContext.ts#L10) +Defined in: [src/parser/classes/misc/CommandContext.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/CommandContext.ts#L10) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/misc/CommandContext.ts:10](https://github.com/Lu > `optional` **on\_touch\_end**: [`NavigationEndpoint`](../../YTNodes/classes/NavigationEndpoint.md) -Defined in: [src/parser/classes/misc/CommandContext.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/CommandContext.ts#L7) +Defined in: [src/parser/classes/misc/CommandContext.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/CommandContext.ts#L7) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/misc/CommandContext.ts:7](https://github.com/Lua > `optional` **on\_touch\_move**: [`NavigationEndpoint`](../../YTNodes/classes/NavigationEndpoint.md) -Defined in: [src/parser/classes/misc/CommandContext.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/CommandContext.ts#L8) +Defined in: [src/parser/classes/misc/CommandContext.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/CommandContext.ts#L8) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/misc/CommandContext.ts:8](https://github.com/Lua > `optional` **on\_touch\_start**: [`NavigationEndpoint`](../../YTNodes/classes/NavigationEndpoint.md) -Defined in: [src/parser/classes/misc/CommandContext.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/CommandContext.ts#L11) +Defined in: [src/parser/classes/misc/CommandContext.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/CommandContext.ts#L11) *** @@ -100,4 +100,4 @@ Defined in: [src/parser/classes/misc/CommandContext.ts:11](https://github.com/Lu > `optional` **on\_visible**: [`NavigationEndpoint`](../../YTNodes/classes/NavigationEndpoint.md) -Defined in: [src/parser/classes/misc/CommandContext.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/CommandContext.ts#L12) +Defined in: [src/parser/classes/misc/CommandContext.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/CommandContext.ts#L12) diff --git a/docs/api/youtubei.js/namespaces/Misc/classes/EmojiRun.md b/docs/api/youtubei.js/namespaces/Misc/classes/EmojiRun.md index 2d96e7af..68c4891e 100644 --- a/docs/api/youtubei.js/namespaces/Misc/classes/EmojiRun.md +++ b/docs/api/youtubei.js/namespaces/Misc/classes/EmojiRun.md @@ -2,7 +2,7 @@ # Class: EmojiRun -Defined in: [src/parser/classes/misc/EmojiRun.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/EmojiRun.ts#L13) +Defined in: [src/parser/classes/misc/EmojiRun.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/EmojiRun.ts#L13) ## Implements @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/misc/EmojiRun.ts:13](https://github.com/LuanRT/Y > **new EmojiRun**(`data`): `EmojiRun` -Defined in: [src/parser/classes/misc/EmojiRun.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/EmojiRun.ts#L17) +Defined in: [src/parser/classes/misc/EmojiRun.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/EmojiRun.ts#L17) #### Parameters @@ -32,7 +32,7 @@ Defined in: [src/parser/classes/misc/EmojiRun.ts:17](https://github.com/LuanRT/Y > **emoji**: `Emoji` -Defined in: [src/parser/classes/misc/EmojiRun.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/EmojiRun.ts#L15) +Defined in: [src/parser/classes/misc/EmojiRun.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/EmojiRun.ts#L15) *** @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/misc/EmojiRun.ts:15](https://github.com/LuanRT/Y > **text**: `string` -Defined in: [src/parser/classes/misc/EmojiRun.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/EmojiRun.ts#L14) +Defined in: [src/parser/classes/misc/EmojiRun.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/EmojiRun.ts#L14) #### Implementation of @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/misc/EmojiRun.ts:14](https://github.com/LuanRT/Y > **toHTML**(): `string` -Defined in: [src/parser/classes/misc/EmojiRun.ts:37](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/EmojiRun.ts#L37) +Defined in: [src/parser/classes/misc/EmojiRun.ts:37](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/EmojiRun.ts#L37) #### Returns @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/misc/EmojiRun.ts:37](https://github.com/LuanRT/Y > **toString**(): `string` -Defined in: [src/parser/classes/misc/EmojiRun.ts:33](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/EmojiRun.ts#L33) +Defined in: [src/parser/classes/misc/EmojiRun.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/EmojiRun.ts#L33) #### Returns diff --git a/docs/api/youtubei.js/namespaces/Misc/classes/Format.md b/docs/api/youtubei.js/namespaces/Misc/classes/Format.md index 2fa77660..213b8a25 100644 --- a/docs/api/youtubei.js/namespaces/Misc/classes/Format.md +++ b/docs/api/youtubei.js/namespaces/Misc/classes/Format.md @@ -2,7 +2,7 @@ # Class: Format -Defined in: [src/parser/classes/misc/Format.ts:35](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L35) +Defined in: [src/parser/classes/misc/Format.ts:35](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L35) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/parser/classes/misc/Format.ts:35](https://github.com/LuanRT/You > **new Format**(`data`, `this_response_nsig_cache?`): `Format` -Defined in: [src/parser/classes/misc/Format.ts:87](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L87) +Defined in: [src/parser/classes/misc/Format.ts:89](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L89) #### Parameters @@ -32,7 +32,7 @@ Defined in: [src/parser/classes/misc/Format.ts:87](https://github.com/LuanRT/You > **approx\_duration\_ms**: `number` -Defined in: [src/parser/classes/misc/Format.ts:60](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L60) +Defined in: [src/parser/classes/misc/Format.ts:60](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L60) *** @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/misc/Format.ts:60](https://github.com/LuanRT/You > `optional` **audio\_channels**: `number` -Defined in: [src/parser/classes/misc/Format.ts:62](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L62) +Defined in: [src/parser/classes/misc/Format.ts:62](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L62) *** @@ -48,7 +48,7 @@ Defined in: [src/parser/classes/misc/Format.ts:62](https://github.com/LuanRT/You > `optional` **audio\_quality**: `string` -Defined in: [src/parser/classes/misc/Format.ts:59](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L59) +Defined in: [src/parser/classes/misc/Format.ts:59](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L59) *** @@ -56,7 +56,7 @@ Defined in: [src/parser/classes/misc/Format.ts:59](https://github.com/LuanRT/You > `optional` **audio\_sample\_rate**: `number` -Defined in: [src/parser/classes/misc/Format.ts:61](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L61) +Defined in: [src/parser/classes/misc/Format.ts:61](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L61) *** @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/misc/Format.ts:61](https://github.com/LuanRT/You > `optional` **audio\_track**: `AudioTrack` -Defined in: [src/parser/classes/misc/Format.ts:74](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L74) +Defined in: [src/parser/classes/misc/Format.ts:76](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L76) *** @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/misc/Format.ts:74](https://github.com/LuanRT/You > `optional` **average\_bitrate**: `number` -Defined in: [src/parser/classes/misc/Format.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L51) +Defined in: [src/parser/classes/misc/Format.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L51) *** @@ -80,7 +80,7 @@ Defined in: [src/parser/classes/misc/Format.ts:51](https://github.com/LuanRT/You > **bitrate**: `number` -Defined in: [src/parser/classes/misc/Format.ts:52](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L52) +Defined in: [src/parser/classes/misc/Format.ts:52](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L52) *** @@ -88,7 +88,7 @@ Defined in: [src/parser/classes/misc/Format.ts:52](https://github.com/LuanRT/You > `optional` **caption\_track**: `CaptionTrack` -Defined in: [src/parser/classes/misc/Format.ts:85](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L85) +Defined in: [src/parser/classes/misc/Format.ts:87](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L87) *** @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/misc/Format.ts:85](https://github.com/LuanRT/You > `optional` **cipher**: `string` -Defined in: [src/parser/classes/misc/Format.ts:73](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L73) +Defined in: [src/parser/classes/misc/Format.ts:75](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L75) *** @@ -104,7 +104,7 @@ Defined in: [src/parser/classes/misc/Format.ts:73](https://github.com/LuanRT/You > `optional` **color\_info**: `ColorInfo` -Defined in: [src/parser/classes/misc/Format.ts:84](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L84) +Defined in: [src/parser/classes/misc/Format.ts:86](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L86) *** @@ -112,7 +112,7 @@ Defined in: [src/parser/classes/misc/Format.ts:84](https://github.com/LuanRT/You > `optional` **content\_length**: `number` -Defined in: [src/parser/classes/misc/Format.ts:44](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L44) +Defined in: [src/parser/classes/misc/Format.ts:44](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L44) *** @@ -120,7 +120,7 @@ Defined in: [src/parser/classes/misc/Format.ts:44](https://github.com/LuanRT/You > `optional` **distinct\_params**: `string` -Defined in: [src/parser/classes/misc/Format.ts:67](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L67) +Defined in: [src/parser/classes/misc/Format.ts:69](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L69) *** @@ -128,7 +128,7 @@ Defined in: [src/parser/classes/misc/Format.ts:67](https://github.com/LuanRT/You > `optional` **drm\_families**: `string`[] -Defined in: [src/parser/classes/misc/Format.ts:47](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L47) +Defined in: [src/parser/classes/misc/Format.ts:47](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L47) *** @@ -136,7 +136,7 @@ Defined in: [src/parser/classes/misc/Format.ts:47](https://github.com/LuanRT/You > `optional` **drm\_track\_type**: `string` -Defined in: [src/parser/classes/misc/Format.ts:66](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L66) +Defined in: [src/parser/classes/misc/Format.ts:68](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L68) *** @@ -144,7 +144,7 @@ Defined in: [src/parser/classes/misc/Format.ts:66](https://github.com/LuanRT/You > `optional` **fair\_play\_key\_uri**: `string` -Defined in: [src/parser/classes/misc/Format.ts:55](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L55) +Defined in: [src/parser/classes/misc/Format.ts:55](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L55) *** @@ -152,7 +152,7 @@ Defined in: [src/parser/classes/misc/Format.ts:55](https://github.com/LuanRT/You > `optional` **fps**: `number` -Defined in: [src/parser/classes/misc/Format.ts:48](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L48) +Defined in: [src/parser/classes/misc/Format.ts:48](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L48) *** @@ -160,7 +160,7 @@ Defined in: [src/parser/classes/misc/Format.ts:48](https://github.com/LuanRT/You > **has\_audio**: `boolean` -Defined in: [src/parser/classes/misc/Format.ts:75](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L75) +Defined in: [src/parser/classes/misc/Format.ts:77](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L77) *** @@ -168,7 +168,7 @@ Defined in: [src/parser/classes/misc/Format.ts:75](https://github.com/LuanRT/You > **has\_text**: `boolean` -Defined in: [src/parser/classes/misc/Format.ts:77](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L77) +Defined in: [src/parser/classes/misc/Format.ts:79](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L79) *** @@ -176,7 +176,7 @@ Defined in: [src/parser/classes/misc/Format.ts:77](https://github.com/LuanRT/You > **has\_video**: `boolean` -Defined in: [src/parser/classes/misc/Format.ts:76](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L76) +Defined in: [src/parser/classes/misc/Format.ts:78](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L78) *** @@ -184,7 +184,7 @@ Defined in: [src/parser/classes/misc/Format.ts:76](https://github.com/LuanRT/You > `optional` **height**: `number` -Defined in: [src/parser/classes/misc/Format.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L41) +Defined in: [src/parser/classes/misc/Format.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L41) *** @@ -192,7 +192,7 @@ Defined in: [src/parser/classes/misc/Format.ts:41](https://github.com/LuanRT/You > `optional` **high\_replication**: `boolean` -Defined in: [src/parser/classes/misc/Format.ts:58](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L58) +Defined in: [src/parser/classes/misc/Format.ts:58](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L58) *** @@ -200,7 +200,7 @@ Defined in: [src/parser/classes/misc/Format.ts:58](https://github.com/LuanRT/You > `optional` **index\_range**: `Range` -Defined in: [src/parser/classes/misc/Format.ts:72](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L72) +Defined in: [src/parser/classes/misc/Format.ts:74](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L74) *** @@ -208,7 +208,7 @@ Defined in: [src/parser/classes/misc/Format.ts:72](https://github.com/LuanRT/You > `optional` **init\_range**: `Range` -Defined in: [src/parser/classes/misc/Format.ts:71](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L71) +Defined in: [src/parser/classes/misc/Format.ts:73](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L73) *** @@ -216,7 +216,7 @@ Defined in: [src/parser/classes/misc/Format.ts:71](https://github.com/LuanRT/You > `optional` **is\_auto\_dubbed**: `boolean` -Defined in: [src/parser/classes/misc/Format.ts:80](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L80) +Defined in: [src/parser/classes/misc/Format.ts:82](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L82) *** @@ -224,7 +224,7 @@ Defined in: [src/parser/classes/misc/Format.ts:80](https://github.com/LuanRT/You > `optional` **is\_descriptive**: `boolean` -Defined in: [src/parser/classes/misc/Format.ts:81](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L81) +Defined in: [src/parser/classes/misc/Format.ts:83](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L83) *** @@ -232,7 +232,7 @@ Defined in: [src/parser/classes/misc/Format.ts:81](https://github.com/LuanRT/You > `optional` **is\_drc**: `boolean` -Defined in: [src/parser/classes/misc/Format.ts:65](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L65) +Defined in: [src/parser/classes/misc/Format.ts:65](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L65) *** @@ -240,7 +240,7 @@ Defined in: [src/parser/classes/misc/Format.ts:65](https://github.com/LuanRT/You > `optional` **is\_dubbed**: `boolean` -Defined in: [src/parser/classes/misc/Format.ts:79](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L79) +Defined in: [src/parser/classes/misc/Format.ts:81](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L81) *** @@ -248,7 +248,7 @@ Defined in: [src/parser/classes/misc/Format.ts:79](https://github.com/LuanRT/You > `optional` **is\_original**: `boolean` -Defined in: [src/parser/classes/misc/Format.ts:83](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L83) +Defined in: [src/parser/classes/misc/Format.ts:85](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L85) *** @@ -256,7 +256,15 @@ Defined in: [src/parser/classes/misc/Format.ts:83](https://github.com/LuanRT/You > `optional` **is\_secondary**: `boolean` -Defined in: [src/parser/classes/misc/Format.ts:82](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L82) +Defined in: [src/parser/classes/misc/Format.ts:84](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L84) + +*** + +### is\_sr? + +> `optional` **is\_sr**: `boolean` + +Defined in: [src/parser/classes/misc/Format.ts:67](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L67) *** @@ -264,7 +272,15 @@ Defined in: [src/parser/classes/misc/Format.ts:82](https://github.com/LuanRT/You > **is\_type\_otf**: `boolean` -Defined in: [src/parser/classes/misc/Format.ts:70](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L70) +Defined in: [src/parser/classes/misc/Format.ts:72](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L72) + +*** + +### is\_vb? + +> `optional` **is\_vb**: `boolean` + +Defined in: [src/parser/classes/misc/Format.ts:66](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L66) *** @@ -272,7 +288,7 @@ Defined in: [src/parser/classes/misc/Format.ts:70](https://github.com/LuanRT/You > **itag**: `number` -Defined in: [src/parser/classes/misc/Format.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L38) +Defined in: [src/parser/classes/misc/Format.ts:38](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L38) *** @@ -280,7 +296,7 @@ Defined in: [src/parser/classes/misc/Format.ts:38](https://github.com/LuanRT/You > `optional` **language**: `string` \| `null` -Defined in: [src/parser/classes/misc/Format.ts:78](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L78) +Defined in: [src/parser/classes/misc/Format.ts:80](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L80) *** @@ -288,7 +304,7 @@ Defined in: [src/parser/classes/misc/Format.ts:78](https://github.com/LuanRT/You > **last\_modified**: `Date` -Defined in: [src/parser/classes/misc/Format.ts:42](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L42) +Defined in: [src/parser/classes/misc/Format.ts:42](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L42) *** @@ -296,7 +312,7 @@ Defined in: [src/parser/classes/misc/Format.ts:42](https://github.com/LuanRT/You > **last\_modified\_ms**: `string` -Defined in: [src/parser/classes/misc/Format.ts:43](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L43) +Defined in: [src/parser/classes/misc/Format.ts:43](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L43) *** @@ -304,7 +320,7 @@ Defined in: [src/parser/classes/misc/Format.ts:43](https://github.com/LuanRT/You > `optional` **loudness\_db**: `number` -Defined in: [src/parser/classes/misc/Format.ts:63](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L63) +Defined in: [src/parser/classes/misc/Format.ts:63](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L63) *** @@ -312,7 +328,7 @@ Defined in: [src/parser/classes/misc/Format.ts:63](https://github.com/LuanRT/You > `optional` **max\_dvr\_duration\_sec**: `number` -Defined in: [src/parser/classes/misc/Format.ts:57](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L57) +Defined in: [src/parser/classes/misc/Format.ts:57](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L57) *** @@ -320,7 +336,7 @@ Defined in: [src/parser/classes/misc/Format.ts:57](https://github.com/LuanRT/You > **mime\_type**: `string` -Defined in: [src/parser/classes/misc/Format.ts:69](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L69) +Defined in: [src/parser/classes/misc/Format.ts:71](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L71) *** @@ -328,7 +344,7 @@ Defined in: [src/parser/classes/misc/Format.ts:69](https://github.com/LuanRT/You > `optional` **projection\_type**: `ProjectionType` -Defined in: [src/parser/classes/misc/Format.ts:50](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L50) +Defined in: [src/parser/classes/misc/Format.ts:50](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L50) *** @@ -336,7 +352,7 @@ Defined in: [src/parser/classes/misc/Format.ts:50](https://github.com/LuanRT/You > `optional` **quality**: `string` -Defined in: [src/parser/classes/misc/Format.ts:45](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L45) +Defined in: [src/parser/classes/misc/Format.ts:45](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L45) *** @@ -344,7 +360,7 @@ Defined in: [src/parser/classes/misc/Format.ts:45](https://github.com/LuanRT/You > `optional` **quality\_label**: `string` -Defined in: [src/parser/classes/misc/Format.ts:49](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L49) +Defined in: [src/parser/classes/misc/Format.ts:49](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L49) *** @@ -352,7 +368,7 @@ Defined in: [src/parser/classes/misc/Format.ts:49](https://github.com/LuanRT/You > `optional` **signature\_cipher**: `string` -Defined in: [src/parser/classes/misc/Format.ts:64](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L64) +Defined in: [src/parser/classes/misc/Format.ts:64](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L64) *** @@ -360,7 +376,7 @@ Defined in: [src/parser/classes/misc/Format.ts:64](https://github.com/LuanRT/You > `optional` **spatial\_audio\_type**: `SpatialAudioType` -Defined in: [src/parser/classes/misc/Format.ts:53](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L53) +Defined in: [src/parser/classes/misc/Format.ts:53](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L53) *** @@ -368,7 +384,7 @@ Defined in: [src/parser/classes/misc/Format.ts:53](https://github.com/LuanRT/You > `optional` **stereo\_layout**: `StereoLayout` -Defined in: [src/parser/classes/misc/Format.ts:56](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L56) +Defined in: [src/parser/classes/misc/Format.ts:56](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L56) *** @@ -376,7 +392,7 @@ Defined in: [src/parser/classes/misc/Format.ts:56](https://github.com/LuanRT/You > `optional` **target\_duration\_dec**: `number` -Defined in: [src/parser/classes/misc/Format.ts:54](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L54) +Defined in: [src/parser/classes/misc/Format.ts:54](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L54) *** @@ -384,7 +400,7 @@ Defined in: [src/parser/classes/misc/Format.ts:54](https://github.com/LuanRT/You > `optional` **track\_absolute\_loudness\_lkfs**: `number` -Defined in: [src/parser/classes/misc/Format.ts:68](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L68) +Defined in: [src/parser/classes/misc/Format.ts:70](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L70) *** @@ -392,7 +408,7 @@ Defined in: [src/parser/classes/misc/Format.ts:68](https://github.com/LuanRT/You > `optional` **url**: `string` -Defined in: [src/parser/classes/misc/Format.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L39) +Defined in: [src/parser/classes/misc/Format.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L39) *** @@ -400,7 +416,7 @@ Defined in: [src/parser/classes/misc/Format.ts:39](https://github.com/LuanRT/You > `optional` **width**: `number` -Defined in: [src/parser/classes/misc/Format.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L40) +Defined in: [src/parser/classes/misc/Format.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L40) *** @@ -408,7 +424,7 @@ Defined in: [src/parser/classes/misc/Format.ts:40](https://github.com/LuanRT/You > `optional` **xtags**: `string` -Defined in: [src/parser/classes/misc/Format.ts:46](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L46) +Defined in: [src/parser/classes/misc/Format.ts:46](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L46) ## Methods @@ -416,7 +432,7 @@ Defined in: [src/parser/classes/misc/Format.ts:46](https://github.com/LuanRT/You > **decipher**(`player?`): `Promise`\<`string`\> -Defined in: [src/parser/classes/misc/Format.ts:245](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Format.ts#L245) +Defined in: [src/parser/classes/misc/Format.ts:252](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Format.ts#L252) Deciphers the URL using the provided player instance. diff --git a/docs/api/youtubei.js/namespaces/Misc/classes/RendererContext.md b/docs/api/youtubei.js/namespaces/Misc/classes/RendererContext.md index 1ef952f0..220e5df6 100644 --- a/docs/api/youtubei.js/namespaces/Misc/classes/RendererContext.md +++ b/docs/api/youtubei.js/namespaces/Misc/classes/RendererContext.md @@ -2,7 +2,7 @@ # Class: RendererContext -Defined in: [src/parser/classes/misc/RendererContext.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/RendererContext.ts#L5) +Defined in: [src/parser/classes/misc/RendererContext.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/RendererContext.ts#L5) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/parser/classes/misc/RendererContext.ts:5](https://github.com/Lu > **new RendererContext**(`data?`): `RendererContext` -Defined in: [src/parser/classes/misc/RendererContext.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/RendererContext.ts#L9) +Defined in: [src/parser/classes/misc/RendererContext.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/RendererContext.ts#L9) #### Parameters @@ -28,7 +28,7 @@ Defined in: [src/parser/classes/misc/RendererContext.ts:9](https://github.com/Lu > `optional` **accessibility\_context**: [`AccessibilityContext`](AccessibilityContext.md) -Defined in: [src/parser/classes/misc/RendererContext.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/RendererContext.ts#L7) +Defined in: [src/parser/classes/misc/RendererContext.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/RendererContext.ts#L7) *** @@ -36,4 +36,4 @@ Defined in: [src/parser/classes/misc/RendererContext.ts:7](https://github.com/Lu > `optional` **command\_context**: [`CommandContext`](CommandContext.md) -Defined in: [src/parser/classes/misc/RendererContext.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/RendererContext.ts#L6) +Defined in: [src/parser/classes/misc/RendererContext.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/RendererContext.ts#L6) diff --git a/docs/api/youtubei.js/namespaces/Misc/classes/SubscriptionButton.md b/docs/api/youtubei.js/namespaces/Misc/classes/SubscriptionButton.md index 46879caa..c7f46781 100644 --- a/docs/api/youtubei.js/namespaces/Misc/classes/SubscriptionButton.md +++ b/docs/api/youtubei.js/namespaces/Misc/classes/SubscriptionButton.md @@ -2,7 +2,7 @@ # Class: SubscriptionButton -Defined in: [src/parser/classes/misc/SubscriptionButton.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/SubscriptionButton.ts#L4) +Defined in: [src/parser/classes/misc/SubscriptionButton.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/SubscriptionButton.ts#L4) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/parser/classes/misc/SubscriptionButton.ts:4](https://github.com > **new SubscriptionButton**(`data`): `SubscriptionButton` -Defined in: [src/parser/classes/misc/SubscriptionButton.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/SubscriptionButton.ts#L11) +Defined in: [src/parser/classes/misc/SubscriptionButton.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/SubscriptionButton.ts#L11) #### Parameters @@ -28,7 +28,7 @@ Defined in: [src/parser/classes/misc/SubscriptionButton.ts:11](https://github.co > **subscribed**: `boolean` -Defined in: [src/parser/classes/misc/SubscriptionButton.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/SubscriptionButton.ts#L8) +Defined in: [src/parser/classes/misc/SubscriptionButton.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/SubscriptionButton.ts#L8) *** @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/misc/SubscriptionButton.ts:8](https://github.com > `optional` **subscription\_type**: `"FREE"` \| `"PAID"` \| `"UNAVAILABLE"` -Defined in: [src/parser/classes/misc/SubscriptionButton.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/SubscriptionButton.ts#L9) +Defined in: [src/parser/classes/misc/SubscriptionButton.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/SubscriptionButton.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/misc/SubscriptionButton.ts:9](https://github.com > **text**: [`Text`](Text.md) -Defined in: [src/parser/classes/misc/SubscriptionButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/SubscriptionButton.ts#L7) +Defined in: [src/parser/classes/misc/SubscriptionButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/SubscriptionButton.ts#L7) *** @@ -52,4 +52,4 @@ Defined in: [src/parser/classes/misc/SubscriptionButton.ts:7](https://github.com > `static` **type**: `string` = `'SubscriptionButton'` -Defined in: [src/parser/classes/misc/SubscriptionButton.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/SubscriptionButton.ts#L5) +Defined in: [src/parser/classes/misc/SubscriptionButton.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/SubscriptionButton.ts#L5) diff --git a/docs/api/youtubei.js/namespaces/Misc/classes/Text.md b/docs/api/youtubei.js/namespaces/Misc/classes/Text.md index 097a7ae7..1c204857 100644 --- a/docs/api/youtubei.js/namespaces/Misc/classes/Text.md +++ b/docs/api/youtubei.js/namespaces/Misc/classes/Text.md @@ -2,7 +2,7 @@ # Class: Text -Defined in: [src/parser/classes/misc/Text.ts:34](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Text.ts#L34) +Defined in: [src/parser/classes/misc/Text.ts:34](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Text.ts#L34) Represents text content that may include formatting, emojis, and navigation endpoints. @@ -12,7 +12,7 @@ Represents text content that may include formatting, emojis, and navigation endp > **new Text**(`data`): `Text` -Defined in: [src/parser/classes/misc/Text.ts:60](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Text.ts#L60) +Defined in: [src/parser/classes/misc/Text.ts:60](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Text.ts#L60) #### Parameters @@ -30,7 +30,7 @@ Defined in: [src/parser/classes/misc/Text.ts:60](https://github.com/LuanRT/YouTu > `optional` **accessibility**: `FormattedStringSupportedAccessibilityDatas` -Defined in: [src/parser/classes/misc/Text.ts:53](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Text.ts#L53) +Defined in: [src/parser/classes/misc/Text.ts:53](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Text.ts#L53) Accessibility data associated with this text. @@ -40,7 +40,7 @@ Accessibility data associated with this text. > `optional` **endpoint**: [`NavigationEndpoint`](../../YTNodes/classes/NavigationEndpoint.md) -Defined in: [src/parser/classes/misc/Text.ts:48](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Text.ts#L48) +Defined in: [src/parser/classes/misc/Text.ts:48](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Text.ts#L48) Navigation endpoint associated with this text. @@ -50,7 +50,7 @@ Navigation endpoint associated with this text. > **rtl**: `boolean` -Defined in: [src/parser/classes/misc/Text.ts:58](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Text.ts#L58) +Defined in: [src/parser/classes/misc/Text.ts:58](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Text.ts#L58) Indicates if the text is right-to-left. @@ -60,7 +60,7 @@ Indicates if the text is right-to-left. > `optional` **runs**: ([`TextRun`](TextRun.md) \| [`EmojiRun`](EmojiRun.md))[] -Defined in: [src/parser/classes/misc/Text.ts:43](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Text.ts#L43) +Defined in: [src/parser/classes/misc/Text.ts:43](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Text.ts#L43) Individual text segments with their formatting. @@ -70,7 +70,7 @@ Individual text segments with their formatting. > `optional` **text**: `string` -Defined in: [src/parser/classes/misc/Text.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Text.ts#L38) +Defined in: [src/parser/classes/misc/Text.ts:38](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Text.ts#L38) The plain text content. @@ -80,7 +80,7 @@ The plain text content. > **isEmpty**(): `boolean` -Defined in: [src/parser/classes/misc/Text.ts:262](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Text.ts#L262) +Defined in: [src/parser/classes/misc/Text.ts:262](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Text.ts#L262) Checks if the text is empty. @@ -96,7 +96,7 @@ Whether the text is empty. > **toHTML**(): `string` \| `undefined` -Defined in: [src/parser/classes/misc/Text.ts:254](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Text.ts#L254) +Defined in: [src/parser/classes/misc/Text.ts:254](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Text.ts#L254) Converts the text to HTML. @@ -112,7 +112,7 @@ The HTML. > **toString**(): `string` -Defined in: [src/parser/classes/misc/Text.ts:270](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Text.ts#L270) +Defined in: [src/parser/classes/misc/Text.ts:270](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Text.ts#L270) Converts the text to a string. @@ -128,7 +128,7 @@ The text. > `static` **fromAttributed**(`data`): `Text` -Defined in: [src/parser/classes/misc/Text.ts:103](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Text.ts#L103) +Defined in: [src/parser/classes/misc/Text.ts:103](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Text.ts#L103) #### Parameters diff --git a/docs/api/youtubei.js/namespaces/Misc/classes/TextRun.md b/docs/api/youtubei.js/namespaces/Misc/classes/TextRun.md index 921db47d..db68ae5b 100644 --- a/docs/api/youtubei.js/namespaces/Misc/classes/TextRun.md +++ b/docs/api/youtubei.js/namespaces/Misc/classes/TextRun.md @@ -2,7 +2,7 @@ # Class: TextRun -Defined in: [src/parser/classes/misc/TextRun.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/TextRun.ts#L5) +Defined in: [src/parser/classes/misc/TextRun.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/TextRun.ts#L5) ## Implements @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/misc/TextRun.ts:5](https://github.com/LuanRT/You > **new TextRun**(`data`): `TextRun` -Defined in: [src/parser/classes/misc/TextRun.ts:32](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/TextRun.ts#L32) +Defined in: [src/parser/classes/misc/TextRun.ts:32](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/TextRun.ts#L32) #### Parameters @@ -32,7 +32,7 @@ Defined in: [src/parser/classes/misc/TextRun.ts:32](https://github.com/LuanRT/Yo > **attachment**: `any` -Defined in: [src/parser/classes/misc/TextRun.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/TextRun.ts#L30) +Defined in: [src/parser/classes/misc/TextRun.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/TextRun.ts#L30) *** @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/misc/TextRun.ts:30](https://github.com/LuanRT/Yo > **bold**: `boolean` -Defined in: [src/parser/classes/misc/TextRun.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/TextRun.ts#L9) +Defined in: [src/parser/classes/misc/TextRun.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/TextRun.ts#L9) *** @@ -48,7 +48,7 @@ Defined in: [src/parser/classes/misc/TextRun.ts:9](https://github.com/LuanRT/You > **bracket**: `boolean` -Defined in: [src/parser/classes/misc/TextRun.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/TextRun.ts#L10) +Defined in: [src/parser/classes/misc/TextRun.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/TextRun.ts#L10) *** @@ -56,7 +56,7 @@ Defined in: [src/parser/classes/misc/TextRun.ts:10](https://github.com/LuanRT/Yo > `optional` **dark\_mode\_text\_color**: `number` -Defined in: [src/parser/classes/misc/TextRun.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/TextRun.ts#L11) +Defined in: [src/parser/classes/misc/TextRun.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/TextRun.ts#L11) *** @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/misc/TextRun.ts:11](https://github.com/LuanRT/Yo > **deemphasize**: `boolean` -Defined in: [src/parser/classes/misc/TextRun.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/TextRun.ts#L12) +Defined in: [src/parser/classes/misc/TextRun.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/TextRun.ts#L12) *** @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/misc/TextRun.ts:12](https://github.com/LuanRT/Yo > `optional` **endpoint**: [`NavigationEndpoint`](../../YTNodes/classes/NavigationEndpoint.md) -Defined in: [src/parser/classes/misc/TextRun.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/TextRun.ts#L8) +Defined in: [src/parser/classes/misc/TextRun.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/TextRun.ts#L8) *** @@ -80,7 +80,7 @@ Defined in: [src/parser/classes/misc/TextRun.ts:8](https://github.com/LuanRT/You > **error\_underline**: `boolean` -Defined in: [src/parser/classes/misc/TextRun.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/TextRun.ts#L15) +Defined in: [src/parser/classes/misc/TextRun.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/TextRun.ts#L15) *** @@ -88,7 +88,7 @@ Defined in: [src/parser/classes/misc/TextRun.ts:15](https://github.com/LuanRT/Yo > `optional` **font\_face**: `"FONT_FACE_UNKNOWN"` \| `"FONT_FACE_YT_SANS_MEDIUM"` \| `"FONT_FACE_ROBOTO_MEDIUM"` \| `"FONT_FACE_YOUTUBE_SANS_LIGHT"` \| `"FONT_FACE_YOUTUBE_SANS_REGULAR"` \| `"FONT_FACE_YOUTUBE_SANS_MEDIUM"` \| `"FONT_FACE_YOUTUBE_SANS_SEMIBOLD"` \| `"FONT_FACE_YOUTUBE_SANS_BOLD"` \| `"FONT_FACE_YOUTUBE_SANS_EXTRABOLD"` \| `"FONT_FACE_YOUTUBE_SANS_BLACK"` \| `"FONT_FACE_YT_SANS_BOLD"` \| `"FONT_FACE_ROBOTO_REGULAR"` -Defined in: [src/parser/classes/misc/TextRun.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/TextRun.ts#L17) +Defined in: [src/parser/classes/misc/TextRun.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/TextRun.ts#L17) *** @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/misc/TextRun.ts:17](https://github.com/LuanRT/Yo > **italics**: `boolean` -Defined in: [src/parser/classes/misc/TextRun.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/TextRun.ts#L13) +Defined in: [src/parser/classes/misc/TextRun.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/TextRun.ts#L13) *** @@ -104,7 +104,7 @@ Defined in: [src/parser/classes/misc/TextRun.ts:13](https://github.com/LuanRT/Yo > **strikethrough**: `boolean` -Defined in: [src/parser/classes/misc/TextRun.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/TextRun.ts#L14) +Defined in: [src/parser/classes/misc/TextRun.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/TextRun.ts#L14) *** @@ -112,7 +112,7 @@ Defined in: [src/parser/classes/misc/TextRun.ts:14](https://github.com/LuanRT/Yo > **text**: `string` -Defined in: [src/parser/classes/misc/TextRun.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/TextRun.ts#L6) +Defined in: [src/parser/classes/misc/TextRun.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/TextRun.ts#L6) #### Implementation of @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/misc/TextRun.ts:6](https://github.com/LuanRT/You > `optional` **text\_color**: `number` -Defined in: [src/parser/classes/misc/TextRun.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/TextRun.ts#L7) +Defined in: [src/parser/classes/misc/TextRun.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/TextRun.ts#L7) *** @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/misc/TextRun.ts:7](https://github.com/LuanRT/You > **underline**: `boolean` -Defined in: [src/parser/classes/misc/TextRun.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/TextRun.ts#L16) +Defined in: [src/parser/classes/misc/TextRun.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/TextRun.ts#L16) ## Methods @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/misc/TextRun.ts:16](https://github.com/LuanRT/Yo > **toHTML**(): `string` -Defined in: [src/parser/classes/misc/TextRun.ts:65](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/TextRun.ts#L65) +Defined in: [src/parser/classes/misc/TextRun.ts:65](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/TextRun.ts#L65) #### Returns @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/misc/TextRun.ts:65](https://github.com/LuanRT/Yo > **toString**(): `string` -Defined in: [src/parser/classes/misc/TextRun.ts:61](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/TextRun.ts#L61) +Defined in: [src/parser/classes/misc/TextRun.ts:61](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/TextRun.ts#L61) #### Returns diff --git a/docs/api/youtubei.js/namespaces/Misc/classes/Thumbnail.md b/docs/api/youtubei.js/namespaces/Misc/classes/Thumbnail.md index 56a39f6a..f5d88c06 100644 --- a/docs/api/youtubei.js/namespaces/Misc/classes/Thumbnail.md +++ b/docs/api/youtubei.js/namespaces/Misc/classes/Thumbnail.md @@ -2,7 +2,7 @@ # Class: Thumbnail -Defined in: [src/parser/classes/misc/Thumbnail.ts:3](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Thumbnail.ts#L3) +Defined in: [src/parser/classes/misc/Thumbnail.ts:3](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Thumbnail.ts#L3) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/parser/classes/misc/Thumbnail.ts:3](https://github.com/LuanRT/Y > **new Thumbnail**(`data`): `Thumbnail` -Defined in: [src/parser/classes/misc/Thumbnail.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Thumbnail.ts#L8) +Defined in: [src/parser/classes/misc/Thumbnail.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Thumbnail.ts#L8) #### Parameters @@ -28,7 +28,7 @@ Defined in: [src/parser/classes/misc/Thumbnail.ts:8](https://github.com/LuanRT/Y > **height**: `number` -Defined in: [src/parser/classes/misc/Thumbnail.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Thumbnail.ts#L6) +Defined in: [src/parser/classes/misc/Thumbnail.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Thumbnail.ts#L6) *** @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/misc/Thumbnail.ts:6](https://github.com/LuanRT/Y > **url**: `string` -Defined in: [src/parser/classes/misc/Thumbnail.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Thumbnail.ts#L4) +Defined in: [src/parser/classes/misc/Thumbnail.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Thumbnail.ts#L4) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/misc/Thumbnail.ts:4](https://github.com/LuanRT/Y > **width**: `number` -Defined in: [src/parser/classes/misc/Thumbnail.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Thumbnail.ts#L5) +Defined in: [src/parser/classes/misc/Thumbnail.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Thumbnail.ts#L5) ## Methods @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/misc/Thumbnail.ts:5](https://github.com/LuanRT/Y > `static` **fromResponse**(`data`): `Thumbnail`[] -Defined in: [src/parser/classes/misc/Thumbnail.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/Thumbnail.ts#L17) +Defined in: [src/parser/classes/misc/Thumbnail.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/Thumbnail.ts#L17) Get thumbnails from response object. diff --git a/docs/api/youtubei.js/namespaces/Misc/classes/VideoDetails.md b/docs/api/youtubei.js/namespaces/Misc/classes/VideoDetails.md index 3f753909..8c2f220c 100644 --- a/docs/api/youtubei.js/namespaces/Misc/classes/VideoDetails.md +++ b/docs/api/youtubei.js/namespaces/Misc/classes/VideoDetails.md @@ -2,7 +2,7 @@ # Class: VideoDetails -Defined in: [src/parser/classes/misc/VideoDetails.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/VideoDetails.ts#L4) +Defined in: [src/parser/classes/misc/VideoDetails.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/VideoDetails.ts#L4) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/parser/classes/misc/VideoDetails.ts:4](https://github.com/LuanR > **new VideoDetails**(`data`): `VideoDetails` -Defined in: [src/parser/classes/misc/VideoDetails.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/VideoDetails.ts#L26) +Defined in: [src/parser/classes/misc/VideoDetails.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/VideoDetails.ts#L26) #### Parameters @@ -28,7 +28,7 @@ Defined in: [src/parser/classes/misc/VideoDetails.ts:26](https://github.com/Luan > **allow\_ratings**: `boolean` -Defined in: [src/parser/classes/misc/VideoDetails.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/VideoDetails.ts#L13) +Defined in: [src/parser/classes/misc/VideoDetails.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/VideoDetails.ts#L13) *** @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/misc/VideoDetails.ts:13](https://github.com/Luan > **author**: `string` -Defined in: [src/parser/classes/misc/VideoDetails.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/VideoDetails.ts#L15) +Defined in: [src/parser/classes/misc/VideoDetails.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/VideoDetails.ts#L15) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/misc/VideoDetails.ts:15](https://github.com/Luan > **channel\_id**: `string` -Defined in: [src/parser/classes/misc/VideoDetails.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/VideoDetails.ts#L6) +Defined in: [src/parser/classes/misc/VideoDetails.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/VideoDetails.ts#L6) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/misc/VideoDetails.ts:6](https://github.com/LuanR > **duration**: `number` -Defined in: [src/parser/classes/misc/VideoDetails.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/VideoDetails.ts#L8) +Defined in: [src/parser/classes/misc/VideoDetails.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/VideoDetails.ts#L8) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/misc/VideoDetails.ts:8](https://github.com/LuanR > **id**: `string` -Defined in: [src/parser/classes/misc/VideoDetails.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/VideoDetails.ts#L5) +Defined in: [src/parser/classes/misc/VideoDetails.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/VideoDetails.ts#L5) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/misc/VideoDetails.ts:5](https://github.com/LuanR > **is\_crawlable**: `boolean` -Defined in: [src/parser/classes/misc/VideoDetails.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/VideoDetails.ts#L21) +Defined in: [src/parser/classes/misc/VideoDetails.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/VideoDetails.ts#L21) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/misc/VideoDetails.ts:21](https://github.com/Luan > **is\_live**: `boolean` -Defined in: [src/parser/classes/misc/VideoDetails.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/VideoDetails.ts#L17) +Defined in: [src/parser/classes/misc/VideoDetails.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/VideoDetails.ts#L17) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/misc/VideoDetails.ts:17](https://github.com/Luan > **is\_live\_content**: `boolean` -Defined in: [src/parser/classes/misc/VideoDetails.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/VideoDetails.ts#L18) +Defined in: [src/parser/classes/misc/VideoDetails.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/VideoDetails.ts#L18) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/misc/VideoDetails.ts:18](https://github.com/Luan > **is\_live\_dvr\_enabled**: `boolean` -Defined in: [src/parser/classes/misc/VideoDetails.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/VideoDetails.ts#L19) +Defined in: [src/parser/classes/misc/VideoDetails.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/VideoDetails.ts#L19) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/misc/VideoDetails.ts:19](https://github.com/Luan > **is\_low\_latency\_live\_stream**: `boolean` -Defined in: [src/parser/classes/misc/VideoDetails.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/VideoDetails.ts#L23) +Defined in: [src/parser/classes/misc/VideoDetails.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/VideoDetails.ts#L23) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/misc/VideoDetails.ts:23](https://github.com/Luan > **is\_owner\_viewing**: `boolean` -Defined in: [src/parser/classes/misc/VideoDetails.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/VideoDetails.ts#L10) +Defined in: [src/parser/classes/misc/VideoDetails.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/VideoDetails.ts#L10) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/misc/VideoDetails.ts:10](https://github.com/Luan > **is\_post\_live\_dvr**: `boolean` -Defined in: [src/parser/classes/misc/VideoDetails.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/VideoDetails.ts#L22) +Defined in: [src/parser/classes/misc/VideoDetails.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/VideoDetails.ts#L22) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/misc/VideoDetails.ts:22](https://github.com/Luan > **is\_private**: `boolean` -Defined in: [src/parser/classes/misc/VideoDetails.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/VideoDetails.ts#L16) +Defined in: [src/parser/classes/misc/VideoDetails.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/VideoDetails.ts#L16) *** @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/misc/VideoDetails.ts:16](https://github.com/Luan > **is\_upcoming**: `boolean` -Defined in: [src/parser/classes/misc/VideoDetails.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/VideoDetails.ts#L20) +Defined in: [src/parser/classes/misc/VideoDetails.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/VideoDetails.ts#L20) *** @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/misc/VideoDetails.ts:20](https://github.com/Luan > **keywords**: `string`[] -Defined in: [src/parser/classes/misc/VideoDetails.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/VideoDetails.ts#L9) +Defined in: [src/parser/classes/misc/VideoDetails.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/VideoDetails.ts#L9) *** @@ -148,7 +148,7 @@ Defined in: [src/parser/classes/misc/VideoDetails.ts:9](https://github.com/LuanR > `optional` **live\_chunk\_readahead**: `number` -Defined in: [src/parser/classes/misc/VideoDetails.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/VideoDetails.ts#L24) +Defined in: [src/parser/classes/misc/VideoDetails.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/VideoDetails.ts#L24) *** @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/misc/VideoDetails.ts:24](https://github.com/Luan > **short\_description**: `string` -Defined in: [src/parser/classes/misc/VideoDetails.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/VideoDetails.ts#L11) +Defined in: [src/parser/classes/misc/VideoDetails.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/VideoDetails.ts#L11) *** @@ -164,7 +164,7 @@ Defined in: [src/parser/classes/misc/VideoDetails.ts:11](https://github.com/Luan > **thumbnail**: [`Thumbnail`](Thumbnail.md)[] -Defined in: [src/parser/classes/misc/VideoDetails.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/VideoDetails.ts#L12) +Defined in: [src/parser/classes/misc/VideoDetails.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/VideoDetails.ts#L12) *** @@ -172,7 +172,7 @@ Defined in: [src/parser/classes/misc/VideoDetails.ts:12](https://github.com/Luan > **title**: `string` -Defined in: [src/parser/classes/misc/VideoDetails.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/VideoDetails.ts#L7) +Defined in: [src/parser/classes/misc/VideoDetails.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/VideoDetails.ts#L7) *** @@ -180,4 +180,4 @@ Defined in: [src/parser/classes/misc/VideoDetails.ts:7](https://github.com/LuanR > **view\_count**: `number` -Defined in: [src/parser/classes/misc/VideoDetails.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/misc/VideoDetails.ts#L14) +Defined in: [src/parser/classes/misc/VideoDetails.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/misc/VideoDetails.ts#L14) diff --git a/docs/api/youtubei.js/namespaces/Mixins/classes/Feed.md b/docs/api/youtubei.js/namespaces/Mixins/classes/Feed.md index 1297f0c6..270ef96d 100644 --- a/docs/api/youtubei.js/namespaces/Mixins/classes/Feed.md +++ b/docs/api/youtubei.js/namespaces/Mixins/classes/Feed.md @@ -2,7 +2,7 @@ # Class: Feed\ -Defined in: [src/core/mixins/Feed.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L40) +Defined in: [src/core/mixins/Feed.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L40) ## Extended by @@ -27,9 +27,9 @@ Defined in: [src/core/mixins/Feed.ts:40](https://github.com/LuanRT/YouTube.js/bl ### Constructor -> **new Feed**\<`T`\>(`actions`, `response`, `already_parsed`): `Feed`\<`T`\> +> **new Feed**\<`T`\>(`actions`, `response`, `already_parsed?`): `Feed`\<`T`\> -Defined in: [src/core/mixins/Feed.ts:47](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L47) +Defined in: [src/core/mixins/Feed.ts:47](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L47) #### Parameters @@ -41,7 +41,7 @@ Defined in: [src/core/mixins/Feed.ts:47](https://github.com/LuanRT/YouTube.js/bl [`IParsedResponse`](../../../../interfaces/IParsedResponse.md) | [`ApiResponse`](../../../../interfaces/ApiResponse.md) -##### already\_parsed +##### already\_parsed? `boolean` = `false` @@ -57,7 +57,7 @@ Defined in: [src/core/mixins/Feed.ts:47](https://github.com/LuanRT/YouTube.js/bl > **get** **actions**(): [`Actions`](../../../../classes/Actions.md) -Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L181) +Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L181) ##### Returns @@ -71,7 +71,7 @@ Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/b > **get** **channels**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Channel`](../../YTNodes/classes/Channel.md) \| [`GridChannel`](../../YTNodes/classes/GridChannel.md)\> -Defined in: [src/core/mixins/Feed.ts:126](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L126) +Defined in: [src/core/mixins/Feed.ts:127](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L127) Get all the channels in the feed @@ -87,7 +87,7 @@ Get all the channels in the feed > **get** **has\_continuation**(): `boolean` -Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L195) +Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L195) Checks if the feed has continuation. @@ -103,7 +103,7 @@ Checks if the feed has continuation. > **get** **memo**(): [`Memo`](../../Helpers/classes/Memo.md) -Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L137) +Defined in: [src/core/mixins/Feed.ts:138](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L138) ##### Returns @@ -117,7 +117,7 @@ Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/b > **get** **page**(): `T` -Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L188) +Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L188) Get the original page data @@ -133,7 +133,7 @@ Get the original page data > **get** **page\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`MusicQueue`](../../YTNodes/classes/MusicQueue.md) \| [`RichGrid`](../../YTNodes/classes/RichGrid.md) \| [`ReloadContinuationItemsCommand`](../../../../classes/ReloadContinuationItemsCommand.md) -Defined in: [src/core/mixins/Feed.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L144) +Defined in: [src/core/mixins/Feed.ts:145](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L145) Returns contents from the page. @@ -149,7 +149,7 @@ Returns contents from the page. > **get** **playlists**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:133](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L133) +Defined in: [src/core/mixins/Feed.ts:134](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L134) Get all playlists in the feed @@ -165,7 +165,7 @@ Get all playlists in the feed > **get** **posts**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`BackstagePost`](../../YTNodes/classes/BackstagePost.md) \| [`Post`](../../YTNodes/classes/Post.md) \| [`SharedPost`](../../YTNodes/classes/SharedPost.md)\> -Defined in: [src/core/mixins/Feed.ts:119](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L119) +Defined in: [src/core/mixins/Feed.ts:120](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L120) Get all the community posts in the feed @@ -181,7 +181,7 @@ Get all the community posts in the feed > **get** **secondary\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`BrowseFeedActions`](../../YTNodes/classes/BrowseFeedActions.md) \| [`ProfileColumn`](../../YTNodes/classes/ProfileColumn.md) \| [`SecondarySearchContainer`](../../YTNodes/classes/SecondarySearchContainer.md) \| `null` -Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L169) +Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L169) Returns secondary contents from the page. @@ -197,7 +197,7 @@ Returns secondary contents from the page. > **get** **shelves**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md)\> -Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L155) +Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L155) Returns all segments/sections from the page. @@ -211,15 +211,15 @@ Returns all segments/sections from the page. #### Get Signature -> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:112](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L112) +Defined in: [src/core/mixins/Feed.ts:113](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L113) Get all the videos in the feed ##### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> ## Methods @@ -227,7 +227,7 @@ Get all the videos in the feed > **getContinuation**(): `Promise`\<`Feed`\<`T`\>\> -Defined in: [src/core/mixins/Feed.ts:219](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L219) +Defined in: [src/core/mixins/Feed.ts:219](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L219) Retrieves next batch of contents and returns a new Feed object. @@ -241,7 +241,7 @@ Retrieves next batch of contents and returns a new Feed object. > **getContinuationData**(): `Promise`\<`T` \| `undefined`\> -Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L202) +Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L202) Retrieves continuation data as it is. @@ -255,7 +255,7 @@ Retrieves continuation data as it is. > **getShelf**(`title`): [`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md) \| `undefined` -Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L162) +Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L162) Finds shelf by title. @@ -275,7 +275,7 @@ Finds shelf by title. > `static` **getPlaylistsFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:94](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L94) +Defined in: [src/core/mixins/Feed.ts:95](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L95) Get all playlists on a given page via memo @@ -293,9 +293,9 @@ Get all playlists on a given page via memo ### getVideosFromMemo() -> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L78) +Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L78) Get all videos on a given page via memo @@ -307,4 +307,4 @@ Get all videos on a given page via memo #### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> diff --git a/docs/api/youtubei.js/namespaces/Mixins/classes/FilterableFeed.md b/docs/api/youtubei.js/namespaces/Mixins/classes/FilterableFeed.md index f8cd5527..191d749a 100644 --- a/docs/api/youtubei.js/namespaces/Mixins/classes/FilterableFeed.md +++ b/docs/api/youtubei.js/namespaces/Mixins/classes/FilterableFeed.md @@ -2,7 +2,7 @@ # Class: FilterableFeed\ -Defined in: [src/core/mixins/FilterableFeed.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/FilterableFeed.ts#L10) +Defined in: [src/core/mixins/FilterableFeed.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/FilterableFeed.ts#L21) ## Extends @@ -24,9 +24,9 @@ Defined in: [src/core/mixins/FilterableFeed.ts:10](https://github.com/LuanRT/You ### Constructor -> **new FilterableFeed**\<`T`\>(`actions`, `data`, `already_parsed`): `FilterableFeed`\<`T`\> +> **new FilterableFeed**\<`T`\>(`actions`, `data`, `already_parsed?`): `FilterableFeed`\<`T`\> -Defined in: [src/core/mixins/FilterableFeed.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/FilterableFeed.ts#L13) +Defined in: [src/core/mixins/FilterableFeed.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/FilterableFeed.ts#L24) #### Parameters @@ -38,7 +38,7 @@ Defined in: [src/core/mixins/FilterableFeed.ts:13](https://github.com/LuanRT/You [`ApiResponse`](../../../../interfaces/ApiResponse.md) | `T` -##### already\_parsed +##### already\_parsed? `boolean` = `false` @@ -58,7 +58,7 @@ Defined in: [src/core/mixins/FilterableFeed.ts:13](https://github.com/LuanRT/You > **get** **actions**(): [`Actions`](../../../../classes/Actions.md) -Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L181) +Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L181) ##### Returns @@ -76,7 +76,7 @@ Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/b > **get** **channels**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Channel`](../../YTNodes/classes/Channel.md) \| [`GridChannel`](../../YTNodes/classes/GridChannel.md)\> -Defined in: [src/core/mixins/Feed.ts:126](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L126) +Defined in: [src/core/mixins/Feed.ts:127](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L127) Get all the channels in the feed @@ -90,19 +90,19 @@ Get all the channels in the feed *** -### filter\_chips +### filter\_nodes #### Get Signature -> **get** **filter\_chips**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ChipCloudChip`](../../YTNodes/classes/ChipCloudChip.md)\> +> **get** **filter\_nodes**(): `FilterNodes` -Defined in: [src/core/mixins/FilterableFeed.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/FilterableFeed.ts#L20) +Defined in: [src/core/mixins/FilterableFeed.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/FilterableFeed.ts#L31) -Returns the filter chips. +Returns the InnerTube renderer nodes representing filters. ##### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ChipCloudChip`](../../YTNodes/classes/ChipCloudChip.md)\> +`FilterNodes` *** @@ -112,9 +112,9 @@ Returns the filter chips. > **get** **filters**(): `string`[] -Defined in: [src/core/mixins/FilterableFeed.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/FilterableFeed.ts#L38) +Defined in: [src/core/mixins/FilterableFeed.ts:78](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/FilterableFeed.ts#L78) -Returns available filters. +Returns the available primary filters as strings. ##### Returns @@ -128,7 +128,7 @@ Returns available filters. > **get** **has\_continuation**(): `boolean` -Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L195) +Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L195) Checks if the feed has continuation. @@ -148,7 +148,7 @@ Checks if the feed has continuation. > **get** **memo**(): [`Memo`](../../Helpers/classes/Memo.md) -Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L137) +Defined in: [src/core/mixins/Feed.ts:138](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L138) ##### Returns @@ -166,7 +166,7 @@ Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/b > **get** **page**(): `T` -Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L188) +Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L188) Get the original page data @@ -186,7 +186,7 @@ Get the original page data > **get** **page\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`MusicQueue`](../../YTNodes/classes/MusicQueue.md) \| [`RichGrid`](../../YTNodes/classes/RichGrid.md) \| [`ReloadContinuationItemsCommand`](../../../../classes/ReloadContinuationItemsCommand.md) -Defined in: [src/core/mixins/Feed.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L144) +Defined in: [src/core/mixins/Feed.ts:145](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L145) Returns contents from the page. @@ -206,7 +206,7 @@ Returns contents from the page. > **get** **playlists**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:133](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L133) +Defined in: [src/core/mixins/Feed.ts:134](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L134) Get all playlists in the feed @@ -226,7 +226,7 @@ Get all playlists in the feed > **get** **posts**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`BackstagePost`](../../YTNodes/classes/BackstagePost.md) \| [`Post`](../../YTNodes/classes/Post.md) \| [`SharedPost`](../../YTNodes/classes/SharedPost.md)\> -Defined in: [src/core/mixins/Feed.ts:119](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L119) +Defined in: [src/core/mixins/Feed.ts:120](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L120) Get all the community posts in the feed @@ -246,7 +246,7 @@ Get all the community posts in the feed > **get** **secondary\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`BrowseFeedActions`](../../YTNodes/classes/BrowseFeedActions.md) \| [`ProfileColumn`](../../YTNodes/classes/ProfileColumn.md) \| [`SecondarySearchContainer`](../../YTNodes/classes/SecondarySearchContainer.md) \| `null` -Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L169) +Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L169) Returns secondary contents from the page. @@ -260,13 +260,29 @@ Returns secondary contents from the page. *** +### secondary\_filters + +#### Get Signature + +> **get** **secondary\_filters**(): `string`[] + +Defined in: [src/core/mixins/FilterableFeed.ts:92](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/FilterableFeed.ts#L92) + +Returns the available secondary filters as strings. + +##### Returns + +`string`[] + +*** + ### shelves #### Get Signature > **get** **shelves**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md)\> -Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L155) +Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L155) Returns all segments/sections from the page. @@ -284,15 +300,15 @@ Returns all segments/sections from the page. #### Get Signature -> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:112](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L112) +Defined in: [src/core/mixins/Feed.ts:113](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L113) Get all the videos in the feed ##### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from @@ -304,7 +320,7 @@ Get all the videos in the feed > **getContinuation**(): `Promise`\<[`Feed`](Feed.md)\<`T`\>\> -Defined in: [src/core/mixins/Feed.ts:219](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L219) +Defined in: [src/core/mixins/Feed.ts:219](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L219) Retrieves next batch of contents and returns a new [Feed](Feed.md) object. @@ -322,7 +338,7 @@ Retrieves next batch of contents and returns a new [Feed](Feed.md) object. > **getContinuationData**(): `Promise`\<`T` \| `undefined`\> -Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L202) +Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L202) Retrieves continuation data as it is. @@ -338,9 +354,9 @@ Retrieves continuation data as it is. ### getFilteredFeed() -> **getFilteredFeed**(`filter`): `Promise`\<[`Feed`](Feed.md)\<`T`\>\> +> **getFilteredFeed**(`filter`, `secondaryFilter?`): `Promise`\<[`Feed`](Feed.md)\<`T`\>\> -Defined in: [src/core/mixins/FilterableFeed.ts:45](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/FilterableFeed.ts#L45) +Defined in: [src/core/mixins/FilterableFeed.ts:99](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/FilterableFeed.ts#L99) Applies given filter and returns a new [Feed](Feed.md) object. @@ -348,7 +364,11 @@ Applies given filter and returns a new [Feed](Feed.md) object. ##### filter -`string` | [`ChipCloudChip`](../../YTNodes/classes/ChipCloudChip.md) +`string` | [`ListItemView`](../../YTNodes/classes/ListItemView.md) | [`ChipCloudChip`](../../YTNodes/classes/ChipCloudChip.md) | [`ChipView`](../../YTNodes/classes/ChipView.md) + +##### secondaryFilter? + +`string` | [`ChipView`](../../YTNodes/classes/ChipView.md) #### Returns @@ -360,7 +380,7 @@ Applies given filter and returns a new [Feed](Feed.md) object. > **getShelf**(`title`): [`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md) \| `undefined` -Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L162) +Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L162) Finds shelf by title. @@ -384,7 +404,7 @@ Finds shelf by title. > `static` **getPlaylistsFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:94](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L94) +Defined in: [src/core/mixins/Feed.ts:95](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L95) Get all playlists on a given page via memo @@ -406,9 +426,9 @@ Get all playlists on a given page via memo ### getVideosFromMemo() -> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L78) +Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L78) Get all videos on a given page via memo @@ -420,7 +440,7 @@ Get all videos on a given page via memo #### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from diff --git a/docs/api/youtubei.js/namespaces/Mixins/classes/MediaInfo.md b/docs/api/youtubei.js/namespaces/Mixins/classes/MediaInfo.md index 304a3fed..5d235c4f 100644 --- a/docs/api/youtubei.js/namespaces/Mixins/classes/MediaInfo.md +++ b/docs/api/youtubei.js/namespaces/Mixins/classes/MediaInfo.md @@ -2,7 +2,7 @@ # Class: MediaInfo -Defined in: [src/core/mixins/MediaInfo.ts:33](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L33) +Defined in: [src/core/mixins/MediaInfo.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L33) ## Extended by @@ -17,7 +17,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:33](https://github.com/LuanRT/YouTube. > **new MediaInfo**(`data`, `actions`, `cpn`): `MediaInfo` -Defined in: [src/core/mixins/MediaInfo.ts:49](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L49) +Defined in: [src/core/mixins/MediaInfo.ts:49](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L49) #### Parameters @@ -43,7 +43,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:49](https://github.com/LuanRT/YouTube. > `optional` **annotations**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`PlayerAnnotationsExpanded`](../../YTNodes/classes/PlayerAnnotationsExpanded.md)\> -Defined in: [src/core/mixins/MediaInfo.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L40) +Defined in: [src/core/mixins/MediaInfo.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L40) *** @@ -51,7 +51,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:40](https://github.com/LuanRT/YouTube. > **basic\_info**: `object` -Defined in: [src/core/mixins/MediaInfo.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L39) +Defined in: [src/core/mixins/MediaInfo.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L39) #### allow\_ratings? @@ -191,7 +191,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:39](https://github.com/LuanRT/YouTube. > `optional` **captions**: [`PlayerCaptionsTracklist`](../../YTNodes/classes/PlayerCaptionsTracklist.md) -Defined in: [src/core/mixins/MediaInfo.ts:43](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L43) +Defined in: [src/core/mixins/MediaInfo.ts:43](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L43) *** @@ -199,7 +199,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:43](https://github.com/LuanRT/YouTube. > `optional` **cards**: [`CardCollection`](../../YTNodes/classes/CardCollection.md) -Defined in: [src/core/mixins/MediaInfo.ts:44](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L44) +Defined in: [src/core/mixins/MediaInfo.ts:44](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L44) *** @@ -207,7 +207,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:44](https://github.com/LuanRT/YouTube. > `optional` **endscreen**: [`Endscreen`](../../YTNodes/classes/Endscreen.md) -Defined in: [src/core/mixins/MediaInfo.ts:42](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L42) +Defined in: [src/core/mixins/MediaInfo.ts:42](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L42) *** @@ -215,7 +215,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:42](https://github.com/LuanRT/YouTube. > `optional` **playability\_status**: [`IPlayabilityStatus`](../../../../interfaces/IPlayabilityStatus.md) -Defined in: [src/core/mixins/MediaInfo.ts:46](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L46) +Defined in: [src/core/mixins/MediaInfo.ts:46](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L46) *** @@ -223,7 +223,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:46](https://github.com/LuanRT/YouTube. > `optional` **player\_config**: [`IPlayerConfig`](../../../../interfaces/IPlayerConfig.md) -Defined in: [src/core/mixins/MediaInfo.ts:47](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L47) +Defined in: [src/core/mixins/MediaInfo.ts:47](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L47) *** @@ -231,7 +231,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:47](https://github.com/LuanRT/YouTube. > `optional` **storyboards**: [`PlayerStoryboardSpec`](../../YTNodes/classes/PlayerStoryboardSpec.md) \| [`PlayerLiveStoryboardSpec`](../../YTNodes/classes/PlayerLiveStoryboardSpec.md) -Defined in: [src/core/mixins/MediaInfo.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L41) +Defined in: [src/core/mixins/MediaInfo.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L41) *** @@ -239,7 +239,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:41](https://github.com/LuanRT/YouTube. > `optional` **streaming\_data**: [`IStreamingData`](../../../../interfaces/IStreamingData.md) -Defined in: [src/core/mixins/MediaInfo.ts:45](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L45) +Defined in: [src/core/mixins/MediaInfo.ts:45](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L45) ## Accessors @@ -249,7 +249,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:45](https://github.com/LuanRT/YouTube. > **get** **actions**(): [`Actions`](../../../../classes/Actions.md) -Defined in: [src/core/mixins/MediaInfo.ts:247](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L247) +Defined in: [src/core/mixins/MediaInfo.ts:247](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L247) ##### Returns @@ -263,7 +263,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:247](https://github.com/LuanRT/YouTube > **get** **cpn**(): `string` -Defined in: [src/core/mixins/MediaInfo.ts:254](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L254) +Defined in: [src/core/mixins/MediaInfo.ts:254](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L254) Content Playback Nonce. @@ -279,7 +279,7 @@ Content Playback Nonce. > **get** **page**(): \[[`IPlayerResponse`](../../../../type-aliases/IPlayerResponse.md), [`INextResponse`](../../../../type-aliases/INextResponse.md)?\] -Defined in: [src/core/mixins/MediaInfo.ts:261](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L261) +Defined in: [src/core/mixins/MediaInfo.ts:261](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L261) Parsed InnerTube response. @@ -293,7 +293,7 @@ Parsed InnerTube response. > **addToWatchHistory**(`client_name?`, `client_version?`, `replacement?`): `Promise`\<`Response`\> -Defined in: [src/core/mixins/MediaInfo.ts:208](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L208) +Defined in: [src/core/mixins/MediaInfo.ts:208](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L208) #### Parameters @@ -319,7 +319,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:208](https://github.com/LuanRT/YouTube > **chooseFormat**(`options`): [`Format`](../../Misc/classes/Format.md) -Defined in: [src/core/mixins/MediaInfo.ts:161](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L161) +Defined in: [src/core/mixins/MediaInfo.ts:161](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L161) Selects the format that best matches the given options. @@ -339,15 +339,15 @@ Options ### download() -> **download**(`options`): `Promise`\<`ReadableStream`\<`Uint8Array`\>\> +> **download**(`options?`): `Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\> -Defined in: [src/core/mixins/MediaInfo.ts:169](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L169) +Defined in: [src/core/mixins/MediaInfo.ts:169](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L169) Downloads the video. #### Parameters -##### options +##### options? [`DownloadOptions`](../../Types/interfaces/DownloadOptions.md) = `{}` @@ -355,7 +355,7 @@ Download options. #### Returns -`Promise`\<`ReadableStream`\<`Uint8Array`\>\> +`Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\> *** @@ -363,7 +363,7 @@ Download options. > **getStreamingInfo**(`url_transformer?`, `format_filter?`): `Promise`\<`StreamingInfo`\> -Defined in: [src/core/mixins/MediaInfo.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L144) +Defined in: [src/core/mixins/MediaInfo.ts:144](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L144) Get a cleaned up representation of the adaptive_formats @@ -387,7 +387,7 @@ Get a cleaned up representation of the adaptive_formats > **getTranscript**(): `Promise`\<[`TranscriptInfo`](../../YT/classes/TranscriptInfo.md)\> -Defined in: [src/core/mixins/MediaInfo.ts:182](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L182) +Defined in: [src/core/mixins/MediaInfo.ts:182](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L182) Retrieves the video's transcript. @@ -399,15 +399,15 @@ Retrieves the video's transcript. ### toDash() -> **toDash**(`options`): `Promise`\<`string`\> +> **toDash**(`options?`): `Promise`\<`string`\> -Defined in: [src/core/mixins/MediaInfo.ts:104](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L104) +Defined in: [src/core/mixins/MediaInfo.ts:104](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L104) Generates a DASH manifest from the streaming data. #### Parameters -##### options +##### options? ###### format_filter? @@ -431,9 +431,9 @@ DASH manifest ### updateWatchTime() -> **updateWatchTime**(`startTime`, `client_name`, `client_version`, `replacement`): `Promise`\<`Response`\> +> **updateWatchTime**(`startTime`, `client_name?`, `client_version?`, `replacement?`): `Promise`\<`Response`\> -Defined in: [src/core/mixins/MediaInfo.ts:227](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L227) +Defined in: [src/core/mixins/MediaInfo.ts:227](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L227) #### Parameters @@ -441,15 +441,15 @@ Defined in: [src/core/mixins/MediaInfo.ts:227](https://github.com/LuanRT/YouTube `number` -##### client\_name +##### client\_name? `string` = `Constants.CLIENTS.WEB.NAME` -##### client\_version +##### client\_version? `string` = `Constants.CLIENTS.WEB.VERSION` -##### replacement +##### replacement? `string` = `'https://www.'` diff --git a/docs/api/youtubei.js/namespaces/Mixins/classes/TabbedFeed.md b/docs/api/youtubei.js/namespaces/Mixins/classes/TabbedFeed.md index 8731d00a..4940923e 100644 --- a/docs/api/youtubei.js/namespaces/Mixins/classes/TabbedFeed.md +++ b/docs/api/youtubei.js/namespaces/Mixins/classes/TabbedFeed.md @@ -2,7 +2,7 @@ # Class: TabbedFeed\ -Defined in: [src/core/mixins/TabbedFeed.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/TabbedFeed.ts#L9) +Defined in: [src/core/mixins/TabbedFeed.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/TabbedFeed.ts#L9) ## Extends @@ -22,9 +22,9 @@ Defined in: [src/core/mixins/TabbedFeed.ts:9](https://github.com/LuanRT/YouTube. ### Constructor -> **new TabbedFeed**\<`T`\>(`actions`, `data`, `already_parsed`): `TabbedFeed`\<`T`\> +> **new TabbedFeed**\<`T`\>(`actions`, `data`, `already_parsed?`): `TabbedFeed`\<`T`\> -Defined in: [src/core/mixins/TabbedFeed.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/TabbedFeed.ts#L13) +Defined in: [src/core/mixins/TabbedFeed.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/TabbedFeed.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/core/mixins/TabbedFeed.ts:13](https://github.com/LuanRT/YouTube [`IParsedResponse`](../../../../interfaces/IParsedResponse.md) | [`ApiResponse`](../../../../interfaces/ApiResponse.md) -##### already\_parsed +##### already\_parsed? `boolean` = `false` @@ -56,7 +56,7 @@ Defined in: [src/core/mixins/TabbedFeed.ts:13](https://github.com/LuanRT/YouTube > **get** **actions**(): [`Actions`](../../../../classes/Actions.md) -Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L181) +Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L181) ##### Returns @@ -74,7 +74,7 @@ Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/b > **get** **channels**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Channel`](../../YTNodes/classes/Channel.md) \| [`GridChannel`](../../YTNodes/classes/GridChannel.md)\> -Defined in: [src/core/mixins/Feed.ts:126](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L126) +Defined in: [src/core/mixins/Feed.ts:127](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L127) Get all the channels in the feed @@ -94,7 +94,7 @@ Get all the channels in the feed > **get** **has\_continuation**(): `boolean` -Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L195) +Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L195) Checks if the feed has continuation. @@ -114,7 +114,7 @@ Checks if the feed has continuation. > **get** **memo**(): [`Memo`](../../Helpers/classes/Memo.md) -Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L137) +Defined in: [src/core/mixins/Feed.ts:138](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L138) ##### Returns @@ -132,7 +132,7 @@ Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/b > **get** **page**(): `T` -Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L188) +Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L188) Get the original page data @@ -152,7 +152,7 @@ Get the original page data > **get** **page\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`MusicQueue`](../../YTNodes/classes/MusicQueue.md) \| [`RichGrid`](../../YTNodes/classes/RichGrid.md) \| [`ReloadContinuationItemsCommand`](../../../../classes/ReloadContinuationItemsCommand.md) -Defined in: [src/core/mixins/Feed.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L144) +Defined in: [src/core/mixins/Feed.ts:145](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L145) Returns contents from the page. @@ -172,7 +172,7 @@ Returns contents from the page. > **get** **playlists**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:133](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L133) +Defined in: [src/core/mixins/Feed.ts:134](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L134) Get all playlists in the feed @@ -192,7 +192,7 @@ Get all playlists in the feed > **get** **posts**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`BackstagePost`](../../YTNodes/classes/BackstagePost.md) \| [`Post`](../../YTNodes/classes/Post.md) \| [`SharedPost`](../../YTNodes/classes/SharedPost.md)\> -Defined in: [src/core/mixins/Feed.ts:119](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L119) +Defined in: [src/core/mixins/Feed.ts:120](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L120) Get all the community posts in the feed @@ -212,7 +212,7 @@ Get all the community posts in the feed > **get** **secondary\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`BrowseFeedActions`](../../YTNodes/classes/BrowseFeedActions.md) \| [`ProfileColumn`](../../YTNodes/classes/ProfileColumn.md) \| [`SecondarySearchContainer`](../../YTNodes/classes/SecondarySearchContainer.md) \| `null` -Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L169) +Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L169) Returns secondary contents from the page. @@ -232,7 +232,7 @@ Returns secondary contents from the page. > **get** **shelves**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md)\> -Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L155) +Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L155) Returns all segments/sections from the page. @@ -252,7 +252,7 @@ Returns all segments/sections from the page. > **get** **tabs**(): `string`[] -Defined in: [src/core/mixins/TabbedFeed.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/TabbedFeed.ts#L19) +Defined in: [src/core/mixins/TabbedFeed.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/TabbedFeed.ts#L19) ##### Returns @@ -266,7 +266,7 @@ Defined in: [src/core/mixins/TabbedFeed.ts:19](https://github.com/LuanRT/YouTube > **get** **title**(): `string` \| `undefined` -Defined in: [src/core/mixins/TabbedFeed.ts:55](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/TabbedFeed.ts#L55) +Defined in: [src/core/mixins/TabbedFeed.ts:55](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/TabbedFeed.ts#L55) ##### Returns @@ -278,15 +278,15 @@ Defined in: [src/core/mixins/TabbedFeed.ts:55](https://github.com/LuanRT/YouTube #### Get Signature -> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:112](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L112) +Defined in: [src/core/mixins/Feed.ts:113](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L113) Get all the videos in the feed ##### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from @@ -298,7 +298,7 @@ Get all the videos in the feed > **getContinuation**(): `Promise`\<[`Feed`](Feed.md)\<`T`\>\> -Defined in: [src/core/mixins/Feed.ts:219](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L219) +Defined in: [src/core/mixins/Feed.ts:219](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L219) Retrieves next batch of contents and returns a new [Feed](Feed.md) object. @@ -316,7 +316,7 @@ Retrieves next batch of contents and returns a new [Feed](Feed.md) object. > **getContinuationData**(): `Promise`\<`T` \| `undefined`\> -Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L202) +Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L202) Retrieves continuation data as it is. @@ -334,7 +334,7 @@ Retrieves continuation data as it is. > **getShelf**(`title`): [`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md) \| `undefined` -Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L162) +Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L162) Finds shelf by title. @@ -358,7 +358,7 @@ Finds shelf by title. > **getTabByName**(`title`): `Promise`\<`TabbedFeed`\<`T`\>\> -Defined in: [src/core/mixins/TabbedFeed.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/TabbedFeed.ts#L23) +Defined in: [src/core/mixins/TabbedFeed.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/TabbedFeed.ts#L23) #### Parameters @@ -376,7 +376,7 @@ Defined in: [src/core/mixins/TabbedFeed.ts:23](https://github.com/LuanRT/YouTube > **getTabByURL**(`url`): `Promise`\<`TabbedFeed`\<`T`\>\> -Defined in: [src/core/mixins/TabbedFeed.ts:37](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/TabbedFeed.ts#L37) +Defined in: [src/core/mixins/TabbedFeed.ts:37](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/TabbedFeed.ts#L37) #### Parameters @@ -394,7 +394,7 @@ Defined in: [src/core/mixins/TabbedFeed.ts:37](https://github.com/LuanRT/YouTube > **hasTabWithURL**(`url`): `boolean` -Defined in: [src/core/mixins/TabbedFeed.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/TabbedFeed.ts#L51) +Defined in: [src/core/mixins/TabbedFeed.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/TabbedFeed.ts#L51) #### Parameters @@ -412,7 +412,7 @@ Defined in: [src/core/mixins/TabbedFeed.ts:51](https://github.com/LuanRT/YouTube > `static` **getPlaylistsFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:94](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L94) +Defined in: [src/core/mixins/Feed.ts:95](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L95) Get all playlists on a given page via memo @@ -434,9 +434,9 @@ Get all playlists on a given page via memo ### getVideosFromMemo() -> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L78) +Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L78) Get all videos on a given page via memo @@ -448,7 +448,7 @@ Get all videos on a given page via memo #### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from diff --git a/docs/api/youtubei.js/namespaces/Parser/functions/addRuntimeParser.md b/docs/api/youtubei.js/namespaces/Parser/functions/addRuntimeParser.md index 905abe84..847b9e78 100644 --- a/docs/api/youtubei.js/namespaces/Parser/functions/addRuntimeParser.md +++ b/docs/api/youtubei.js/namespaces/Parser/functions/addRuntimeParser.md @@ -4,7 +4,7 @@ > **addRuntimeParser**(`classname`, `ParserConstructor`): `void` -Defined in: [src/parser/parser.ts:218](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L218) +Defined in: [src/parser/parser.ts:219](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L219) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/Parser/functions/applyCommentsMutations.md b/docs/api/youtubei.js/namespaces/Parser/functions/applyCommentsMutations.md index 1051f3b3..ea4155c9 100644 --- a/docs/api/youtubei.js/namespaces/Parser/functions/applyCommentsMutations.md +++ b/docs/api/youtubei.js/namespaces/Parser/functions/applyCommentsMutations.md @@ -4,7 +4,7 @@ > **applyCommentsMutations**(`memo`, `mutations`): `void` -Defined in: [src/parser/parser.ts:825](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L825) +Defined in: [src/parser/parser.ts:826](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L826) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/Parser/functions/applyMutations.md b/docs/api/youtubei.js/namespaces/Parser/functions/applyMutations.md index ab3dba58..34d6e7ae 100644 --- a/docs/api/youtubei.js/namespaces/Parser/functions/applyMutations.md +++ b/docs/api/youtubei.js/namespaces/Parser/functions/applyMutations.md @@ -4,7 +4,7 @@ > **applyMutations**(`memo`, `mutations`): `void` -Defined in: [src/parser/parser.ts:771](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L771) +Defined in: [src/parser/parser.ts:772](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L772) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/Parser/functions/getDynamicParsers.md b/docs/api/youtubei.js/namespaces/Parser/functions/getDynamicParsers.md index 6d255f1f..d1172f47 100644 --- a/docs/api/youtubei.js/namespaces/Parser/functions/getDynamicParsers.md +++ b/docs/api/youtubei.js/namespaces/Parser/functions/getDynamicParsers.md @@ -4,7 +4,7 @@ > **getDynamicParsers**(): `object` -Defined in: [src/parser/parser.ts:223](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L223) +Defined in: [src/parser/parser.ts:224](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L224) ## Returns diff --git a/docs/api/youtubei.js/namespaces/Parser/functions/getParserByName.md b/docs/api/youtubei.js/namespaces/Parser/functions/getParserByName.md index e5728a13..77af1154 100644 --- a/docs/api/youtubei.js/namespaces/Parser/functions/getParserByName.md +++ b/docs/api/youtubei.js/namespaces/Parser/functions/getParserByName.md @@ -4,7 +4,7 @@ > **getParserByName**(`classname`): [`YTNodeConstructor`](../../Helpers/interfaces/YTNodeConstructor.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/parser.ts:202](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L202) +Defined in: [src/parser/parser.ts:203](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L203) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/Parser/functions/hasParser.md b/docs/api/youtubei.js/namespaces/Parser/functions/hasParser.md index d177920c..d5ccb895 100644 --- a/docs/api/youtubei.js/namespaces/Parser/functions/hasParser.md +++ b/docs/api/youtubei.js/namespaces/Parser/functions/hasParser.md @@ -4,7 +4,7 @@ > **hasParser**(`classname`): `boolean` -Defined in: [src/parser/parser.ts:214](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L214) +Defined in: [src/parser/parser.ts:215](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L215) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/Parser/functions/parse.md b/docs/api/youtubei.js/namespaces/Parser/functions/parse.md index ce9fece7..d53e9fe3 100644 --- a/docs/api/youtubei.js/namespaces/Parser/functions/parse.md +++ b/docs/api/youtubei.js/namespaces/Parser/functions/parse.md @@ -6,7 +6,7 @@ > **parse**\<`T`, `K`\>(`data`, `requireArray`, `validTypes?`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<`InstanceType`\<`K`\[`number`\]\>\> \| `null` -Defined in: [src/parser/parser.ts:628](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L628) +Defined in: [src/parser/parser.ts:629](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L629) Parses an item or an array of items. @@ -48,7 +48,7 @@ YTNode types that are allowed to be parsed. > **parse**\<`T`, `K`\>(`data`, `requireArray`, `validTypes?`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<`InstanceType`\<`K`\>\> \| `null` -Defined in: [src/parser/parser.ts:629](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L629) +Defined in: [src/parser/parser.ts:630](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L630) Parses an item or an array of items. @@ -90,7 +90,7 @@ YTNode types that are allowed to be parsed. > **parse**\<`T`\>(`data?`, `requireArray?`, `validTypes?`): [`SuperParsedResult`](../../Helpers/classes/SuperParsedResult.md)\<`T`\> -Defined in: [src/parser/parser.ts:630](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L630) +Defined in: [src/parser/parser.ts:631](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L631) Parses an item or an array of items. diff --git a/docs/api/youtubei.js/namespaces/Parser/functions/parseActions.md b/docs/api/youtubei.js/namespaces/Parser/functions/parseActions.md index 6805d41b..96ebd303 100644 --- a/docs/api/youtubei.js/namespaces/Parser/functions/parseActions.md +++ b/docs/api/youtubei.js/namespaces/Parser/functions/parseActions.md @@ -4,7 +4,7 @@ > **parseActions**(`data`): [`SuperParsedResult`](../../Helpers/classes/SuperParsedResult.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/parser.ts:757](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L757) +Defined in: [src/parser/parser.ts:758](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L758) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/Parser/functions/parseArray.md b/docs/api/youtubei.js/namespaces/Parser/functions/parseArray.md index ce140bfc..bf6a6b09 100644 --- a/docs/api/youtubei.js/namespaces/Parser/functions/parseArray.md +++ b/docs/api/youtubei.js/namespaces/Parser/functions/parseArray.md @@ -6,7 +6,7 @@ > **parseArray**\<`T`, `K`\>(`data`, `validTypes`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<`InstanceType`\<`K`\[`number`\]\>\> -Defined in: [src/parser/parser.ts:601](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L601) +Defined in: [src/parser/parser.ts:602](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L602) Parses an array of items. @@ -42,7 +42,7 @@ YTNode types that are allowed to be parsed. > **parseArray**\<`T`\>(`data`, `validType`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<`T`\> -Defined in: [src/parser/parser.ts:602](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L602) +Defined in: [src/parser/parser.ts:603](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L603) Parses an array of items. @@ -72,7 +72,7 @@ The data to parse. > **parseArray**(`data`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/parser.ts:603](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L603) +Defined in: [src/parser/parser.ts:604](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L604) Parses an array of items. diff --git a/docs/api/youtubei.js/namespaces/Parser/functions/parseC.md b/docs/api/youtubei.js/namespaces/Parser/functions/parseC.md index 9f0bf53d..1297419f 100644 --- a/docs/api/youtubei.js/namespaces/Parser/functions/parseC.md +++ b/docs/api/youtubei.js/namespaces/Parser/functions/parseC.md @@ -4,7 +4,7 @@ > **parseC**(`data`): [`Continuation`](../../../../classes/Continuation.md) \| `null` -Defined in: [src/parser/parser.ts:715](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L715) +Defined in: [src/parser/parser.ts:716](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L716) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/Parser/functions/parseCommand.md b/docs/api/youtubei.js/namespaces/Parser/functions/parseCommand.md index 8fc2e382..58bd6c0f 100644 --- a/docs/api/youtubei.js/namespaces/Parser/functions/parseCommand.md +++ b/docs/api/youtubei.js/namespaces/Parser/functions/parseCommand.md @@ -4,7 +4,7 @@ > **parseCommand**(`data`): [`YTNode`](../../Helpers/classes/YTNode.md) \| `undefined` -Defined in: [src/parser/parser.ts:663](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L663) +Defined in: [src/parser/parser.ts:664](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L664) Parses an InnerTube command and returns a YTNode instance if applicable. diff --git a/docs/api/youtubei.js/namespaces/Parser/functions/parseCommands.md b/docs/api/youtubei.js/namespaces/Parser/functions/parseCommands.md index 5c2f2c98..0d500630 100644 --- a/docs/api/youtubei.js/namespaces/Parser/functions/parseCommands.md +++ b/docs/api/youtubei.js/namespaces/Parser/functions/parseCommands.md @@ -4,7 +4,7 @@ > **parseCommands**(`commands?`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/parser.ts:699](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L699) +Defined in: [src/parser/parser.ts:700](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L700) Parses an array of InnerTube command nodes. diff --git a/docs/api/youtubei.js/namespaces/Parser/functions/parseFormats.md b/docs/api/youtubei.js/namespaces/Parser/functions/parseFormats.md index 37dc9029..37ed862f 100644 --- a/docs/api/youtubei.js/namespaces/Parser/functions/parseFormats.md +++ b/docs/api/youtubei.js/namespaces/Parser/functions/parseFormats.md @@ -4,7 +4,7 @@ > **parseFormats**(`formats`, `this_response_nsig_cache`): [`Format`](../../Misc/classes/Format.md)[] -Defined in: [src/parser/parser.ts:767](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L767) +Defined in: [src/parser/parser.ts:768](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L768) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/Parser/functions/parseItem.md b/docs/api/youtubei.js/namespaces/Parser/functions/parseItem.md index 02b4f04b..95497db2 100644 --- a/docs/api/youtubei.js/namespaces/Parser/functions/parseItem.md +++ b/docs/api/youtubei.js/namespaces/Parser/functions/parseItem.md @@ -6,7 +6,7 @@ > **parseItem**\<`T`, `K`\>(`data`, `validTypes`): `InstanceType`\<`K`\[`number`\]\> \| `null` -Defined in: [src/parser/parser.ts:535](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L535) +Defined in: [src/parser/parser.ts:536](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L536) Parses an item. @@ -42,7 +42,7 @@ YTNode types that are allowed to be parsed. > **parseItem**\<`T`\>(`data`, `validTypes`): `T` \| `null` -Defined in: [src/parser/parser.ts:536](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L536) +Defined in: [src/parser/parser.ts:537](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L537) Parses an item. @@ -74,7 +74,7 @@ YTNode types that are allowed to be parsed. > **parseItem**(`data?`): [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/parser.ts:537](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L537) +Defined in: [src/parser/parser.ts:538](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L538) Parses an item. diff --git a/docs/api/youtubei.js/namespaces/Parser/functions/parseLC.md b/docs/api/youtubei.js/namespaces/Parser/functions/parseLC.md index bf7730ca..4386a159 100644 --- a/docs/api/youtubei.js/namespaces/Parser/functions/parseLC.md +++ b/docs/api/youtubei.js/namespaces/Parser/functions/parseLC.md @@ -4,7 +4,7 @@ > **parseLC**(`data`): [`ItemSectionContinuation`](../../../../classes/ItemSectionContinuation.md) \| [`SectionListContinuation`](../../../../classes/SectionListContinuation.md) \| [`LiveChatContinuation`](../../../../classes/LiveChatContinuation.md) \| [`MusicPlaylistShelfContinuation`](../../../../classes/MusicPlaylistShelfContinuation.md) \| [`MusicShelfContinuation`](../../../../classes/MusicShelfContinuation.md) \| [`GridContinuation`](../../../../classes/GridContinuation.md) \| [`PlaylistPanelContinuation`](../../../../classes/PlaylistPanelContinuation.md) \| [`ContinuationCommand`](../../../../classes/ContinuationCommand.md) \| `null` -Defined in: [src/parser/parser.ts:721](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L721) +Defined in: [src/parser/parser.ts:722](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L722) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/Parser/functions/parseRR.md b/docs/api/youtubei.js/namespaces/Parser/functions/parseRR.md index 03aca34a..5de49a00 100644 --- a/docs/api/youtubei.js/namespaces/Parser/functions/parseRR.md +++ b/docs/api/youtubei.js/namespaces/Parser/functions/parseRR.md @@ -4,7 +4,7 @@ > **parseRR**(`actions`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`OpenPopupAction`](../../YTNodes/classes/OpenPopupAction.md) \| [`AppendContinuationItemsAction`](../../../../classes/AppendContinuationItemsAction.md) \| [`ReloadContinuationItemsCommand`](../../../../classes/ReloadContinuationItemsCommand.md) \| [`NavigateAction`](../../../../classes/NavigateAction.md) \| [`ShowMiniplayerCommand`](../../../../classes/ShowMiniplayerCommand.md)\> -Defined in: [src/parser/parser.ts:742](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L742) +Defined in: [src/parser/parser.ts:743](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L743) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/Parser/functions/parseResponse.md b/docs/api/youtubei.js/namespaces/Parser/functions/parseResponse.md index 6a389d27..bb52e468 100644 --- a/docs/api/youtubei.js/namespaces/Parser/functions/parseResponse.md +++ b/docs/api/youtubei.js/namespaces/Parser/functions/parseResponse.md @@ -4,7 +4,7 @@ > **parseResponse**\<`T`\>(`data`): `T` -Defined in: [src/parser/parser.ts:231](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L231) +Defined in: [src/parser/parser.ts:232](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L232) Parses a given InnerTube response. diff --git a/docs/api/youtubei.js/namespaces/Parser/functions/sanitizeClassName.md b/docs/api/youtubei.js/namespaces/Parser/functions/sanitizeClassName.md index 4ebf1a52..126dcc8c 100644 --- a/docs/api/youtubei.js/namespaces/Parser/functions/sanitizeClassName.md +++ b/docs/api/youtubei.js/namespaces/Parser/functions/sanitizeClassName.md @@ -4,7 +4,7 @@ > **sanitizeClassName**(`input`): `string` -Defined in: [src/parser/parser.ts:196](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L196) +Defined in: [src/parser/parser.ts:197](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L197) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/Parser/functions/setParserErrorHandler.md b/docs/api/youtubei.js/namespaces/Parser/functions/setParserErrorHandler.md index be2e3b87..309f7b10 100644 --- a/docs/api/youtubei.js/namespaces/Parser/functions/setParserErrorHandler.md +++ b/docs/api/youtubei.js/namespaces/Parser/functions/setParserErrorHandler.md @@ -4,7 +4,7 @@ > **setParserErrorHandler**(`handler`): `void` -Defined in: [src/parser/parser.ts:163](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L163) +Defined in: [src/parser/parser.ts:164](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L164) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/Parser/functions/shouldIgnore.md b/docs/api/youtubei.js/namespaces/Parser/functions/shouldIgnore.md index a93312a8..89e7a783 100644 --- a/docs/api/youtubei.js/namespaces/Parser/functions/shouldIgnore.md +++ b/docs/api/youtubei.js/namespaces/Parser/functions/shouldIgnore.md @@ -4,7 +4,7 @@ > **shouldIgnore**(`classname`): `boolean` -Defined in: [src/parser/parser.ts:192](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L192) +Defined in: [src/parser/parser.ts:193](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L193) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/Parser/type-aliases/ParserError.md b/docs/api/youtubei.js/namespaces/Parser/type-aliases/ParserError.md index 5c5933de..9837433a 100644 --- a/docs/api/youtubei.js/namespaces/Parser/type-aliases/ParserError.md +++ b/docs/api/youtubei.js/namespaces/Parser/type-aliases/ParserError.md @@ -4,7 +4,7 @@ > **ParserError** = `object` & \{ `classdata`: [`RawNode`](../../../../type-aliases/RawNode.md); `error_type`: `"typecheck"`; `expected`: `string` \| `string`[]; \} \| \{ `classdata`: [`RawNode`](../../../../type-aliases/RawNode.md); `error`: `unknown`; `error_type`: `"parse"`; \} \| \{ `classname`: `string`; `error_type`: `"mutation_data_missing"`; \} \| \{ `error_type`: `"mutation_data_invalid"`; `failed`: `number`; `titles`: `string`[]; `total`: `number`; \} \| \{ `error_type`: `"class_not_found"`; `key_info`: [`KeyInfo`](../../Generator/type-aliases/KeyInfo.md); \} \| \{ `changed_keys`: [`KeyInfo`](../../Generator/type-aliases/KeyInfo.md); `error_type`: `"class_changed"`; `key_info`: [`KeyInfo`](../../Generator/type-aliases/KeyInfo.md); \} -Defined in: [src/parser/parser.ts:48](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L48) +Defined in: [src/parser/parser.ts:48](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L48) ## Type Declaration diff --git a/docs/api/youtubei.js/namespaces/Parser/type-aliases/ParserErrorHandler.md b/docs/api/youtubei.js/namespaces/Parser/type-aliases/ParserErrorHandler.md index de33ffd3..84c06ad8 100644 --- a/docs/api/youtubei.js/namespaces/Parser/type-aliases/ParserErrorHandler.md +++ b/docs/api/youtubei.js/namespaces/Parser/type-aliases/ParserErrorHandler.md @@ -4,7 +4,7 @@ > **ParserErrorHandler** = (`error`) => `void` -Defined in: [src/parser/parser.ts:75](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/parser.ts#L75) +Defined in: [src/parser/parser.ts:75](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/parser.ts#L75) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/ProtoUtils/functions/decodeVisitorData.md b/docs/api/youtubei.js/namespaces/ProtoUtils/functions/decodeVisitorData.md index 70190273..1f9f6119 100644 --- a/docs/api/youtubei.js/namespaces/ProtoUtils/functions/decodeVisitorData.md +++ b/docs/api/youtubei.js/namespaces/ProtoUtils/functions/decodeVisitorData.md @@ -4,7 +4,7 @@ > **decodeVisitorData**(`visitor_data`): `VisitorData` -Defined in: [src/utils/ProtoUtils.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/ProtoUtils.ts#L16) +Defined in: [src/utils/ProtoUtils.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/ProtoUtils.ts#L16) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/ProtoUtils/functions/encodeCommentActionParams.md b/docs/api/youtubei.js/namespaces/ProtoUtils/functions/encodeCommentActionParams.md index 74f973cf..33cfafb7 100644 --- a/docs/api/youtubei.js/namespaces/ProtoUtils/functions/encodeCommentActionParams.md +++ b/docs/api/youtubei.js/namespaces/ProtoUtils/functions/encodeCommentActionParams.md @@ -2,9 +2,9 @@ # Function: encodeCommentActionParams() -> **encodeCommentActionParams**(`type`, `args`): `string` +> **encodeCommentActionParams**(`type`, `args?`): `string` -Defined in: [src/utils/ProtoUtils.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/ProtoUtils.ts#L20) +Defined in: [src/utils/ProtoUtils.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/ProtoUtils.ts#L20) ## Parameters @@ -12,7 +12,7 @@ Defined in: [src/utils/ProtoUtils.ts:20](https://github.com/LuanRT/YouTube.js/bl `number` -### args +### args? [`CommentActionParamsArgs`](../type-aliases/CommentActionParamsArgs.md) = `{}` diff --git a/docs/api/youtubei.js/namespaces/ProtoUtils/functions/encodeNextParams.md b/docs/api/youtubei.js/namespaces/ProtoUtils/functions/encodeNextParams.md index 8dc95969..723b540b 100644 --- a/docs/api/youtubei.js/namespaces/ProtoUtils/functions/encodeNextParams.md +++ b/docs/api/youtubei.js/namespaces/ProtoUtils/functions/encodeNextParams.md @@ -4,7 +4,7 @@ > **encodeNextParams**(`video_ids`, `playlist_title?`): `string` -Defined in: [src/utils/ProtoUtils.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/ProtoUtils.ts#L51) +Defined in: [src/utils/ProtoUtils.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/ProtoUtils.ts#L51) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/ProtoUtils/functions/encodeVisitorData.md b/docs/api/youtubei.js/namespaces/ProtoUtils/functions/encodeVisitorData.md index a25b0054..3912edf1 100644 --- a/docs/api/youtubei.js/namespaces/ProtoUtils/functions/encodeVisitorData.md +++ b/docs/api/youtubei.js/namespaces/ProtoUtils/functions/encodeVisitorData.md @@ -4,7 +4,7 @@ > **encodeVisitorData**(`id`, `timestamp`): `string` -Defined in: [src/utils/ProtoUtils.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/ProtoUtils.ts#L11) +Defined in: [src/utils/ProtoUtils.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/ProtoUtils.ts#L11) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/ProtoUtils/type-aliases/CommentActionParamsArgs.md b/docs/api/youtubei.js/namespaces/ProtoUtils/type-aliases/CommentActionParamsArgs.md index 4c6c4bdd..b920529a 100644 --- a/docs/api/youtubei.js/namespaces/ProtoUtils/type-aliases/CommentActionParamsArgs.md +++ b/docs/api/youtubei.js/namespaces/ProtoUtils/type-aliases/CommentActionParamsArgs.md @@ -4,7 +4,7 @@ > **CommentActionParamsArgs** = `object` -Defined in: [src/utils/ProtoUtils.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/ProtoUtils.ts#L4) +Defined in: [src/utils/ProtoUtils.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/ProtoUtils.ts#L4) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/utils/ProtoUtils.ts:4](https://github.com/LuanRT/YouTube.js/blo > `optional` **comment\_id**: `string` -Defined in: [src/utils/ProtoUtils.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/ProtoUtils.ts#L5) +Defined in: [src/utils/ProtoUtils.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/ProtoUtils.ts#L5) *** @@ -20,7 +20,7 @@ Defined in: [src/utils/ProtoUtils.ts:5](https://github.com/LuanRT/YouTube.js/blo > `optional` **target\_language**: `string` -Defined in: [src/utils/ProtoUtils.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/ProtoUtils.ts#L8) +Defined in: [src/utils/ProtoUtils.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/ProtoUtils.ts#L8) *** @@ -28,7 +28,7 @@ Defined in: [src/utils/ProtoUtils.ts:8](https://github.com/LuanRT/YouTube.js/blo > `optional` **text**: `string` -Defined in: [src/utils/ProtoUtils.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/ProtoUtils.ts#L7) +Defined in: [src/utils/ProtoUtils.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/ProtoUtils.ts#L7) *** @@ -36,4 +36,4 @@ Defined in: [src/utils/ProtoUtils.ts:7](https://github.com/LuanRT/YouTube.js/blo > `optional` **video\_id**: `string` -Defined in: [src/utils/ProtoUtils.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/ProtoUtils.ts#L6) +Defined in: [src/utils/ProtoUtils.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/ProtoUtils.ts#L6) diff --git a/docs/api/youtubei.js/namespaces/Types/README.md b/docs/api/youtubei.js/namespaces/Types/README.md index f157b371..b8c818d1 100644 --- a/docs/api/youtubei.js/namespaces/Types/README.md +++ b/docs/api/youtubei.js/namespaces/Types/README.md @@ -36,11 +36,11 @@ - [InnerTubeConfig](type-aliases/InnerTubeConfig.md) - [MusicSearchFilters](type-aliases/MusicSearchFilters.md) - [MusicSearchType](type-aliases/MusicSearchType.md) +- [Prioritize](type-aliases/Prioritize.md) - [Runtime](type-aliases/Runtime.md) - [SearchFilters](type-aliases/SearchFilters.md) - [SearchType](type-aliases/SearchType.md) - [SideEffectMode](type-aliases/SideEffectMode.md) -- [SortBy](type-aliases/SortBy.md) - [UpdateVideoMetadataOptions](type-aliases/UpdateVideoMetadataOptions.md) - [UploadDate](type-aliases/UploadDate.md) - [UploadedVideoMetadataOptions](type-aliases/UploadedVideoMetadataOptions.md) diff --git a/docs/api/youtubei.js/namespaces/Types/classes/JsAnalyzer.md b/docs/api/youtubei.js/namespaces/Types/classes/JsAnalyzer.md index 79d3c2a4..51ca5f58 100644 --- a/docs/api/youtubei.js/namespaces/Types/classes/JsAnalyzer.md +++ b/docs/api/youtubei.js/namespaces/Types/classes/JsAnalyzer.md @@ -2,7 +2,7 @@ # Class: JsAnalyzer -Defined in: [src/utils/javascript/JsAnalyzer.ts:61](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L61) +Defined in: [src/utils/javascript/JsAnalyzer.ts:72](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L72) Performs dependency-aware extraction of variables inside an IIFE. @@ -10,9 +10,9 @@ Performs dependency-aware extraction of variables inside an IIFE. ### Constructor -> **new JsAnalyzer**(`code`, `options`): `JsAnalyzer` +> **new JsAnalyzer**(`code`, `options?`): `JsAnalyzer` -Defined in: [src/utils/javascript/JsAnalyzer.ts:76](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L76) +Defined in: [src/utils/javascript/JsAnalyzer.ts:88](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L88) Creates a new instance over the provided source. @@ -24,7 +24,7 @@ Creates a new instance over the provided source. JavaScript source to parse and inspect. -##### options +##### options? [`AnalyzerOptions`](../interfaces/AnalyzerOptions.md) = `{}` @@ -38,9 +38,9 @@ Optional traversal settings. ### declaredVariables -> **declaredVariables**: `Map`\<`string`, [`VariableMetadata`](../interfaces/VariableMetadata.md)\> +> `readonly` **declaredVariables**: `Map`\<`string`, [`VariableMetadata`](../interfaces/VariableMetadata.md)\> -Defined in: [src/utils/javascript/JsAnalyzer.ts:68](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L68) +Defined in: [src/utils/javascript/JsAnalyzer.ts:81](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L81) *** @@ -48,7 +48,7 @@ Defined in: [src/utils/javascript/JsAnalyzer.ts:68](https://github.com/LuanRT/Yo > **iifeParamName**: `string` \| `null` = `null` -Defined in: [src/utils/javascript/JsAnalyzer.ts:69](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L69) +Defined in: [src/utils/javascript/JsAnalyzer.ts:80](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L80) ## Methods @@ -56,7 +56,7 @@ Defined in: [src/utils/javascript/JsAnalyzer.ts:69](https://github.com/LuanRT/Yo > **getExtractedMatches**(): [`ExtractionState`](../interfaces/ExtractionState.md)[] -Defined in: [src/utils/javascript/JsAnalyzer.ts:552](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L552) +Defined in: [src/utils/javascript/JsAnalyzer.ts:647](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L647) Returns the current set of matched extractions. @@ -70,7 +70,7 @@ Returns the current set of matched extractions. > **getSource**(): `string` -Defined in: [src/utils/javascript/JsAnalyzer.ts:560](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L560) +Defined in: [src/utils/javascript/JsAnalyzer.ts:655](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L655) Returns the raw, original source. diff --git a/docs/api/youtubei.js/namespaces/Types/classes/JsExtractor.md b/docs/api/youtubei.js/namespaces/Types/classes/JsExtractor.md index 0db04749..e7b01733 100644 --- a/docs/api/youtubei.js/namespaces/Types/classes/JsExtractor.md +++ b/docs/api/youtubei.js/namespaces/Types/classes/JsExtractor.md @@ -2,7 +2,7 @@ # Class: JsExtractor -Defined in: [src/utils/javascript/JsExtractor.ts:61](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsExtractor.ts#L61) +Defined in: [src/utils/javascript/JsExtractor.ts:61](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsExtractor.ts#L61) Class responsible for extracting and emitting JavaScript code snippets based on analysis results from a `JsAnalyzer` instance. @@ -13,7 +13,7 @@ based on analysis results from a `JsAnalyzer` instance. > **new JsExtractor**(`analyzer`): `JsExtractor` -Defined in: [src/utils/javascript/JsExtractor.ts:62](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsExtractor.ts#L62) +Defined in: [src/utils/javascript/JsExtractor.ts:62](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsExtractor.ts#L62) #### Parameters @@ -31,7 +31,7 @@ Defined in: [src/utils/javascript/JsExtractor.ts:62](https://github.com/LuanRT/Y > **buildScript**(`config`): [`BuildScriptResult`](../interfaces/BuildScriptResult.md) -Defined in: [src/utils/javascript/JsExtractor.ts:320](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsExtractor.ts#L320) +Defined in: [src/utils/javascript/JsExtractor.ts:329](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsExtractor.ts#L329) Processes extracted matches from the analyzer, handles dependencies, predeclares variables as needed, and generates an IIFE-wrapped output string containing the diff --git a/docs/api/youtubei.js/namespaces/Types/interfaces/AnalyzerOptions.md b/docs/api/youtubei.js/namespaces/Types/interfaces/AnalyzerOptions.md index 11960a5e..a2ad37bc 100644 --- a/docs/api/youtubei.js/namespaces/Types/interfaces/AnalyzerOptions.md +++ b/docs/api/youtubei.js/namespaces/Types/interfaces/AnalyzerOptions.md @@ -2,7 +2,7 @@ # Interface: AnalyzerOptions -Defined in: [src/utils/javascript/JsAnalyzer.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L26) +Defined in: [src/utils/javascript/JsAnalyzer.ts:36](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L36) ## Properties @@ -10,6 +10,6 @@ Defined in: [src/utils/javascript/JsAnalyzer.ts:26](https://github.com/LuanRT/Yo > `optional` **extractions**: [`ExtractionConfig`](ExtractionConfig.md) \| [`ExtractionConfig`](ExtractionConfig.md)[] -Defined in: [src/utils/javascript/JsAnalyzer.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L30) +Defined in: [src/utils/javascript/JsAnalyzer.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L40) One or more extraction configurations to look for while traversing. diff --git a/docs/api/youtubei.js/namespaces/Types/interfaces/BuildScriptResult.md b/docs/api/youtubei.js/namespaces/Types/interfaces/BuildScriptResult.md index efc9fd4b..375f672a 100644 --- a/docs/api/youtubei.js/namespaces/Types/interfaces/BuildScriptResult.md +++ b/docs/api/youtubei.js/namespaces/Types/interfaces/BuildScriptResult.md @@ -2,7 +2,7 @@ # Interface: BuildScriptResult -Defined in: [src/utils/javascript/JsExtractor.ts:42](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsExtractor.ts#L42) +Defined in: [src/utils/javascript/JsExtractor.ts:42](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsExtractor.ts#L42) ## Properties @@ -10,7 +10,7 @@ Defined in: [src/utils/javascript/JsExtractor.ts:42](https://github.com/LuanRT/Y > **exported**: `string`[] -Defined in: [src/utils/javascript/JsExtractor.ts:50](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsExtractor.ts#L50) +Defined in: [src/utils/javascript/JsExtractor.ts:50](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsExtractor.ts#L50) An array of exported variable names. @@ -20,7 +20,7 @@ An array of exported variable names. > `optional` **exportedRawValues**: `Record`\<`string`, `any`\> -Defined in: [src/utils/javascript/JsExtractor.ts:54](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsExtractor.ts#L54) +Defined in: [src/utils/javascript/JsExtractor.ts:54](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsExtractor.ts#L54) An object mapping exported variable names to their raw values, if `exportRawValues` was enabled. @@ -30,6 +30,6 @@ An object mapping exported variable names to their raw values, if `exportRawValu > **output**: `string` -Defined in: [src/utils/javascript/JsExtractor.ts:46](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsExtractor.ts#L46) +Defined in: [src/utils/javascript/JsExtractor.ts:46](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsExtractor.ts#L46) The generated output script as a string. diff --git a/docs/api/youtubei.js/namespaces/Types/interfaces/DownloadOptions.md b/docs/api/youtubei.js/namespaces/Types/interfaces/DownloadOptions.md index 9d19ec8c..b6519d86 100644 --- a/docs/api/youtubei.js/namespaces/Types/interfaces/DownloadOptions.md +++ b/docs/api/youtubei.js/namespaces/Types/interfaces/DownloadOptions.md @@ -2,7 +2,7 @@ # Interface: DownloadOptions -Defined in: [src/types/FormatUtils.ts:34](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/FormatUtils.ts#L34) +Defined in: [src/types/FormatUtils.ts:34](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/FormatUtils.ts#L34) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/types/FormatUtils.ts:34](https://github.com/LuanRT/YouTube.js/b > `optional` **client**: [`InnerTubeClient`](../type-aliases/InnerTubeClient.md) -Defined in: [src/types/GetVideoInfoOptions.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/GetVideoInfoOptions.ts#L7) +Defined in: [src/types/GetVideoInfoOptions.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/GetVideoInfoOptions.ts#L7) InnerTube client. @@ -28,7 +28,7 @@ InnerTube client. > `optional` **codec**: `string` -Defined in: [src/types/FormatUtils.ts:31](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/FormatUtils.ts#L31) +Defined in: [src/types/FormatUtils.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/FormatUtils.ts#L31) Video or audio codec, e.g. 'avc', 'vp9', 'av01' for video, 'opus', 'mp4a' for audio @@ -42,7 +42,7 @@ Video or audio codec, e.g. 'avc', 'vp9', 'av01' for video, 'opus', 'mp4a' for au > `optional` **format**: `string` -Defined in: [src/types/FormatUtils.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/FormatUtils.ts#L27) +Defined in: [src/types/FormatUtils.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/FormatUtils.ts#L27) File format, use 'any' to download any format @@ -56,7 +56,7 @@ File format, use 'any' to download any format > `optional` **itag**: `number` -Defined in: [src/types/FormatUtils.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/FormatUtils.ts#L11) +Defined in: [src/types/FormatUtils.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/FormatUtils.ts#L11) Video or audio itag @@ -70,7 +70,7 @@ Video or audio itag > `optional` **language**: `string` -Defined in: [src/types/FormatUtils.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/FormatUtils.ts#L23) +Defined in: [src/types/FormatUtils.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/FormatUtils.ts#L23) Language code, defaults to 'original'. @@ -84,7 +84,7 @@ Language code, defaults to 'original'. > `optional` **po\_token**: `string` -Defined in: [src/types/GetVideoInfoOptions.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/GetVideoInfoOptions.ts#L12) +Defined in: [src/types/GetVideoInfoOptions.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/GetVideoInfoOptions.ts#L12) Proof of Origin token, bound to the video ID being requested. If not provided, session bound token will be used. @@ -99,7 +99,7 @@ If not provided, session bound token will be used. > `optional` **quality**: `string` -Defined in: [src/types/FormatUtils.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/FormatUtils.ts#L15) +Defined in: [src/types/FormatUtils.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/FormatUtils.ts#L15) Video quality; 360p, 720p, 1080p, etc... also accepts 'best' and 'bestefficiency'. @@ -113,7 +113,7 @@ Video quality; 360p, 720p, 1080p, etc... also accepts 'best' and 'bestefficiency > `optional` **range**: `object` -Defined in: [src/types/FormatUtils.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/FormatUtils.ts#L38) +Defined in: [src/types/FormatUtils.ts:38](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/FormatUtils.ts#L38) Download range, indicates which bytes should be downloaded. @@ -131,7 +131,7 @@ Download range, indicates which bytes should be downloaded. > `optional` **type**: `"video"` \| `"audio"` \| `"video+audio"` -Defined in: [src/types/FormatUtils.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/FormatUtils.ts#L19) +Defined in: [src/types/FormatUtils.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/FormatUtils.ts#L19) Download type, can be: video, audio or video+audio diff --git a/docs/api/youtubei.js/namespaces/Types/interfaces/EmitterOptions.md b/docs/api/youtubei.js/namespaces/Types/interfaces/EmitterOptions.md index fd8227b7..b5af246d 100644 --- a/docs/api/youtubei.js/namespaces/Types/interfaces/EmitterOptions.md +++ b/docs/api/youtubei.js/namespaces/Types/interfaces/EmitterOptions.md @@ -2,7 +2,7 @@ # Interface: EmitterOptions -Defined in: [src/utils/javascript/JsExtractor.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsExtractor.ts#L15) +Defined in: [src/utils/javascript/JsExtractor.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsExtractor.ts#L15) ## Properties @@ -10,7 +10,7 @@ Defined in: [src/utils/javascript/JsExtractor.ts:15](https://github.com/LuanRT/Y > `optional` **disallowSideEffectInitializers**: `boolean` \| [`SideEffectPolicyOptions`](SideEffectPolicyOptions.md) -Defined in: [src/utils/javascript/JsExtractor.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsExtractor.ts#L26) +Defined in: [src/utils/javascript/JsExtractor.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsExtractor.ts#L26) When true or configured, replace unsafe initializers (calls, `new`, etc.) with `undefined` to avoid executing side-effectful code. @@ -22,7 +22,7 @@ Use `{ mode: 'loose' }` to allow a broader set of expressions. > `optional` **exportRawValues**: `boolean` -Defined in: [src/utils/javascript/JsExtractor.ts:35](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsExtractor.ts#L35) +Defined in: [src/utils/javascript/JsExtractor.ts:35](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsExtractor.ts#L35) When true, also export raw values of matched nodes. @@ -32,7 +32,7 @@ When true, also export raw values of matched nodes. > `optional` **forceVarPredeclaration**: `boolean` -Defined in: [src/utils/javascript/JsExtractor.ts:31](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsExtractor.ts#L31) +Defined in: [src/utils/javascript/JsExtractor.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsExtractor.ts#L31) When true, emit a single `var` declaration for every variable encountered, even if it originally had an initializer. @@ -43,7 +43,7 @@ encountered, even if it originally had an initializer. > `optional` **maxDepth**: `number` -Defined in: [src/utils/javascript/JsExtractor.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsExtractor.ts#L20) +Defined in: [src/utils/javascript/JsExtractor.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsExtractor.ts#L20) The maximum depth to traverse when emitting dependencies. If not specified, there is no limit on the depth. @@ -54,6 +54,6 @@ If not specified, there is no limit on the depth. > `optional` **rawValueOnly**: `string`[] -Defined in: [src/utils/javascript/JsExtractor.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsExtractor.ts#L39) +Defined in: [src/utils/javascript/JsExtractor.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsExtractor.ts#L39) Array of names to skip emitting code/deps for, but still export the raw value. diff --git a/docs/api/youtubei.js/namespaces/Types/interfaces/ExtractionConfig.md b/docs/api/youtubei.js/namespaces/Types/interfaces/ExtractionConfig.md index c66076e9..d7c59ccc 100644 --- a/docs/api/youtubei.js/namespaces/Types/interfaces/ExtractionConfig.md +++ b/docs/api/youtubei.js/namespaces/Types/interfaces/ExtractionConfig.md @@ -2,7 +2,7 @@ # Interface: ExtractionConfig -Defined in: [src/utils/javascript/JsAnalyzer.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L5) +Defined in: [src/utils/javascript/JsAnalyzer.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L4) ## Properties @@ -10,7 +10,7 @@ Defined in: [src/utils/javascript/JsAnalyzer.ts:5](https://github.com/LuanRT/You > `optional` **collectDependencies**: `boolean` -Defined in: [src/utils/javascript/JsAnalyzer.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L14) +Defined in: [src/utils/javascript/JsAnalyzer.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L13) When `false`, dependency resolution is not enforced and extractions are marked as ready immediately when `stopWhenReady` is true. @@ -21,7 +21,7 @@ when `stopWhenReady` is true. > `optional` **friendlyName**: `string` -Defined in: [src/utils/javascript/JsAnalyzer.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L23) +Defined in: [src/utils/javascript/JsAnalyzer.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L33) Name for easier identification of extractions. @@ -31,7 +31,7 @@ Name for easier identification of extractions. > **match**: (`node`) => `boolean` \| `Node` -Defined in: [src/utils/javascript/JsAnalyzer.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L9) +Defined in: [src/utils/javascript/JsAnalyzer.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L8) Predicate that determines whether the current node should be considered a match. @@ -47,11 +47,28 @@ Predicate that determines whether the current node should be considered a match. *** +### onlyProcessMatchContext? + +> `optional` **onlyProcessMatchContext**: `boolean` + +Defined in: [src/utils/javascript/JsAnalyzer.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L29) + +If `true`, dependency collection is limited to the match context node itself. + +*** + ### stopWhenReady? > `optional` **stopWhenReady**: `boolean` -Defined in: [src/utils/javascript/JsAnalyzer.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L19) +Defined in: [src/utils/javascript/JsAnalyzer.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L25) When `true`, traversal stops once the extraction is matched and all its dependencies (when `collectDependencies=true`) resolve. -Only useful for small functions/vars without too many dependencies. +Only useful for small functions/vars without too many dependencies. Deeper dependency trees will usually have the unresolvable +member expression here and there, for example: +```js + var Vmi = g.dX.window, Wr = Vmi?.yt?.config_ || Vmi?.ytcfg?.data_ || {}; +``` + +Since `Vmi.ytcfg` is a dependency, it will never resolve because it comes from `g.dX.window`, which is an external object we don't have access to. +In cases like this, `stopWhenReady` option does nothing useful. diff --git a/docs/api/youtubei.js/namespaces/Types/interfaces/ExtractionState.md b/docs/api/youtubei.js/namespaces/Types/interfaces/ExtractionState.md index f9a0ab65..92e45687 100644 --- a/docs/api/youtubei.js/namespaces/Types/interfaces/ExtractionState.md +++ b/docs/api/youtubei.js/namespaces/Types/interfaces/ExtractionState.md @@ -2,7 +2,7 @@ # Interface: ExtractionState -Defined in: [src/utils/javascript/JsAnalyzer.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L41) +Defined in: [src/utils/javascript/JsAnalyzer.ts:52](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L52) ## Properties @@ -10,7 +10,7 @@ Defined in: [src/utils/javascript/JsAnalyzer.ts:41](https://github.com/LuanRT/Yo > **config**: [`ExtractionConfig`](ExtractionConfig.md) -Defined in: [src/utils/javascript/JsAnalyzer.ts:42](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L42) +Defined in: [src/utils/javascript/JsAnalyzer.ts:53](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L53) *** @@ -18,7 +18,7 @@ Defined in: [src/utils/javascript/JsAnalyzer.ts:42](https://github.com/LuanRT/Yo > **dependencies**: `Set`\<`string`\> -Defined in: [src/utils/javascript/JsAnalyzer.ts:45](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L45) +Defined in: [src/utils/javascript/JsAnalyzer.ts:56](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L56) *** @@ -26,7 +26,7 @@ Defined in: [src/utils/javascript/JsAnalyzer.ts:45](https://github.com/LuanRT/Yo > **dependents**: `Set`\<`string`\> -Defined in: [src/utils/javascript/JsAnalyzer.ts:46](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L46) +Defined in: [src/utils/javascript/JsAnalyzer.ts:57](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L57) *** @@ -34,7 +34,7 @@ Defined in: [src/utils/javascript/JsAnalyzer.ts:46](https://github.com/LuanRT/Yo > `optional` **matchContext**: `Node` -Defined in: [src/utils/javascript/JsAnalyzer.ts:47](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L47) +Defined in: [src/utils/javascript/JsAnalyzer.ts:58](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L58) *** @@ -42,7 +42,7 @@ Defined in: [src/utils/javascript/JsAnalyzer.ts:47](https://github.com/LuanRT/Yo > `optional` **metadata**: [`VariableMetadata`](VariableMetadata.md) -Defined in: [src/utils/javascript/JsAnalyzer.ts:44](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L44) +Defined in: [src/utils/javascript/JsAnalyzer.ts:55](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L55) *** @@ -50,7 +50,7 @@ Defined in: [src/utils/javascript/JsAnalyzer.ts:44](https://github.com/LuanRT/Yo > `optional` **node**: `Node` -Defined in: [src/utils/javascript/JsAnalyzer.ts:43](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L43) +Defined in: [src/utils/javascript/JsAnalyzer.ts:54](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L54) *** @@ -58,4 +58,4 @@ Defined in: [src/utils/javascript/JsAnalyzer.ts:43](https://github.com/LuanRT/Yo > **ready**: `boolean` -Defined in: [src/utils/javascript/JsAnalyzer.ts:48](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L48) +Defined in: [src/utils/javascript/JsAnalyzer.ts:59](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L59) diff --git a/docs/api/youtubei.js/namespaces/Types/interfaces/FormatOptions.md b/docs/api/youtubei.js/namespaces/Types/interfaces/FormatOptions.md index fb313a52..d05c338d 100644 --- a/docs/api/youtubei.js/namespaces/Types/interfaces/FormatOptions.md +++ b/docs/api/youtubei.js/namespaces/Types/interfaces/FormatOptions.md @@ -2,7 +2,7 @@ # Interface: FormatOptions -Defined in: [src/types/FormatUtils.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/FormatUtils.ts#L7) +Defined in: [src/types/FormatUtils.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/FormatUtils.ts#L7) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/types/FormatUtils.ts:7](https://github.com/LuanRT/YouTube.js/bl > `optional` **client**: [`InnerTubeClient`](../type-aliases/InnerTubeClient.md) -Defined in: [src/types/GetVideoInfoOptions.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/GetVideoInfoOptions.ts#L7) +Defined in: [src/types/GetVideoInfoOptions.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/GetVideoInfoOptions.ts#L7) InnerTube client. @@ -32,7 +32,7 @@ InnerTube client. > `optional` **codec**: `string` -Defined in: [src/types/FormatUtils.ts:31](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/FormatUtils.ts#L31) +Defined in: [src/types/FormatUtils.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/FormatUtils.ts#L31) Video or audio codec, e.g. 'avc', 'vp9', 'av01' for video, 'opus', 'mp4a' for audio @@ -42,7 +42,7 @@ Video or audio codec, e.g. 'avc', 'vp9', 'av01' for video, 'opus', 'mp4a' for au > `optional` **format**: `string` -Defined in: [src/types/FormatUtils.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/FormatUtils.ts#L27) +Defined in: [src/types/FormatUtils.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/FormatUtils.ts#L27) File format, use 'any' to download any format @@ -52,7 +52,7 @@ File format, use 'any' to download any format > `optional` **itag**: `number` -Defined in: [src/types/FormatUtils.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/FormatUtils.ts#L11) +Defined in: [src/types/FormatUtils.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/FormatUtils.ts#L11) Video or audio itag @@ -62,7 +62,7 @@ Video or audio itag > `optional` **language**: `string` -Defined in: [src/types/FormatUtils.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/FormatUtils.ts#L23) +Defined in: [src/types/FormatUtils.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/FormatUtils.ts#L23) Language code, defaults to 'original'. @@ -72,7 +72,7 @@ Language code, defaults to 'original'. > `optional` **po\_token**: `string` -Defined in: [src/types/GetVideoInfoOptions.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/GetVideoInfoOptions.ts#L12) +Defined in: [src/types/GetVideoInfoOptions.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/GetVideoInfoOptions.ts#L12) Proof of Origin token, bound to the video ID being requested. If not provided, session bound token will be used. @@ -87,7 +87,7 @@ If not provided, session bound token will be used. > `optional` **quality**: `string` -Defined in: [src/types/FormatUtils.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/FormatUtils.ts#L15) +Defined in: [src/types/FormatUtils.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/FormatUtils.ts#L15) Video quality; 360p, 720p, 1080p, etc... also accepts 'best' and 'bestefficiency'. @@ -97,6 +97,6 @@ Video quality; 360p, 720p, 1080p, etc... also accepts 'best' and 'bestefficiency > `optional` **type**: `"video"` \| `"audio"` \| `"video+audio"` -Defined in: [src/types/FormatUtils.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/FormatUtils.ts#L19) +Defined in: [src/types/FormatUtils.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/FormatUtils.ts#L19) Download type, can be: video, audio or video+audio diff --git a/docs/api/youtubei.js/namespaces/Types/interfaces/GetVideoInfoOptions.md b/docs/api/youtubei.js/namespaces/Types/interfaces/GetVideoInfoOptions.md index 1091adf8..dd61cfc8 100644 --- a/docs/api/youtubei.js/namespaces/Types/interfaces/GetVideoInfoOptions.md +++ b/docs/api/youtubei.js/namespaces/Types/interfaces/GetVideoInfoOptions.md @@ -2,7 +2,7 @@ # Interface: GetVideoInfoOptions -Defined in: [src/types/GetVideoInfoOptions.ts:3](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/GetVideoInfoOptions.ts#L3) +Defined in: [src/types/GetVideoInfoOptions.ts:3](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/GetVideoInfoOptions.ts#L3) ## Extended by @@ -14,7 +14,7 @@ Defined in: [src/types/GetVideoInfoOptions.ts:3](https://github.com/LuanRT/YouTu > `optional` **client**: [`InnerTubeClient`](../type-aliases/InnerTubeClient.md) -Defined in: [src/types/GetVideoInfoOptions.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/GetVideoInfoOptions.ts#L7) +Defined in: [src/types/GetVideoInfoOptions.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/GetVideoInfoOptions.ts#L7) InnerTube client. @@ -24,7 +24,7 @@ InnerTube client. > `optional` **po\_token**: `string` -Defined in: [src/types/GetVideoInfoOptions.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/GetVideoInfoOptions.ts#L12) +Defined in: [src/types/GetVideoInfoOptions.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/GetVideoInfoOptions.ts#L12) Proof of Origin token, bound to the video ID being requested. If not provided, session bound token will be used. diff --git a/docs/api/youtubei.js/namespaces/Types/interfaces/ICache.md b/docs/api/youtubei.js/namespaces/Types/interfaces/ICache.md index 7733a40f..ddff10e5 100644 --- a/docs/api/youtubei.js/namespaces/Types/interfaces/ICache.md +++ b/docs/api/youtubei.js/namespaces/Types/interfaces/ICache.md @@ -2,7 +2,7 @@ # Interface: ICache -Defined in: [src/types/Cache.ts:1](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Cache.ts#L1) +Defined in: [src/types/Cache.ts:1](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Cache.ts#L1) ## Properties @@ -10,7 +10,7 @@ Defined in: [src/types/Cache.ts:1](https://github.com/LuanRT/YouTube.js/blob/073 > **cache\_dir**: `string` -Defined in: [src/types/Cache.ts:2](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Cache.ts#L2) +Defined in: [src/types/Cache.ts:2](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Cache.ts#L2) ## Methods @@ -18,7 +18,7 @@ Defined in: [src/types/Cache.ts:2](https://github.com/LuanRT/YouTube.js/blob/073 > **get**(`key`): `Promise`\<`ArrayBuffer` \| `undefined`\> -Defined in: [src/types/Cache.ts:3](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Cache.ts#L3) +Defined in: [src/types/Cache.ts:3](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Cache.ts#L3) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/types/Cache.ts:3](https://github.com/LuanRT/YouTube.js/blob/073 > **remove**(`key`): `Promise`\<`void`\> -Defined in: [src/types/Cache.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Cache.ts#L5) +Defined in: [src/types/Cache.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Cache.ts#L5) #### Parameters @@ -54,7 +54,7 @@ Defined in: [src/types/Cache.ts:5](https://github.com/LuanRT/YouTube.js/blob/073 > **set**(`key`, `value`): `Promise`\<`void`\> -Defined in: [src/types/Cache.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Cache.ts#L4) +Defined in: [src/types/Cache.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Cache.ts#L4) #### Parameters diff --git a/docs/api/youtubei.js/namespaces/Types/interfaces/ICacheConstructor.md b/docs/api/youtubei.js/namespaces/Types/interfaces/ICacheConstructor.md index 864e375f..a29bf1c1 100644 --- a/docs/api/youtubei.js/namespaces/Types/interfaces/ICacheConstructor.md +++ b/docs/api/youtubei.js/namespaces/Types/interfaces/ICacheConstructor.md @@ -2,7 +2,7 @@ # Interface: ICacheConstructor -Defined in: [src/types/Cache.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Cache.ts#L8) +Defined in: [src/types/Cache.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Cache.ts#L8) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/types/Cache.ts:8](https://github.com/LuanRT/YouTube.js/blob/073 > **new ICacheConstructor**(`persistent`, `persistent_directory?`): [`ICache`](ICache.md) -Defined in: [src/types/Cache.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Cache.ts#L9) +Defined in: [src/types/Cache.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Cache.ts#L9) #### Parameters diff --git a/docs/api/youtubei.js/namespaces/Types/interfaces/PlatformShim.md b/docs/api/youtubei.js/namespaces/Types/interfaces/PlatformShim.md index af78d1b2..efa85e6a 100644 --- a/docs/api/youtubei.js/namespaces/Types/interfaces/PlatformShim.md +++ b/docs/api/youtubei.js/namespaces/Types/interfaces/PlatformShim.md @@ -2,7 +2,7 @@ # Interface: PlatformShim -Defined in: [src/types/PlatformShim.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/PlatformShim.ts#L12) +Defined in: [src/types/PlatformShim.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/PlatformShim.ts#L12) ## Properties @@ -10,7 +10,7 @@ Defined in: [src/types/PlatformShim.ts:12](https://github.com/LuanRT/YouTube.js/ > **Cache**: [`ICacheConstructor`](ICacheConstructor.md) -Defined in: [src/types/PlatformShim.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/PlatformShim.ts#L15) +Defined in: [src/types/PlatformShim.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/PlatformShim.ts#L15) *** @@ -18,7 +18,7 @@ Defined in: [src/types/PlatformShim.ts:15](https://github.com/LuanRT/YouTube.js/ > **CustomEvent**: \{\<`T`\>(`type`, `eventInitDict?`): `CustomEvent`\<`T`\>; `prototype`: `CustomEvent`; \} -Defined in: [src/types/PlatformShim.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/PlatformShim.ts#L26) +Defined in: [src/types/PlatformShim.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/PlatformShim.ts#L26) #### Parameters @@ -44,13 +44,13 @@ Defined in: [src/types/PlatformShim.ts:26](https://github.com/LuanRT/YouTube.js/ > **fetch**: \{(`input`, `init?`): `Promise`\<`Response`\>; (`input`, `init?`): `Promise`\<`Response`\>; \} -Defined in: [src/types/PlatformShim.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/PlatformShim.ts#L19) +Defined in: [src/types/PlatformShim.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/PlatformShim.ts#L19) #### Call Signature > (`input`, `init?`): `Promise`\<`Response`\> -[MDN Reference](https://developer.mozilla.org/docs/Web/API/fetch) +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) ##### Parameters @@ -70,7 +70,7 @@ Defined in: [src/types/PlatformShim.ts:19](https://github.com/LuanRT/YouTube.js/ > (`input`, `init?`): `Promise`\<`Response`\> -[MDN Reference](https://developer.mozilla.org/docs/Web/API/fetch) +[MDN Reference](https://developer.mozilla.org/docs/Web/API/Window/fetch) ##### Parameters @@ -92,7 +92,7 @@ Defined in: [src/types/PlatformShim.ts:19](https://github.com/LuanRT/YouTube.js/ > **File**: \{(`fileBits`, `fileName`, `options?`): `File`; `prototype`: `File`; \} -Defined in: [src/types/PlatformShim.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/PlatformShim.ts#L24) +Defined in: [src/types/PlatformShim.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/PlatformShim.ts#L24) #### Parameters @@ -122,7 +122,7 @@ Defined in: [src/types/PlatformShim.ts:24](https://github.com/LuanRT/YouTube.js/ > **FormData**: \{(`form?`, `submitter?`): `FormData`; `prototype`: `FormData`; \} -Defined in: [src/types/PlatformShim.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/PlatformShim.ts#L23) +Defined in: [src/types/PlatformShim.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/PlatformShim.ts#L23) #### Parameters @@ -148,7 +148,7 @@ Defined in: [src/types/PlatformShim.ts:23](https://github.com/LuanRT/YouTube.js/ > **Headers**: \{(`init?`): `Headers`; `prototype`: `Headers`; \} -Defined in: [src/types/PlatformShim.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/PlatformShim.ts#L22) +Defined in: [src/types/PlatformShim.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/PlatformShim.ts#L22) #### Parameters @@ -168,13 +168,13 @@ Defined in: [src/types/PlatformShim.ts:22](https://github.com/LuanRT/YouTube.js/ ### ReadableStream -> **ReadableStream**: \{(`underlyingSource`, `strategy?`): `ReadableStream`\<`Uint8Array`\>; \<`R`\>(`underlyingSource`, `strategy?`): `ReadableStream`\<`R`\>; \<`R`\>(`underlyingSource?`, `strategy?`): `ReadableStream`\<`R`\>; `prototype`: `ReadableStream`; \} +> **ReadableStream**: \{(`underlyingSource`, `strategy?`): `ReadableStream`\<`Uint8Array`\<`ArrayBuffer`\>\>; \<`R`\>(`underlyingSource`, `strategy?`): `ReadableStream`\<`R`\>; \<`R`\>(`underlyingSource?`, `strategy?`): `ReadableStream`\<`R`\>; `prototype`: `ReadableStream`; \} -Defined in: [src/types/PlatformShim.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/PlatformShim.ts#L25) +Defined in: [src/types/PlatformShim.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/PlatformShim.ts#L25) #### Call Signature -> **new ReadableStream**(`underlyingSource`, `strategy?`): `ReadableStream`\<`Uint8Array`\> +> **new ReadableStream**(`underlyingSource`, `strategy?`): `ReadableStream`\<`Uint8Array`\<`ArrayBuffer`\>\> ##### Parameters @@ -190,7 +190,7 @@ Defined in: [src/types/PlatformShim.ts:25](https://github.com/LuanRT/YouTube.js/ ##### Returns -`ReadableStream`\<`Uint8Array`\> +`ReadableStream`\<`Uint8Array`\<`ArrayBuffer`\>\> #### Call Signature @@ -238,7 +238,7 @@ Defined in: [src/types/PlatformShim.ts:25](https://github.com/LuanRT/YouTube.js/ > **Request**: \{(`input`, `init?`): `Request`; `prototype`: `Request`; \} -Defined in: [src/types/PlatformShim.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/PlatformShim.ts#L20) +Defined in: [src/types/PlatformShim.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/PlatformShim.ts#L20) #### Parameters @@ -264,7 +264,7 @@ Defined in: [src/types/PlatformShim.ts:20](https://github.com/LuanRT/YouTube.js/ > **Response**: \{(`body?`, `init?`): `Response`; `prototype`: `Response`; `error`: `Response`; `json`: `Response`; `redirect`: `Response`; \} -Defined in: [src/types/PlatformShim.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/PlatformShim.ts#L21) +Defined in: [src/types/PlatformShim.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/PlatformShim.ts#L21) #### Parameters @@ -288,6 +288,8 @@ Defined in: [src/types/PlatformShim.ts:21](https://github.com/LuanRT/YouTube.js/ > **error**(): `Response` +The **`error()`** static method of the Response interface returns a new `Response` object associated with a network error. + [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/error_static) ##### Returns @@ -298,6 +300,8 @@ Defined in: [src/types/PlatformShim.ts:21](https://github.com/LuanRT/YouTube.js/ > **json**(`data`, `init?`): `Response` +The **`json()`** static method of the Response interface returns a `Response` that contains the provided JSON data as body, and a Content-Type header which is set to `application/json`. + [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/json_static) ##### Parameters @@ -318,6 +322,8 @@ Defined in: [src/types/PlatformShim.ts:21](https://github.com/LuanRT/YouTube.js/ > **redirect**(`url`, `status?`): `Response` +The **`redirect()`** static method of the Response interface returns a `Response` resulting in a redirect to the specified URL. + [MDN Reference](https://developer.mozilla.org/docs/Web/API/Response/redirect_static) ##### Parameters @@ -340,7 +346,7 @@ Defined in: [src/types/PlatformShim.ts:21](https://github.com/LuanRT/YouTube.js/ > **runtime**: [`Runtime`](../type-aliases/Runtime.md) -Defined in: [src/types/PlatformShim.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/PlatformShim.ts#L13) +Defined in: [src/types/PlatformShim.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/PlatformShim.ts#L13) *** @@ -348,7 +354,7 @@ Defined in: [src/types/PlatformShim.ts:13](https://github.com/LuanRT/YouTube.js/ > **server**: `boolean` -Defined in: [src/types/PlatformShim.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/PlatformShim.ts#L14) +Defined in: [src/types/PlatformShim.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/PlatformShim.ts#L14) ## Methods @@ -356,7 +362,7 @@ Defined in: [src/types/PlatformShim.ts:14](https://github.com/LuanRT/YouTube.js/ > **eval**(`data`, `env`): [`EvalResult`](../type-aliases/EvalResult.md) \| `Promise`\<[`EvalResult`](../type-aliases/EvalResult.md)\> -Defined in: [src/types/PlatformShim.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/PlatformShim.ts#L18) +Defined in: [src/types/PlatformShim.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/PlatformShim.ts#L18) #### Parameters @@ -378,7 +384,7 @@ Defined in: [src/types/PlatformShim.ts:18](https://github.com/LuanRT/YouTube.js/ > **sha1Hash**(`data`): `Promise`\<`string`\> -Defined in: [src/types/PlatformShim.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/PlatformShim.ts#L16) +Defined in: [src/types/PlatformShim.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/PlatformShim.ts#L16) #### Parameters @@ -396,7 +402,7 @@ Defined in: [src/types/PlatformShim.ts:16](https://github.com/LuanRT/YouTube.js/ > **uuidv4**(): `string` -Defined in: [src/types/PlatformShim.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/PlatformShim.ts#L17) +Defined in: [src/types/PlatformShim.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/PlatformShim.ts#L17) #### Returns diff --git a/docs/api/youtubei.js/namespaces/Types/interfaces/SideEffectPolicyOptions.md b/docs/api/youtubei.js/namespaces/Types/interfaces/SideEffectPolicyOptions.md index 77bc89e4..8f17d4bd 100644 --- a/docs/api/youtubei.js/namespaces/Types/interfaces/SideEffectPolicyOptions.md +++ b/docs/api/youtubei.js/namespaces/Types/interfaces/SideEffectPolicyOptions.md @@ -2,7 +2,7 @@ # Interface: SideEffectPolicyOptions -Defined in: [src/utils/javascript/JsExtractor.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsExtractor.ts#L7) +Defined in: [src/utils/javascript/JsExtractor.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsExtractor.ts#L7) ## Properties @@ -10,7 +10,7 @@ Defined in: [src/utils/javascript/JsExtractor.ts:7](https://github.com/LuanRT/Yo > `optional` **mode**: [`SideEffectMode`](../type-aliases/SideEffectMode.md) -Defined in: [src/utils/javascript/JsExtractor.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsExtractor.ts#L12) +Defined in: [src/utils/javascript/JsExtractor.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsExtractor.ts#L12) Determines how strictly side-effect detection should behave. Use `"loose"` to allow benign computed expressions. diff --git a/docs/api/youtubei.js/namespaces/Types/interfaces/VariableMetadata.md b/docs/api/youtubei.js/namespaces/Types/interfaces/VariableMetadata.md index 06138e04..4dd5d090 100644 --- a/docs/api/youtubei.js/namespaces/Types/interfaces/VariableMetadata.md +++ b/docs/api/youtubei.js/namespaces/Types/interfaces/VariableMetadata.md @@ -2,7 +2,7 @@ # Interface: VariableMetadata -Defined in: [src/utils/javascript/JsAnalyzer.ts:33](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L33) +Defined in: [src/utils/javascript/JsAnalyzer.ts:43](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L43) ## Properties @@ -10,7 +10,7 @@ Defined in: [src/utils/javascript/JsAnalyzer.ts:33](https://github.com/LuanRT/Yo > **dependencies**: `Set`\<`string`\> -Defined in: [src/utils/javascript/JsAnalyzer.ts:36](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L36) +Defined in: [src/utils/javascript/JsAnalyzer.ts:46](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L46) *** @@ -18,7 +18,7 @@ Defined in: [src/utils/javascript/JsAnalyzer.ts:36](https://github.com/LuanRT/Yo > **dependents**: `Set`\<`string`\> -Defined in: [src/utils/javascript/JsAnalyzer.ts:37](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L37) +Defined in: [src/utils/javascript/JsAnalyzer.ts:47](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L47) *** @@ -26,7 +26,7 @@ Defined in: [src/utils/javascript/JsAnalyzer.ts:37](https://github.com/LuanRT/Yo > **name**: `string` -Defined in: [src/utils/javascript/JsAnalyzer.ts:34](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L34) +Defined in: [src/utils/javascript/JsAnalyzer.ts:44](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L44) *** @@ -34,7 +34,7 @@ Defined in: [src/utils/javascript/JsAnalyzer.ts:34](https://github.com/LuanRT/Yo > `optional` **node**: `any` -Defined in: [src/utils/javascript/JsAnalyzer.ts:35](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L35) +Defined in: [src/utils/javascript/JsAnalyzer.ts:45](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L45) *** @@ -42,4 +42,12 @@ Defined in: [src/utils/javascript/JsAnalyzer.ts:35](https://github.com/LuanRT/Yo > **predeclared**: `boolean` -Defined in: [src/utils/javascript/JsAnalyzer.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L38) +Defined in: [src/utils/javascript/JsAnalyzer.ts:49](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L49) + +*** + +### prototypeAliases + +> **prototypeAliases**: `Map`\<`string`, `Set`\<`VariableMetadata`\>\> + +Defined in: [src/utils/javascript/JsAnalyzer.ts:48](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L48) diff --git a/docs/api/youtubei.js/namespaces/Types/type-aliases/Duration.md b/docs/api/youtubei.js/namespaces/Types/type-aliases/Duration.md index 41182042..fd22fc29 100644 --- a/docs/api/youtubei.js/namespaces/Types/type-aliases/Duration.md +++ b/docs/api/youtubei.js/namespaces/Types/type-aliases/Duration.md @@ -2,6 +2,6 @@ # Type Alias: Duration -> **Duration** = `"all"` \| `"short"` \| `"medium"` \| `"long"` +> **Duration** = `"all"` \| `"over_twenty_mins"` \| `"under_three_mins"` \| `"three_to_twenty_mins"` -Defined in: [src/types/Misc.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Misc.ts#L9) +Defined in: [src/types/Misc.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Misc.ts#L9) diff --git a/docs/api/youtubei.js/namespaces/Types/type-aliases/EngagementType.md b/docs/api/youtubei.js/namespaces/Types/type-aliases/EngagementType.md index 8cbb666a..719e5444 100644 --- a/docs/api/youtubei.js/namespaces/Types/type-aliases/EngagementType.md +++ b/docs/api/youtubei.js/namespaces/Types/type-aliases/EngagementType.md @@ -4,4 +4,4 @@ > **EngagementType** = `"ENGAGEMENT_TYPE_UNBOUND"` \| `"ENGAGEMENT_TYPE_VIDEO_LIKE"` \| `"ENGAGEMENT_TYPE_VIDEO_DISLIKE"` \| `"ENGAGEMENT_TYPE_SUBSCRIBE"` \| `"ENGAGEMENT_TYPE_PLAYBACK"` \| `"ENGAGEMENT_TYPE_YPC_GET_PREMIUM_PAGE"` \| `"ENGAGEMENT_TYPE_YPC_GET_DOWNLOAD_ACTION"` -Defined in: [src/types/Misc.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Misc.ts#L5) +Defined in: [src/types/Misc.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Misc.ts#L5) diff --git a/docs/api/youtubei.js/namespaces/Types/type-aliases/EvalResult.md b/docs/api/youtubei.js/namespaces/Types/type-aliases/EvalResult.md index be7c0284..5c249bda 100644 --- a/docs/api/youtubei.js/namespaces/Types/type-aliases/EvalResult.md +++ b/docs/api/youtubei.js/namespaces/Types/type-aliases/EvalResult.md @@ -4,4 +4,4 @@ > **EvalResult** = \{\[`key`: `string`\]: `any`; \} \| `void` -Defined in: [src/types/PlatformShim.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/PlatformShim.ts#L10) +Defined in: [src/types/PlatformShim.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/PlatformShim.ts#L10) diff --git a/docs/api/youtubei.js/namespaces/Types/type-aliases/ExtractionMatch.md b/docs/api/youtubei.js/namespaces/Types/type-aliases/ExtractionMatch.md index a9634d2c..58e05a33 100644 --- a/docs/api/youtubei.js/namespaces/Types/type-aliases/ExtractionMatch.md +++ b/docs/api/youtubei.js/namespaces/Types/type-aliases/ExtractionMatch.md @@ -4,4 +4,4 @@ > **ExtractionMatch** = [`ExtractionState`](../interfaces/ExtractionState.md) -Defined in: [src/utils/javascript/JsAnalyzer.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsAnalyzer.ts#L51) +Defined in: [src/utils/javascript/JsAnalyzer.ts:62](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsAnalyzer.ts#L62) diff --git a/docs/api/youtubei.js/namespaces/Types/type-aliases/Feature.md b/docs/api/youtubei.js/namespaces/Types/type-aliases/Feature.md index d9bc7734..0ae91649 100644 --- a/docs/api/youtubei.js/namespaces/Types/type-aliases/Feature.md +++ b/docs/api/youtubei.js/namespaces/Types/type-aliases/Feature.md @@ -4,4 +4,4 @@ > **Feature** = `"hd"` \| `"subtitles"` \| `"creative_commons"` \| `"3d"` \| `"live"` \| `"purchased"` \| `"4k"` \| `"360"` \| `"location"` \| `"hdr"` \| `"vr180"` -Defined in: [src/types/Misc.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Misc.ts#L11) +Defined in: [src/types/Misc.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Misc.ts#L11) diff --git a/docs/api/youtubei.js/namespaces/Types/type-aliases/FetchFunction.md b/docs/api/youtubei.js/namespaces/Types/type-aliases/FetchFunction.md index de9d6216..4a3bd654 100644 --- a/docs/api/youtubei.js/namespaces/Types/type-aliases/FetchFunction.md +++ b/docs/api/youtubei.js/namespaces/Types/type-aliases/FetchFunction.md @@ -4,4 +4,4 @@ > **FetchFunction** = *typeof* `fetch` -Defined in: [src/types/PlatformShim.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/PlatformShim.ts#L6) +Defined in: [src/types/PlatformShim.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/PlatformShim.ts#L6) diff --git a/docs/api/youtubei.js/namespaces/Types/type-aliases/FormatFilter.md b/docs/api/youtubei.js/namespaces/Types/type-aliases/FormatFilter.md index 460e4635..97750a9f 100644 --- a/docs/api/youtubei.js/namespaces/Types/type-aliases/FormatFilter.md +++ b/docs/api/youtubei.js/namespaces/Types/type-aliases/FormatFilter.md @@ -4,7 +4,7 @@ > **FormatFilter** = (`format`) => `boolean` -Defined in: [src/types/FormatUtils.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/FormatUtils.ts#L5) +Defined in: [src/types/FormatUtils.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/FormatUtils.ts#L5) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/Types/type-aliases/InnerTubeClient.md b/docs/api/youtubei.js/namespaces/Types/type-aliases/InnerTubeClient.md index 5b053d9c..bb9c6792 100644 --- a/docs/api/youtubei.js/namespaces/Types/type-aliases/InnerTubeClient.md +++ b/docs/api/youtubei.js/namespaces/Types/type-aliases/InnerTubeClient.md @@ -2,6 +2,6 @@ # Type Alias: InnerTubeClient -> **InnerTubeClient** = `"IOS"` \| `"WEB"` \| `"MWEB"` \| `"ANDROID"` \| `"YTMUSIC"` \| `"YTMUSIC_ANDROID"` \| `"YTSTUDIO_ANDROID"` \| `"TV"` \| `"TV_SIMPLY"` \| `"TV_EMBEDDED"` \| `"YTKIDS"` \| `"WEB_EMBEDDED"` \| `"WEB_CREATOR"` +> **InnerTubeClient** = `"IOS"` \| `"WEB"` \| `"MWEB"` \| `"ANDROID"` \| `"ANDROID_VR"` \| `"YTMUSIC"` \| `"YTMUSIC_ANDROID"` \| `"YTSTUDIO_ANDROID"` \| `"TV"` \| `"TV_SIMPLY"` \| `"TV_EMBEDDED"` \| `"YTKIDS"` \| `"WEB_EMBEDDED"` \| `"WEB_CREATOR"` -Defined in: [src/types/Misc.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Misc.ts#L4) +Defined in: [src/types/Misc.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Misc.ts#L4) diff --git a/docs/api/youtubei.js/namespaces/Types/type-aliases/InnerTubeConfig.md b/docs/api/youtubei.js/namespaces/Types/type-aliases/InnerTubeConfig.md index aeb83bd0..43cffb16 100644 --- a/docs/api/youtubei.js/namespaces/Types/type-aliases/InnerTubeConfig.md +++ b/docs/api/youtubei.js/namespaces/Types/type-aliases/InnerTubeConfig.md @@ -4,4 +4,4 @@ > **InnerTubeConfig** = [`SessionOptions`](../../../../type-aliases/SessionOptions.md) -Defined in: [src/types/Misc.ts:3](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Misc.ts#L3) +Defined in: [src/types/Misc.ts:3](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Misc.ts#L3) diff --git a/docs/api/youtubei.js/namespaces/Types/type-aliases/MusicSearchFilters.md b/docs/api/youtubei.js/namespaces/Types/type-aliases/MusicSearchFilters.md index ebbc4237..41e4474d 100644 --- a/docs/api/youtubei.js/namespaces/Types/type-aliases/MusicSearchFilters.md +++ b/docs/api/youtubei.js/namespaces/Types/type-aliases/MusicSearchFilters.md @@ -4,7 +4,7 @@ > **MusicSearchFilters** = `object` -Defined in: [src/types/Misc.ts:42](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Misc.ts#L42) +Defined in: [src/types/Misc.ts:42](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Misc.ts#L42) ## Properties @@ -12,4 +12,4 @@ Defined in: [src/types/Misc.ts:42](https://github.com/LuanRT/YouTube.js/blob/073 > `optional` **type**: [`MusicSearchType`](MusicSearchType.md) -Defined in: [src/types/Misc.ts:43](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Misc.ts#L43) +Defined in: [src/types/Misc.ts:43](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Misc.ts#L43) diff --git a/docs/api/youtubei.js/namespaces/Types/type-aliases/MusicSearchType.md b/docs/api/youtubei.js/namespaces/Types/type-aliases/MusicSearchType.md index ce208e69..605d7d9a 100644 --- a/docs/api/youtubei.js/namespaces/Types/type-aliases/MusicSearchType.md +++ b/docs/api/youtubei.js/namespaces/Types/type-aliases/MusicSearchType.md @@ -4,4 +4,4 @@ > **MusicSearchType** = `"all"` \| `"song"` \| `"video"` \| `"album"` \| `"playlist"` \| `"artist"` -Defined in: [src/types/Misc.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Misc.ts#L40) +Defined in: [src/types/Misc.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Misc.ts#L40) diff --git a/docs/api/youtubei.js/namespaces/Types/type-aliases/Prioritize.md b/docs/api/youtubei.js/namespaces/Types/type-aliases/Prioritize.md new file mode 100644 index 00000000..d1076420 --- /dev/null +++ b/docs/api/youtubei.js/namespaces/Types/type-aliases/Prioritize.md @@ -0,0 +1,7 @@ +[youtubei.js](../../../../README.md) / [Types](../README.md) / Prioritize + +# Type Alias: Prioritize + +> **Prioritize** = `"relevance"` \| `"popularity"` + +Defined in: [src/types/Misc.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Misc.ts#L10) diff --git a/docs/api/youtubei.js/namespaces/Types/type-aliases/Runtime.md b/docs/api/youtubei.js/namespaces/Types/type-aliases/Runtime.md index 9436de85..d358815b 100644 --- a/docs/api/youtubei.js/namespaces/Types/type-aliases/Runtime.md +++ b/docs/api/youtubei.js/namespaces/Types/type-aliases/Runtime.md @@ -4,4 +4,4 @@ > **Runtime** = `"deno"` \| `"node"` \| `"browser"` \| `"cf-worker"` \| `"unknown"` \| `"react-native"` -Defined in: [src/types/PlatformShim.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/PlatformShim.ts#L4) +Defined in: [src/types/PlatformShim.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/PlatformShim.ts#L4) diff --git a/docs/api/youtubei.js/namespaces/Types/type-aliases/SearchFilters.md b/docs/api/youtubei.js/namespaces/Types/type-aliases/SearchFilters.md index e170d7fa..fbb22ec4 100644 --- a/docs/api/youtubei.js/namespaces/Types/type-aliases/SearchFilters.md +++ b/docs/api/youtubei.js/namespaces/Types/type-aliases/SearchFilters.md @@ -4,7 +4,7 @@ > **SearchFilters** = `object` -Defined in: [src/types/Misc.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Misc.ts#L13) +Defined in: [src/types/Misc.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Misc.ts#L13) ## Properties @@ -12,7 +12,7 @@ Defined in: [src/types/Misc.ts:13](https://github.com/LuanRT/YouTube.js/blob/073 > `optional` **duration**: [`Duration`](Duration.md) -Defined in: [src/types/Misc.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Misc.ts#L16) +Defined in: [src/types/Misc.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Misc.ts#L16) *** @@ -20,15 +20,15 @@ Defined in: [src/types/Misc.ts:16](https://github.com/LuanRT/YouTube.js/blob/073 > `optional` **features**: [`Feature`](Feature.md)[] -Defined in: [src/types/Misc.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Misc.ts#L18) +Defined in: [src/types/Misc.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Misc.ts#L18) *** -### sort\_by? +### prioritize? -> `optional` **sort\_by**: [`SortBy`](SortBy.md) +> `optional` **prioritize**: [`Prioritize`](Prioritize.md) -Defined in: [src/types/Misc.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Misc.ts#L17) +Defined in: [src/types/Misc.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Misc.ts#L17) *** @@ -36,7 +36,7 @@ Defined in: [src/types/Misc.ts:17](https://github.com/LuanRT/YouTube.js/blob/073 > `optional` **type**: [`SearchType`](SearchType.md) -Defined in: [src/types/Misc.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Misc.ts#L15) +Defined in: [src/types/Misc.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Misc.ts#L15) *** @@ -44,4 +44,4 @@ Defined in: [src/types/Misc.ts:15](https://github.com/LuanRT/YouTube.js/blob/073 > `optional` **upload\_date**: [`UploadDate`](UploadDate.md) -Defined in: [src/types/Misc.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Misc.ts#L14) +Defined in: [src/types/Misc.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Misc.ts#L14) diff --git a/docs/api/youtubei.js/namespaces/Types/type-aliases/SearchType.md b/docs/api/youtubei.js/namespaces/Types/type-aliases/SearchType.md index 609d5524..64ef6871 100644 --- a/docs/api/youtubei.js/namespaces/Types/type-aliases/SearchType.md +++ b/docs/api/youtubei.js/namespaces/Types/type-aliases/SearchType.md @@ -2,6 +2,6 @@ # Type Alias: SearchType -> **SearchType** = `"all"` \| `"video"` \| `"channel"` \| `"playlist"` \| `"movie"` +> **SearchType** = `"all"` \| `"video"` \| `"shorts"` \| `"channel"` \| `"playlist"` \| `"movie"` -Defined in: [src/types/Misc.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Misc.ts#L8) +Defined in: [src/types/Misc.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Misc.ts#L8) diff --git a/docs/api/youtubei.js/namespaces/Types/type-aliases/SideEffectMode.md b/docs/api/youtubei.js/namespaces/Types/type-aliases/SideEffectMode.md index 5a39594c..76e55566 100644 --- a/docs/api/youtubei.js/namespaces/Types/type-aliases/SideEffectMode.md +++ b/docs/api/youtubei.js/namespaces/Types/type-aliases/SideEffectMode.md @@ -4,4 +4,4 @@ > **SideEffectMode** = `"strict"` \| `"loose"` -Defined in: [src/utils/javascript/JsExtractor.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/javascript/JsExtractor.ts#L5) +Defined in: [src/utils/javascript/JsExtractor.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/javascript/JsExtractor.ts#L5) diff --git a/docs/api/youtubei.js/namespaces/Types/type-aliases/SortBy.md b/docs/api/youtubei.js/namespaces/Types/type-aliases/SortBy.md deleted file mode 100644 index 5e8ac90c..00000000 --- a/docs/api/youtubei.js/namespaces/Types/type-aliases/SortBy.md +++ /dev/null @@ -1,7 +0,0 @@ -[youtubei.js](../../../../README.md) / [Types](../README.md) / SortBy - -# Type Alias: SortBy - -> **SortBy** = `"relevance"` \| `"rating"` \| `"upload_date"` \| `"view_count"` - -Defined in: [src/types/Misc.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Misc.ts#L10) diff --git a/docs/api/youtubei.js/namespaces/Types/type-aliases/URLTransformer.md b/docs/api/youtubei.js/namespaces/Types/type-aliases/URLTransformer.md index f1504b93..4a784a20 100644 --- a/docs/api/youtubei.js/namespaces/Types/type-aliases/URLTransformer.md +++ b/docs/api/youtubei.js/namespaces/Types/type-aliases/URLTransformer.md @@ -4,7 +4,7 @@ > **URLTransformer** = (`url`) => `URL` -Defined in: [src/types/FormatUtils.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/FormatUtils.ts#L4) +Defined in: [src/types/FormatUtils.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/FormatUtils.ts#L4) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/Types/type-aliases/UpdateVideoMetadataOptions.md b/docs/api/youtubei.js/namespaces/Types/type-aliases/UpdateVideoMetadataOptions.md index 7096297b..25dfeb58 100644 --- a/docs/api/youtubei.js/namespaces/Types/type-aliases/UpdateVideoMetadataOptions.md +++ b/docs/api/youtubei.js/namespaces/Types/type-aliases/UpdateVideoMetadataOptions.md @@ -4,4 +4,4 @@ > **UpdateVideoMetadataOptions** = `Partial`\<\{ `age_restricted`: `boolean`; `category`: `number`; `description`: `string`; `license`: `string`; `made_for_kids`: `boolean`; `privacy`: `"PUBLIC"` \| `"PRIVATE"` \| `"UNLISTED"`; `tags`: `string`[]; `thumbnail`: `Uint8Array`; `title`: `string`; \}\> -Defined in: [src/types/Misc.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Misc.ts#L21) +Defined in: [src/types/Misc.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Misc.ts#L21) diff --git a/docs/api/youtubei.js/namespaces/Types/type-aliases/UploadDate.md b/docs/api/youtubei.js/namespaces/Types/type-aliases/UploadDate.md index 564edf8c..caf7f338 100644 --- a/docs/api/youtubei.js/namespaces/Types/type-aliases/UploadDate.md +++ b/docs/api/youtubei.js/namespaces/Types/type-aliases/UploadDate.md @@ -2,6 +2,6 @@ # Type Alias: UploadDate -> **UploadDate** = `"all"` \| `"hour"` \| `"today"` \| `"week"` \| `"month"` \| `"year"` +> **UploadDate** = `"all"` \| `"today"` \| `"week"` \| `"month"` \| `"year"` -Defined in: [src/types/Misc.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Misc.ts#L7) +Defined in: [src/types/Misc.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Misc.ts#L7) diff --git a/docs/api/youtubei.js/namespaces/Types/type-aliases/UploadedVideoMetadataOptions.md b/docs/api/youtubei.js/namespaces/Types/type-aliases/UploadedVideoMetadataOptions.md index 5f8cc25c..47683a86 100644 --- a/docs/api/youtubei.js/namespaces/Types/type-aliases/UploadedVideoMetadataOptions.md +++ b/docs/api/youtubei.js/namespaces/Types/type-aliases/UploadedVideoMetadataOptions.md @@ -4,4 +4,4 @@ > **UploadedVideoMetadataOptions** = `Partial`\<\{ `description`: `string`; `is_draft`: `boolean`; `privacy`: `"PUBLIC"` \| `"PRIVATE"` \| `"UNLISTED"`; `title`: `string`; \}\> -Defined in: [src/types/Misc.ts:33](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/Misc.ts#L33) +Defined in: [src/types/Misc.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/Misc.ts#L33) diff --git a/docs/api/youtubei.js/namespaces/Types/type-aliases/VMPrimative.md b/docs/api/youtubei.js/namespaces/Types/type-aliases/VMPrimative.md index 74d29844..f65b3712 100644 --- a/docs/api/youtubei.js/namespaces/Types/type-aliases/VMPrimative.md +++ b/docs/api/youtubei.js/namespaces/Types/type-aliases/VMPrimative.md @@ -4,4 +4,4 @@ > **VMPrimative** = `string` \| `number` \| `boolean` \| `null` \| `undefined` -Defined in: [src/types/PlatformShim.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/types/PlatformShim.ts#L8) +Defined in: [src/types/PlatformShim.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/types/PlatformShim.ts#L8) diff --git a/docs/api/youtubei.js/namespaces/Utils/README.md b/docs/api/youtubei.js/namespaces/Utils/README.md index cb5ce1d3..70bf26a0 100644 --- a/docs/api/youtubei.js/namespaces/Utils/README.md +++ b/docs/api/youtubei.js/namespaces/Utils/README.md @@ -29,6 +29,7 @@ - [generateRandomString](functions/generateRandomString.md) - [generateSidAuth](functions/generateSidAuth.md) - [getCookie](functions/getCookie.md) +- [getNsigProcessorFn](functions/getNsigProcessorFn.md) - [getRandomUserAgent](functions/getRandomUserAgent.md) - [getStringBetweenStrings](functions/getStringBetweenStrings.md) - [hasKeys](functions/hasKeys.md) diff --git a/docs/api/youtubei.js/namespaces/Utils/classes/ChannelError.md b/docs/api/youtubei.js/namespaces/Utils/classes/ChannelError.md index 3711cd6f..8d6c0ae8 100644 --- a/docs/api/youtubei.js/namespaces/Utils/classes/ChannelError.md +++ b/docs/api/youtubei.js/namespaces/Utils/classes/ChannelError.md @@ -2,7 +2,7 @@ # Class: ChannelError -Defined in: [src/utils/Utils.ts:60](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L60) +Defined in: [src/utils/Utils.ts:60](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L60) ## Extends @@ -60,7 +60,7 @@ Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1082 > `optional` **cause**: `unknown` -Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:24 +Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:26 #### Inherited from @@ -108,7 +108,7 @@ Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1078 > `static` **stackTraceLimit**: `number` -Defined in: node\_modules/@types/node/globals.d.ts:162 +Defined in: node\_modules/@types/node/globals.d.ts:67 The `Error.stackTraceLimit` property specifies the number of stack frames collected by a stack trace (whether generated by `new Error().stack` or @@ -130,7 +130,7 @@ not capture any frames. > `static` **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` -Defined in: node\_modules/@types/node/globals.d.ts:146 +Defined in: node\_modules/@types/node/globals.d.ts:51 Creates a `.stack` property on `targetObject`, which when accessed returns a string representing the location in the code at which @@ -196,11 +196,35 @@ a(); *** +### isError() + +> `static` **isError**(`error`): `error is Error` + +Defined in: node\_modules/typescript/lib/lib.esnext.error.d.ts:23 + +Indicates whether the argument provided is a built-in Error instance or not. + +#### Parameters + +##### error + +`unknown` + +#### Returns + +`error is Error` + +#### Inherited from + +`Error.isError` + +*** + ### prepareStackTrace() > `static` **prepareStackTrace**(`err`, `stackTraces`): `any` -Defined in: node\_modules/@types/node/globals.d.ts:150 +Defined in: node\_modules/@types/node/globals.d.ts:55 #### Parameters diff --git a/docs/api/youtubei.js/namespaces/Utils/classes/InnertubeError.md b/docs/api/youtubei.js/namespaces/Utils/classes/InnertubeError.md index cdc86d0a..e2bef0eb 100644 --- a/docs/api/youtubei.js/namespaces/Utils/classes/InnertubeError.md +++ b/docs/api/youtubei.js/namespaces/Utils/classes/InnertubeError.md @@ -2,7 +2,7 @@ # Class: InnertubeError -Defined in: [src/utils/Utils.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L28) +Defined in: [src/utils/Utils.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L28) ## Extends @@ -20,7 +20,7 @@ Defined in: [src/utils/Utils.ts:28](https://github.com/LuanRT/YouTube.js/blob/07 > **new InnertubeError**(`message`, `info?`): `InnertubeError` -Defined in: [src/utils/Utils.ts:33](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L33) +Defined in: [src/utils/Utils.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L33) #### Parameters @@ -46,7 +46,7 @@ Defined in: [src/utils/Utils.ts:33](https://github.com/LuanRT/YouTube.js/blob/07 > `optional` **cause**: `unknown` -Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:24 +Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:26 #### Inherited from @@ -58,7 +58,7 @@ Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:24 > **date**: `Date` -Defined in: [src/utils/Utils.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L29) +Defined in: [src/utils/Utils.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L29) *** @@ -66,7 +66,7 @@ Defined in: [src/utils/Utils.ts:29](https://github.com/LuanRT/YouTube.js/blob/07 > `optional` **info**: `any` -Defined in: [src/utils/Utils.ts:31](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L31) +Defined in: [src/utils/Utils.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L31) *** @@ -110,7 +110,7 @@ Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1078 > **version**: `string` -Defined in: [src/utils/Utils.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L30) +Defined in: [src/utils/Utils.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L30) *** @@ -118,7 +118,7 @@ Defined in: [src/utils/Utils.ts:30](https://github.com/LuanRT/YouTube.js/blob/07 > `static` **stackTraceLimit**: `number` -Defined in: node\_modules/@types/node/globals.d.ts:162 +Defined in: node\_modules/@types/node/globals.d.ts:67 The `Error.stackTraceLimit` property specifies the number of stack frames collected by a stack trace (whether generated by `new Error().stack` or @@ -140,7 +140,7 @@ not capture any frames. > `static` **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` -Defined in: node\_modules/@types/node/globals.d.ts:146 +Defined in: node\_modules/@types/node/globals.d.ts:51 Creates a `.stack` property on `targetObject`, which when accessed returns a string representing the location in the code at which @@ -206,11 +206,35 @@ a(); *** +### isError() + +> `static` **isError**(`error`): `error is Error` + +Defined in: node\_modules/typescript/lib/lib.esnext.error.d.ts:23 + +Indicates whether the argument provided is a built-in Error instance or not. + +#### Parameters + +##### error + +`unknown` + +#### Returns + +`error is Error` + +#### Inherited from + +`Error.isError` + +*** + ### prepareStackTrace() > `static` **prepareStackTrace**(`err`, `stackTraces`): `any` -Defined in: node\_modules/@types/node/globals.d.ts:150 +Defined in: node\_modules/@types/node/globals.d.ts:55 #### Parameters diff --git a/docs/api/youtubei.js/namespaces/Utils/classes/MissingParamError.md b/docs/api/youtubei.js/namespaces/Utils/classes/MissingParamError.md index 3249143e..55f3d4bf 100644 --- a/docs/api/youtubei.js/namespaces/Utils/classes/MissingParamError.md +++ b/docs/api/youtubei.js/namespaces/Utils/classes/MissingParamError.md @@ -2,7 +2,7 @@ # Class: MissingParamError -Defined in: [src/utils/Utils.ts:48](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L48) +Defined in: [src/utils/Utils.ts:48](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L48) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/utils/Utils.ts:48](https://github.com/LuanRT/YouTube.js/blob/07 > **new MissingParamError**(`message`, `info?`): `MissingParamError` -Defined in: [src/utils/Utils.ts:33](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L33) +Defined in: [src/utils/Utils.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L33) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/utils/Utils.ts:33](https://github.com/LuanRT/YouTube.js/blob/07 > `optional` **cause**: `unknown` -Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:24 +Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:26 #### Inherited from @@ -52,7 +52,7 @@ Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:24 > **date**: `Date` -Defined in: [src/utils/Utils.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L29) +Defined in: [src/utils/Utils.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L29) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/utils/Utils.ts:29](https://github.com/LuanRT/YouTube.js/blob/07 > `optional` **info**: `any` -Defined in: [src/utils/Utils.ts:31](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L31) +Defined in: [src/utils/Utils.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L31) #### Inherited from @@ -112,7 +112,7 @@ Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1078 > **version**: `string` -Defined in: [src/utils/Utils.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L30) +Defined in: [src/utils/Utils.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L30) #### Inherited from @@ -124,7 +124,7 @@ Defined in: [src/utils/Utils.ts:30](https://github.com/LuanRT/YouTube.js/blob/07 > `static` **stackTraceLimit**: `number` -Defined in: node\_modules/@types/node/globals.d.ts:162 +Defined in: node\_modules/@types/node/globals.d.ts:67 The `Error.stackTraceLimit` property specifies the number of stack frames collected by a stack trace (whether generated by `new Error().stack` or @@ -146,7 +146,7 @@ not capture any frames. > `static` **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` -Defined in: node\_modules/@types/node/globals.d.ts:146 +Defined in: node\_modules/@types/node/globals.d.ts:51 Creates a `.stack` property on `targetObject`, which when accessed returns a string representing the location in the code at which @@ -212,11 +212,35 @@ a(); *** +### isError() + +> `static` **isError**(`error`): `error is Error` + +Defined in: node\_modules/typescript/lib/lib.esnext.error.d.ts:23 + +Indicates whether the argument provided is a built-in Error instance or not. + +#### Parameters + +##### error + +`unknown` + +#### Returns + +`error is Error` + +#### Inherited from + +[`InnertubeError`](InnertubeError.md).[`isError`](InnertubeError.md#iserror) + +*** + ### prepareStackTrace() > `static` **prepareStackTrace**(`err`, `stackTraces`): `any` -Defined in: node\_modules/@types/node/globals.d.ts:150 +Defined in: node\_modules/@types/node/globals.d.ts:55 #### Parameters diff --git a/docs/api/youtubei.js/namespaces/Utils/classes/OAuth2Error.md b/docs/api/youtubei.js/namespaces/Utils/classes/OAuth2Error.md index c4e9ab05..a8025584 100644 --- a/docs/api/youtubei.js/namespaces/Utils/classes/OAuth2Error.md +++ b/docs/api/youtubei.js/namespaces/Utils/classes/OAuth2Error.md @@ -2,7 +2,7 @@ # Class: OAuth2Error -Defined in: [src/utils/Utils.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L51) +Defined in: [src/utils/Utils.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L51) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/utils/Utils.ts:51](https://github.com/LuanRT/YouTube.js/blob/07 > **new OAuth2Error**(`message`, `info?`): `OAuth2Error` -Defined in: [src/utils/Utils.ts:33](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L33) +Defined in: [src/utils/Utils.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L33) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/utils/Utils.ts:33](https://github.com/LuanRT/YouTube.js/blob/07 > `optional` **cause**: `unknown` -Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:24 +Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:26 #### Inherited from @@ -52,7 +52,7 @@ Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:24 > **date**: `Date` -Defined in: [src/utils/Utils.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L29) +Defined in: [src/utils/Utils.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L29) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/utils/Utils.ts:29](https://github.com/LuanRT/YouTube.js/blob/07 > `optional` **info**: `any` -Defined in: [src/utils/Utils.ts:31](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L31) +Defined in: [src/utils/Utils.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L31) #### Inherited from @@ -112,7 +112,7 @@ Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1078 > **version**: `string` -Defined in: [src/utils/Utils.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L30) +Defined in: [src/utils/Utils.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L30) #### Inherited from @@ -124,7 +124,7 @@ Defined in: [src/utils/Utils.ts:30](https://github.com/LuanRT/YouTube.js/blob/07 > `static` **stackTraceLimit**: `number` -Defined in: node\_modules/@types/node/globals.d.ts:162 +Defined in: node\_modules/@types/node/globals.d.ts:67 The `Error.stackTraceLimit` property specifies the number of stack frames collected by a stack trace (whether generated by `new Error().stack` or @@ -146,7 +146,7 @@ not capture any frames. > `static` **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` -Defined in: node\_modules/@types/node/globals.d.ts:146 +Defined in: node\_modules/@types/node/globals.d.ts:51 Creates a `.stack` property on `targetObject`, which when accessed returns a string representing the location in the code at which @@ -212,11 +212,35 @@ a(); *** +### isError() + +> `static` **isError**(`error`): `error is Error` + +Defined in: node\_modules/typescript/lib/lib.esnext.error.d.ts:23 + +Indicates whether the argument provided is a built-in Error instance or not. + +#### Parameters + +##### error + +`unknown` + +#### Returns + +`error is Error` + +#### Inherited from + +[`InnertubeError`](InnertubeError.md).[`isError`](InnertubeError.md#iserror) + +*** + ### prepareStackTrace() > `static` **prepareStackTrace**(`err`, `stackTraces`): `any` -Defined in: node\_modules/@types/node/globals.d.ts:150 +Defined in: node\_modules/@types/node/globals.d.ts:55 #### Parameters diff --git a/docs/api/youtubei.js/namespaces/Utils/classes/ParsingError.md b/docs/api/youtubei.js/namespaces/Utils/classes/ParsingError.md index edbf71fc..0f936166 100644 --- a/docs/api/youtubei.js/namespaces/Utils/classes/ParsingError.md +++ b/docs/api/youtubei.js/namespaces/Utils/classes/ParsingError.md @@ -2,7 +2,7 @@ # Class: ParsingError -Defined in: [src/utils/Utils.ts:45](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L45) +Defined in: [src/utils/Utils.ts:45](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L45) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/utils/Utils.ts:45](https://github.com/LuanRT/YouTube.js/blob/07 > **new ParsingError**(`message`, `info?`): `ParsingError` -Defined in: [src/utils/Utils.ts:33](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L33) +Defined in: [src/utils/Utils.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L33) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/utils/Utils.ts:33](https://github.com/LuanRT/YouTube.js/blob/07 > `optional` **cause**: `unknown` -Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:24 +Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:26 #### Inherited from @@ -52,7 +52,7 @@ Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:24 > **date**: `Date` -Defined in: [src/utils/Utils.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L29) +Defined in: [src/utils/Utils.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L29) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/utils/Utils.ts:29](https://github.com/LuanRT/YouTube.js/blob/07 > `optional` **info**: `any` -Defined in: [src/utils/Utils.ts:31](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L31) +Defined in: [src/utils/Utils.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L31) #### Inherited from @@ -112,7 +112,7 @@ Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1078 > **version**: `string` -Defined in: [src/utils/Utils.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L30) +Defined in: [src/utils/Utils.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L30) #### Inherited from @@ -124,7 +124,7 @@ Defined in: [src/utils/Utils.ts:30](https://github.com/LuanRT/YouTube.js/blob/07 > `static` **stackTraceLimit**: `number` -Defined in: node\_modules/@types/node/globals.d.ts:162 +Defined in: node\_modules/@types/node/globals.d.ts:67 The `Error.stackTraceLimit` property specifies the number of stack frames collected by a stack trace (whether generated by `new Error().stack` or @@ -146,7 +146,7 @@ not capture any frames. > `static` **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` -Defined in: node\_modules/@types/node/globals.d.ts:146 +Defined in: node\_modules/@types/node/globals.d.ts:51 Creates a `.stack` property on `targetObject`, which when accessed returns a string representing the location in the code at which @@ -212,11 +212,35 @@ a(); *** +### isError() + +> `static` **isError**(`error`): `error is Error` + +Defined in: node\_modules/typescript/lib/lib.esnext.error.d.ts:23 + +Indicates whether the argument provided is a built-in Error instance or not. + +#### Parameters + +##### error + +`unknown` + +#### Returns + +`error is Error` + +#### Inherited from + +[`InnertubeError`](InnertubeError.md).[`isError`](InnertubeError.md#iserror) + +*** + ### prepareStackTrace() > `static` **prepareStackTrace**(`err`, `stackTraces`): `any` -Defined in: node\_modules/@types/node/globals.d.ts:150 +Defined in: node\_modules/@types/node/globals.d.ts:55 #### Parameters diff --git a/docs/api/youtubei.js/namespaces/Utils/classes/PlayerError.md b/docs/api/youtubei.js/namespaces/Utils/classes/PlayerError.md index 7d7cbe90..1202e14a 100644 --- a/docs/api/youtubei.js/namespaces/Utils/classes/PlayerError.md +++ b/docs/api/youtubei.js/namespaces/Utils/classes/PlayerError.md @@ -2,7 +2,7 @@ # Class: PlayerError -Defined in: [src/utils/Utils.ts:54](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L54) +Defined in: [src/utils/Utils.ts:54](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L54) ## Extends @@ -60,7 +60,7 @@ Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1082 > `optional` **cause**: `unknown` -Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:24 +Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:26 #### Inherited from @@ -108,7 +108,7 @@ Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1078 > `static` **stackTraceLimit**: `number` -Defined in: node\_modules/@types/node/globals.d.ts:162 +Defined in: node\_modules/@types/node/globals.d.ts:67 The `Error.stackTraceLimit` property specifies the number of stack frames collected by a stack trace (whether generated by `new Error().stack` or @@ -130,7 +130,7 @@ not capture any frames. > `static` **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` -Defined in: node\_modules/@types/node/globals.d.ts:146 +Defined in: node\_modules/@types/node/globals.d.ts:51 Creates a `.stack` property on `targetObject`, which when accessed returns a string representing the location in the code at which @@ -196,11 +196,35 @@ a(); *** +### isError() + +> `static` **isError**(`error`): `error is Error` + +Defined in: node\_modules/typescript/lib/lib.esnext.error.d.ts:23 + +Indicates whether the argument provided is a built-in Error instance or not. + +#### Parameters + +##### error + +`unknown` + +#### Returns + +`error is Error` + +#### Inherited from + +`Error.isError` + +*** + ### prepareStackTrace() > `static` **prepareStackTrace**(`err`, `stackTraces`): `any` -Defined in: node\_modules/@types/node/globals.d.ts:150 +Defined in: node\_modules/@types/node/globals.d.ts:55 #### Parameters diff --git a/docs/api/youtubei.js/namespaces/Utils/classes/SessionError.md b/docs/api/youtubei.js/namespaces/Utils/classes/SessionError.md index d580eb33..7f7b1d06 100644 --- a/docs/api/youtubei.js/namespaces/Utils/classes/SessionError.md +++ b/docs/api/youtubei.js/namespaces/Utils/classes/SessionError.md @@ -2,7 +2,7 @@ # Class: SessionError -Defined in: [src/utils/Utils.ts:57](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L57) +Defined in: [src/utils/Utils.ts:57](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L57) ## Extends @@ -60,7 +60,7 @@ Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1082 > `optional` **cause**: `unknown` -Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:24 +Defined in: node\_modules/typescript/lib/lib.es2022.error.d.ts:26 #### Inherited from @@ -108,7 +108,7 @@ Defined in: node\_modules/typescript/lib/lib.es5.d.ts:1078 > `static` **stackTraceLimit**: `number` -Defined in: node\_modules/@types/node/globals.d.ts:162 +Defined in: node\_modules/@types/node/globals.d.ts:67 The `Error.stackTraceLimit` property specifies the number of stack frames collected by a stack trace (whether generated by `new Error().stack` or @@ -130,7 +130,7 @@ not capture any frames. > `static` **captureStackTrace**(`targetObject`, `constructorOpt?`): `void` -Defined in: node\_modules/@types/node/globals.d.ts:146 +Defined in: node\_modules/@types/node/globals.d.ts:51 Creates a `.stack` property on `targetObject`, which when accessed returns a string representing the location in the code at which @@ -196,11 +196,35 @@ a(); *** +### isError() + +> `static` **isError**(`error`): `error is Error` + +Defined in: node\_modules/typescript/lib/lib.esnext.error.d.ts:23 + +Indicates whether the argument provided is a built-in Error instance or not. + +#### Parameters + +##### error + +`unknown` + +#### Returns + +`error is Error` + +#### Inherited from + +`Error.isError` + +*** + ### prepareStackTrace() > `static` **prepareStackTrace**(`err`, `stackTraces`): `any` -Defined in: node\_modules/@types/node/globals.d.ts:150 +Defined in: node\_modules/@types/node/globals.d.ts:55 #### Parameters diff --git a/docs/api/youtubei.js/namespaces/Utils/functions/base64ToU8.md b/docs/api/youtubei.js/namespaces/Utils/functions/base64ToU8.md index 1b80fcbc..54a92bc0 100644 --- a/docs/api/youtubei.js/namespaces/Utils/functions/base64ToU8.md +++ b/docs/api/youtubei.js/namespaces/Utils/functions/base64ToU8.md @@ -4,7 +4,7 @@ > **base64ToU8**(`base64`): `Uint8Array` -Defined in: [src/utils/Utils.ts:250](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L250) +Defined in: [src/utils/Utils.ts:250](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L250) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/Utils/functions/concatMemos.md b/docs/api/youtubei.js/namespaces/Utils/functions/concatMemos.md index ebde83c5..738a64a1 100644 --- a/docs/api/youtubei.js/namespaces/Utils/functions/concatMemos.md +++ b/docs/api/youtubei.js/namespaces/Utils/functions/concatMemos.md @@ -4,7 +4,7 @@ > **concatMemos**(...`iterables`): [`Memo`](../../Helpers/classes/Memo.md) -Defined in: [src/utils/Utils.ts:154](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L154) +Defined in: [src/utils/Utils.ts:154](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L154) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/Utils/functions/deepCompare.md b/docs/api/youtubei.js/namespaces/Utils/functions/deepCompare.md index c571014b..27243dec 100644 --- a/docs/api/youtubei.js/namespaces/Utils/functions/deepCompare.md +++ b/docs/api/youtubei.js/namespaces/Utils/functions/deepCompare.md @@ -4,7 +4,7 @@ > **deepCompare**(`obj1`, `obj2`): `boolean` -Defined in: [src/utils/Utils.ts:67](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L67) +Defined in: [src/utils/Utils.ts:67](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L67) Compares given objects. May not work correctly for objects with methods. diff --git a/docs/api/youtubei.js/namespaces/Utils/functions/escapeStringRegexp.md b/docs/api/youtubei.js/namespaces/Utils/functions/escapeStringRegexp.md index b4fc6c85..5785b3c4 100644 --- a/docs/api/youtubei.js/namespaces/Utils/functions/escapeStringRegexp.md +++ b/docs/api/youtubei.js/namespaces/Utils/functions/escapeStringRegexp.md @@ -4,7 +4,7 @@ > **escapeStringRegexp**(`input`): `string` -Defined in: [src/utils/Utils.ts:90](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L90) +Defined in: [src/utils/Utils.ts:90](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L90) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/Utils/functions/generateRandomString.md b/docs/api/youtubei.js/namespaces/Utils/functions/generateRandomString.md index 5b1848b4..a22a2b40 100644 --- a/docs/api/youtubei.js/namespaces/Utils/functions/generateRandomString.md +++ b/docs/api/youtubei.js/namespaces/Utils/functions/generateRandomString.md @@ -4,7 +4,7 @@ > **generateRandomString**(`length`): `string` -Defined in: [src/utils/Utils.ts:124](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L124) +Defined in: [src/utils/Utils.ts:124](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L124) Generates a random string with the given length. diff --git a/docs/api/youtubei.js/namespaces/Utils/functions/generateSidAuth.md b/docs/api/youtubei.js/namespaces/Utils/functions/generateSidAuth.md index eff57754..a951dc3f 100644 --- a/docs/api/youtubei.js/namespaces/Utils/functions/generateSidAuth.md +++ b/docs/api/youtubei.js/namespaces/Utils/functions/generateSidAuth.md @@ -4,7 +4,7 @@ > **generateSidAuth**(`sid`): `Promise`\<`string`\> -Defined in: [src/utils/Utils.ts:110](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L110) +Defined in: [src/utils/Utils.ts:110](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L110) Generates an authentication token from a cookies' sid. diff --git a/docs/api/youtubei.js/namespaces/Utils/functions/getCookie.md b/docs/api/youtubei.js/namespaces/Utils/functions/getCookie.md index 63dfd068..3208fd7f 100644 --- a/docs/api/youtubei.js/namespaces/Utils/functions/getCookie.md +++ b/docs/api/youtubei.js/namespaces/Utils/functions/getCookie.md @@ -2,9 +2,9 @@ # Function: getCookie() -> **getCookie**(`cookies`, `name`, `matchWholeName`): `string` \| `undefined` +> **getCookie**(`cookies`, `name`, `matchWholeName?`): `string` \| `undefined` -Defined in: [src/utils/Utils.ts:260](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L260) +Defined in: [src/utils/Utils.ts:260](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L260) ## Parameters @@ -16,7 +16,7 @@ Defined in: [src/utils/Utils.ts:260](https://github.com/LuanRT/YouTube.js/blob/0 `string` -### matchWholeName +### matchWholeName? `boolean` = `false` diff --git a/docs/api/youtubei.js/namespaces/Utils/functions/getNsigProcessorFn.md b/docs/api/youtubei.js/namespaces/Utils/functions/getNsigProcessorFn.md new file mode 100644 index 00000000..09801d50 --- /dev/null +++ b/docs/api/youtubei.js/namespaces/Utils/functions/getNsigProcessorFn.md @@ -0,0 +1,25 @@ +[youtubei.js](../../../../README.md) / [Utils](../README.md) / getNsigProcessorFn + +# Function: getNsigProcessorFn() + +> **getNsigProcessorFn**(`n?`, `sp?`, `s?`): `string` + +Defined in: [src/utils/Utils.ts:266](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L266) + +## Parameters + +### n? + +`string` | `null` + +### sp? + +`string` | `null` + +### s? + +`string` | `null` + +## Returns + +`string` diff --git a/docs/api/youtubei.js/namespaces/Utils/functions/getRandomUserAgent.md b/docs/api/youtubei.js/namespaces/Utils/functions/getRandomUserAgent.md index 5f01869a..85df5a45 100644 --- a/docs/api/youtubei.js/namespaces/Utils/functions/getRandomUserAgent.md +++ b/docs/api/youtubei.js/namespaces/Utils/functions/getRandomUserAgent.md @@ -4,7 +4,7 @@ > **getRandomUserAgent**(`type`): `string` -Defined in: [src/utils/Utils.ts:100](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L100) +Defined in: [src/utils/Utils.ts:100](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L100) Returns a random user agent. diff --git a/docs/api/youtubei.js/namespaces/Utils/functions/getStringBetweenStrings.md b/docs/api/youtubei.js/namespaces/Utils/functions/getStringBetweenStrings.md index 6f3106b8..0f740f23 100644 --- a/docs/api/youtubei.js/namespaces/Utils/functions/getStringBetweenStrings.md +++ b/docs/api/youtubei.js/namespaces/Utils/functions/getStringBetweenStrings.md @@ -4,7 +4,7 @@ > **getStringBetweenStrings**(`data`, `start_string`, `end_string`): `string` \| `undefined` -Defined in: [src/utils/Utils.ts:84](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L84) +Defined in: [src/utils/Utils.ts:84](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L84) Finds a string between two delimiters. diff --git a/docs/api/youtubei.js/namespaces/Utils/functions/hasKeys.md b/docs/api/youtubei.js/namespaces/Utils/functions/hasKeys.md index 68bc61f0..8de8fb24 100644 --- a/docs/api/youtubei.js/namespaces/Utils/functions/hasKeys.md +++ b/docs/api/youtubei.js/namespaces/Utils/functions/hasKeys.md @@ -4,7 +4,7 @@ > **hasKeys**\<`T`, `R`\>(`params`, ...`keys`): `params is Exclude & Required>` -Defined in: [src/utils/Utils.ts:181](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L181) +Defined in: [src/utils/Utils.ts:181](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L181) ## Type Parameters diff --git a/docs/api/youtubei.js/namespaces/Utils/functions/isTextRun.md b/docs/api/youtubei.js/namespaces/Utils/functions/isTextRun.md index 83c10930..37bb7b03 100644 --- a/docs/api/youtubei.js/namespaces/Utils/functions/isTextRun.md +++ b/docs/api/youtubei.js/namespaces/Utils/functions/isTextRun.md @@ -4,7 +4,7 @@ > **isTextRun**(`run`): `run is TextRun` -Defined in: [src/utils/Utils.ts:256](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L256) +Defined in: [src/utils/Utils.ts:256](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L256) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/Utils/functions/streamToIterable.md b/docs/api/youtubei.js/namespaces/Utils/functions/streamToIterable.md index 730133e6..94181d36 100644 --- a/docs/api/youtubei.js/namespaces/Utils/functions/streamToIterable.md +++ b/docs/api/youtubei.js/namespaces/Utils/functions/streamToIterable.md @@ -2,16 +2,16 @@ # Function: streamToIterable() -> **streamToIterable**(`stream`): `AsyncGenerator`\<`Uint8Array`, `void`, `unknown`\> +> **streamToIterable**(`stream`): `AsyncGenerator`\<`Uint8Array`\<`ArrayBufferLike`\>, `void`, `unknown`\> -Defined in: [src/utils/Utils.ts:189](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L189) +Defined in: [src/utils/Utils.ts:189](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L189) ## Parameters ### stream -`ReadableStream`\<`Uint8Array`\> +`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\> ## Returns -`AsyncGenerator`\<`Uint8Array`, `void`, `unknown`\> +`AsyncGenerator`\<`Uint8Array`\<`ArrayBufferLike`\>, `void`, `unknown`\> diff --git a/docs/api/youtubei.js/namespaces/Utils/functions/throwIfMissing.md b/docs/api/youtubei.js/namespaces/Utils/functions/throwIfMissing.md index f0012544..e142254e 100644 --- a/docs/api/youtubei.js/namespaces/Utils/functions/throwIfMissing.md +++ b/docs/api/youtubei.js/namespaces/Utils/functions/throwIfMissing.md @@ -4,7 +4,7 @@ > **throwIfMissing**(`params`): `void` -Defined in: [src/utils/Utils.ts:174](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L174) +Defined in: [src/utils/Utils.ts:174](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L174) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/Utils/functions/timeToSeconds.md b/docs/api/youtubei.js/namespaces/Utils/functions/timeToSeconds.md index d8c3896e..181206a4 100644 --- a/docs/api/youtubei.js/namespaces/Utils/functions/timeToSeconds.md +++ b/docs/api/youtubei.js/namespaces/Utils/functions/timeToSeconds.md @@ -4,7 +4,7 @@ > **timeToSeconds**(`time`): `number` -Defined in: [src/utils/Utils.ts:140](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L140) +Defined in: [src/utils/Utils.ts:140](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L140) Converts time (h:m:s) to seconds. diff --git a/docs/api/youtubei.js/namespaces/Utils/functions/u8ToBase64.md b/docs/api/youtubei.js/namespaces/Utils/functions/u8ToBase64.md index 0d76e650..093fe743 100644 --- a/docs/api/youtubei.js/namespaces/Utils/functions/u8ToBase64.md +++ b/docs/api/youtubei.js/namespaces/Utils/functions/u8ToBase64.md @@ -4,7 +4,7 @@ > **u8ToBase64**(`u8`): `string` -Defined in: [src/utils/Utils.ts:246](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L246) +Defined in: [src/utils/Utils.ts:246](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L246) ## Parameters diff --git a/docs/api/youtubei.js/namespaces/Utils/type-aliases/DeviceCategory.md b/docs/api/youtubei.js/namespaces/Utils/type-aliases/DeviceCategory.md index 55a51aa1..5586891d 100644 --- a/docs/api/youtubei.js/namespaces/Utils/type-aliases/DeviceCategory.md +++ b/docs/api/youtubei.js/namespaces/Utils/type-aliases/DeviceCategory.md @@ -4,4 +4,4 @@ > **DeviceCategory** = `"mobile"` \| `"desktop"` -Defined in: [src/utils/Utils.ts:94](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L94) +Defined in: [src/utils/Utils.ts:94](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L94) diff --git a/docs/api/youtubei.js/namespaces/Utils/variables/debugFetch.md b/docs/api/youtubei.js/namespaces/Utils/variables/debugFetch.md index 1c7558ca..a51ff94e 100644 --- a/docs/api/youtubei.js/namespaces/Utils/variables/debugFetch.md +++ b/docs/api/youtubei.js/namespaces/Utils/variables/debugFetch.md @@ -4,4 +4,4 @@ > `const` **debugFetch**: [`FetchFunction`](../../Types/type-aliases/FetchFunction.md) -Defined in: [src/utils/Utils.ts:205](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/Utils.ts#L205) +Defined in: [src/utils/Utils.ts:205](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/Utils.ts#L205) diff --git a/docs/api/youtubei.js/namespaces/YT/classes/AccountInfo.md b/docs/api/youtubei.js/namespaces/YT/classes/AccountInfo.md index 1db53dc3..a0c551bc 100644 --- a/docs/api/youtubei.js/namespaces/YT/classes/AccountInfo.md +++ b/docs/api/youtubei.js/namespaces/YT/classes/AccountInfo.md @@ -2,7 +2,7 @@ # Class: AccountInfo -Defined in: [src/parser/youtube/AccountInfo.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/AccountInfo.ts#L9) +Defined in: [src/parser/youtube/AccountInfo.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/AccountInfo.ts#L9) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/parser/youtube/AccountInfo.ts:9](https://github.com/LuanRT/YouT > **new AccountInfo**(`response`): `AccountInfo` -Defined in: [src/parser/youtube/AccountInfo.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/AccountInfo.ts#L14) +Defined in: [src/parser/youtube/AccountInfo.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/AccountInfo.ts#L14) #### Parameters @@ -28,7 +28,7 @@ Defined in: [src/parser/youtube/AccountInfo.ts:14](https://github.com/LuanRT/You > **contents**: [`AccountItemSection`](../../YTNodes/classes/AccountItemSection.md) \| `null` -Defined in: [src/parser/youtube/AccountInfo.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/AccountInfo.ts#L12) +Defined in: [src/parser/youtube/AccountInfo.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/AccountInfo.ts#L12) ## Accessors @@ -38,7 +38,7 @@ Defined in: [src/parser/youtube/AccountInfo.ts:12](https://github.com/LuanRT/You > **get** **page**(): [`IParsedResponse`](../../../../interfaces/IParsedResponse.md) -Defined in: [src/parser/youtube/AccountInfo.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/AccountInfo.ts#L28) +Defined in: [src/parser/youtube/AccountInfo.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/AccountInfo.ts#L28) ##### Returns diff --git a/docs/api/youtubei.js/namespaces/YT/classes/Channel.md b/docs/api/youtubei.js/namespaces/YT/classes/Channel.md index a24b8d0c..7d006bef 100644 --- a/docs/api/youtubei.js/namespaces/YT/classes/Channel.md +++ b/docs/api/youtubei.js/namespaces/YT/classes/Channel.md @@ -2,7 +2,7 @@ # Class: Channel -Defined in: [src/parser/youtube/Channel.ts:36](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L36) +Defined in: [src/parser/youtube/Channel.ts:46](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L46) ## Extends @@ -12,9 +12,9 @@ Defined in: [src/parser/youtube/Channel.ts:36](https://github.com/LuanRT/YouTube ### Constructor -> **new Channel**(`actions`, `data`, `already_parsed`): `Channel` +> **new Channel**(`actions`, `data`, `already_parsed?`): `Channel` -Defined in: [src/parser/youtube/Channel.ts:42](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L42) +Defined in: [src/parser/youtube/Channel.ts:54](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L54) #### Parameters @@ -26,7 +26,7 @@ Defined in: [src/parser/youtube/Channel.ts:42](https://github.com/LuanRT/YouTube [`ApiResponse`](../../../../interfaces/ApiResponse.md) | [`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) -##### already\_parsed +##### already\_parsed? `boolean` = `false` @@ -44,7 +44,7 @@ Defined in: [src/parser/youtube/Channel.ts:42](https://github.com/LuanRT/YouTube > `optional` **current\_tab**: [`Tab`](../../YTNodes/classes/Tab.md) \| [`ExpandableTab`](../../YTNodes/classes/ExpandableTab.md) -Defined in: [src/parser/youtube/Channel.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L40) +Defined in: [src/parser/youtube/Channel.ts:50](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L50) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/youtube/Channel.ts:40](https://github.com/LuanRT/YouTube > `optional` **header**: [`C4TabbedHeader`](../../YTNodes/classes/C4TabbedHeader.md) \| [`CarouselHeader`](../../YTNodes/classes/CarouselHeader.md) \| [`InteractiveTabbedHeader`](../../YTNodes/classes/InteractiveTabbedHeader.md) \| [`PageHeader`](../../YTNodes/classes/PageHeader.md) -Defined in: [src/parser/youtube/Channel.ts:37](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L37) +Defined in: [src/parser/youtube/Channel.ts:47](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L47) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/youtube/Channel.ts:37](https://github.com/LuanRT/YouTube > **metadata**: `object` -Defined in: [src/parser/youtube/Channel.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L38) +Defined in: [src/parser/youtube/Channel.ts:48](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L48) #### android\_appindexing\_link? @@ -204,7 +204,7 @@ Defined in: [src/parser/youtube/Channel.ts:38](https://github.com/LuanRT/YouTube > `optional` **subscribe\_button**: [`SubscribeButton`](../../YTNodes/classes/SubscribeButton.md) -Defined in: [src/parser/youtube/Channel.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L39) +Defined in: [src/parser/youtube/Channel.ts:49](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L49) ## Accessors @@ -214,7 +214,7 @@ Defined in: [src/parser/youtube/Channel.ts:39](https://github.com/LuanRT/YouTube > **get** **actions**(): [`Actions`](../../../../classes/Actions.md) -Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L181) +Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L181) ##### Returns @@ -232,7 +232,7 @@ Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/b > **get** **channels**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Channel`](../../YTNodes/classes/Channel.md) \| [`GridChannel`](../../YTNodes/classes/GridChannel.md)\> -Defined in: [src/core/mixins/Feed.ts:126](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L126) +Defined in: [src/core/mixins/Feed.ts:127](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L127) Get all the channels in the feed @@ -252,7 +252,7 @@ Get all the channels in the feed > **get** **content\_type\_filters**(): `string`[] -Defined in: [src/parser/youtube/Channel.ts:151](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L151) +Defined in: [src/parser/youtube/Channel.ts:274](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L274) ##### Returns @@ -260,13 +260,31 @@ Defined in: [src/parser/youtube/Channel.ts:151](https://github.com/LuanRT/YouTub *** +### filter\_nodes + +#### Get Signature + +> **get** **filter\_nodes**(): `FilterNodes` + +Defined in: [src/parser/youtube/Channel.ts:199](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L199) + +Returns the InnerTube renderer nodes representing filters. + +##### Returns + +`FilterNodes` + +*** + ### filters #### Get Signature > **get** **filters**(): `string`[] -Defined in: [src/parser/youtube/Channel.ts:142](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L142) +Defined in: [src/parser/youtube/Channel.ts:246](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L246) + +Returns the available primary filters as strings. ##### Returns @@ -280,7 +298,7 @@ Defined in: [src/parser/youtube/Channel.ts:142](https://github.com/LuanRT/YouTub > **get** **has\_about**(): `boolean` -Defined in: [src/parser/youtube/Channel.ts:289](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L289) +Defined in: [src/parser/youtube/Channel.ts:412](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L412) ##### Returns @@ -294,7 +312,7 @@ Defined in: [src/parser/youtube/Channel.ts:289](https://github.com/LuanRT/YouTub > **get** **has\_community**(): `boolean` -Defined in: [src/parser/youtube/Channel.ts:285](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L285) +Defined in: [src/parser/youtube/Channel.ts:408](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L408) ##### Returns @@ -308,7 +326,7 @@ Defined in: [src/parser/youtube/Channel.ts:285](https://github.com/LuanRT/YouTub > **get** **has\_continuation**(): `boolean` -Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L195) +Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L195) Checks if the feed has continuation. @@ -328,7 +346,7 @@ Checks if the feed has continuation. > **get** **has\_courses**(): `boolean` -Defined in: [src/parser/youtube/Channel.ts:277](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L277) +Defined in: [src/parser/youtube/Channel.ts:400](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L400) ##### Returns @@ -342,7 +360,7 @@ Defined in: [src/parser/youtube/Channel.ts:277](https://github.com/LuanRT/YouTub > **get** **has\_home**(): `boolean` -Defined in: [src/parser/youtube/Channel.ts:253](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L253) +Defined in: [src/parser/youtube/Channel.ts:376](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L376) ##### Returns @@ -356,7 +374,7 @@ Defined in: [src/parser/youtube/Channel.ts:253](https://github.com/LuanRT/YouTub > **get** **has\_live\_streams**(): `boolean` -Defined in: [src/parser/youtube/Channel.ts:265](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L265) +Defined in: [src/parser/youtube/Channel.ts:388](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L388) ##### Returns @@ -370,7 +388,7 @@ Defined in: [src/parser/youtube/Channel.ts:265](https://github.com/LuanRT/YouTub > **get** **has\_playlists**(): `boolean` -Defined in: [src/parser/youtube/Channel.ts:281](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L281) +Defined in: [src/parser/youtube/Channel.ts:404](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L404) ##### Returns @@ -384,7 +402,7 @@ Defined in: [src/parser/youtube/Channel.ts:281](https://github.com/LuanRT/YouTub > **get** **has\_podcasts**(): `boolean` -Defined in: [src/parser/youtube/Channel.ts:273](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L273) +Defined in: [src/parser/youtube/Channel.ts:396](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L396) ##### Returns @@ -398,7 +416,7 @@ Defined in: [src/parser/youtube/Channel.ts:273](https://github.com/LuanRT/YouTub > **get** **has\_releases**(): `boolean` -Defined in: [src/parser/youtube/Channel.ts:269](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L269) +Defined in: [src/parser/youtube/Channel.ts:392](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L392) ##### Returns @@ -412,7 +430,7 @@ Defined in: [src/parser/youtube/Channel.ts:269](https://github.com/LuanRT/YouTub > **get** **has\_search**(): `boolean` -Defined in: [src/parser/youtube/Channel.ts:296](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L296) +Defined in: [src/parser/youtube/Channel.ts:419](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L419) ##### Returns @@ -426,7 +444,7 @@ Defined in: [src/parser/youtube/Channel.ts:296](https://github.com/LuanRT/YouTub > **get** **has\_shorts**(): `boolean` -Defined in: [src/parser/youtube/Channel.ts:261](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L261) +Defined in: [src/parser/youtube/Channel.ts:384](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L384) ##### Returns @@ -440,7 +458,7 @@ Defined in: [src/parser/youtube/Channel.ts:261](https://github.com/LuanRT/YouTub > **get** **has\_videos**(): `boolean` -Defined in: [src/parser/youtube/Channel.ts:257](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L257) +Defined in: [src/parser/youtube/Channel.ts:380](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L380) ##### Returns @@ -454,7 +472,7 @@ Defined in: [src/parser/youtube/Channel.ts:257](https://github.com/LuanRT/YouTub > **get** **memo**(): [`Memo`](../../Helpers/classes/Memo.md) -Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L137) +Defined in: [src/core/mixins/Feed.ts:138](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L138) ##### Returns @@ -472,7 +490,7 @@ Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/b > **get** **page**(): `T` -Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L188) +Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L188) Get the original page data @@ -492,7 +510,7 @@ Get the original page data > **get** **page\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`MusicQueue`](../../YTNodes/classes/MusicQueue.md) \| [`RichGrid`](../../YTNodes/classes/RichGrid.md) \| [`ReloadContinuationItemsCommand`](../../../../classes/ReloadContinuationItemsCommand.md) -Defined in: [src/core/mixins/Feed.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L144) +Defined in: [src/core/mixins/Feed.ts:145](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L145) Returns contents from the page. @@ -512,7 +530,7 @@ Returns contents from the page. > **get** **playlists**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:133](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L133) +Defined in: [src/core/mixins/Feed.ts:134](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L134) Get all playlists in the feed @@ -532,7 +550,7 @@ Get all playlists in the feed > **get** **posts**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`BackstagePost`](../../YTNodes/classes/BackstagePost.md) \| [`Post`](../../YTNodes/classes/Post.md) \| [`SharedPost`](../../YTNodes/classes/SharedPost.md)\> -Defined in: [src/core/mixins/Feed.ts:119](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L119) +Defined in: [src/core/mixins/Feed.ts:120](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L120) Get all the community posts in the feed @@ -552,7 +570,7 @@ Get all the community posts in the feed > **get** **secondary\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`BrowseFeedActions`](../../YTNodes/classes/BrowseFeedActions.md) \| [`ProfileColumn`](../../YTNodes/classes/ProfileColumn.md) \| [`SecondarySearchContainer`](../../YTNodes/classes/SecondarySearchContainer.md) \| `null` -Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L169) +Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L169) Returns secondary contents from the page. @@ -566,13 +584,34 @@ Returns secondary contents from the page. *** +### secondary\_filters + +#### Get Signature + +> **get** **secondary\_filters**(): `string`[] + +Defined in: [src/parser/youtube/Channel.ts:265](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L265) + +Returns the available secondary filters as strings. + +--- + +NOTE: +Not all channels have secondary filters! + +##### Returns + +`string`[] + +*** + ### shelves #### Get Signature > **get** **shelves**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md)\> -Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L155) +Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L155) Returns all segments/sections from the page. @@ -592,7 +631,7 @@ Returns all segments/sections from the page. > **get** **sort\_filters**(): `string`[] -Defined in: [src/parser/youtube/Channel.ts:146](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L146) +Defined in: [src/parser/youtube/Channel.ts:269](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L269) ##### Returns @@ -606,7 +645,7 @@ Defined in: [src/parser/youtube/Channel.ts:146](https://github.com/LuanRT/YouTub > **get** **tabs**(): `string`[] -Defined in: [src/core/mixins/TabbedFeed.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/TabbedFeed.ts#L19) +Defined in: [src/core/mixins/TabbedFeed.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/TabbedFeed.ts#L19) ##### Returns @@ -624,7 +663,7 @@ Defined in: [src/core/mixins/TabbedFeed.ts:19](https://github.com/LuanRT/YouTube > **get** **title**(): `string` \| `undefined` -Defined in: [src/core/mixins/TabbedFeed.ts:55](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/TabbedFeed.ts#L55) +Defined in: [src/core/mixins/TabbedFeed.ts:55](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/TabbedFeed.ts#L55) ##### Returns @@ -640,15 +679,15 @@ Defined in: [src/core/mixins/TabbedFeed.ts:55](https://github.com/LuanRT/YouTube #### Get Signature -> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:112](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L112) +Defined in: [src/core/mixins/Feed.ts:113](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L113) Get all the videos in the feed ##### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from @@ -660,7 +699,7 @@ Get all the videos in the feed > **applyContentTypeFilter**(`content_type_filter`): `Promise`\<`Channel`\> -Defined in: [src/parser/youtube/Channel.ts:123](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L123) +Defined in: [src/parser/youtube/Channel.ts:177](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L177) Applies given content type filter to the list. Use [content\_type\_filters](#content_type_filters) to get available filters. @@ -680,37 +719,59 @@ The content type filter to apply ### applyFilter() -> **applyFilter**(`filter`): `Promise`\<[`FilteredChannelList`](FilteredChannelList.md)\> +> **applyFilter**(`primaryFilter`, `secondaryFilter?`): `Promise`\<[`FilteredChannelList`](FilteredChannelList.md)\> -Defined in: [src/parser/youtube/Channel.ts:72](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L72) +Defined in: [src/parser/youtube/Channel.ts:101](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L101) -Applies given filter to the list. Use [filters](#filters) to get available filters. +Applies a filter to the channel list. [filters](#filters), [secondary\_filters](#secondary_filters), and [filter\_nodes](#filter_nodes) can be used to get available filters. #### Parameters -##### filter +##### primaryFilter -The filter to apply +The primary filter to apply. Can be a string representing the filter name, +a [ChipView](../../YTNodes/classes/ChipView.md) instance, or a [ListItemView](../../YTNodes/classes/ListItemView.md) instance. -`string` | [`ChipCloudChip`](../../YTNodes/classes/ChipCloudChip.md) +`string` | [`ListItemView`](../../YTNodes/classes/ListItemView.md) | [`ChipView`](../../YTNodes/classes/ChipView.md) + +##### secondaryFilter? + +An optional secondary filter to apply after the primary filter. +Can be a string representing the filter name or a [ChipView](../../YTNodes/classes/ChipView.md) instance. + +`string` | [`ChipView`](../../YTNodes/classes/ChipView.md) #### Returns `Promise`\<[`FilteredChannelList`](FilteredChannelList.md)\> +#### Example + +```ts +// Apply a primary filter by name. +const filtered = await videos.applyFilter('Oldest'); + +// Apply a primary and secondary filter by name. +const filtered = await videos.applyFilter('Oldest', 'Members only'); + +// Since we're using `filtered`, the following will return the latest members-only videos, +// unless the secondary filter is explicitly changed. +const latestMembersOnly = await filtered.applyFilter('Latest'); +``` + *** ### applySort() -> **applySort**(`sort`): `Promise`\<`Channel`\> +> **applySort**(`sortFilter`): `Promise`\<`Channel`\> -Defined in: [src/parser/youtube/Channel.ts:100](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L100) +Defined in: [src/parser/youtube/Channel.ts:154](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L154) -Applies given sort filter to the list. Use [sort\_filters](#sort_filters) to get available filters. +Applies a sort filter to the list. Use [sort\_filters](#sort_filters) to get available filters. #### Parameters -##### sort +##### sortFilter `string` @@ -726,7 +787,7 @@ The sort filter to apply > **getAbout**(): `Promise`\<[`ChannelAboutFullMetadata`](../../YTNodes/classes/ChannelAboutFullMetadata.md) \| [`AboutChannel`](../../YTNodes/classes/AboutChannel.md)\> -Defined in: [src/parser/youtube/Channel.ts:205](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L205) +Defined in: [src/parser/youtube/Channel.ts:328](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L328) Retrieves the about page. Note that this does not return a new Channel object. @@ -741,7 +802,7 @@ Note that this does not return a new Channel object. > **getCommunity**(): `Promise`\<`Channel`\> -Defined in: [src/parser/youtube/Channel.ts:196](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L196) +Defined in: [src/parser/youtube/Channel.ts:319](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L319) #### Returns @@ -753,7 +814,7 @@ Defined in: [src/parser/youtube/Channel.ts:196](https://github.com/LuanRT/YouTub > **getContinuation**(): `Promise`\<[`ChannelListContinuation`](ChannelListContinuation.md)\> -Defined in: [src/parser/youtube/Channel.ts:300](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L300) +Defined in: [src/parser/youtube/Channel.ts:423](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L423) Retrieves next batch of contents and returns a new [Feed](../../Mixins/classes/Feed.md) object. @@ -771,7 +832,7 @@ Retrieves next batch of contents and returns a new [Feed](../../Mixins/classes/F > **getContinuationData**(): `Promise`\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) \| `undefined`\> -Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L202) +Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L202) Retrieves continuation data as it is. @@ -789,7 +850,7 @@ Retrieves continuation data as it is. > **getCourses**(): `Promise`\<`Channel`\> -Defined in: [src/parser/youtube/Channel.ts:186](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L186) +Defined in: [src/parser/youtube/Channel.ts:309](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L309) #### Returns @@ -801,7 +862,7 @@ Defined in: [src/parser/youtube/Channel.ts:186](https://github.com/LuanRT/YouTub > **getHome**(): `Promise`\<`Channel`\> -Defined in: [src/parser/youtube/Channel.ts:156](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L156) +Defined in: [src/parser/youtube/Channel.ts:279](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L279) #### Returns @@ -813,7 +874,7 @@ Defined in: [src/parser/youtube/Channel.ts:156](https://github.com/LuanRT/YouTub > **getLiveStreams**(): `Promise`\<`Channel`\> -Defined in: [src/parser/youtube/Channel.ts:171](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L171) +Defined in: [src/parser/youtube/Channel.ts:294](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L294) #### Returns @@ -825,7 +886,7 @@ Defined in: [src/parser/youtube/Channel.ts:171](https://github.com/LuanRT/YouTub > **getPlaylists**(): `Promise`\<`Channel`\> -Defined in: [src/parser/youtube/Channel.ts:191](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L191) +Defined in: [src/parser/youtube/Channel.ts:314](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L314) #### Returns @@ -837,7 +898,7 @@ Defined in: [src/parser/youtube/Channel.ts:191](https://github.com/LuanRT/YouTub > **getPodcasts**(): `Promise`\<`Channel`\> -Defined in: [src/parser/youtube/Channel.ts:181](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L181) +Defined in: [src/parser/youtube/Channel.ts:304](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L304) #### Returns @@ -849,7 +910,7 @@ Defined in: [src/parser/youtube/Channel.ts:181](https://github.com/LuanRT/YouTub > **getReleases**(): `Promise`\<`Channel`\> -Defined in: [src/parser/youtube/Channel.ts:176](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L176) +Defined in: [src/parser/youtube/Channel.ts:299](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L299) #### Returns @@ -861,7 +922,7 @@ Defined in: [src/parser/youtube/Channel.ts:176](https://github.com/LuanRT/YouTub > **getShelf**(`title`): [`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md) \| `undefined` -Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L162) +Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L162) Finds shelf by title. @@ -885,7 +946,7 @@ Finds shelf by title. > **getShorts**(): `Promise`\<`Channel`\> -Defined in: [src/parser/youtube/Channel.ts:166](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L166) +Defined in: [src/parser/youtube/Channel.ts:289](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L289) #### Returns @@ -897,7 +958,7 @@ Defined in: [src/parser/youtube/Channel.ts:166](https://github.com/LuanRT/YouTub > **getTabByName**(`title`): `Promise`\<[`TabbedFeed`](../../Mixins/classes/TabbedFeed.md)\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md)\>\> -Defined in: [src/core/mixins/TabbedFeed.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/TabbedFeed.ts#L23) +Defined in: [src/core/mixins/TabbedFeed.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/TabbedFeed.ts#L23) #### Parameters @@ -919,7 +980,7 @@ Defined in: [src/core/mixins/TabbedFeed.ts:23](https://github.com/LuanRT/YouTube > **getTabByURL**(`url`): `Promise`\<[`TabbedFeed`](../../Mixins/classes/TabbedFeed.md)\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md)\>\> -Defined in: [src/core/mixins/TabbedFeed.ts:37](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/TabbedFeed.ts#L37) +Defined in: [src/core/mixins/TabbedFeed.ts:37](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/TabbedFeed.ts#L37) #### Parameters @@ -941,7 +1002,7 @@ Defined in: [src/core/mixins/TabbedFeed.ts:37](https://github.com/LuanRT/YouTube > **getVideos**(): `Promise`\<`Channel`\> -Defined in: [src/parser/youtube/Channel.ts:161](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L161) +Defined in: [src/parser/youtube/Channel.ts:284](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L284) #### Returns @@ -953,7 +1014,7 @@ Defined in: [src/parser/youtube/Channel.ts:161](https://github.com/LuanRT/YouTub > **hasTabWithURL**(`url`): `boolean` -Defined in: [src/core/mixins/TabbedFeed.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/TabbedFeed.ts#L51) +Defined in: [src/core/mixins/TabbedFeed.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/TabbedFeed.ts#L51) #### Parameters @@ -975,7 +1036,7 @@ Defined in: [src/core/mixins/TabbedFeed.ts:51](https://github.com/LuanRT/YouTube > **search**(`query`): `Promise`\<`Channel`\> -Defined in: [src/parser/youtube/Channel.ts:242](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L242) +Defined in: [src/parser/youtube/Channel.ts:365](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L365) Searches within the channel. @@ -995,7 +1056,7 @@ Searches within the channel. > `static` **getPlaylistsFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:94](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L94) +Defined in: [src/core/mixins/Feed.ts:95](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L95) Get all playlists on a given page via memo @@ -1017,9 +1078,9 @@ Get all playlists on a given page via memo ### getVideosFromMemo() -> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L78) +Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L78) Get all videos on a given page via memo @@ -1031,7 +1092,7 @@ Get all videos on a given page via memo #### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from diff --git a/docs/api/youtubei.js/namespaces/YT/classes/ChannelListContinuation.md b/docs/api/youtubei.js/namespaces/YT/classes/ChannelListContinuation.md index 8cc8bdd7..457c641d 100644 --- a/docs/api/youtubei.js/namespaces/YT/classes/ChannelListContinuation.md +++ b/docs/api/youtubei.js/namespaces/YT/classes/ChannelListContinuation.md @@ -2,7 +2,7 @@ # Class: ChannelListContinuation -Defined in: [src/parser/youtube/Channel.ts:308](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L308) +Defined in: [src/parser/youtube/Channel.ts:431](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L431) ## Extends @@ -12,9 +12,9 @@ Defined in: [src/parser/youtube/Channel.ts:308](https://github.com/LuanRT/YouTub ### Constructor -> **new ChannelListContinuation**(`actions`, `data`, `already_parsed`): `ChannelListContinuation` +> **new ChannelListContinuation**(`actions`, `data`, `already_parsed?`): `ChannelListContinuation` -Defined in: [src/parser/youtube/Channel.ts:311](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L311) +Defined in: [src/parser/youtube/Channel.ts:434](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L434) #### Parameters @@ -26,7 +26,7 @@ Defined in: [src/parser/youtube/Channel.ts:311](https://github.com/LuanRT/YouTub [`ApiResponse`](../../../../interfaces/ApiResponse.md) | [`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) -##### already\_parsed +##### already\_parsed? `boolean` = `false` @@ -44,7 +44,7 @@ Defined in: [src/parser/youtube/Channel.ts:311](https://github.com/LuanRT/YouTub > `optional` **contents**: [`OpenPopupAction`](../../YTNodes/classes/OpenPopupAction.md) \| [`AppendContinuationItemsAction`](../../../../classes/AppendContinuationItemsAction.md) \| [`ReloadContinuationItemsCommand`](../../../../classes/ReloadContinuationItemsCommand.md) \| [`NavigateAction`](../../../../classes/NavigateAction.md) \| [`ShowMiniplayerCommand`](../../../../classes/ShowMiniplayerCommand.md) -Defined in: [src/parser/youtube/Channel.ts:309](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L309) +Defined in: [src/parser/youtube/Channel.ts:432](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L432) ## Accessors @@ -54,7 +54,7 @@ Defined in: [src/parser/youtube/Channel.ts:309](https://github.com/LuanRT/YouTub > **get** **actions**(): [`Actions`](../../../../classes/Actions.md) -Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L181) +Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L181) ##### Returns @@ -72,7 +72,7 @@ Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/b > **get** **channels**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Channel`](../../YTNodes/classes/Channel.md) \| [`GridChannel`](../../YTNodes/classes/GridChannel.md)\> -Defined in: [src/core/mixins/Feed.ts:126](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L126) +Defined in: [src/core/mixins/Feed.ts:127](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L127) Get all the channels in the feed @@ -92,7 +92,7 @@ Get all the channels in the feed > **get** **has\_continuation**(): `boolean` -Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L195) +Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L195) Checks if the feed has continuation. @@ -112,7 +112,7 @@ Checks if the feed has continuation. > **get** **memo**(): [`Memo`](../../Helpers/classes/Memo.md) -Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L137) +Defined in: [src/core/mixins/Feed.ts:138](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L138) ##### Returns @@ -130,7 +130,7 @@ Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/b > **get** **page**(): `T` -Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L188) +Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L188) Get the original page data @@ -150,7 +150,7 @@ Get the original page data > **get** **page\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`MusicQueue`](../../YTNodes/classes/MusicQueue.md) \| [`RichGrid`](../../YTNodes/classes/RichGrid.md) \| [`ReloadContinuationItemsCommand`](../../../../classes/ReloadContinuationItemsCommand.md) -Defined in: [src/core/mixins/Feed.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L144) +Defined in: [src/core/mixins/Feed.ts:145](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L145) Returns contents from the page. @@ -170,7 +170,7 @@ Returns contents from the page. > **get** **playlists**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:133](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L133) +Defined in: [src/core/mixins/Feed.ts:134](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L134) Get all playlists in the feed @@ -190,7 +190,7 @@ Get all playlists in the feed > **get** **posts**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`BackstagePost`](../../YTNodes/classes/BackstagePost.md) \| [`Post`](../../YTNodes/classes/Post.md) \| [`SharedPost`](../../YTNodes/classes/SharedPost.md)\> -Defined in: [src/core/mixins/Feed.ts:119](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L119) +Defined in: [src/core/mixins/Feed.ts:120](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L120) Get all the community posts in the feed @@ -210,7 +210,7 @@ Get all the community posts in the feed > **get** **secondary\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`BrowseFeedActions`](../../YTNodes/classes/BrowseFeedActions.md) \| [`ProfileColumn`](../../YTNodes/classes/ProfileColumn.md) \| [`SecondarySearchContainer`](../../YTNodes/classes/SecondarySearchContainer.md) \| `null` -Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L169) +Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L169) Returns secondary contents from the page. @@ -230,7 +230,7 @@ Returns secondary contents from the page. > **get** **shelves**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md)\> -Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L155) +Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L155) Returns all segments/sections from the page. @@ -248,15 +248,15 @@ Returns all segments/sections from the page. #### Get Signature -> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:112](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L112) +Defined in: [src/core/mixins/Feed.ts:113](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L113) Get all the videos in the feed ##### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from @@ -268,7 +268,7 @@ Get all the videos in the feed > **getContinuation**(): `Promise`\<`ChannelListContinuation`\> -Defined in: [src/parser/youtube/Channel.ts:318](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L318) +Defined in: [src/parser/youtube/Channel.ts:441](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L441) Retrieves next batch of contents and returns a new [Feed](../../Mixins/classes/Feed.md) object. @@ -286,7 +286,7 @@ Retrieves next batch of contents and returns a new [Feed](../../Mixins/classes/F > **getContinuationData**(): `Promise`\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) \| `undefined`\> -Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L202) +Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L202) Retrieves continuation data as it is. @@ -304,7 +304,7 @@ Retrieves continuation data as it is. > **getShelf**(`title`): [`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md) \| `undefined` -Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L162) +Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L162) Finds shelf by title. @@ -328,7 +328,7 @@ Finds shelf by title. > `static` **getPlaylistsFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:94](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L94) +Defined in: [src/core/mixins/Feed.ts:95](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L95) Get all playlists on a given page via memo @@ -350,9 +350,9 @@ Get all playlists on a given page via memo ### getVideosFromMemo() -> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L78) +Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L78) Get all videos on a given page via memo @@ -364,7 +364,7 @@ Get all videos on a given page via memo #### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from diff --git a/docs/api/youtubei.js/namespaces/YT/classes/Comments.md b/docs/api/youtubei.js/namespaces/YT/classes/Comments.md index 754add25..f4ab9290 100644 --- a/docs/api/youtubei.js/namespaces/YT/classes/Comments.md +++ b/docs/api/youtubei.js/namespaces/YT/classes/Comments.md @@ -2,15 +2,15 @@ # Class: Comments -Defined in: [src/parser/youtube/Comments.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Comments.ts#L15) +Defined in: [src/parser/youtube/Comments.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Comments.ts#L15) ## Constructors ### Constructor -> **new Comments**(`actions`, `data`, `already_parsed`): `Comments` +> **new Comments**(`actions`, `data`, `already_parsed?`): `Comments` -Defined in: [src/parser/youtube/Comments.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Comments.ts#L23) +Defined in: [src/parser/youtube/Comments.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Comments.ts#L23) #### Parameters @@ -22,7 +22,7 @@ Defined in: [src/parser/youtube/Comments.ts:23](https://github.com/LuanRT/YouTub `any` -##### already\_parsed +##### already\_parsed? `boolean` = `false` @@ -36,7 +36,7 @@ Defined in: [src/parser/youtube/Comments.ts:23](https://github.com/LuanRT/YouTub > **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CommentThread`](../../YTNodes/classes/CommentThread.md)\> -Defined in: [src/parser/youtube/Comments.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Comments.ts#L21) +Defined in: [src/parser/youtube/Comments.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Comments.ts#L21) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/youtube/Comments.ts:21](https://github.com/LuanRT/YouTub > `optional` **header**: [`CommentsHeader`](../../YTNodes/classes/CommentsHeader.md) -Defined in: [src/parser/youtube/Comments.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Comments.ts#L20) +Defined in: [src/parser/youtube/Comments.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Comments.ts#L20) ## Accessors @@ -54,7 +54,7 @@ Defined in: [src/parser/youtube/Comments.ts:20](https://github.com/LuanRT/YouTub > **get** **has\_continuation**(): `boolean` -Defined in: [src/parser/youtube/Comments.ts:117](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Comments.ts#L117) +Defined in: [src/parser/youtube/Comments.ts:117](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Comments.ts#L117) ##### Returns @@ -68,7 +68,7 @@ Defined in: [src/parser/youtube/Comments.ts:117](https://github.com/LuanRT/YouTu > **get** **page**(): [`INextResponse`](../../../../type-aliases/INextResponse.md) -Defined in: [src/parser/youtube/Comments.ts:121](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Comments.ts#L121) +Defined in: [src/parser/youtube/Comments.ts:121](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Comments.ts#L121) ##### Returns @@ -80,7 +80,7 @@ Defined in: [src/parser/youtube/Comments.ts:121](https://github.com/LuanRT/YouTu > **applySort**(`sort`): `Promise`\<`Comments`\> -Defined in: [src/parser/youtube/Comments.ts:53](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Comments.ts#L53) +Defined in: [src/parser/youtube/Comments.ts:53](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Comments.ts#L53) Applies given sort option to the comments. @@ -102,7 +102,7 @@ Sort type. > **createComment**(`text`): `Promise`\<[`ApiResponse`](../../../../interfaces/ApiResponse.md)\> -Defined in: [src/parser/youtube/Comments.ts:80](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Comments.ts#L80) +Defined in: [src/parser/youtube/Comments.ts:80](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Comments.ts#L80) Creates a top-level comment. @@ -124,7 +124,7 @@ Comment text. > **getContinuation**(): `Promise`\<`Comments`\> -Defined in: [src/parser/youtube/Comments.ts:98](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Comments.ts#L98) +Defined in: [src/parser/youtube/Comments.ts:98](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Comments.ts#L98) Retrieves next batch of comments. diff --git a/docs/api/youtubei.js/namespaces/YT/classes/FilteredChannelList.md b/docs/api/youtubei.js/namespaces/YT/classes/FilteredChannelList.md index 73a902cc..49ecab7a 100644 --- a/docs/api/youtubei.js/namespaces/YT/classes/FilteredChannelList.md +++ b/docs/api/youtubei.js/namespaces/YT/classes/FilteredChannelList.md @@ -2,7 +2,7 @@ # Class: FilteredChannelList -Defined in: [src/parser/youtube/Channel.ts:326](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L326) +Defined in: [src/parser/youtube/Channel.ts:449](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L449) ## Extends @@ -12,9 +12,9 @@ Defined in: [src/parser/youtube/Channel.ts:326](https://github.com/LuanRT/YouTub ### Constructor -> **new FilteredChannelList**(`actions`, `data`, `already_parsed`): `FilteredChannelList` +> **new FilteredChannelList**(`actions`, `data`, `already_parsed?`): `FilteredChannelList` -Defined in: [src/parser/youtube/Channel.ts:330](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L330) +Defined in: [src/parser/youtube/Channel.ts:454](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L454) #### Parameters @@ -26,7 +26,7 @@ Defined in: [src/parser/youtube/Channel.ts:330](https://github.com/LuanRT/YouTub [`ApiResponse`](../../../../interfaces/ApiResponse.md) | [`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) -##### already\_parsed +##### already\_parsed? `boolean` = `false` @@ -40,19 +40,27 @@ Defined in: [src/parser/youtube/Channel.ts:330](https://github.com/LuanRT/YouTub ## Properties -### applied\_filter? - -> `optional` **applied\_filter**: [`ChipCloudChip`](../../YTNodes/classes/ChipCloudChip.md) - -Defined in: [src/parser/youtube/Channel.ts:327](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L327) - -*** - ### contents? > `optional` **contents**: [`OpenPopupAction`](../../YTNodes/classes/OpenPopupAction.md) \| [`AppendContinuationItemsAction`](../../../../classes/AppendContinuationItemsAction.md) \| [`ReloadContinuationItemsCommand`](../../../../classes/ReloadContinuationItemsCommand.md) \| [`NavigateAction`](../../../../classes/NavigateAction.md) \| [`ShowMiniplayerCommand`](../../../../classes/ShowMiniplayerCommand.md) -Defined in: [src/parser/youtube/Channel.ts:328](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L328) +Defined in: [src/parser/youtube/Channel.ts:452](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L452) + +*** + +### filter? + +> `optional` **filter**: [`ListItemView`](../../YTNodes/classes/ListItemView.md) \| [`ChipView`](../../YTNodes/classes/ChipView.md) + +Defined in: [src/parser/youtube/Channel.ts:450](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L450) + +*** + +### secondary\_filter? + +> `optional` **secondary\_filter**: [`ChipView`](../../YTNodes/classes/ChipView.md) + +Defined in: [src/parser/youtube/Channel.ts:451](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L451) ## Accessors @@ -62,7 +70,7 @@ Defined in: [src/parser/youtube/Channel.ts:328](https://github.com/LuanRT/YouTub > **get** **actions**(): [`Actions`](../../../../classes/Actions.md) -Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L181) +Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L181) ##### Returns @@ -80,7 +88,7 @@ Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/b > **get** **channels**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Channel`](../../YTNodes/classes/Channel.md) \| [`GridChannel`](../../YTNodes/classes/GridChannel.md)\> -Defined in: [src/core/mixins/Feed.ts:126](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L126) +Defined in: [src/core/mixins/Feed.ts:127](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L127) Get all the channels in the feed @@ -94,23 +102,23 @@ Get all the channels in the feed *** -### filter\_chips +### filter\_nodes #### Get Signature -> **get** **filter\_chips**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ChipCloudChip`](../../YTNodes/classes/ChipCloudChip.md)\> +> **get** **filter\_nodes**(): `FilterNodes` -Defined in: [src/core/mixins/FilterableFeed.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/FilterableFeed.ts#L20) +Defined in: [src/core/mixins/FilterableFeed.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/FilterableFeed.ts#L31) -Returns the filter chips. +Returns the InnerTube renderer nodes representing filters. ##### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ChipCloudChip`](../../YTNodes/classes/ChipCloudChip.md)\> +`FilterNodes` #### Inherited from -[`FilterableFeed`](../../Mixins/classes/FilterableFeed.md).[`filter_chips`](../../Mixins/classes/FilterableFeed.md#filter_chips) +[`FilterableFeed`](../../Mixins/classes/FilterableFeed.md).[`filter_nodes`](../../Mixins/classes/FilterableFeed.md#filter_nodes) *** @@ -120,9 +128,9 @@ Returns the filter chips. > **get** **filters**(): `string`[] -Defined in: [src/core/mixins/FilterableFeed.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/FilterableFeed.ts#L38) +Defined in: [src/core/mixins/FilterableFeed.ts:78](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/FilterableFeed.ts#L78) -Returns available filters. +Returns the available primary filters as strings. ##### Returns @@ -140,7 +148,7 @@ Returns available filters. > **get** **has\_continuation**(): `boolean` -Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L195) +Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L195) Checks if the feed has continuation. @@ -160,7 +168,7 @@ Checks if the feed has continuation. > **get** **memo**(): [`Memo`](../../Helpers/classes/Memo.md) -Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L137) +Defined in: [src/core/mixins/Feed.ts:138](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L138) ##### Returns @@ -178,7 +186,7 @@ Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/b > **get** **page**(): `T` -Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L188) +Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L188) Get the original page data @@ -198,7 +206,7 @@ Get the original page data > **get** **page\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`MusicQueue`](../../YTNodes/classes/MusicQueue.md) \| [`RichGrid`](../../YTNodes/classes/RichGrid.md) \| [`ReloadContinuationItemsCommand`](../../../../classes/ReloadContinuationItemsCommand.md) -Defined in: [src/core/mixins/Feed.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L144) +Defined in: [src/core/mixins/Feed.ts:145](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L145) Returns contents from the page. @@ -218,7 +226,7 @@ Returns contents from the page. > **get** **playlists**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:133](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L133) +Defined in: [src/core/mixins/Feed.ts:134](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L134) Get all playlists in the feed @@ -238,7 +246,7 @@ Get all playlists in the feed > **get** **posts**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`BackstagePost`](../../YTNodes/classes/BackstagePost.md) \| [`Post`](../../YTNodes/classes/Post.md) \| [`SharedPost`](../../YTNodes/classes/SharedPost.md)\> -Defined in: [src/core/mixins/Feed.ts:119](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L119) +Defined in: [src/core/mixins/Feed.ts:120](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L120) Get all the community posts in the feed @@ -258,7 +266,7 @@ Get all the community posts in the feed > **get** **secondary\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`BrowseFeedActions`](../../YTNodes/classes/BrowseFeedActions.md) \| [`ProfileColumn`](../../YTNodes/classes/ProfileColumn.md) \| [`SecondarySearchContainer`](../../YTNodes/classes/SecondarySearchContainer.md) \| `null` -Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L169) +Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L169) Returns secondary contents from the page. @@ -272,13 +280,33 @@ Returns secondary contents from the page. *** +### secondary\_filters + +#### Get Signature + +> **get** **secondary\_filters**(): `string`[] + +Defined in: [src/core/mixins/FilterableFeed.ts:92](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/FilterableFeed.ts#L92) + +Returns the available secondary filters as strings. + +##### Returns + +`string`[] + +#### Inherited from + +[`FilterableFeed`](../../Mixins/classes/FilterableFeed.md).[`secondary_filters`](../../Mixins/classes/FilterableFeed.md#secondary_filters) + +*** + ### shelves #### Get Signature > **get** **shelves**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md)\> -Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L155) +Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L155) Returns all segments/sections from the page. @@ -296,15 +324,15 @@ Returns all segments/sections from the page. #### Get Signature -> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:112](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L112) +Defined in: [src/core/mixins/Feed.ts:113](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L113) Get all the videos in the feed ##### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from @@ -314,9 +342,9 @@ Get all the videos in the feed ### applyFilter() -> **applyFilter**(`filter`): `Promise`\<`FilteredChannelList`\> +> **applyFilter**(`filter`, `secondaryFilter?`): `Promise`\<`FilteredChannelList`\> -Defined in: [src/parser/youtube/Channel.ts:350](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L350) +Defined in: [src/parser/youtube/Channel.ts:496](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L496) Applies given filter to the list. @@ -326,7 +354,11 @@ Applies given filter to the list. The filter to apply -`string` | [`ChipCloudChip`](../../YTNodes/classes/ChipCloudChip.md) +`string` | [`ListItemView`](../../YTNodes/classes/ListItemView.md) | [`ChipCloudChip`](../../YTNodes/classes/ChipCloudChip.md) | [`ChipView`](../../YTNodes/classes/ChipView.md) + +##### secondaryFilter? + +`string` | [`ChipView`](../../YTNodes/classes/ChipView.md) #### Returns @@ -338,7 +370,7 @@ The filter to apply > **getContinuation**(): `Promise`\<`FilteredChannelList`\> -Defined in: [src/parser/youtube/Channel.ts:355](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Channel.ts#L355) +Defined in: [src/parser/youtube/Channel.ts:501](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Channel.ts#L501) Retrieves next batch of contents and returns a new [Feed](../../Mixins/classes/Feed.md) object. @@ -356,7 +388,7 @@ Retrieves next batch of contents and returns a new [Feed](../../Mixins/classes/F > **getContinuationData**(): `Promise`\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) \| `undefined`\> -Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L202) +Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L202) Retrieves continuation data as it is. @@ -372,9 +404,9 @@ Retrieves continuation data as it is. ### getFilteredFeed() -> **getFilteredFeed**(`filter`): `Promise`\<[`Feed`](../../Mixins/classes/Feed.md)\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md)\>\> +> **getFilteredFeed**(`filter`, `secondaryFilter?`): `Promise`\<[`Feed`](../../Mixins/classes/Feed.md)\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md)\>\> -Defined in: [src/core/mixins/FilterableFeed.ts:45](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/FilterableFeed.ts#L45) +Defined in: [src/core/mixins/FilterableFeed.ts:99](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/FilterableFeed.ts#L99) Applies given filter and returns a new [Feed](../../Mixins/classes/Feed.md) object. @@ -382,7 +414,11 @@ Applies given filter and returns a new [Feed](../../Mixins/classes/Feed.md) obje ##### filter -`string` | [`ChipCloudChip`](../../YTNodes/classes/ChipCloudChip.md) +`string` | [`ListItemView`](../../YTNodes/classes/ListItemView.md) | [`ChipCloudChip`](../../YTNodes/classes/ChipCloudChip.md) | [`ChipView`](../../YTNodes/classes/ChipView.md) + +##### secondaryFilter? + +`string` | [`ChipView`](../../YTNodes/classes/ChipView.md) #### Returns @@ -398,7 +434,7 @@ Applies given filter and returns a new [Feed](../../Mixins/classes/Feed.md) obje > **getShelf**(`title`): [`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md) \| `undefined` -Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L162) +Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L162) Finds shelf by title. @@ -422,7 +458,7 @@ Finds shelf by title. > `static` **getPlaylistsFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:94](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L94) +Defined in: [src/core/mixins/Feed.ts:95](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L95) Get all playlists on a given page via memo @@ -444,9 +480,9 @@ Get all playlists on a given page via memo ### getVideosFromMemo() -> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L78) +Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L78) Get all videos on a given page via memo @@ -458,7 +494,7 @@ Get all videos on a given page via memo #### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from diff --git a/docs/api/youtubei.js/namespaces/YT/classes/Guide.md b/docs/api/youtubei.js/namespaces/YT/classes/Guide.md index 27a1bf51..8d2104a2 100644 --- a/docs/api/youtubei.js/namespaces/YT/classes/Guide.md +++ b/docs/api/youtubei.js/namespaces/YT/classes/Guide.md @@ -2,7 +2,7 @@ # Class: Guide -Defined in: [src/parser/youtube/Guide.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Guide.ts#L9) +Defined in: [src/parser/youtube/Guide.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Guide.ts#L9) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/parser/youtube/Guide.ts:9](https://github.com/LuanRT/YouTube.js > **new Guide**(`data`): `Guide` -Defined in: [src/parser/youtube/Guide.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Guide.ts#L13) +Defined in: [src/parser/youtube/Guide.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Guide.ts#L13) #### Parameters @@ -28,7 +28,7 @@ Defined in: [src/parser/youtube/Guide.ts:13](https://github.com/LuanRT/YouTube.j > `optional` **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GuideSection`](../../YTNodes/classes/GuideSection.md) \| [`GuideSubscriptionsSection`](../../YTNodes/classes/GuideSubscriptionsSection.md)\> -Defined in: [src/parser/youtube/Guide.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Guide.ts#L11) +Defined in: [src/parser/youtube/Guide.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Guide.ts#L11) ## Accessors @@ -38,7 +38,7 @@ Defined in: [src/parser/youtube/Guide.ts:11](https://github.com/LuanRT/YouTube.j > **get** **page**(): [`IGuideResponse`](../../../../type-aliases/IGuideResponse.md) -Defined in: [src/parser/youtube/Guide.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Guide.ts#L19) +Defined in: [src/parser/youtube/Guide.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Guide.ts#L19) ##### Returns diff --git a/docs/api/youtubei.js/namespaces/YT/classes/HashtagFeed.md b/docs/api/youtubei.js/namespaces/YT/classes/HashtagFeed.md index 87cde9a9..6e54cb2d 100644 --- a/docs/api/youtubei.js/namespaces/YT/classes/HashtagFeed.md +++ b/docs/api/youtubei.js/namespaces/YT/classes/HashtagFeed.md @@ -2,7 +2,7 @@ # Class: HashtagFeed -Defined in: [src/parser/youtube/HashtagFeed.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/HashtagFeed.ts#L12) +Defined in: [src/parser/youtube/HashtagFeed.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/HashtagFeed.ts#L12) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/youtube/HashtagFeed.ts:12](https://github.com/LuanRT/You > **new HashtagFeed**(`actions`, `response`): `HashtagFeed` -Defined in: [src/parser/youtube/HashtagFeed.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/HashtagFeed.ts#L16) +Defined in: [src/parser/youtube/HashtagFeed.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/HashtagFeed.ts#L16) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/youtube/HashtagFeed.ts:16](https://github.com/LuanRT/You > **contents**: [`RichGrid`](../../YTNodes/classes/RichGrid.md) -Defined in: [src/parser/youtube/HashtagFeed.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/HashtagFeed.ts#L14) +Defined in: [src/parser/youtube/HashtagFeed.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/HashtagFeed.ts#L14) *** @@ -48,7 +48,7 @@ Defined in: [src/parser/youtube/HashtagFeed.ts:14](https://github.com/LuanRT/You > `optional` **header**: [`PageHeader`](../../YTNodes/classes/PageHeader.md) \| [`HashtagHeader`](../../YTNodes/classes/HashtagHeader.md) -Defined in: [src/parser/youtube/HashtagFeed.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/HashtagFeed.ts#L13) +Defined in: [src/parser/youtube/HashtagFeed.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/HashtagFeed.ts#L13) ## Accessors @@ -58,7 +58,7 @@ Defined in: [src/parser/youtube/HashtagFeed.ts:13](https://github.com/LuanRT/You > **get** **actions**(): [`Actions`](../../../../classes/Actions.md) -Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L181) +Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L181) ##### Returns @@ -76,7 +76,7 @@ Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/b > **get** **channels**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Channel`](../../YTNodes/classes/Channel.md) \| [`GridChannel`](../../YTNodes/classes/GridChannel.md)\> -Defined in: [src/core/mixins/Feed.ts:126](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L126) +Defined in: [src/core/mixins/Feed.ts:127](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L127) Get all the channels in the feed @@ -90,23 +90,23 @@ Get all the channels in the feed *** -### filter\_chips +### filter\_nodes #### Get Signature -> **get** **filter\_chips**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ChipCloudChip`](../../YTNodes/classes/ChipCloudChip.md)\> +> **get** **filter\_nodes**(): `FilterNodes` -Defined in: [src/core/mixins/FilterableFeed.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/FilterableFeed.ts#L20) +Defined in: [src/core/mixins/FilterableFeed.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/FilterableFeed.ts#L31) -Returns the filter chips. +Returns the InnerTube renderer nodes representing filters. ##### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ChipCloudChip`](../../YTNodes/classes/ChipCloudChip.md)\> +`FilterNodes` #### Inherited from -[`FilterableFeed`](../../Mixins/classes/FilterableFeed.md).[`filter_chips`](../../Mixins/classes/FilterableFeed.md#filter_chips) +[`FilterableFeed`](../../Mixins/classes/FilterableFeed.md).[`filter_nodes`](../../Mixins/classes/FilterableFeed.md#filter_nodes) *** @@ -116,9 +116,9 @@ Returns the filter chips. > **get** **filters**(): `string`[] -Defined in: [src/core/mixins/FilterableFeed.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/FilterableFeed.ts#L38) +Defined in: [src/core/mixins/FilterableFeed.ts:78](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/FilterableFeed.ts#L78) -Returns available filters. +Returns the available primary filters as strings. ##### Returns @@ -136,7 +136,7 @@ Returns available filters. > **get** **has\_continuation**(): `boolean` -Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L195) +Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L195) Checks if the feed has continuation. @@ -156,7 +156,7 @@ Checks if the feed has continuation. > **get** **memo**(): [`Memo`](../../Helpers/classes/Memo.md) -Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L137) +Defined in: [src/core/mixins/Feed.ts:138](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L138) ##### Returns @@ -174,7 +174,7 @@ Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/b > **get** **page**(): `T` -Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L188) +Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L188) Get the original page data @@ -194,7 +194,7 @@ Get the original page data > **get** **page\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`MusicQueue`](../../YTNodes/classes/MusicQueue.md) \| [`RichGrid`](../../YTNodes/classes/RichGrid.md) \| [`ReloadContinuationItemsCommand`](../../../../classes/ReloadContinuationItemsCommand.md) -Defined in: [src/core/mixins/Feed.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L144) +Defined in: [src/core/mixins/Feed.ts:145](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L145) Returns contents from the page. @@ -214,7 +214,7 @@ Returns contents from the page. > **get** **playlists**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:133](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L133) +Defined in: [src/core/mixins/Feed.ts:134](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L134) Get all playlists in the feed @@ -234,7 +234,7 @@ Get all playlists in the feed > **get** **posts**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`BackstagePost`](../../YTNodes/classes/BackstagePost.md) \| [`Post`](../../YTNodes/classes/Post.md) \| [`SharedPost`](../../YTNodes/classes/SharedPost.md)\> -Defined in: [src/core/mixins/Feed.ts:119](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L119) +Defined in: [src/core/mixins/Feed.ts:120](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L120) Get all the community posts in the feed @@ -254,7 +254,7 @@ Get all the community posts in the feed > **get** **secondary\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`BrowseFeedActions`](../../YTNodes/classes/BrowseFeedActions.md) \| [`ProfileColumn`](../../YTNodes/classes/ProfileColumn.md) \| [`SecondarySearchContainer`](../../YTNodes/classes/SecondarySearchContainer.md) \| `null` -Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L169) +Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L169) Returns secondary contents from the page. @@ -268,13 +268,33 @@ Returns secondary contents from the page. *** +### secondary\_filters + +#### Get Signature + +> **get** **secondary\_filters**(): `string`[] + +Defined in: [src/core/mixins/FilterableFeed.ts:92](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/FilterableFeed.ts#L92) + +Returns the available secondary filters as strings. + +##### Returns + +`string`[] + +#### Inherited from + +[`FilterableFeed`](../../Mixins/classes/FilterableFeed.md).[`secondary_filters`](../../Mixins/classes/FilterableFeed.md#secondary_filters) + +*** + ### shelves #### Get Signature > **get** **shelves**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md)\> -Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L155) +Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L155) Returns all segments/sections from the page. @@ -292,15 +312,15 @@ Returns all segments/sections from the page. #### Get Signature -> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:112](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L112) +Defined in: [src/core/mixins/Feed.ts:113](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L113) Get all the videos in the feed ##### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from @@ -312,7 +332,7 @@ Get all the videos in the feed > **applyFilter**(`filter`): `Promise`\<`HashtagFeed`\> -Defined in: [src/parser/youtube/HashtagFeed.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/HashtagFeed.ts#L38) +Defined in: [src/parser/youtube/HashtagFeed.ts:38](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/HashtagFeed.ts#L38) Applies given filter and returns a new HashtagFeed object. Use [HashtagFeed.filters](#filters) to get available filters. @@ -334,7 +354,7 @@ Filter to apply. > **getContinuation**(): `Promise`\<[`Feed`](../../Mixins/classes/Feed.md)\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md)\>\> -Defined in: [src/core/mixins/Feed.ts:219](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L219) +Defined in: [src/core/mixins/Feed.ts:219](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L219) Retrieves next batch of contents and returns a new [Feed](../../Mixins/classes/Feed.md) object. @@ -352,7 +372,7 @@ Retrieves next batch of contents and returns a new [Feed](../../Mixins/classes/F > **getContinuationData**(): `Promise`\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) \| `undefined`\> -Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L202) +Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L202) Retrieves continuation data as it is. @@ -368,9 +388,9 @@ Retrieves continuation data as it is. ### getFilteredFeed() -> **getFilteredFeed**(`filter`): `Promise`\<[`Feed`](../../Mixins/classes/Feed.md)\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md)\>\> +> **getFilteredFeed**(`filter`, `secondaryFilter?`): `Promise`\<[`Feed`](../../Mixins/classes/Feed.md)\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md)\>\> -Defined in: [src/core/mixins/FilterableFeed.ts:45](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/FilterableFeed.ts#L45) +Defined in: [src/core/mixins/FilterableFeed.ts:99](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/FilterableFeed.ts#L99) Applies given filter and returns a new [Feed](../../Mixins/classes/Feed.md) object. @@ -378,7 +398,11 @@ Applies given filter and returns a new [Feed](../../Mixins/classes/Feed.md) obje ##### filter -`string` | [`ChipCloudChip`](../../YTNodes/classes/ChipCloudChip.md) +`string` | [`ListItemView`](../../YTNodes/classes/ListItemView.md) | [`ChipCloudChip`](../../YTNodes/classes/ChipCloudChip.md) | [`ChipView`](../../YTNodes/classes/ChipView.md) + +##### secondaryFilter? + +`string` | [`ChipView`](../../YTNodes/classes/ChipView.md) #### Returns @@ -394,7 +418,7 @@ Applies given filter and returns a new [Feed](../../Mixins/classes/Feed.md) obje > **getShelf**(`title`): [`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md) \| `undefined` -Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L162) +Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L162) Finds shelf by title. @@ -418,7 +442,7 @@ Finds shelf by title. > `static` **getPlaylistsFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:94](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L94) +Defined in: [src/core/mixins/Feed.ts:95](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L95) Get all playlists on a given page via memo @@ -440,9 +464,9 @@ Get all playlists on a given page via memo ### getVideosFromMemo() -> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L78) +Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L78) Get all videos on a given page via memo @@ -454,7 +478,7 @@ Get all videos on a given page via memo #### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from diff --git a/docs/api/youtubei.js/namespaces/YT/classes/History.md b/docs/api/youtubei.js/namespaces/YT/classes/History.md index 67381e8c..70e78a9b 100644 --- a/docs/api/youtubei.js/namespaces/YT/classes/History.md +++ b/docs/api/youtubei.js/namespaces/YT/classes/History.md @@ -2,7 +2,7 @@ # Class: History -Defined in: [src/parser/youtube/History.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/History.ts#L11) +Defined in: [src/parser/youtube/History.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/History.ts#L12) ## Extends @@ -12,9 +12,9 @@ Defined in: [src/parser/youtube/History.ts:11](https://github.com/LuanRT/YouTube ### Constructor -> **new History**(`actions`, `data`, `already_parsed`): `History` +> **new History**(`actions`, `data`, `already_parsed?`): `History` -Defined in: [src/parser/youtube/History.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/History.ts#L15) +Defined in: [src/parser/youtube/History.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/History.ts#L16) #### Parameters @@ -26,7 +26,7 @@ Defined in: [src/parser/youtube/History.ts:15](https://github.com/LuanRT/YouTube [`ApiResponse`](../../../../interfaces/ApiResponse.md) | [`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) -##### already\_parsed +##### already\_parsed? `boolean` = `false` @@ -44,7 +44,7 @@ Defined in: [src/parser/youtube/History.ts:15](https://github.com/LuanRT/YouTube > **feed\_actions**: [`BrowseFeedActions`](../../YTNodes/classes/BrowseFeedActions.md) -Defined in: [src/parser/youtube/History.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/History.ts#L13) +Defined in: [src/parser/youtube/History.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/History.ts#L14) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/youtube/History.ts:13](https://github.com/LuanRT/YouTube > **sections**: [`ItemSection`](../../YTNodes/classes/ItemSection.md)[] -Defined in: [src/parser/youtube/History.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/History.ts#L12) +Defined in: [src/parser/youtube/History.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/History.ts#L13) ## Accessors @@ -62,7 +62,7 @@ Defined in: [src/parser/youtube/History.ts:12](https://github.com/LuanRT/YouTube > **get** **actions**(): [`Actions`](../../../../classes/Actions.md) -Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L181) +Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L181) ##### Returns @@ -80,7 +80,7 @@ Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/b > **get** **channels**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Channel`](../../YTNodes/classes/Channel.md) \| [`GridChannel`](../../YTNodes/classes/GridChannel.md)\> -Defined in: [src/core/mixins/Feed.ts:126](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L126) +Defined in: [src/core/mixins/Feed.ts:127](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L127) Get all the channels in the feed @@ -100,7 +100,7 @@ Get all the channels in the feed > **get** **has\_continuation**(): `boolean` -Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L195) +Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L195) Checks if the feed has continuation. @@ -120,7 +120,7 @@ Checks if the feed has continuation. > **get** **memo**(): [`Memo`](../../Helpers/classes/Memo.md) -Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L137) +Defined in: [src/core/mixins/Feed.ts:138](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L138) ##### Returns @@ -138,7 +138,7 @@ Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/b > **get** **page**(): `T` -Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L188) +Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L188) Get the original page data @@ -158,7 +158,7 @@ Get the original page data > **get** **page\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`MusicQueue`](../../YTNodes/classes/MusicQueue.md) \| [`RichGrid`](../../YTNodes/classes/RichGrid.md) \| [`ReloadContinuationItemsCommand`](../../../../classes/ReloadContinuationItemsCommand.md) -Defined in: [src/core/mixins/Feed.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L144) +Defined in: [src/core/mixins/Feed.ts:145](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L145) Returns contents from the page. @@ -178,7 +178,7 @@ Returns contents from the page. > **get** **playlists**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:133](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L133) +Defined in: [src/core/mixins/Feed.ts:134](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L134) Get all playlists in the feed @@ -198,7 +198,7 @@ Get all playlists in the feed > **get** **posts**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`BackstagePost`](../../YTNodes/classes/BackstagePost.md) \| [`Post`](../../YTNodes/classes/Post.md) \| [`SharedPost`](../../YTNodes/classes/SharedPost.md)\> -Defined in: [src/core/mixins/Feed.ts:119](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L119) +Defined in: [src/core/mixins/Feed.ts:120](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L120) Get all the community posts in the feed @@ -218,7 +218,7 @@ Get all the community posts in the feed > **get** **secondary\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`BrowseFeedActions`](../../YTNodes/classes/BrowseFeedActions.md) \| [`ProfileColumn`](../../YTNodes/classes/ProfileColumn.md) \| [`SecondarySearchContainer`](../../YTNodes/classes/SecondarySearchContainer.md) \| `null` -Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L169) +Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L169) Returns secondary contents from the page. @@ -238,7 +238,7 @@ Returns secondary contents from the page. > **get** **shelves**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md)\> -Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L155) +Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L155) Returns all segments/sections from the page. @@ -256,15 +256,15 @@ Returns all segments/sections from the page. #### Get Signature -> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:112](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L112) +Defined in: [src/core/mixins/Feed.ts:113](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L113) Get all the videos in the feed ##### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from @@ -276,7 +276,7 @@ Get all the videos in the feed > **getContinuation**(): `Promise`\<`History`\> -Defined in: [src/parser/youtube/History.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/History.ts#L24) +Defined in: [src/parser/youtube/History.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/History.ts#L25) Retrieves next batch of contents. @@ -294,7 +294,7 @@ Retrieves next batch of contents. > **getContinuationData**(): `Promise`\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) \| `undefined`\> -Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L202) +Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L202) Retrieves continuation data as it is. @@ -312,7 +312,7 @@ Retrieves continuation data as it is. > **getShelf**(`title`): [`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md) \| `undefined` -Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L162) +Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L162) Finds shelf by title. @@ -334,9 +334,9 @@ Finds shelf by title. ### removeVideo() -> **removeVideo**(`video_id`, `pages_to_load`): `Promise`\<`boolean`\> +> **removeVideo**(`video_id`, `pages_to_load?`): `Promise`\<`boolean`\> -Defined in: [src/parser/youtube/History.ts:34](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/History.ts#L34) +Defined in: [src/parser/youtube/History.ts:35](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/History.ts#L35) Removes a video from watch history. @@ -346,7 +346,7 @@ Removes a video from watch history. `string` -##### pages\_to\_load +##### pages\_to\_load? `number` = `1` @@ -360,7 +360,7 @@ Removes a video from watch history. > `static` **getPlaylistsFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:94](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L94) +Defined in: [src/core/mixins/Feed.ts:95](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L95) Get all playlists on a given page via memo @@ -382,9 +382,9 @@ Get all playlists on a given page via memo ### getVideosFromMemo() -> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L78) +Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L78) Get all videos on a given page via memo @@ -396,7 +396,7 @@ Get all videos on a given page via memo #### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from diff --git a/docs/api/youtubei.js/namespaces/YT/classes/HomeFeed.md b/docs/api/youtubei.js/namespaces/YT/classes/HomeFeed.md index 8cb0997a..e5dca746 100644 --- a/docs/api/youtubei.js/namespaces/YT/classes/HomeFeed.md +++ b/docs/api/youtubei.js/namespaces/YT/classes/HomeFeed.md @@ -2,7 +2,7 @@ # Class: HomeFeed -Defined in: [src/parser/youtube/HomeFeed.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/HomeFeed.ts#L10) +Defined in: [src/parser/youtube/HomeFeed.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/HomeFeed.ts#L10) ## Extends @@ -12,9 +12,9 @@ Defined in: [src/parser/youtube/HomeFeed.ts:10](https://github.com/LuanRT/YouTub ### Constructor -> **new HomeFeed**(`actions`, `data`, `already_parsed`): `HomeFeed` +> **new HomeFeed**(`actions`, `data`, `already_parsed?`): `HomeFeed` -Defined in: [src/parser/youtube/HomeFeed.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/HomeFeed.ts#L14) +Defined in: [src/parser/youtube/HomeFeed.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/HomeFeed.ts#L14) #### Parameters @@ -26,7 +26,7 @@ Defined in: [src/parser/youtube/HomeFeed.ts:14](https://github.com/LuanRT/YouTub [`ApiResponse`](../../../../interfaces/ApiResponse.md) | [`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) -##### already\_parsed +##### already\_parsed? `boolean` = `false` @@ -44,7 +44,7 @@ Defined in: [src/parser/youtube/HomeFeed.ts:14](https://github.com/LuanRT/YouTub > `optional` **contents**: [`RichGrid`](../../YTNodes/classes/RichGrid.md) \| [`AppendContinuationItemsAction`](../../../../classes/AppendContinuationItemsAction.md) \| [`ReloadContinuationItemsCommand`](../../../../classes/ReloadContinuationItemsCommand.md) -Defined in: [src/parser/youtube/HomeFeed.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/HomeFeed.ts#L11) +Defined in: [src/parser/youtube/HomeFeed.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/HomeFeed.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/youtube/HomeFeed.ts:11](https://github.com/LuanRT/YouTub > `optional` **header**: [`FeedTabbedHeader`](../../YTNodes/classes/FeedTabbedHeader.md) -Defined in: [src/parser/youtube/HomeFeed.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/HomeFeed.ts#L12) +Defined in: [src/parser/youtube/HomeFeed.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/HomeFeed.ts#L12) ## Accessors @@ -62,7 +62,7 @@ Defined in: [src/parser/youtube/HomeFeed.ts:12](https://github.com/LuanRT/YouTub > **get** **actions**(): [`Actions`](../../../../classes/Actions.md) -Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L181) +Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L181) ##### Returns @@ -80,7 +80,7 @@ Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/b > **get** **channels**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Channel`](../../YTNodes/classes/Channel.md) \| [`GridChannel`](../../YTNodes/classes/GridChannel.md)\> -Defined in: [src/core/mixins/Feed.ts:126](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L126) +Defined in: [src/core/mixins/Feed.ts:127](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L127) Get all the channels in the feed @@ -94,23 +94,23 @@ Get all the channels in the feed *** -### filter\_chips +### filter\_nodes #### Get Signature -> **get** **filter\_chips**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ChipCloudChip`](../../YTNodes/classes/ChipCloudChip.md)\> +> **get** **filter\_nodes**(): `FilterNodes` -Defined in: [src/core/mixins/FilterableFeed.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/FilterableFeed.ts#L20) +Defined in: [src/core/mixins/FilterableFeed.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/FilterableFeed.ts#L31) -Returns the filter chips. +Returns the InnerTube renderer nodes representing filters. ##### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ChipCloudChip`](../../YTNodes/classes/ChipCloudChip.md)\> +`FilterNodes` #### Inherited from -[`FilterableFeed`](../../Mixins/classes/FilterableFeed.md).[`filter_chips`](../../Mixins/classes/FilterableFeed.md#filter_chips) +[`FilterableFeed`](../../Mixins/classes/FilterableFeed.md).[`filter_nodes`](../../Mixins/classes/FilterableFeed.md#filter_nodes) *** @@ -120,9 +120,9 @@ Returns the filter chips. > **get** **filters**(): `string`[] -Defined in: [src/core/mixins/FilterableFeed.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/FilterableFeed.ts#L38) +Defined in: [src/core/mixins/FilterableFeed.ts:78](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/FilterableFeed.ts#L78) -Returns available filters. +Returns the available primary filters as strings. ##### Returns @@ -140,7 +140,7 @@ Returns available filters. > **get** **has\_continuation**(): `boolean` -Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L195) +Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L195) Checks if the feed has continuation. @@ -160,7 +160,7 @@ Checks if the feed has continuation. > **get** **memo**(): [`Memo`](../../Helpers/classes/Memo.md) -Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L137) +Defined in: [src/core/mixins/Feed.ts:138](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L138) ##### Returns @@ -178,7 +178,7 @@ Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/b > **get** **page**(): `T` -Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L188) +Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L188) Get the original page data @@ -198,7 +198,7 @@ Get the original page data > **get** **page\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`MusicQueue`](../../YTNodes/classes/MusicQueue.md) \| [`RichGrid`](../../YTNodes/classes/RichGrid.md) \| [`ReloadContinuationItemsCommand`](../../../../classes/ReloadContinuationItemsCommand.md) -Defined in: [src/core/mixins/Feed.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L144) +Defined in: [src/core/mixins/Feed.ts:145](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L145) Returns contents from the page. @@ -218,7 +218,7 @@ Returns contents from the page. > **get** **playlists**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:133](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L133) +Defined in: [src/core/mixins/Feed.ts:134](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L134) Get all playlists in the feed @@ -238,7 +238,7 @@ Get all playlists in the feed > **get** **posts**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`BackstagePost`](../../YTNodes/classes/BackstagePost.md) \| [`Post`](../../YTNodes/classes/Post.md) \| [`SharedPost`](../../YTNodes/classes/SharedPost.md)\> -Defined in: [src/core/mixins/Feed.ts:119](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L119) +Defined in: [src/core/mixins/Feed.ts:120](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L120) Get all the community posts in the feed @@ -258,7 +258,7 @@ Get all the community posts in the feed > **get** **secondary\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`BrowseFeedActions`](../../YTNodes/classes/BrowseFeedActions.md) \| [`ProfileColumn`](../../YTNodes/classes/ProfileColumn.md) \| [`SecondarySearchContainer`](../../YTNodes/classes/SecondarySearchContainer.md) \| `null` -Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L169) +Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L169) Returns secondary contents from the page. @@ -272,13 +272,33 @@ Returns secondary contents from the page. *** +### secondary\_filters + +#### Get Signature + +> **get** **secondary\_filters**(): `string`[] + +Defined in: [src/core/mixins/FilterableFeed.ts:92](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/FilterableFeed.ts#L92) + +Returns the available secondary filters as strings. + +##### Returns + +`string`[] + +#### Inherited from + +[`FilterableFeed`](../../Mixins/classes/FilterableFeed.md).[`secondary_filters`](../../Mixins/classes/FilterableFeed.md#secondary_filters) + +*** + ### shelves #### Get Signature > **get** **shelves**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md)\> -Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L155) +Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L155) Returns all segments/sections from the page. @@ -296,15 +316,15 @@ Returns all segments/sections from the page. #### Get Signature -> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:112](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L112) +Defined in: [src/core/mixins/Feed.ts:113](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L113) Get all the videos in the feed ##### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from @@ -316,7 +336,7 @@ Get all the videos in the feed > **applyFilter**(`filter`): `Promise`\<`HomeFeed`\> -Defined in: [src/parser/youtube/HomeFeed.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/HomeFeed.ts#L24) +Defined in: [src/parser/youtube/HomeFeed.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/HomeFeed.ts#L24) Applies given filter to the feed. Use [filters](HashtagFeed.md#filters) to get available filters. @@ -338,7 +358,7 @@ Filter to apply. > **getContinuation**(): `Promise`\<`HomeFeed`\> -Defined in: [src/parser/youtube/HomeFeed.ts:32](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/HomeFeed.ts#L32) +Defined in: [src/parser/youtube/HomeFeed.ts:32](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/HomeFeed.ts#L32) Retrieves next batch of contents. @@ -356,7 +376,7 @@ Retrieves next batch of contents. > **getContinuationData**(): `Promise`\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) \| `undefined`\> -Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L202) +Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L202) Retrieves continuation data as it is. @@ -372,9 +392,9 @@ Retrieves continuation data as it is. ### getFilteredFeed() -> **getFilteredFeed**(`filter`): `Promise`\<[`Feed`](../../Mixins/classes/Feed.md)\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md)\>\> +> **getFilteredFeed**(`filter`, `secondaryFilter?`): `Promise`\<[`Feed`](../../Mixins/classes/Feed.md)\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md)\>\> -Defined in: [src/core/mixins/FilterableFeed.ts:45](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/FilterableFeed.ts#L45) +Defined in: [src/core/mixins/FilterableFeed.ts:99](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/FilterableFeed.ts#L99) Applies given filter and returns a new [Feed](../../Mixins/classes/Feed.md) object. @@ -382,7 +402,11 @@ Applies given filter and returns a new [Feed](../../Mixins/classes/Feed.md) obje ##### filter -`string` | [`ChipCloudChip`](../../YTNodes/classes/ChipCloudChip.md) +`string` | [`ListItemView`](../../YTNodes/classes/ListItemView.md) | [`ChipCloudChip`](../../YTNodes/classes/ChipCloudChip.md) | [`ChipView`](../../YTNodes/classes/ChipView.md) + +##### secondaryFilter? + +`string` | [`ChipView`](../../YTNodes/classes/ChipView.md) #### Returns @@ -398,7 +422,7 @@ Applies given filter and returns a new [Feed](../../Mixins/classes/Feed.md) obje > **getShelf**(`title`): [`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md) \| `undefined` -Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L162) +Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L162) Finds shelf by title. @@ -422,7 +446,7 @@ Finds shelf by title. > `static` **getPlaylistsFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:94](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L94) +Defined in: [src/core/mixins/Feed.ts:95](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L95) Get all playlists on a given page via memo @@ -444,9 +468,9 @@ Get all playlists on a given page via memo ### getVideosFromMemo() -> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L78) +Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L78) Get all videos on a given page via memo @@ -458,7 +482,7 @@ Get all videos on a given page via memo #### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from diff --git a/docs/api/youtubei.js/namespaces/YT/classes/ItemMenu.md b/docs/api/youtubei.js/namespaces/YT/classes/ItemMenu.md index 694dfce5..ab26fbd5 100644 --- a/docs/api/youtubei.js/namespaces/YT/classes/ItemMenu.md +++ b/docs/api/youtubei.js/namespaces/YT/classes/ItemMenu.md @@ -2,7 +2,7 @@ # Class: ItemMenu -Defined in: [src/parser/youtube/ItemMenu.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/ItemMenu.ts#L11) +Defined in: [src/parser/youtube/ItemMenu.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/ItemMenu.ts#L11) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/parser/youtube/ItemMenu.ts:11](https://github.com/LuanRT/YouTub > **new ItemMenu**(`data`, `actions`): `ItemMenu` -Defined in: [src/parser/youtube/ItemMenu.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/ItemMenu.ts#L16) +Defined in: [src/parser/youtube/ItemMenu.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/ItemMenu.ts#L16) #### Parameters @@ -32,7 +32,7 @@ Defined in: [src/parser/youtube/ItemMenu.ts:16](https://github.com/LuanRT/YouTub > **items**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/youtube/ItemMenu.ts:59](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/ItemMenu.ts#L59) +Defined in: [src/parser/youtube/ItemMenu.ts:59](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/ItemMenu.ts#L59) #### Returns @@ -44,7 +44,7 @@ Defined in: [src/parser/youtube/ItemMenu.ts:59](https://github.com/LuanRT/YouTub > **page**(): [`IParsedResponse`](../../../../interfaces/IParsedResponse.md) -Defined in: [src/parser/youtube/ItemMenu.ts:63](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/ItemMenu.ts#L63) +Defined in: [src/parser/youtube/ItemMenu.ts:63](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/ItemMenu.ts#L63) #### Returns @@ -58,7 +58,7 @@ Defined in: [src/parser/youtube/ItemMenu.ts:63](https://github.com/LuanRT/YouTub > **selectItem**(`icon_type`): `Promise`\<[`IParsedResponse`](../../../../interfaces/IParsedResponse.md)\> -Defined in: [src/parser/youtube/ItemMenu.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/ItemMenu.ts#L28) +Defined in: [src/parser/youtube/ItemMenu.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/ItemMenu.ts#L28) ##### Parameters @@ -74,7 +74,7 @@ Defined in: [src/parser/youtube/ItemMenu.ts:28](https://github.com/LuanRT/YouTub > **selectItem**(`button`): `Promise`\<[`IParsedResponse`](../../../../interfaces/IParsedResponse.md)\> -Defined in: [src/parser/youtube/ItemMenu.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/ItemMenu.ts#L29) +Defined in: [src/parser/youtube/ItemMenu.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/ItemMenu.ts#L29) ##### Parameters diff --git a/docs/api/youtubei.js/namespaces/YT/classes/Library.md b/docs/api/youtubei.js/namespaces/YT/classes/Library.md index 7f11ae14..df1f5a7a 100644 --- a/docs/api/youtubei.js/namespaces/YT/classes/Library.md +++ b/docs/api/youtubei.js/namespaces/YT/classes/Library.md @@ -2,7 +2,7 @@ # Class: Library -Defined in: [src/parser/youtube/Library.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Library.ts#L13) +Defined in: [src/parser/youtube/Library.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Library.ts#L13) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/youtube/Library.ts:13](https://github.com/LuanRT/YouTube > **new Library**(`actions`, `data`): `Library` -Defined in: [src/parser/youtube/Library.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Library.ts#L17) +Defined in: [src/parser/youtube/Library.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Library.ts#L17) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/youtube/Library.ts:17](https://github.com/LuanRT/YouTube > **header**: [`PageHeader`](../../YTNodes/classes/PageHeader.md) \| `null` -Defined in: [src/parser/youtube/Library.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Library.ts#L14) +Defined in: [src/parser/youtube/Library.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Library.ts#L14) *** @@ -48,7 +48,7 @@ Defined in: [src/parser/youtube/Library.ts:14](https://github.com/LuanRT/YouTube > **sections**: `object`[] -Defined in: [src/parser/youtube/Library.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Library.ts#L15) +Defined in: [src/parser/youtube/Library.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Library.ts#L15) #### contents @@ -78,7 +78,7 @@ Defined in: [src/parser/youtube/Library.ts:15](https://github.com/LuanRT/YouTube > **get** **actions**(): [`Actions`](../../../../classes/Actions.md) -Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L181) +Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L181) ##### Returns @@ -96,7 +96,7 @@ Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/b > **get** **channels**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Channel`](../../YTNodes/classes/Channel.md) \| [`GridChannel`](../../YTNodes/classes/GridChannel.md)\> -Defined in: [src/core/mixins/Feed.ts:126](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L126) +Defined in: [src/core/mixins/Feed.ts:127](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L127) Get all the channels in the feed @@ -116,7 +116,7 @@ Get all the channels in the feed > **get** **clips**(): \{ `contents`: `any`[]; `getAll`: () => `Promise`\<[`Feed`](../../Mixins/classes/Feed.md)\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md)\> \| [`History`](History.md) \| [`Playlist`](Playlist.md)\>; `title`: [`Text`](../../Misc/classes/Text.md); `type`: `string` \| `undefined`; \} \| `undefined` -Defined in: [src/parser/youtube/Library.ts:76](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Library.ts#L76) +Defined in: [src/parser/youtube/Library.ts:76](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Library.ts#L76) ##### Returns @@ -130,7 +130,7 @@ Defined in: [src/parser/youtube/Library.ts:76](https://github.com/LuanRT/YouTube > **get** **has\_continuation**(): `boolean` -Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L195) +Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L195) Checks if the feed has continuation. @@ -150,7 +150,7 @@ Checks if the feed has continuation. > **get** **history**(): \{ `contents`: `any`[]; `getAll`: () => `Promise`\<[`Feed`](../../Mixins/classes/Feed.md)\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md)\> \| [`History`](History.md) \| [`Playlist`](Playlist.md)\>; `title`: [`Text`](../../Misc/classes/Text.md); `type`: `string` \| `undefined`; \} \| `undefined` -Defined in: [src/parser/youtube/Library.ts:60](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Library.ts#L60) +Defined in: [src/parser/youtube/Library.ts:60](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Library.ts#L60) ##### Returns @@ -164,7 +164,7 @@ Defined in: [src/parser/youtube/Library.ts:60](https://github.com/LuanRT/YouTube > **get** **liked\_videos**(): \{ `contents`: `any`[]; `getAll`: () => `Promise`\<[`Feed`](../../Mixins/classes/Feed.md)\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md)\> \| [`History`](History.md) \| [`Playlist`](Playlist.md)\>; `title`: [`Text`](../../Misc/classes/Text.md); `type`: `string` \| `undefined`; \} \| `undefined` -Defined in: [src/parser/youtube/Library.ts:68](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Library.ts#L68) +Defined in: [src/parser/youtube/Library.ts:68](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Library.ts#L68) ##### Returns @@ -178,7 +178,7 @@ Defined in: [src/parser/youtube/Library.ts:68](https://github.com/LuanRT/YouTube > **get** **memo**(): [`Memo`](../../Helpers/classes/Memo.md) -Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L137) +Defined in: [src/core/mixins/Feed.ts:138](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L138) ##### Returns @@ -196,7 +196,7 @@ Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/b > **get** **page**(): `T` -Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L188) +Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L188) Get the original page data @@ -216,7 +216,7 @@ Get the original page data > **get** **page\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`MusicQueue`](../../YTNodes/classes/MusicQueue.md) \| [`RichGrid`](../../YTNodes/classes/RichGrid.md) \| [`ReloadContinuationItemsCommand`](../../../../classes/ReloadContinuationItemsCommand.md) -Defined in: [src/core/mixins/Feed.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L144) +Defined in: [src/core/mixins/Feed.ts:145](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L145) Returns contents from the page. @@ -236,7 +236,7 @@ Returns contents from the page. > **get** **playlists**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:133](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L133) +Defined in: [src/core/mixins/Feed.ts:134](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L134) Get all playlists in the feed @@ -256,7 +256,7 @@ Get all playlists in the feed > **get** **playlists\_section**(): \{ `contents`: `any`[]; `getAll`: () => `Promise`\<[`Feed`](../../Mixins/classes/Feed.md)\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md)\> \| [`History`](History.md) \| [`Playlist`](Playlist.md)\>; `title`: [`Text`](../../Misc/classes/Text.md); `type`: `string` \| `undefined`; \} \| `undefined` -Defined in: [src/parser/youtube/Library.ts:72](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Library.ts#L72) +Defined in: [src/parser/youtube/Library.ts:72](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Library.ts#L72) ##### Returns @@ -270,7 +270,7 @@ Defined in: [src/parser/youtube/Library.ts:72](https://github.com/LuanRT/YouTube > **get** **posts**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`BackstagePost`](../../YTNodes/classes/BackstagePost.md) \| [`Post`](../../YTNodes/classes/Post.md) \| [`SharedPost`](../../YTNodes/classes/SharedPost.md)\> -Defined in: [src/core/mixins/Feed.ts:119](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L119) +Defined in: [src/core/mixins/Feed.ts:120](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L120) Get all the community posts in the feed @@ -290,7 +290,7 @@ Get all the community posts in the feed > **get** **secondary\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`BrowseFeedActions`](../../YTNodes/classes/BrowseFeedActions.md) \| [`ProfileColumn`](../../YTNodes/classes/ProfileColumn.md) \| [`SecondarySearchContainer`](../../YTNodes/classes/SecondarySearchContainer.md) \| `null` -Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L169) +Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L169) Returns secondary contents from the page. @@ -310,7 +310,7 @@ Returns secondary contents from the page. > **get** **shelves**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md)\> -Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L155) +Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L155) Returns all segments/sections from the page. @@ -328,15 +328,15 @@ Returns all segments/sections from the page. #### Get Signature -> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:112](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L112) +Defined in: [src/core/mixins/Feed.ts:113](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L113) Get all the videos in the feed ##### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from @@ -350,7 +350,7 @@ Get all the videos in the feed > **get** **watch\_later**(): \{ `contents`: `any`[]; `getAll`: () => `Promise`\<[`Feed`](../../Mixins/classes/Feed.md)\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md)\> \| [`History`](History.md) \| [`Playlist`](Playlist.md)\>; `title`: [`Text`](../../Misc/classes/Text.md); `type`: `string` \| `undefined`; \} \| `undefined` -Defined in: [src/parser/youtube/Library.ts:64](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Library.ts#L64) +Defined in: [src/parser/youtube/Library.ts:64](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Library.ts#L64) ##### Returns @@ -362,7 +362,7 @@ Defined in: [src/parser/youtube/Library.ts:64](https://github.com/LuanRT/YouTube > **getContinuation**(): `Promise`\<[`Feed`](../../Mixins/classes/Feed.md)\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md)\>\> -Defined in: [src/core/mixins/Feed.ts:219](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L219) +Defined in: [src/core/mixins/Feed.ts:219](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L219) Retrieves next batch of contents and returns a new [Feed](../../Mixins/classes/Feed.md) object. @@ -380,7 +380,7 @@ Retrieves next batch of contents and returns a new [Feed](../../Mixins/classes/F > **getContinuationData**(): `Promise`\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) \| `undefined`\> -Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L202) +Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L202) Retrieves continuation data as it is. @@ -398,7 +398,7 @@ Retrieves continuation data as it is. > **getShelf**(`title`): [`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md) \| `undefined` -Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L162) +Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L162) Finds shelf by title. @@ -422,7 +422,7 @@ Finds shelf by title. > `static` **getPlaylistsFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:94](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L94) +Defined in: [src/core/mixins/Feed.ts:95](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L95) Get all playlists on a given page via memo @@ -444,9 +444,9 @@ Get all playlists on a given page via memo ### getVideosFromMemo() -> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L78) +Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L78) Get all videos on a given page via memo @@ -458,7 +458,7 @@ Get all videos on a given page via memo #### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from diff --git a/docs/api/youtubei.js/namespaces/YT/classes/LiveChat.md b/docs/api/youtubei.js/namespaces/YT/classes/LiveChat.md index c7faa4d8..80e86ed7 100644 --- a/docs/api/youtubei.js/namespaces/YT/classes/LiveChat.md +++ b/docs/api/youtubei.js/namespaces/YT/classes/LiveChat.md @@ -2,7 +2,7 @@ # Class: LiveChat -Defined in: [src/parser/youtube/LiveChat.ts:58](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/LiveChat.ts#L58) +Defined in: [src/parser/youtube/LiveChat.ts:58](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/LiveChat.ts#L58) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/youtube/LiveChat.ts:58](https://github.com/LuanRT/YouTub > **new LiveChat**(`video_info`): `LiveChat` -Defined in: [src/parser/youtube/LiveChat.ts:73](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/LiveChat.ts#L73) +Defined in: [src/parser/youtube/LiveChat.ts:73](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/LiveChat.ts#L73) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/youtube/LiveChat.ts:73](https://github.com/LuanRT/YouTub > `optional` **initial\_info**: [`LiveChatContinuation`](../../../../classes/LiveChatContinuation.md) -Defined in: [src/parser/youtube/LiveChat.ts:68](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/LiveChat.ts#L68) +Defined in: [src/parser/youtube/LiveChat.ts:68](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/LiveChat.ts#L68) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/youtube/LiveChat.ts:68](https://github.com/LuanRT/YouTub > **is\_replay**: `boolean` = `false` -Defined in: [src/parser/youtube/LiveChat.ts:71](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/LiveChat.ts#L71) +Defined in: [src/parser/youtube/LiveChat.ts:71](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/LiveChat.ts#L71) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/youtube/LiveChat.ts:71](https://github.com/LuanRT/YouTub > `optional` **metadata**: `LiveMetadata` -Defined in: [src/parser/youtube/LiveChat.ts:69](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/LiveChat.ts#L69) +Defined in: [src/parser/youtube/LiveChat.ts:69](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/LiveChat.ts#L69) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/youtube/LiveChat.ts:69](https://github.com/LuanRT/YouTub > **running**: `boolean` = `false` -Defined in: [src/parser/youtube/LiveChat.ts:70](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/LiveChat.ts#L70) +Defined in: [src/parser/youtube/LiveChat.ts:70](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/LiveChat.ts#L70) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/youtube/LiveChat.ts:70](https://github.com/LuanRT/YouTub > **smoothed\_queue**: [`SmoothedQueue`](SmoothedQueue.md) -Defined in: [src/parser/youtube/LiveChat.ts:67](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/LiveChat.ts#L67) +Defined in: [src/parser/youtube/LiveChat.ts:67](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/LiveChat.ts#L67) ## Methods @@ -76,21 +76,9 @@ Defined in: [src/parser/youtube/LiveChat.ts:67](https://github.com/LuanRT/YouTub > **addEventListener**(`type`, `callback`, `options?`): `void` -Defined in: node\_modules/typescript/lib/lib.dom.d.ts:8256 +Defined in: node\_modules/typescript/lib/lib.dom.d.ts:11569 -Appends an event listener for events whose type attribute value is type. The callback argument sets the callback that will be invoked when the event is dispatched. - -The options argument sets listener-specific options. For compatibility this can be a boolean, in which case the method behaves exactly as if the value was specified as options's capture. - -When set to true, options's capture prevents callback from being invoked when the event's eventPhase attribute value is BUBBLING_PHASE. When false (or not present), callback will not be invoked when event's eventPhase attribute value is CAPTURING_PHASE. Either way, callback will be invoked if event's eventPhase attribute value is AT_TARGET. - -When set to true, options's passive indicates that the callback will not cancel the event by invoking preventDefault(). This is used to enable performance optimizations described in § 2.8 Observing event listeners. - -When set to true, options's once indicates that the callback will only be invoked once after which the event listener will be removed. - -If an AbortSignal is passed for options's signal, then the event listener will be removed when signal is aborted. - -The event listener is appended to target's event listener list and is not appended if it has the same type, callback, and capture. +The **`addEventListener()`** method of the EventTarget interface sets up a function that will be called whenever the specified event is delivered to the target. [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/addEventListener) @@ -122,7 +110,7 @@ The event listener is appended to target's event listener list and is not append > **applyFilter**(`filter`): `void` -Defined in: [src/parser/youtube/LiveChat.ts:287](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/LiveChat.ts#L287) +Defined in: [src/parser/youtube/LiveChat.ts:287](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/LiveChat.ts#L287) Applies given filter to the live chat. @@ -144,9 +132,9 @@ Filter to apply. > **dispatchEvent**(`event`): `boolean` -Defined in: node\_modules/typescript/lib/lib.dom.d.ts:8262 +Defined in: node\_modules/typescript/lib/lib.dom.d.ts:11575 -Dispatches a synthetic event event to target and returns true if either event's cancelable attribute value is false or its preventDefault() method was not invoked, and false otherwise. +The **`dispatchEvent()`** method of the EventTarget sends an Event to the object, (synchronously) invoking the affected event listeners in the appropriate order. [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/dispatchEvent) @@ -170,7 +158,7 @@ Dispatches a synthetic event event to target and returns true if either event's > **emit**(`type`, ...`args`): `void` -Defined in: [src/utils/EventEmitterLike.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/EventEmitterLike.ts#L10) +Defined in: [src/utils/EventEmitterLike.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/EventEmitterLike.ts#L10) #### Parameters @@ -196,7 +184,7 @@ Defined in: [src/utils/EventEmitterLike.ts:10](https://github.com/LuanRT/YouTube > **getItemMenu**(`item`): `Promise`\<[`ItemMenu`](ItemMenu.md)\> -Defined in: [src/parser/youtube/LiveChat.ts:305](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/LiveChat.ts#L305) +Defined in: [src/parser/youtube/LiveChat.ts:305](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/LiveChat.ts#L305) Retrieves given chat item's menu. @@ -216,7 +204,7 @@ Retrieves given chat item's menu. > **off**(`type`, `listener`): `void` -Defined in: [src/utils/EventEmitterLike.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/utils/EventEmitterLike.ts#L40) +Defined in: [src/utils/EventEmitterLike.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/utils/EventEmitterLike.ts#L40) #### Parameters @@ -244,7 +232,7 @@ Defined in: [src/utils/EventEmitterLike.ts:40](https://github.com/LuanRT/YouTube > **on**(`type`, `listener`): `void` -Defined in: [src/parser/youtube/LiveChat.ts:108](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/LiveChat.ts#L108) +Defined in: [src/parser/youtube/LiveChat.ts:108](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/LiveChat.ts#L108) ##### Parameters @@ -268,7 +256,7 @@ Defined in: [src/parser/youtube/LiveChat.ts:108](https://github.com/LuanRT/YouTu > **on**(`type`, `listener`): `void` -Defined in: [src/parser/youtube/LiveChat.ts:109](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/LiveChat.ts#L109) +Defined in: [src/parser/youtube/LiveChat.ts:109](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/LiveChat.ts#L109) ##### Parameters @@ -292,7 +280,7 @@ Defined in: [src/parser/youtube/LiveChat.ts:109](https://github.com/LuanRT/YouTu > **on**(`type`, `listener`): `void` -Defined in: [src/parser/youtube/LiveChat.ts:110](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/LiveChat.ts#L110) +Defined in: [src/parser/youtube/LiveChat.ts:110](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/LiveChat.ts#L110) ##### Parameters @@ -316,7 +304,7 @@ Defined in: [src/parser/youtube/LiveChat.ts:110](https://github.com/LuanRT/YouTu > **on**(`type`, `listener`): `void` -Defined in: [src/parser/youtube/LiveChat.ts:111](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/LiveChat.ts#L111) +Defined in: [src/parser/youtube/LiveChat.ts:111](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/LiveChat.ts#L111) ##### Parameters @@ -340,7 +328,7 @@ Defined in: [src/parser/youtube/LiveChat.ts:111](https://github.com/LuanRT/YouTu > **on**(`type`, `listener`): `void` -Defined in: [src/parser/youtube/LiveChat.ts:112](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/LiveChat.ts#L112) +Defined in: [src/parser/youtube/LiveChat.ts:112](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/LiveChat.ts#L112) ##### Parameters @@ -368,7 +356,7 @@ Defined in: [src/parser/youtube/LiveChat.ts:112](https://github.com/LuanRT/YouTu > **once**(`type`, `listener`): `void` -Defined in: [src/parser/youtube/LiveChat.ts:117](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/LiveChat.ts#L117) +Defined in: [src/parser/youtube/LiveChat.ts:117](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/LiveChat.ts#L117) ##### Parameters @@ -392,7 +380,7 @@ Defined in: [src/parser/youtube/LiveChat.ts:117](https://github.com/LuanRT/YouTu > **once**(`type`, `listener`): `void` -Defined in: [src/parser/youtube/LiveChat.ts:118](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/LiveChat.ts#L118) +Defined in: [src/parser/youtube/LiveChat.ts:118](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/LiveChat.ts#L118) ##### Parameters @@ -416,7 +404,7 @@ Defined in: [src/parser/youtube/LiveChat.ts:118](https://github.com/LuanRT/YouTu > **once**(`type`, `listener`): `void` -Defined in: [src/parser/youtube/LiveChat.ts:119](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/LiveChat.ts#L119) +Defined in: [src/parser/youtube/LiveChat.ts:119](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/LiveChat.ts#L119) ##### Parameters @@ -440,7 +428,7 @@ Defined in: [src/parser/youtube/LiveChat.ts:119](https://github.com/LuanRT/YouTu > **once**(`type`, `listener`): `void` -Defined in: [src/parser/youtube/LiveChat.ts:120](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/LiveChat.ts#L120) +Defined in: [src/parser/youtube/LiveChat.ts:120](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/LiveChat.ts#L120) ##### Parameters @@ -464,7 +452,7 @@ Defined in: [src/parser/youtube/LiveChat.ts:120](https://github.com/LuanRT/YouTu > **once**(`type`, `listener`): `void` -Defined in: [src/parser/youtube/LiveChat.ts:121](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/LiveChat.ts#L121) +Defined in: [src/parser/youtube/LiveChat.ts:121](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/LiveChat.ts#L121) ##### Parameters @@ -490,9 +478,9 @@ Defined in: [src/parser/youtube/LiveChat.ts:121](https://github.com/LuanRT/YouTu > **removeEventListener**(`type`, `callback`, `options?`): `void` -Defined in: node\_modules/typescript/lib/lib.dom.d.ts:8268 +Defined in: node\_modules/typescript/lib/lib.dom.d.ts:11581 -Removes the event listener in target's event listener list with the same type, callback, and options. +The **`removeEventListener()`** method of the EventTarget interface removes an event listener previously registered with EventTarget.addEventListener() from the target. [MDN Reference](https://developer.mozilla.org/docs/Web/API/EventTarget/removeEventListener) @@ -524,7 +512,7 @@ Removes the event listener in target's event listener list with the same type, c > **selectButton**(`button`): `Promise`\<[`IParsedResponse`](../../../../interfaces/IParsedResponse.md)\> -Defined in: [src/parser/youtube/LiveChat.ts:320](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/LiveChat.ts#L320) +Defined in: [src/parser/youtube/LiveChat.ts:320](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/LiveChat.ts#L320) Equivalent to "clicking" a button. @@ -544,7 +532,7 @@ Equivalent to "clicking" a button. > **sendMessage**(`text`): `Promise`\<[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`RunAttestationCommand`](../../YTNodes/classes/RunAttestationCommand.md) \| [`AddChatItemAction`](../../YTNodes/classes/AddChatItemAction.md)\>\> -Defined in: [src/parser/youtube/LiveChat.ts:255](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/LiveChat.ts#L255) +Defined in: [src/parser/youtube/LiveChat.ts:255](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/LiveChat.ts#L255) Sends a message. @@ -566,7 +554,7 @@ Text to send. > **start**(): `void` -Defined in: [src/parser/youtube/LiveChat.ts:126](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/LiveChat.ts#L126) +Defined in: [src/parser/youtube/LiveChat.ts:126](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/LiveChat.ts#L126) #### Returns @@ -578,7 +566,7 @@ Defined in: [src/parser/youtube/LiveChat.ts:126](https://github.com/LuanRT/YouTu > **stop**(): `void` -Defined in: [src/parser/youtube/LiveChat.ts:134](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/LiveChat.ts#L134) +Defined in: [src/parser/youtube/LiveChat.ts:134](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/LiveChat.ts#L134) #### Returns diff --git a/docs/api/youtubei.js/namespaces/YT/classes/NotificationsMenu.md b/docs/api/youtubei.js/namespaces/YT/classes/NotificationsMenu.md index c937fbc6..4f6a1258 100644 --- a/docs/api/youtubei.js/namespaces/YT/classes/NotificationsMenu.md +++ b/docs/api/youtubei.js/namespaces/YT/classes/NotificationsMenu.md @@ -2,7 +2,7 @@ # Class: NotificationsMenu -Defined in: [src/parser/youtube/NotificationsMenu.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/NotificationsMenu.ts#L11) +Defined in: [src/parser/youtube/NotificationsMenu.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/NotificationsMenu.ts#L11) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/parser/youtube/NotificationsMenu.ts:11](https://github.com/Luan > **new NotificationsMenu**(`actions`, `response`): `NotificationsMenu` -Defined in: [src/parser/youtube/NotificationsMenu.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/NotificationsMenu.ts#L18) +Defined in: [src/parser/youtube/NotificationsMenu.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/NotificationsMenu.ts#L18) #### Parameters @@ -32,7 +32,7 @@ Defined in: [src/parser/youtube/NotificationsMenu.ts:18](https://github.com/Luan > **contents**: [`Notification`](../../YTNodes/classes/Notification.md)[] -Defined in: [src/parser/youtube/NotificationsMenu.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/NotificationsMenu.ts#L16) +Defined in: [src/parser/youtube/NotificationsMenu.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/NotificationsMenu.ts#L16) *** @@ -40,7 +40,7 @@ Defined in: [src/parser/youtube/NotificationsMenu.ts:16](https://github.com/Luan > **header**: [`SimpleMenuHeader`](../../YTNodes/classes/SimpleMenuHeader.md) -Defined in: [src/parser/youtube/NotificationsMenu.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/NotificationsMenu.ts#L15) +Defined in: [src/parser/youtube/NotificationsMenu.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/NotificationsMenu.ts#L15) ## Accessors @@ -50,7 +50,7 @@ Defined in: [src/parser/youtube/NotificationsMenu.ts:15](https://github.com/Luan > **get** **page**(): [`IGetNotificationsMenuResponse`](../../../../type-aliases/IGetNotificationsMenuResponse.md) -Defined in: [src/parser/youtube/NotificationsMenu.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/NotificationsMenu.ts#L40) +Defined in: [src/parser/youtube/NotificationsMenu.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/NotificationsMenu.ts#L40) ##### Returns @@ -62,7 +62,7 @@ Defined in: [src/parser/youtube/NotificationsMenu.ts:40](https://github.com/Luan > **getContinuation**(): `Promise`\<`NotificationsMenu`\> -Defined in: [src/parser/youtube/NotificationsMenu.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/NotificationsMenu.ts#L29) +Defined in: [src/parser/youtube/NotificationsMenu.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/NotificationsMenu.ts#L29) #### Returns diff --git a/docs/api/youtubei.js/namespaces/YT/classes/Playlist.md b/docs/api/youtubei.js/namespaces/YT/classes/Playlist.md index 7ccf57d7..b9bed5c3 100644 --- a/docs/api/youtubei.js/namespaces/YT/classes/Playlist.md +++ b/docs/api/youtubei.js/namespaces/YT/classes/Playlist.md @@ -2,7 +2,7 @@ # Class: Playlist -Defined in: [src/parser/youtube/Playlist.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Playlist.ts#L26) +Defined in: [src/parser/youtube/Playlist.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Playlist.ts#L26) ## Extends @@ -12,9 +12,9 @@ Defined in: [src/parser/youtube/Playlist.ts:26](https://github.com/LuanRT/YouTub ### Constructor -> **new Playlist**(`actions`, `data`, `already_parsed`): `Playlist` +> **new Playlist**(`actions`, `data`, `already_parsed?`): `Playlist` -Defined in: [src/parser/youtube/Playlist.ts:32](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Playlist.ts#L32) +Defined in: [src/parser/youtube/Playlist.ts:32](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Playlist.ts#L32) #### Parameters @@ -26,7 +26,7 @@ Defined in: [src/parser/youtube/Playlist.ts:32](https://github.com/LuanRT/YouTub [`ApiResponse`](../../../../interfaces/ApiResponse.md) | [`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) -##### already\_parsed +##### already\_parsed? `boolean` = `false` @@ -44,7 +44,7 @@ Defined in: [src/parser/youtube/Playlist.ts:32](https://github.com/LuanRT/YouTub > `optional` **endpoint**: [`NavigationEndpoint`](../../YTNodes/classes/NavigationEndpoint.md) -Defined in: [src/parser/youtube/Playlist.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Playlist.ts#L29) +Defined in: [src/parser/youtube/Playlist.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Playlist.ts#L29) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/youtube/Playlist.ts:29](https://github.com/LuanRT/YouTub > **info**: `object` -Defined in: [src/parser/youtube/Playlist.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Playlist.ts#L27) +Defined in: [src/parser/youtube/Playlist.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Playlist.ts#L27) #### author @@ -116,7 +116,7 @@ Defined in: [src/parser/youtube/Playlist.ts:27](https://github.com/LuanRT/YouTub > **menu**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/youtube/Playlist.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Playlist.ts#L28) +Defined in: [src/parser/youtube/Playlist.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Playlist.ts#L28) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/youtube/Playlist.ts:28](https://github.com/LuanRT/YouTub > **messages**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Message`](../../YTNodes/classes/Message.md)\> -Defined in: [src/parser/youtube/Playlist.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Playlist.ts#L30) +Defined in: [src/parser/youtube/Playlist.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Playlist.ts#L30) ## Accessors @@ -134,7 +134,7 @@ Defined in: [src/parser/youtube/Playlist.ts:30](https://github.com/LuanRT/YouTub > **get** **actions**(): [`Actions`](../../../../classes/Actions.md) -Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L181) +Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L181) ##### Returns @@ -152,7 +152,7 @@ Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/b > **get** **channels**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Channel`](../../YTNodes/classes/Channel.md) \| [`GridChannel`](../../YTNodes/classes/GridChannel.md)\> -Defined in: [src/core/mixins/Feed.ts:126](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L126) +Defined in: [src/core/mixins/Feed.ts:127](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L127) Get all the channels in the feed @@ -172,7 +172,7 @@ Get all the channels in the feed > **get** **has\_continuation**(): `boolean` -Defined in: [src/parser/youtube/Playlist.ts:73](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Playlist.ts#L73) +Defined in: [src/parser/youtube/Playlist.ts:73](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Playlist.ts#L73) Checks if the feed has continuation. @@ -192,7 +192,7 @@ Checks if the feed has continuation. > **get** **items**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md)\> -Defined in: [src/parser/youtube/Playlist.ts:69](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Playlist.ts#L69) +Defined in: [src/parser/youtube/Playlist.ts:69](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Playlist.ts#L69) ##### Returns @@ -206,7 +206,7 @@ Defined in: [src/parser/youtube/Playlist.ts:69](https://github.com/LuanRT/YouTub > **get** **memo**(): [`Memo`](../../Helpers/classes/Memo.md) -Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L137) +Defined in: [src/core/mixins/Feed.ts:138](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L138) ##### Returns @@ -224,7 +224,7 @@ Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/b > **get** **page**(): `T` -Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L188) +Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L188) Get the original page data @@ -244,7 +244,7 @@ Get the original page data > **get** **page\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`MusicQueue`](../../YTNodes/classes/MusicQueue.md) \| [`RichGrid`](../../YTNodes/classes/RichGrid.md) \| [`ReloadContinuationItemsCommand`](../../../../classes/ReloadContinuationItemsCommand.md) -Defined in: [src/core/mixins/Feed.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L144) +Defined in: [src/core/mixins/Feed.ts:145](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L145) Returns contents from the page. @@ -264,7 +264,7 @@ Returns contents from the page. > **get** **playlists**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:133](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L133) +Defined in: [src/core/mixins/Feed.ts:134](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L134) Get all playlists in the feed @@ -284,7 +284,7 @@ Get all playlists in the feed > **get** **posts**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`BackstagePost`](../../YTNodes/classes/BackstagePost.md) \| [`Post`](../../YTNodes/classes/Post.md) \| [`SharedPost`](../../YTNodes/classes/SharedPost.md)\> -Defined in: [src/core/mixins/Feed.ts:119](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L119) +Defined in: [src/core/mixins/Feed.ts:120](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L120) Get all the community posts in the feed @@ -304,7 +304,7 @@ Get all the community posts in the feed > **get** **secondary\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`BrowseFeedActions`](../../YTNodes/classes/BrowseFeedActions.md) \| [`ProfileColumn`](../../YTNodes/classes/ProfileColumn.md) \| [`SecondarySearchContainer`](../../YTNodes/classes/SecondarySearchContainer.md) \| `null` -Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L169) +Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L169) Returns secondary contents from the page. @@ -324,7 +324,7 @@ Returns secondary contents from the page. > **get** **shelves**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md)\> -Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L155) +Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L155) Returns all segments/sections from the page. @@ -342,15 +342,15 @@ Returns all segments/sections from the page. #### Get Signature -> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:112](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L112) +Defined in: [src/core/mixins/Feed.ts:113](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L113) Get all the videos in the feed ##### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from @@ -362,7 +362,7 @@ Get all the videos in the feed > **getContinuation**(): `Promise`\<`Playlist`\> -Defined in: [src/parser/youtube/Playlist.ts:101](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Playlist.ts#L101) +Defined in: [src/parser/youtube/Playlist.ts:101](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Playlist.ts#L101) Retrieves next batch of contents and returns a new [Feed](../../Mixins/classes/Feed.md) object. @@ -380,7 +380,7 @@ Retrieves next batch of contents and returns a new [Feed](../../Mixins/classes/F > **getContinuationData**(): `Promise`\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) \| `undefined`\> -Defined in: [src/parser/youtube/Playlist.ts:82](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Playlist.ts#L82) +Defined in: [src/parser/youtube/Playlist.ts:82](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Playlist.ts#L82) Retrieves continuation data as it is. @@ -398,7 +398,7 @@ Retrieves continuation data as it is. > **getShelf**(`title`): [`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md) \| `undefined` -Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L162) +Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L162) Finds shelf by title. @@ -422,7 +422,7 @@ Finds shelf by title. > `static` **getPlaylistsFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:94](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L94) +Defined in: [src/core/mixins/Feed.ts:95](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L95) Get all playlists on a given page via memo @@ -444,9 +444,9 @@ Get all playlists on a given page via memo ### getVideosFromMemo() -> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L78) +Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L78) Get all videos on a given page via memo @@ -458,7 +458,7 @@ Get all videos on a given page via memo #### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from diff --git a/docs/api/youtubei.js/namespaces/YT/classes/Search.md b/docs/api/youtubei.js/namespaces/YT/classes/Search.md index 62664cee..867deff6 100644 --- a/docs/api/youtubei.js/namespaces/YT/classes/Search.md +++ b/docs/api/youtubei.js/namespaces/YT/classes/Search.md @@ -2,7 +2,7 @@ # Class: Search -Defined in: [src/parser/youtube/Search.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Search.ts#L19) +Defined in: [src/parser/youtube/Search.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Search.ts#L19) ## Extends @@ -12,9 +12,9 @@ Defined in: [src/parser/youtube/Search.ts:19](https://github.com/LuanRT/YouTube. ### Constructor -> **new Search**(`actions`, `data`, `already_parsed`): `Search` +> **new Search**(`actions`, `data`, `already_parsed?`): `Search` -Defined in: [src/parser/youtube/Search.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Search.ts#L28) +Defined in: [src/parser/youtube/Search.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Search.ts#L28) #### Parameters @@ -26,7 +26,7 @@ Defined in: [src/parser/youtube/Search.ts:28](https://github.com/LuanRT/YouTube. [`ApiResponse`](../../../../interfaces/ApiResponse.md) | [`ISearchResponse`](../../../../type-aliases/ISearchResponse.md) -##### already\_parsed +##### already\_parsed? `boolean` = `false` @@ -44,7 +44,7 @@ Defined in: [src/parser/youtube/Search.ts:28](https://github.com/LuanRT/YouTube. > **estimated\_results**: `number` -Defined in: [src/parser/youtube/Search.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Search.ts#L23) +Defined in: [src/parser/youtube/Search.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Search.ts#L23) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/youtube/Search.ts:23](https://github.com/LuanRT/YouTube. > `optional` **header**: [`SearchHeader`](../../YTNodes/classes/SearchHeader.md) -Defined in: [src/parser/youtube/Search.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Search.ts#L20) +Defined in: [src/parser/youtube/Search.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Search.ts#L20) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/youtube/Search.ts:20](https://github.com/LuanRT/YouTube. > `optional` **refinement\_cards**: [`HorizontalCardList`](../../YTNodes/classes/HorizontalCardList.md) \| `null` -Defined in: [src/parser/youtube/Search.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Search.ts#L26) +Defined in: [src/parser/youtube/Search.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Search.ts#L26) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/youtube/Search.ts:26](https://github.com/LuanRT/YouTube. > **refinements**: `string`[] -Defined in: [src/parser/youtube/Search.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Search.ts#L22) +Defined in: [src/parser/youtube/Search.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Search.ts#L22) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/youtube/Search.ts:22](https://github.com/LuanRT/YouTube. > **results**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/youtube/Search.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Search.ts#L21) +Defined in: [src/parser/youtube/Search.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Search.ts#L21) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/youtube/Search.ts:21](https://github.com/LuanRT/YouTube. > `optional` **sub\_menu**: [`SearchSubMenu`](../../YTNodes/classes/SearchSubMenu.md) -Defined in: [src/parser/youtube/Search.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Search.ts#L24) +Defined in: [src/parser/youtube/Search.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Search.ts#L24) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/youtube/Search.ts:24](https://github.com/LuanRT/YouTube. > `optional` **watch\_card**: [`UniversalWatchCard`](../../YTNodes/classes/UniversalWatchCard.md) -Defined in: [src/parser/youtube/Search.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Search.ts#L25) +Defined in: [src/parser/youtube/Search.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Search.ts#L25) ## Accessors @@ -102,7 +102,7 @@ Defined in: [src/parser/youtube/Search.ts:25](https://github.com/LuanRT/YouTube. > **get** **actions**(): [`Actions`](../../../../classes/Actions.md) -Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L181) +Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L181) ##### Returns @@ -120,7 +120,7 @@ Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/b > **get** **channels**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Channel`](../../YTNodes/classes/Channel.md) \| [`GridChannel`](../../YTNodes/classes/GridChannel.md)\> -Defined in: [src/core/mixins/Feed.ts:126](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L126) +Defined in: [src/core/mixins/Feed.ts:127](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L127) Get all the channels in the feed @@ -140,7 +140,7 @@ Get all the channels in the feed > **get** **has\_continuation**(): `boolean` -Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L195) +Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L195) Checks if the feed has continuation. @@ -160,7 +160,7 @@ Checks if the feed has continuation. > **get** **memo**(): [`Memo`](../../Helpers/classes/Memo.md) -Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L137) +Defined in: [src/core/mixins/Feed.ts:138](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L138) ##### Returns @@ -178,7 +178,7 @@ Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/b > **get** **page**(): `T` -Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L188) +Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L188) Get the original page data @@ -198,7 +198,7 @@ Get the original page data > **get** **page\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`MusicQueue`](../../YTNodes/classes/MusicQueue.md) \| [`RichGrid`](../../YTNodes/classes/RichGrid.md) \| [`ReloadContinuationItemsCommand`](../../../../classes/ReloadContinuationItemsCommand.md) -Defined in: [src/core/mixins/Feed.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L144) +Defined in: [src/core/mixins/Feed.ts:145](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L145) Returns contents from the page. @@ -218,7 +218,7 @@ Returns contents from the page. > **get** **playlists**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:133](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L133) +Defined in: [src/core/mixins/Feed.ts:134](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L134) Get all playlists in the feed @@ -238,7 +238,7 @@ Get all playlists in the feed > **get** **posts**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`BackstagePost`](../../YTNodes/classes/BackstagePost.md) \| [`Post`](../../YTNodes/classes/Post.md) \| [`SharedPost`](../../YTNodes/classes/SharedPost.md)\> -Defined in: [src/core/mixins/Feed.ts:119](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L119) +Defined in: [src/core/mixins/Feed.ts:120](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L120) Get all the community posts in the feed @@ -258,7 +258,7 @@ Get all the community posts in the feed > **get** **refinement\_card\_queries**(): `string`[] -Defined in: [src/parser/youtube/Search.ts:81](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Search.ts#L81) +Defined in: [src/parser/youtube/Search.ts:81](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Search.ts#L81) Returns a list of refinement card queries. @@ -274,7 +274,7 @@ Returns a list of refinement card queries. > **get** **secondary\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`BrowseFeedActions`](../../YTNodes/classes/BrowseFeedActions.md) \| [`ProfileColumn`](../../YTNodes/classes/ProfileColumn.md) \| [`SecondarySearchContainer`](../../YTNodes/classes/SecondarySearchContainer.md) \| `null` -Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L169) +Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L169) Returns secondary contents from the page. @@ -294,7 +294,7 @@ Returns secondary contents from the page. > **get** **shelves**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md)\> -Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L155) +Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L155) Returns all segments/sections from the page. @@ -312,15 +312,15 @@ Returns all segments/sections from the page. #### Get Signature -> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:112](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L112) +Defined in: [src/core/mixins/Feed.ts:113](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L113) Get all the videos in the feed ##### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from @@ -332,7 +332,7 @@ Get all the videos in the feed > **getContinuation**(): `Promise`\<`Search`\> -Defined in: [src/parser/youtube/Search.ts:88](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Search.ts#L88) +Defined in: [src/parser/youtube/Search.ts:88](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Search.ts#L88) Retrieves next batch of search results. @@ -350,7 +350,7 @@ Retrieves next batch of search results. > **getContinuationData**(): `Promise`\<[`ISearchResponse`](../../../../type-aliases/ISearchResponse.md) \| `undefined`\> -Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L202) +Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L202) Retrieves continuation data as it is. @@ -368,7 +368,7 @@ Retrieves continuation data as it is. > **getShelf**(`title`): [`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md) \| `undefined` -Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L162) +Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L162) Finds shelf by title. @@ -392,7 +392,7 @@ Finds shelf by title. > **selectRefinementCard**(`card`): `Promise`\<`Search`\> -Defined in: [src/parser/youtube/Search.ts:57](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Search.ts#L57) +Defined in: [src/parser/youtube/Search.ts:57](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Search.ts#L57) Applies given refinement card and returns a new Search object. Use [refinement\_card\_queries](#refinement_card_queries) to get a list of available refinement cards. @@ -412,7 +412,7 @@ Applies given refinement card and returns a new Search object. Use [refinement\_ > `static` **getPlaylistsFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:94](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L94) +Defined in: [src/core/mixins/Feed.ts:95](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L95) Get all playlists on a given page via memo @@ -434,9 +434,9 @@ Get all playlists on a given page via memo ### getVideosFromMemo() -> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L78) +Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L78) Get all videos on a given page via memo @@ -448,7 +448,7 @@ Get all videos on a given page via memo #### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from diff --git a/docs/api/youtubei.js/namespaces/YT/classes/Settings.md b/docs/api/youtubei.js/namespaces/YT/classes/Settings.md index 42b53612..7f3cd2df 100644 --- a/docs/api/youtubei.js/namespaces/YT/classes/Settings.md +++ b/docs/api/youtubei.js/namespaces/YT/classes/Settings.md @@ -2,7 +2,7 @@ # Class: Settings -Defined in: [src/parser/youtube/Settings.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Settings.ts#L19) +Defined in: [src/parser/youtube/Settings.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Settings.ts#L19) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/parser/youtube/Settings.ts:19](https://github.com/LuanRT/YouTub > **new Settings**(`actions`, `response`): `Settings` -Defined in: [src/parser/youtube/Settings.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Settings.ts#L27) +Defined in: [src/parser/youtube/Settings.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Settings.ts#L27) #### Parameters @@ -32,7 +32,7 @@ Defined in: [src/parser/youtube/Settings.ts:27](https://github.com/LuanRT/YouTub > `optional` **introduction**: [`PageIntroduction`](../../YTNodes/classes/PageIntroduction.md) -Defined in: [src/parser/youtube/Settings.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Settings.ts#L24) +Defined in: [src/parser/youtube/Settings.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Settings.ts#L24) *** @@ -40,7 +40,7 @@ Defined in: [src/parser/youtube/Settings.ts:24](https://github.com/LuanRT/YouTub > **sections**: `object`[] \| `undefined` -Defined in: [src/parser/youtube/Settings.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Settings.ts#L25) +Defined in: [src/parser/youtube/Settings.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Settings.ts#L25) *** @@ -48,7 +48,7 @@ Defined in: [src/parser/youtube/Settings.ts:25](https://github.com/LuanRT/YouTub > `optional` **sidebar**: [`SettingsSidebar`](../../YTNodes/classes/SettingsSidebar.md) -Defined in: [src/parser/youtube/Settings.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Settings.ts#L23) +Defined in: [src/parser/youtube/Settings.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Settings.ts#L23) ## Accessors @@ -58,7 +58,7 @@ Defined in: [src/parser/youtube/Settings.ts:23](https://github.com/LuanRT/YouTub > **get** **page**(): [`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) -Defined in: [src/parser/youtube/Settings.ts:131](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Settings.ts#L131) +Defined in: [src/parser/youtube/Settings.ts:131](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Settings.ts#L131) ##### Returns @@ -72,7 +72,7 @@ Defined in: [src/parser/youtube/Settings.ts:131](https://github.com/LuanRT/YouTu > **get** **setting\_options**(): `string`[] -Defined in: [src/parser/youtube/Settings.ts:104](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Settings.ts#L104) +Defined in: [src/parser/youtube/Settings.ts:104](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Settings.ts#L104) Returns settings available in the page. @@ -88,7 +88,7 @@ Returns settings available in the page. > **get** **sidebar\_items**(): `string`[] -Defined in: [src/parser/youtube/Settings.ts:124](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Settings.ts#L124) +Defined in: [src/parser/youtube/Settings.ts:124](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Settings.ts#L124) Returns options available in the sidebar. @@ -102,7 +102,7 @@ Returns options available in the sidebar. > **getSettingOption**(`name`): [`SettingsSwitch`](../../YTNodes/classes/SettingsSwitch.md) -Defined in: [src/parser/youtube/Settings.ts:78](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Settings.ts#L78) +Defined in: [src/parser/youtube/Settings.ts:78](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Settings.ts#L78) Finds a setting by name and returns it. Use [setting\_options](#setting_options) to see available options. @@ -122,7 +122,7 @@ Finds a setting by name and returns it. Use [setting\_options](#setting_options) > **selectSidebarItem**(`target_item`): `Promise`\<`Settings`\> -Defined in: [src/parser/youtube/Settings.ts:54](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/Settings.ts#L54) +Defined in: [src/parser/youtube/Settings.ts:54](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/Settings.ts#L54) Selects an item from the sidebar menu. Use [sidebar\_items](#sidebar_items) to see available items. diff --git a/docs/api/youtubei.js/namespaces/YT/classes/SmoothedQueue.md b/docs/api/youtubei.js/namespaces/YT/classes/SmoothedQueue.md index 995d8d00..3ae77cb4 100644 --- a/docs/api/youtubei.js/namespaces/YT/classes/SmoothedQueue.md +++ b/docs/api/youtubei.js/namespaces/YT/classes/SmoothedQueue.md @@ -2,7 +2,7 @@ # Class: SmoothedQueue -Defined in: [src/parser/youtube/SmoothedQueue.ts:46](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/SmoothedQueue.ts#L46) +Defined in: [src/parser/youtube/SmoothedQueue.ts:46](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/SmoothedQueue.ts#L46) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/parser/youtube/SmoothedQueue.ts:46](https://github.com/LuanRT/Y > **new SmoothedQueue**(): `SmoothedQueue` -Defined in: [src/parser/youtube/SmoothedQueue.ts:55](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/SmoothedQueue.ts#L55) +Defined in: [src/parser/youtube/SmoothedQueue.ts:55](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/SmoothedQueue.ts#L55) #### Returns @@ -24,7 +24,7 @@ Defined in: [src/parser/youtube/SmoothedQueue.ts:55](https://github.com/LuanRT/Y > **get** **action\_queue**(): [`YTNode`](../../Helpers/classes/YTNode.md)[][] -Defined in: [src/parser/youtube/SmoothedQueue.ts:141](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/SmoothedQueue.ts#L141) +Defined in: [src/parser/youtube/SmoothedQueue.ts:141](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/SmoothedQueue.ts#L141) ##### Returns @@ -38,7 +38,7 @@ Defined in: [src/parser/youtube/SmoothedQueue.ts:141](https://github.com/LuanRT/ > **get** **callback**(): (`actions`) => `void` \| `null` -Defined in: [src/parser/youtube/SmoothedQueue.ts:137](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/SmoothedQueue.ts#L137) +Defined in: [src/parser/youtube/SmoothedQueue.ts:137](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/SmoothedQueue.ts#L137) ##### Returns @@ -48,7 +48,7 @@ Defined in: [src/parser/youtube/SmoothedQueue.ts:137](https://github.com/LuanRT/ > **set** **callback**(`cb`): `void` -Defined in: [src/parser/youtube/SmoothedQueue.ts:133](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/SmoothedQueue.ts#L133) +Defined in: [src/parser/youtube/SmoothedQueue.ts:133](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/SmoothedQueue.ts#L133) ##### Parameters @@ -68,7 +68,7 @@ Defined in: [src/parser/youtube/SmoothedQueue.ts:133](https://github.com/LuanRT/ > **get** **estimated\_update\_interval**(): `number` \| `null` -Defined in: [src/parser/youtube/SmoothedQueue.ts:145](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/SmoothedQueue.ts#L145) +Defined in: [src/parser/youtube/SmoothedQueue.ts:145](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/SmoothedQueue.ts#L145) ##### Returns @@ -82,7 +82,7 @@ Defined in: [src/parser/youtube/SmoothedQueue.ts:145](https://github.com/LuanRT/ > **get** **last\_update\_time**(): `number` \| `null` -Defined in: [src/parser/youtube/SmoothedQueue.ts:149](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/SmoothedQueue.ts#L149) +Defined in: [src/parser/youtube/SmoothedQueue.ts:149](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/SmoothedQueue.ts#L149) ##### Returns @@ -96,7 +96,7 @@ Defined in: [src/parser/youtube/SmoothedQueue.ts:149](https://github.com/LuanRT/ > **get** **next\_update\_id**(): `any` -Defined in: [src/parser/youtube/SmoothedQueue.ts:153](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/SmoothedQueue.ts#L153) +Defined in: [src/parser/youtube/SmoothedQueue.ts:153](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/SmoothedQueue.ts#L153) ##### Returns @@ -110,7 +110,7 @@ Defined in: [src/parser/youtube/SmoothedQueue.ts:153](https://github.com/LuanRT/ > **get** **poll\_response\_delay\_queue**(): `DelayQueue` -Defined in: [src/parser/youtube/SmoothedQueue.ts:157](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/SmoothedQueue.ts#L157) +Defined in: [src/parser/youtube/SmoothedQueue.ts:157](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/SmoothedQueue.ts#L157) ##### Returns @@ -122,7 +122,7 @@ Defined in: [src/parser/youtube/SmoothedQueue.ts:157](https://github.com/LuanRT/ > **clear**(): `void` -Defined in: [src/parser/youtube/SmoothedQueue.ts:125](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/SmoothedQueue.ts#L125) +Defined in: [src/parser/youtube/SmoothedQueue.ts:125](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/SmoothedQueue.ts#L125) #### Returns @@ -134,7 +134,7 @@ Defined in: [src/parser/youtube/SmoothedQueue.ts:125](https://github.com/LuanRT/ > **emitSmoothedActions**(): `void` -Defined in: [src/parser/youtube/SmoothedQueue.ts:92](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/SmoothedQueue.ts#L92) +Defined in: [src/parser/youtube/SmoothedQueue.ts:92](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/SmoothedQueue.ts#L92) #### Returns @@ -146,7 +146,7 @@ Defined in: [src/parser/youtube/SmoothedQueue.ts:92](https://github.com/LuanRT/Y > **enqueueActionGroup**(`group`): `void` -Defined in: [src/parser/youtube/SmoothedQueue.ts:64](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/SmoothedQueue.ts#L64) +Defined in: [src/parser/youtube/SmoothedQueue.ts:64](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/SmoothedQueue.ts#L64) #### Parameters diff --git a/docs/api/youtubei.js/namespaces/YT/classes/TranscriptInfo.md b/docs/api/youtubei.js/namespaces/YT/classes/TranscriptInfo.md index c211cc50..edb2a154 100644 --- a/docs/api/youtubei.js/namespaces/YT/classes/TranscriptInfo.md +++ b/docs/api/youtubei.js/namespaces/YT/classes/TranscriptInfo.md @@ -2,7 +2,7 @@ # Class: TranscriptInfo -Defined in: [src/parser/youtube/TranscriptInfo.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/TranscriptInfo.ts#L7) +Defined in: [src/parser/youtube/TranscriptInfo.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/TranscriptInfo.ts#L7) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/parser/youtube/TranscriptInfo.ts:7](https://github.com/LuanRT/Y > **new TranscriptInfo**(`actions`, `response`): `TranscriptInfo` -Defined in: [src/parser/youtube/TranscriptInfo.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/TranscriptInfo.ts#L12) +Defined in: [src/parser/youtube/TranscriptInfo.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/TranscriptInfo.ts#L12) #### Parameters @@ -32,7 +32,7 @@ Defined in: [src/parser/youtube/TranscriptInfo.ts:12](https://github.com/LuanRT/ > **transcript**: [`Transcript`](../../YTNodes/classes/Transcript.md) -Defined in: [src/parser/youtube/TranscriptInfo.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/TranscriptInfo.ts#L10) +Defined in: [src/parser/youtube/TranscriptInfo.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/TranscriptInfo.ts#L10) ## Accessors @@ -42,7 +42,7 @@ Defined in: [src/parser/youtube/TranscriptInfo.ts:10](https://github.com/LuanRT/ > **get** **languages**(): `string`[] -Defined in: [src/parser/youtube/TranscriptInfo.ts:45](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/TranscriptInfo.ts#L45) +Defined in: [src/parser/youtube/TranscriptInfo.ts:45](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/TranscriptInfo.ts#L45) Returns available languages. @@ -58,7 +58,7 @@ Returns available languages. > **get** **page**(): [`IGetTranscriptResponse`](../../../../type-aliases/IGetTranscriptResponse.md) -Defined in: [src/parser/youtube/TranscriptInfo.ts:56](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/TranscriptInfo.ts#L56) +Defined in: [src/parser/youtube/TranscriptInfo.ts:56](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/TranscriptInfo.ts#L56) ##### Returns @@ -72,7 +72,7 @@ Defined in: [src/parser/youtube/TranscriptInfo.ts:56](https://github.com/LuanRT/ > **get** **selectedLanguage**(): `string` -Defined in: [src/parser/youtube/TranscriptInfo.ts:52](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/TranscriptInfo.ts#L52) +Defined in: [src/parser/youtube/TranscriptInfo.ts:52](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/TranscriptInfo.ts#L52) Returns the currently selected language. @@ -86,7 +86,7 @@ Returns the currently selected language. > **selectLanguage**(`language`): `Promise`\<`TranscriptInfo`\> -Defined in: [src/parser/youtube/TranscriptInfo.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/TranscriptInfo.ts#L26) +Defined in: [src/parser/youtube/TranscriptInfo.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/TranscriptInfo.ts#L26) Selects a language from the language menu and returns the updated transcript. diff --git a/docs/api/youtubei.js/namespaces/YT/classes/VideoInfo.md b/docs/api/youtubei.js/namespaces/YT/classes/VideoInfo.md index dab9d75a..9d5b705e 100644 --- a/docs/api/youtubei.js/namespaces/YT/classes/VideoInfo.md +++ b/docs/api/youtubei.js/namespaces/YT/classes/VideoInfo.md @@ -2,7 +2,7 @@ # Class: VideoInfo -Defined in: [src/parser/youtube/VideoInfo.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L38) +Defined in: [src/parser/youtube/VideoInfo.ts:38](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L38) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/youtube/VideoInfo.ts:38](https://github.com/LuanRT/YouTu > **new VideoInfo**(`data`, `actions`, `cpn`): `VideoInfo` -Defined in: [src/parser/youtube/VideoInfo.ts:54](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L54) +Defined in: [src/parser/youtube/VideoInfo.ts:54](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L54) #### Parameters @@ -44,7 +44,7 @@ Defined in: [src/parser/youtube/VideoInfo.ts:54](https://github.com/LuanRT/YouTu > `optional` **annotations**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`PlayerAnnotationsExpanded`](../../YTNodes/classes/PlayerAnnotationsExpanded.md)\> -Defined in: [src/core/mixins/MediaInfo.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L40) +Defined in: [src/core/mixins/MediaInfo.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L40) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:40](https://github.com/LuanRT/YouTube. > `optional` **autoplay**: `object` -Defined in: [src/parser/youtube/VideoInfo.ts:49](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L49) +Defined in: [src/parser/youtube/VideoInfo.ts:49](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L49) #### count\_down\_secs? @@ -76,7 +76,7 @@ Defined in: [src/parser/youtube/VideoInfo.ts:49](https://github.com/LuanRT/YouTu > **basic\_info**: `object` -Defined in: [src/core/mixins/MediaInfo.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L39) +Defined in: [src/core/mixins/MediaInfo.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L39) #### allow\_ratings? @@ -220,7 +220,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:39](https://github.com/LuanRT/YouTube. > `optional` **captions**: [`PlayerCaptionsTracklist`](../../YTNodes/classes/PlayerCaptionsTracklist.md) -Defined in: [src/core/mixins/MediaInfo.ts:43](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L43) +Defined in: [src/core/mixins/MediaInfo.ts:43](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L43) #### Inherited from @@ -232,7 +232,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:43](https://github.com/LuanRT/YouTube. > `optional` **cards**: [`CardCollection`](../../YTNodes/classes/CardCollection.md) -Defined in: [src/core/mixins/MediaInfo.ts:44](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L44) +Defined in: [src/core/mixins/MediaInfo.ts:44](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L44) #### Inherited from @@ -244,7 +244,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:44](https://github.com/LuanRT/YouTube. > `optional` **comments\_entry\_point\_header**: [`CommentsEntryPointHeader`](../../YTNodes/classes/CommentsEntryPointHeader.md) \| `null` -Defined in: [src/parser/youtube/VideoInfo.ts:47](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L47) +Defined in: [src/parser/youtube/VideoInfo.ts:47](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L47) *** @@ -252,7 +252,7 @@ Defined in: [src/parser/youtube/VideoInfo.ts:47](https://github.com/LuanRT/YouTu > `optional` **endscreen**: [`Endscreen`](../../YTNodes/classes/Endscreen.md) -Defined in: [src/core/mixins/MediaInfo.ts:42](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L42) +Defined in: [src/core/mixins/MediaInfo.ts:42](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L42) #### Inherited from @@ -264,7 +264,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:42](https://github.com/LuanRT/YouTube. > `optional` **game\_info**: `object` -Defined in: [src/parser/youtube/VideoInfo.ts:42](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L42) +Defined in: [src/parser/youtube/VideoInfo.ts:42](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L42) #### release\_year @@ -280,7 +280,7 @@ Defined in: [src/parser/youtube/VideoInfo.ts:42](https://github.com/LuanRT/YouTu > `optional` **heat\_map**: [`Heatmap`](../../YTNodes/classes/Heatmap.md) \| `null` -Defined in: [src/parser/youtube/VideoInfo.ts:50](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L50) +Defined in: [src/parser/youtube/VideoInfo.ts:50](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L50) *** @@ -288,7 +288,7 @@ Defined in: [src/parser/youtube/VideoInfo.ts:50](https://github.com/LuanRT/YouTu > `optional` **livechat**: [`LiveChat`](../../YTNodes/classes/LiveChat.md) \| `null` -Defined in: [src/parser/youtube/VideoInfo.ts:48](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L48) +Defined in: [src/parser/youtube/VideoInfo.ts:48](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L48) *** @@ -296,7 +296,7 @@ Defined in: [src/parser/youtube/VideoInfo.ts:48](https://github.com/LuanRT/YouTu > `optional` **merchandise**: [`MerchandiseShelf`](../../YTNodes/classes/MerchandiseShelf.md) \| `null` -Defined in: [src/parser/youtube/VideoInfo.ts:43](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L43) +Defined in: [src/parser/youtube/VideoInfo.ts:43](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L43) *** @@ -304,7 +304,7 @@ Defined in: [src/parser/youtube/VideoInfo.ts:43](https://github.com/LuanRT/YouTu > `optional` **playability\_status**: [`IPlayabilityStatus`](../../../../interfaces/IPlayabilityStatus.md) -Defined in: [src/core/mixins/MediaInfo.ts:46](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L46) +Defined in: [src/core/mixins/MediaInfo.ts:46](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L46) #### Inherited from @@ -316,7 +316,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:46](https://github.com/LuanRT/YouTube. > `optional` **player\_config**: [`IPlayerConfig`](../../../../interfaces/IPlayerConfig.md) -Defined in: [src/core/mixins/MediaInfo.ts:47](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L47) +Defined in: [src/core/mixins/MediaInfo.ts:47](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L47) #### Inherited from @@ -328,7 +328,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:47](https://github.com/LuanRT/YouTube. > `optional` **player\_overlays**: [`PlayerOverlay`](../../YTNodes/classes/PlayerOverlay.md) \| `null` -Defined in: [src/parser/youtube/VideoInfo.ts:46](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L46) +Defined in: [src/parser/youtube/VideoInfo.ts:46](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L46) *** @@ -336,7 +336,7 @@ Defined in: [src/parser/youtube/VideoInfo.ts:46](https://github.com/LuanRT/YouTu > `optional` **playlist**: `object` -Defined in: [src/parser/youtube/VideoInfo.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L41) +Defined in: [src/parser/youtube/VideoInfo.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L41) #### author @@ -372,7 +372,7 @@ Defined in: [src/parser/youtube/VideoInfo.ts:41](https://github.com/LuanRT/YouTu > `optional` **primary\_info**: [`VideoPrimaryInfo`](../../YTNodes/classes/VideoPrimaryInfo.md) \| `null` -Defined in: [src/parser/youtube/VideoInfo.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L39) +Defined in: [src/parser/youtube/VideoInfo.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L39) *** @@ -380,7 +380,7 @@ Defined in: [src/parser/youtube/VideoInfo.ts:39](https://github.com/LuanRT/YouTu > `optional` **related\_chip\_cloud**: [`ChipCloud`](../../YTNodes/classes/ChipCloud.md) \| `null` -Defined in: [src/parser/youtube/VideoInfo.ts:44](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L44) +Defined in: [src/parser/youtube/VideoInfo.ts:44](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L44) *** @@ -388,7 +388,7 @@ Defined in: [src/parser/youtube/VideoInfo.ts:44](https://github.com/LuanRT/YouTu > `optional` **secondary\_info**: [`VideoSecondaryInfo`](../../YTNodes/classes/VideoSecondaryInfo.md) \| `null` -Defined in: [src/parser/youtube/VideoInfo.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L40) +Defined in: [src/parser/youtube/VideoInfo.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L40) *** @@ -396,7 +396,7 @@ Defined in: [src/parser/youtube/VideoInfo.ts:40](https://github.com/LuanRT/YouTu > `optional` **storyboards**: [`PlayerStoryboardSpec`](../../YTNodes/classes/PlayerStoryboardSpec.md) \| [`PlayerLiveStoryboardSpec`](../../YTNodes/classes/PlayerLiveStoryboardSpec.md) -Defined in: [src/core/mixins/MediaInfo.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L41) +Defined in: [src/core/mixins/MediaInfo.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L41) #### Inherited from @@ -408,7 +408,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:41](https://github.com/LuanRT/YouTube. > `optional` **streaming\_data**: [`IStreamingData`](../../../../interfaces/IStreamingData.md) -Defined in: [src/core/mixins/MediaInfo.ts:45](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L45) +Defined in: [src/core/mixins/MediaInfo.ts:45](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L45) #### Inherited from @@ -420,7 +420,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:45](https://github.com/LuanRT/YouTube. > `optional` **watch\_next\_feed**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> \| `null` -Defined in: [src/parser/youtube/VideoInfo.ts:45](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L45) +Defined in: [src/parser/youtube/VideoInfo.ts:45](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L45) ## Accessors @@ -430,7 +430,7 @@ Defined in: [src/parser/youtube/VideoInfo.ts:45](https://github.com/LuanRT/YouTu > **get** **actions**(): [`Actions`](../../../../classes/Actions.md) -Defined in: [src/core/mixins/MediaInfo.ts:247](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L247) +Defined in: [src/core/mixins/MediaInfo.ts:247](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L247) ##### Returns @@ -448,7 +448,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:247](https://github.com/LuanRT/YouTube > **get** **autoplay\_video\_endpoint**(): [`NavigationEndpoint`](../../YTNodes/classes/NavigationEndpoint.md) \| `null` -Defined in: [src/parser/youtube/VideoInfo.ts:410](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L410) +Defined in: [src/parser/youtube/VideoInfo.ts:410](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L410) Gets the endpoint of the autoplay video @@ -464,7 +464,7 @@ Gets the endpoint of the autoplay video > **get** **cpn**(): `string` -Defined in: [src/core/mixins/MediaInfo.ts:254](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L254) +Defined in: [src/core/mixins/MediaInfo.ts:254](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L254) Content Playback Nonce. @@ -484,7 +484,7 @@ Content Playback Nonce. > **get** **filters**(): `string`[] -Defined in: [src/parser/youtube/VideoInfo.ts:396](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L396) +Defined in: [src/parser/youtube/VideoInfo.ts:396](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L396) Watch next feed filters. @@ -500,7 +500,7 @@ Watch next feed filters. > **get** **has\_trailer**(): `boolean` -Defined in: [src/parser/youtube/VideoInfo.ts:417](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L417) +Defined in: [src/parser/youtube/VideoInfo.ts:417](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L417) Checks if trailer is available. @@ -516,7 +516,7 @@ Checks if trailer is available. > **get** **music\_tracks**(): `object`[] -Defined in: [src/parser/youtube/VideoInfo.ts:424](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L424) +Defined in: [src/parser/youtube/VideoInfo.ts:424](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L424) Get songs used in the video. @@ -532,7 +532,7 @@ Get songs used in the video. > **get** **page**(): \[[`IPlayerResponse`](../../../../type-aliases/IPlayerResponse.md), [`INextResponse`](../../../../type-aliases/INextResponse.md)?\] -Defined in: [src/core/mixins/MediaInfo.ts:261](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L261) +Defined in: [src/core/mixins/MediaInfo.ts:261](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L261) Parsed InnerTube response. @@ -552,7 +552,7 @@ Parsed InnerTube response. > **get** **wn\_has\_continuation**(): `boolean` -Defined in: [src/parser/youtube/VideoInfo.ts:403](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L403) +Defined in: [src/parser/youtube/VideoInfo.ts:403](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L403) Checks if continuation is available for the watch next feed. @@ -566,7 +566,7 @@ Checks if continuation is available for the watch next feed. > **addToWatchHistory**(): `Promise`\<`Response`\> -Defined in: [src/parser/youtube/VideoInfo.ts:195](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L195) +Defined in: [src/parser/youtube/VideoInfo.ts:195](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L195) Adds video to the watch history. @@ -584,7 +584,7 @@ Adds video to the watch history. > **chooseFormat**(`options`): [`Format`](../../Misc/classes/Format.md) -Defined in: [src/core/mixins/MediaInfo.ts:161](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L161) +Defined in: [src/core/mixins/MediaInfo.ts:161](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L161) Selects the format that best matches the given options. @@ -610,7 +610,7 @@ Options > **dislike**(): `Promise`\<[`ApiResponse`](../../../../interfaces/ApiResponse.md)\> -Defined in: [src/parser/youtube/VideoInfo.ts:272](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L272) +Defined in: [src/parser/youtube/VideoInfo.ts:272](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L272) Dislikes the video. @@ -622,15 +622,15 @@ Dislikes the video. ### download() -> **download**(`options`): `Promise`\<`ReadableStream`\<`Uint8Array`\>\> +> **download**(`options?`): `Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\> -Defined in: [src/core/mixins/MediaInfo.ts:169](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L169) +Defined in: [src/core/mixins/MediaInfo.ts:169](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L169) Downloads the video. #### Parameters -##### options +##### options? [`DownloadOptions`](../../Types/interfaces/DownloadOptions.md) = `{}` @@ -638,7 +638,7 @@ Download options. #### Returns -`Promise`\<`ReadableStream`\<`Uint8Array`\>\> +`Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\> #### Inherited from @@ -650,7 +650,7 @@ Download options. > **getLiveChat**(): [`LiveChat`](LiveChat.md) -Defined in: [src/parser/youtube/VideoInfo.ts:367](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L367) +Defined in: [src/parser/youtube/VideoInfo.ts:367](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L367) Retrieves Live Chat if available. @@ -664,7 +664,7 @@ Retrieves Live Chat if available. > **getStreamingInfo**(`url_transformer?`, `format_filter?`): `Promise`\<`StreamingInfo`\> -Defined in: [src/core/mixins/MediaInfo.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L144) +Defined in: [src/core/mixins/MediaInfo.ts:144](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L144) Get a cleaned up representation of the adaptive_formats @@ -692,7 +692,7 @@ Get a cleaned up representation of the adaptive_formats > **getTrailerInfo**(): `VideoInfo` \| `null` -Defined in: [src/parser/youtube/VideoInfo.ts:377](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L377) +Defined in: [src/parser/youtube/VideoInfo.ts:377](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L377) Retrieves trailer info if available (typically for non-purchased movies or films). @@ -708,7 +708,7 @@ Retrieves trailer info if available (typically for non-purchased movies or films > **getTranscript**(): `Promise`\<[`TranscriptInfo`](TranscriptInfo.md)\> -Defined in: [src/core/mixins/MediaInfo.ts:182](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L182) +Defined in: [src/core/mixins/MediaInfo.ts:182](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L182) Retrieves the video's transcript. @@ -726,7 +726,7 @@ Retrieves the video's transcript. > **getWatchNextContinuation**(): `Promise`\<`VideoInfo`\> -Defined in: [src/parser/youtube/VideoInfo.ts:209](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L209) +Defined in: [src/parser/youtube/VideoInfo.ts:209](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L209) Retrieves watch next feed continuation. @@ -740,7 +740,7 @@ Retrieves watch next feed continuation. > **like**(): `Promise`\<[`ApiResponse`](../../../../interfaces/ApiResponse.md)\> -Defined in: [src/parser/youtube/VideoInfo.ts:232](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L232) +Defined in: [src/parser/youtube/VideoInfo.ts:232](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L232) Likes the video. @@ -754,7 +754,7 @@ Likes the video. > **removeRating**(): `Promise`\<[`ApiResponse`](../../../../interfaces/ApiResponse.md)\> -Defined in: [src/parser/youtube/VideoInfo.ts:312](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L312) +Defined in: [src/parser/youtube/VideoInfo.ts:312](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L312) Removes like/dislike. @@ -768,7 +768,7 @@ Removes like/dislike. > **selectFilter**(`target_filter`): `Promise`\<`VideoInfo`\> -Defined in: [src/parser/youtube/VideoInfo.ts:161](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L161) +Defined in: [src/parser/youtube/VideoInfo.ts:161](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L161) Applies given filter to the watch next feed. Use [filters](#filters) to get available filters. @@ -788,15 +788,15 @@ Filter to apply. ### toDash() -> **toDash**(`options`): `Promise`\<`string`\> +> **toDash**(`options?`): `Promise`\<`string`\> -Defined in: [src/core/mixins/MediaInfo.ts:104](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L104) +Defined in: [src/core/mixins/MediaInfo.ts:104](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L104) Generates a DASH manifest from the streaming data. #### Parameters -##### options +##### options? ###### format_filter? @@ -826,7 +826,7 @@ DASH manifest > **updateWatchTime**(`startTime`): `Promise`\<`Response`\> -Defined in: [src/parser/youtube/VideoInfo.ts:202](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/youtube/VideoInfo.ts#L202) +Defined in: [src/parser/youtube/VideoInfo.ts:202](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/youtube/VideoInfo.ts#L202) Updates watch time for the video. diff --git a/docs/api/youtubei.js/namespaces/YTKids/classes/Channel.md b/docs/api/youtubei.js/namespaces/YTKids/classes/Channel.md index a28e1901..5b64abd4 100644 --- a/docs/api/youtubei.js/namespaces/YTKids/classes/Channel.md +++ b/docs/api/youtubei.js/namespaces/YTKids/classes/Channel.md @@ -2,7 +2,7 @@ # Class: Channel -Defined in: [src/parser/ytkids/Channel.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytkids/Channel.ts#L10) +Defined in: [src/parser/ytkids/Channel.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytkids/Channel.ts#L10) ## Extends @@ -12,9 +12,9 @@ Defined in: [src/parser/ytkids/Channel.ts:10](https://github.com/LuanRT/YouTube. ### Constructor -> **new Channel**(`actions`, `data`, `already_parsed`): `Channel` +> **new Channel**(`actions`, `data`, `already_parsed?`): `Channel` -Defined in: [src/parser/ytkids/Channel.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytkids/Channel.ts#L14) +Defined in: [src/parser/ytkids/Channel.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytkids/Channel.ts#L14) #### Parameters @@ -26,7 +26,7 @@ Defined in: [src/parser/ytkids/Channel.ts:14](https://github.com/LuanRT/YouTube. [`ApiResponse`](../../../../interfaces/ApiResponse.md) | [`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) -##### already\_parsed +##### already\_parsed? `boolean` = `false` @@ -44,7 +44,7 @@ Defined in: [src/parser/ytkids/Channel.ts:14](https://github.com/LuanRT/YouTube. > `optional` **contents**: [`ItemSection`](../../YTNodes/classes/ItemSection.md) \| [`ItemSectionContinuation`](../../../../classes/ItemSectionContinuation.md) -Defined in: [src/parser/ytkids/Channel.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytkids/Channel.ts#L12) +Defined in: [src/parser/ytkids/Channel.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytkids/Channel.ts#L12) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/ytkids/Channel.ts:12](https://github.com/LuanRT/YouTube. > `optional` **header**: [`C4TabbedHeader`](../../YTNodes/classes/C4TabbedHeader.md) -Defined in: [src/parser/ytkids/Channel.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytkids/Channel.ts#L11) +Defined in: [src/parser/ytkids/Channel.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytkids/Channel.ts#L11) ## Accessors @@ -62,7 +62,7 @@ Defined in: [src/parser/ytkids/Channel.ts:11](https://github.com/LuanRT/YouTube. > **get** **actions**(): [`Actions`](../../../../classes/Actions.md) -Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L181) +Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L181) ##### Returns @@ -80,7 +80,7 @@ Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/b > **get** **channels**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Channel`](../../YTNodes/classes/Channel.md) \| [`GridChannel`](../../YTNodes/classes/GridChannel.md)\> -Defined in: [src/core/mixins/Feed.ts:126](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L126) +Defined in: [src/core/mixins/Feed.ts:127](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L127) Get all the channels in the feed @@ -100,7 +100,7 @@ Get all the channels in the feed > **get** **has\_continuation**(): `boolean` -Defined in: [src/parser/ytkids/Channel.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytkids/Channel.ts#L39) +Defined in: [src/parser/ytkids/Channel.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytkids/Channel.ts#L39) Checks if the feed has continuation. @@ -120,7 +120,7 @@ Checks if the feed has continuation. > **get** **memo**(): [`Memo`](../../Helpers/classes/Memo.md) -Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L137) +Defined in: [src/core/mixins/Feed.ts:138](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L138) ##### Returns @@ -138,7 +138,7 @@ Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/b > **get** **page**(): `T` -Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L188) +Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L188) Get the original page data @@ -158,7 +158,7 @@ Get the original page data > **get** **page\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`MusicQueue`](../../YTNodes/classes/MusicQueue.md) \| [`RichGrid`](../../YTNodes/classes/RichGrid.md) \| [`ReloadContinuationItemsCommand`](../../../../classes/ReloadContinuationItemsCommand.md) -Defined in: [src/core/mixins/Feed.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L144) +Defined in: [src/core/mixins/Feed.ts:145](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L145) Returns contents from the page. @@ -178,7 +178,7 @@ Returns contents from the page. > **get** **playlists**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:133](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L133) +Defined in: [src/core/mixins/Feed.ts:134](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L134) Get all playlists in the feed @@ -198,7 +198,7 @@ Get all playlists in the feed > **get** **posts**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`BackstagePost`](../../YTNodes/classes/BackstagePost.md) \| [`Post`](../../YTNodes/classes/Post.md) \| [`SharedPost`](../../YTNodes/classes/SharedPost.md)\> -Defined in: [src/core/mixins/Feed.ts:119](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L119) +Defined in: [src/core/mixins/Feed.ts:120](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L120) Get all the community posts in the feed @@ -218,7 +218,7 @@ Get all the community posts in the feed > **get** **secondary\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`BrowseFeedActions`](../../YTNodes/classes/BrowseFeedActions.md) \| [`ProfileColumn`](../../YTNodes/classes/ProfileColumn.md) \| [`SecondarySearchContainer`](../../YTNodes/classes/SecondarySearchContainer.md) \| `null` -Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L169) +Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L169) Returns secondary contents from the page. @@ -238,7 +238,7 @@ Returns secondary contents from the page. > **get** **shelves**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md)\> -Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L155) +Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L155) Returns all segments/sections from the page. @@ -256,15 +256,15 @@ Returns all segments/sections from the page. #### Get Signature -> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:112](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L112) +Defined in: [src/core/mixins/Feed.ts:113](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L113) Get all the videos in the feed ##### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from @@ -276,7 +276,7 @@ Get all the videos in the feed > **getContinuation**(): `Promise`\<`Channel`\> -Defined in: [src/parser/ytkids/Channel.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytkids/Channel.ts#L23) +Defined in: [src/parser/ytkids/Channel.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytkids/Channel.ts#L23) Retrieves next batch of content. @@ -294,7 +294,7 @@ Retrieves next batch of content. > **getContinuationData**(): `Promise`\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) \| `undefined`\> -Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L202) +Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L202) Retrieves continuation data as it is. @@ -312,7 +312,7 @@ Retrieves continuation data as it is. > **getShelf**(`title`): [`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md) \| `undefined` -Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L162) +Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L162) Finds shelf by title. @@ -336,7 +336,7 @@ Finds shelf by title. > `static` **getPlaylistsFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:94](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L94) +Defined in: [src/core/mixins/Feed.ts:95](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L95) Get all playlists on a given page via memo @@ -358,9 +358,9 @@ Get all playlists on a given page via memo ### getVideosFromMemo() -> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L78) +Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L78) Get all videos on a given page via memo @@ -372,7 +372,7 @@ Get all videos on a given page via memo #### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from diff --git a/docs/api/youtubei.js/namespaces/YTKids/classes/HomeFeed.md b/docs/api/youtubei.js/namespaces/YTKids/classes/HomeFeed.md index df40ecdd..ac999bc8 100644 --- a/docs/api/youtubei.js/namespaces/YTKids/classes/HomeFeed.md +++ b/docs/api/youtubei.js/namespaces/YTKids/classes/HomeFeed.md @@ -2,7 +2,7 @@ # Class: HomeFeed -Defined in: [src/parser/ytkids/HomeFeed.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytkids/HomeFeed.ts#L11) +Defined in: [src/parser/ytkids/HomeFeed.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytkids/HomeFeed.ts#L11) ## Extends @@ -12,9 +12,9 @@ Defined in: [src/parser/ytkids/HomeFeed.ts:11](https://github.com/LuanRT/YouTube ### Constructor -> **new HomeFeed**(`actions`, `data`, `already_parsed`): `HomeFeed` +> **new HomeFeed**(`actions`, `data`, `already_parsed?`): `HomeFeed` -Defined in: [src/parser/ytkids/HomeFeed.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytkids/HomeFeed.ts#L15) +Defined in: [src/parser/ytkids/HomeFeed.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytkids/HomeFeed.ts#L15) #### Parameters @@ -26,7 +26,7 @@ Defined in: [src/parser/ytkids/HomeFeed.ts:15](https://github.com/LuanRT/YouTube [`ApiResponse`](../../../../interfaces/ApiResponse.md) | [`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) -##### already\_parsed +##### already\_parsed? `boolean` = `false` @@ -44,7 +44,7 @@ Defined in: [src/parser/ytkids/HomeFeed.ts:15](https://github.com/LuanRT/YouTube > `optional` **contents**: [`KidsHomeScreen`](../../YTNodes/classes/KidsHomeScreen.md) -Defined in: [src/parser/ytkids/HomeFeed.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytkids/HomeFeed.ts#L13) +Defined in: [src/parser/ytkids/HomeFeed.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytkids/HomeFeed.ts#L13) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/ytkids/HomeFeed.ts:13](https://github.com/LuanRT/YouTube > `optional` **header**: [`KidsCategoriesHeader`](../../YTNodes/classes/KidsCategoriesHeader.md) -Defined in: [src/parser/ytkids/HomeFeed.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytkids/HomeFeed.ts#L12) +Defined in: [src/parser/ytkids/HomeFeed.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytkids/HomeFeed.ts#L12) ## Accessors @@ -62,7 +62,7 @@ Defined in: [src/parser/ytkids/HomeFeed.ts:12](https://github.com/LuanRT/YouTube > **get** **actions**(): [`Actions`](../../../../classes/Actions.md) -Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L181) +Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L181) ##### Returns @@ -80,7 +80,7 @@ Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/b > **get** **categories**(): `string`[] -Defined in: [src/parser/ytkids/HomeFeed.ts:46](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytkids/HomeFeed.ts#L46) +Defined in: [src/parser/ytkids/HomeFeed.ts:46](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytkids/HomeFeed.ts#L46) ##### Returns @@ -94,7 +94,7 @@ Defined in: [src/parser/ytkids/HomeFeed.ts:46](https://github.com/LuanRT/YouTube > **get** **channels**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Channel`](../../YTNodes/classes/Channel.md) \| [`GridChannel`](../../YTNodes/classes/GridChannel.md)\> -Defined in: [src/core/mixins/Feed.ts:126](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L126) +Defined in: [src/core/mixins/Feed.ts:127](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L127) Get all the channels in the feed @@ -114,7 +114,7 @@ Get all the channels in the feed > **get** **has\_continuation**(): `boolean` -Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L195) +Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L195) Checks if the feed has continuation. @@ -134,7 +134,7 @@ Checks if the feed has continuation. > **get** **memo**(): [`Memo`](../../Helpers/classes/Memo.md) -Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L137) +Defined in: [src/core/mixins/Feed.ts:138](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L138) ##### Returns @@ -152,7 +152,7 @@ Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/b > **get** **page**(): `T` -Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L188) +Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L188) Get the original page data @@ -172,7 +172,7 @@ Get the original page data > **get** **page\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`MusicQueue`](../../YTNodes/classes/MusicQueue.md) \| [`RichGrid`](../../YTNodes/classes/RichGrid.md) \| [`ReloadContinuationItemsCommand`](../../../../classes/ReloadContinuationItemsCommand.md) -Defined in: [src/core/mixins/Feed.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L144) +Defined in: [src/core/mixins/Feed.ts:145](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L145) Returns contents from the page. @@ -192,7 +192,7 @@ Returns contents from the page. > **get** **playlists**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:133](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L133) +Defined in: [src/core/mixins/Feed.ts:134](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L134) Get all playlists in the feed @@ -212,7 +212,7 @@ Get all playlists in the feed > **get** **posts**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`BackstagePost`](../../YTNodes/classes/BackstagePost.md) \| [`Post`](../../YTNodes/classes/Post.md) \| [`SharedPost`](../../YTNodes/classes/SharedPost.md)\> -Defined in: [src/core/mixins/Feed.ts:119](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L119) +Defined in: [src/core/mixins/Feed.ts:120](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L120) Get all the community posts in the feed @@ -232,7 +232,7 @@ Get all the community posts in the feed > **get** **secondary\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`BrowseFeedActions`](../../YTNodes/classes/BrowseFeedActions.md) \| [`ProfileColumn`](../../YTNodes/classes/ProfileColumn.md) \| [`SecondarySearchContainer`](../../YTNodes/classes/SecondarySearchContainer.md) \| `null` -Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L169) +Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L169) Returns secondary contents from the page. @@ -252,7 +252,7 @@ Returns secondary contents from the page. > **get** **shelves**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md)\> -Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L155) +Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L155) Returns all segments/sections from the page. @@ -270,15 +270,15 @@ Returns all segments/sections from the page. #### Get Signature -> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:112](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L112) +Defined in: [src/core/mixins/Feed.ts:113](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L113) Get all the videos in the feed ##### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from @@ -290,7 +290,7 @@ Get all the videos in the feed > **getContinuation**(): `Promise`\<[`Feed`](../../Mixins/classes/Feed.md)\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md)\>\> -Defined in: [src/core/mixins/Feed.ts:219](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L219) +Defined in: [src/core/mixins/Feed.ts:219](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L219) Retrieves next batch of contents and returns a new [Feed](../../Mixins/classes/Feed.md) object. @@ -308,7 +308,7 @@ Retrieves next batch of contents and returns a new [Feed](../../Mixins/classes/F > **getContinuationData**(): `Promise`\<[`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) \| `undefined`\> -Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L202) +Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L202) Retrieves continuation data as it is. @@ -326,7 +326,7 @@ Retrieves continuation data as it is. > **getShelf**(`title`): [`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md) \| `undefined` -Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L162) +Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L162) Finds shelf by title. @@ -350,7 +350,7 @@ Finds shelf by title. > **selectCategoryTab**(`tab`): `Promise`\<`HomeFeed`\> -Defined in: [src/parser/ytkids/HomeFeed.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytkids/HomeFeed.ts#L25) +Defined in: [src/parser/ytkids/HomeFeed.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytkids/HomeFeed.ts#L25) Retrieves the contents of the given category tab. Use [HomeFeed.categories](#categories) to get a list of available categories. @@ -372,7 +372,7 @@ The tab to select > `static` **getPlaylistsFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:94](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L94) +Defined in: [src/core/mixins/Feed.ts:95](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L95) Get all playlists on a given page via memo @@ -394,9 +394,9 @@ Get all playlists on a given page via memo ### getVideosFromMemo() -> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L78) +Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L78) Get all videos on a given page via memo @@ -408,7 +408,7 @@ Get all videos on a given page via memo #### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from diff --git a/docs/api/youtubei.js/namespaces/YTKids/classes/Search.md b/docs/api/youtubei.js/namespaces/YTKids/classes/Search.md index 600361e3..c7275c45 100644 --- a/docs/api/youtubei.js/namespaces/YTKids/classes/Search.md +++ b/docs/api/youtubei.js/namespaces/YTKids/classes/Search.md @@ -2,7 +2,7 @@ # Class: Search -Defined in: [src/parser/ytkids/Search.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytkids/Search.ts#L9) +Defined in: [src/parser/ytkids/Search.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytkids/Search.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/ytkids/Search.ts:9](https://github.com/LuanRT/YouTube.js > **new Search**(`actions`, `data`): `Search` -Defined in: [src/parser/ytkids/Search.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytkids/Search.ts#L13) +Defined in: [src/parser/ytkids/Search.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytkids/Search.ts#L13) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/ytkids/Search.ts:13](https://github.com/LuanRT/YouTube.j > **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> \| `null` -Defined in: [src/parser/ytkids/Search.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytkids/Search.ts#L11) +Defined in: [src/parser/ytkids/Search.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytkids/Search.ts#L11) *** @@ -48,7 +48,7 @@ Defined in: [src/parser/ytkids/Search.ts:11](https://github.com/LuanRT/YouTube.j > `optional` **estimated\_results**: `number` -Defined in: [src/parser/ytkids/Search.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytkids/Search.ts#L10) +Defined in: [src/parser/ytkids/Search.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytkids/Search.ts#L10) ## Accessors @@ -58,7 +58,7 @@ Defined in: [src/parser/ytkids/Search.ts:10](https://github.com/LuanRT/YouTube.j > **get** **actions**(): [`Actions`](../../../../classes/Actions.md) -Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L181) +Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L181) ##### Returns @@ -76,7 +76,7 @@ Defined in: [src/core/mixins/Feed.ts:181](https://github.com/LuanRT/YouTube.js/b > **get** **channels**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Channel`](../../YTNodes/classes/Channel.md) \| [`GridChannel`](../../YTNodes/classes/GridChannel.md)\> -Defined in: [src/core/mixins/Feed.ts:126](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L126) +Defined in: [src/core/mixins/Feed.ts:127](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L127) Get all the channels in the feed @@ -96,7 +96,7 @@ Get all the channels in the feed > **get** **has\_continuation**(): `boolean` -Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L195) +Defined in: [src/core/mixins/Feed.ts:195](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L195) Checks if the feed has continuation. @@ -116,7 +116,7 @@ Checks if the feed has continuation. > **get** **memo**(): [`Memo`](../../Helpers/classes/Memo.md) -Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L137) +Defined in: [src/core/mixins/Feed.ts:138](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L138) ##### Returns @@ -134,7 +134,7 @@ Defined in: [src/core/mixins/Feed.ts:137](https://github.com/LuanRT/YouTube.js/b > **get** **page**(): `T` -Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L188) +Defined in: [src/core/mixins/Feed.ts:188](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L188) Get the original page data @@ -154,7 +154,7 @@ Get the original page data > **get** **page\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`MusicQueue`](../../YTNodes/classes/MusicQueue.md) \| [`RichGrid`](../../YTNodes/classes/RichGrid.md) \| [`ReloadContinuationItemsCommand`](../../../../classes/ReloadContinuationItemsCommand.md) -Defined in: [src/core/mixins/Feed.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L144) +Defined in: [src/core/mixins/Feed.ts:145](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L145) Returns contents from the page. @@ -174,7 +174,7 @@ Returns contents from the page. > **get** **playlists**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:133](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L133) +Defined in: [src/core/mixins/Feed.ts:134](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L134) Get all playlists in the feed @@ -194,7 +194,7 @@ Get all playlists in the feed > **get** **posts**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`BackstagePost`](../../YTNodes/classes/BackstagePost.md) \| [`Post`](../../YTNodes/classes/Post.md) \| [`SharedPost`](../../YTNodes/classes/SharedPost.md)\> -Defined in: [src/core/mixins/Feed.ts:119](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L119) +Defined in: [src/core/mixins/Feed.ts:120](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L120) Get all the community posts in the feed @@ -214,7 +214,7 @@ Get all the community posts in the feed > **get** **secondary\_contents**(): [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`BrowseFeedActions`](../../YTNodes/classes/BrowseFeedActions.md) \| [`ProfileColumn`](../../YTNodes/classes/ProfileColumn.md) \| [`SecondarySearchContainer`](../../YTNodes/classes/SecondarySearchContainer.md) \| `null` -Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L169) +Defined in: [src/core/mixins/Feed.ts:169](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L169) Returns secondary contents from the page. @@ -234,7 +234,7 @@ Returns secondary contents from the page. > **get** **shelves**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md)\> -Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L155) +Defined in: [src/core/mixins/Feed.ts:155](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L155) Returns all segments/sections from the page. @@ -252,15 +252,15 @@ Returns all segments/sections from the page. #### Get Signature -> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> **get** **videos**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:112](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L112) +Defined in: [src/core/mixins/Feed.ts:113](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L113) Get all the videos in the feed ##### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from @@ -272,7 +272,7 @@ Get all the videos in the feed > **getContinuation**(): `Promise`\<[`Feed`](../../Mixins/classes/Feed.md)\<[`ISearchResponse`](../../../../type-aliases/ISearchResponse.md)\>\> -Defined in: [src/core/mixins/Feed.ts:219](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L219) +Defined in: [src/core/mixins/Feed.ts:219](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L219) Retrieves next batch of contents and returns a new [Feed](../../Mixins/classes/Feed.md) object. @@ -290,7 +290,7 @@ Retrieves next batch of contents and returns a new [Feed](../../Mixins/classes/F > **getContinuationData**(): `Promise`\<[`ISearchResponse`](../../../../type-aliases/ISearchResponse.md) \| `undefined`\> -Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L202) +Defined in: [src/core/mixins/Feed.ts:202](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L202) Retrieves continuation data as it is. @@ -308,7 +308,7 @@ Retrieves continuation data as it is. > **getShelf**(`title`): [`ReelShelf`](../../YTNodes/classes/ReelShelf.md) \| [`RichShelf`](../../YTNodes/classes/RichShelf.md) \| [`Shelf`](../../YTNodes/classes/Shelf.md) \| `undefined` -Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L162) +Defined in: [src/core/mixins/Feed.ts:162](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L162) Finds shelf by title. @@ -332,7 +332,7 @@ Finds shelf by title. > `static` **getPlaylistsFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`GridPlaylist`](../../YTNodes/classes/GridPlaylist.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`Playlist`](../../YTNodes/classes/Playlist.md)\> -Defined in: [src/core/mixins/Feed.ts:94](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L94) +Defined in: [src/core/mixins/Feed.ts:95](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L95) Get all playlists on a given page via memo @@ -354,9 +354,9 @@ Get all playlists on a given page via memo ### getVideosFromMemo() -> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +> `static` **getVideosFromMemo**(`memo`): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> -Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/Feed.ts#L78) +Defined in: [src/core/mixins/Feed.ts:78](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/Feed.ts#L78) Get all videos on a given page via memo @@ -368,7 +368,7 @@ Get all videos on a given page via memo #### Returns -[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> +[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactVideo`](../../YTNodes/classes/CompactVideo.md) \| [`GridVideo`](../../YTNodes/classes/GridVideo.md) \| [`LockupView`](../../YTNodes/classes/LockupView.md) \| [`PlaylistPanelVideo`](../../YTNodes/classes/PlaylistPanelVideo.md) \| [`PlaylistVideo`](../../YTNodes/classes/PlaylistVideo.md) \| [`ReelItem`](../../YTNodes/classes/ReelItem.md) \| [`ShortsLockupView`](../../YTNodes/classes/ShortsLockupView.md) \| [`Video`](../../YTNodes/classes/Video.md) \| [`WatchCardCompactVideo`](../../YTNodes/classes/WatchCardCompactVideo.md)\> #### Inherited from diff --git a/docs/api/youtubei.js/namespaces/YTKids/classes/VideoInfo.md b/docs/api/youtubei.js/namespaces/YTKids/classes/VideoInfo.md index d2074c9e..74f9bbc6 100644 --- a/docs/api/youtubei.js/namespaces/YTKids/classes/VideoInfo.md +++ b/docs/api/youtubei.js/namespaces/YTKids/classes/VideoInfo.md @@ -2,7 +2,7 @@ # Class: VideoInfo -Defined in: [src/parser/ytkids/VideoInfo.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytkids/VideoInfo.ts#L11) +Defined in: [src/parser/ytkids/VideoInfo.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytkids/VideoInfo.ts#L11) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/ytkids/VideoInfo.ts:11](https://github.com/LuanRT/YouTub > **new VideoInfo**(`data`, `actions`, `cpn`): `VideoInfo` -Defined in: [src/parser/ytkids/VideoInfo.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytkids/VideoInfo.ts#L17) +Defined in: [src/parser/ytkids/VideoInfo.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytkids/VideoInfo.ts#L17) #### Parameters @@ -44,7 +44,7 @@ Defined in: [src/parser/ytkids/VideoInfo.ts:17](https://github.com/LuanRT/YouTub > `optional` **annotations**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`PlayerAnnotationsExpanded`](../../YTNodes/classes/PlayerAnnotationsExpanded.md)\> -Defined in: [src/core/mixins/MediaInfo.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L40) +Defined in: [src/core/mixins/MediaInfo.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L40) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:40](https://github.com/LuanRT/YouTube. > **basic\_info**: `object` -Defined in: [src/core/mixins/MediaInfo.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L39) +Defined in: [src/core/mixins/MediaInfo.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L39) #### allow\_ratings? @@ -200,7 +200,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:39](https://github.com/LuanRT/YouTube. > `optional` **captions**: [`PlayerCaptionsTracklist`](../../YTNodes/classes/PlayerCaptionsTracklist.md) -Defined in: [src/core/mixins/MediaInfo.ts:43](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L43) +Defined in: [src/core/mixins/MediaInfo.ts:43](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L43) #### Inherited from @@ -212,7 +212,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:43](https://github.com/LuanRT/YouTube. > `optional` **cards**: [`CardCollection`](../../YTNodes/classes/CardCollection.md) -Defined in: [src/core/mixins/MediaInfo.ts:44](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L44) +Defined in: [src/core/mixins/MediaInfo.ts:44](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L44) #### Inherited from @@ -224,7 +224,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:44](https://github.com/LuanRT/YouTube. > `optional` **current\_video\_endpoint**: [`NavigationEndpoint`](../../YTNodes/classes/NavigationEndpoint.md) -Defined in: [src/parser/ytkids/VideoInfo.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytkids/VideoInfo.ts#L14) +Defined in: [src/parser/ytkids/VideoInfo.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytkids/VideoInfo.ts#L14) *** @@ -232,7 +232,7 @@ Defined in: [src/parser/ytkids/VideoInfo.ts:14](https://github.com/LuanRT/YouTub > `optional` **endscreen**: [`Endscreen`](../../YTNodes/classes/Endscreen.md) -Defined in: [src/core/mixins/MediaInfo.ts:42](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L42) +Defined in: [src/core/mixins/MediaInfo.ts:42](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L42) #### Inherited from @@ -244,7 +244,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:42](https://github.com/LuanRT/YouTube. > `optional` **playability\_status**: [`IPlayabilityStatus`](../../../../interfaces/IPlayabilityStatus.md) -Defined in: [src/core/mixins/MediaInfo.ts:46](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L46) +Defined in: [src/core/mixins/MediaInfo.ts:46](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L46) #### Inherited from @@ -256,7 +256,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:46](https://github.com/LuanRT/YouTube. > `optional` **player\_config**: [`IPlayerConfig`](../../../../interfaces/IPlayerConfig.md) -Defined in: [src/core/mixins/MediaInfo.ts:47](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L47) +Defined in: [src/core/mixins/MediaInfo.ts:47](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L47) #### Inherited from @@ -268,7 +268,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:47](https://github.com/LuanRT/YouTube. > `optional` **player\_overlays**: [`PlayerOverlay`](../../YTNodes/classes/PlayerOverlay.md) -Defined in: [src/parser/ytkids/VideoInfo.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytkids/VideoInfo.ts#L15) +Defined in: [src/parser/ytkids/VideoInfo.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytkids/VideoInfo.ts#L15) *** @@ -276,7 +276,7 @@ Defined in: [src/parser/ytkids/VideoInfo.ts:15](https://github.com/LuanRT/YouTub > `optional` **slim\_video\_metadata**: [`SlimVideoMetadata`](../../YTNodes/classes/SlimVideoMetadata.md) -Defined in: [src/parser/ytkids/VideoInfo.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytkids/VideoInfo.ts#L12) +Defined in: [src/parser/ytkids/VideoInfo.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytkids/VideoInfo.ts#L12) *** @@ -284,7 +284,7 @@ Defined in: [src/parser/ytkids/VideoInfo.ts:12](https://github.com/LuanRT/YouTub > `optional` **storyboards**: [`PlayerStoryboardSpec`](../../YTNodes/classes/PlayerStoryboardSpec.md) \| [`PlayerLiveStoryboardSpec`](../../YTNodes/classes/PlayerLiveStoryboardSpec.md) -Defined in: [src/core/mixins/MediaInfo.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L41) +Defined in: [src/core/mixins/MediaInfo.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L41) #### Inherited from @@ -296,7 +296,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:41](https://github.com/LuanRT/YouTube. > `optional` **streaming\_data**: [`IStreamingData`](../../../../interfaces/IStreamingData.md) -Defined in: [src/core/mixins/MediaInfo.ts:45](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L45) +Defined in: [src/core/mixins/MediaInfo.ts:45](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L45) #### Inherited from @@ -308,7 +308,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:45](https://github.com/LuanRT/YouTube. > `optional` **watch\_next\_feed**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/ytkids/VideoInfo.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytkids/VideoInfo.ts#L13) +Defined in: [src/parser/ytkids/VideoInfo.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytkids/VideoInfo.ts#L13) ## Accessors @@ -318,7 +318,7 @@ Defined in: [src/parser/ytkids/VideoInfo.ts:13](https://github.com/LuanRT/YouTub > **get** **actions**(): [`Actions`](../../../../classes/Actions.md) -Defined in: [src/core/mixins/MediaInfo.ts:247](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L247) +Defined in: [src/core/mixins/MediaInfo.ts:247](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L247) ##### Returns @@ -336,7 +336,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:247](https://github.com/LuanRT/YouTube > **get** **cpn**(): `string` -Defined in: [src/core/mixins/MediaInfo.ts:254](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L254) +Defined in: [src/core/mixins/MediaInfo.ts:254](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L254) Content Playback Nonce. @@ -356,7 +356,7 @@ Content Playback Nonce. > **get** **page**(): \[[`IPlayerResponse`](../../../../type-aliases/IPlayerResponse.md), [`INextResponse`](../../../../type-aliases/INextResponse.md)?\] -Defined in: [src/core/mixins/MediaInfo.ts:261](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L261) +Defined in: [src/core/mixins/MediaInfo.ts:261](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L261) Parsed InnerTube response. @@ -374,7 +374,7 @@ Parsed InnerTube response. > **addToWatchHistory**(`client_name?`, `client_version?`, `replacement?`): `Promise`\<`Response`\> -Defined in: [src/core/mixins/MediaInfo.ts:208](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L208) +Defined in: [src/core/mixins/MediaInfo.ts:208](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L208) #### Parameters @@ -404,7 +404,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:208](https://github.com/LuanRT/YouTube > **chooseFormat**(`options`): [`Format`](../../Misc/classes/Format.md) -Defined in: [src/core/mixins/MediaInfo.ts:161](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L161) +Defined in: [src/core/mixins/MediaInfo.ts:161](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L161) Selects the format that best matches the given options. @@ -428,15 +428,15 @@ Options ### download() -> **download**(`options`): `Promise`\<`ReadableStream`\<`Uint8Array`\>\> +> **download**(`options?`): `Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\> -Defined in: [src/core/mixins/MediaInfo.ts:169](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L169) +Defined in: [src/core/mixins/MediaInfo.ts:169](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L169) Downloads the video. #### Parameters -##### options +##### options? [`DownloadOptions`](../../Types/interfaces/DownloadOptions.md) = `{}` @@ -444,7 +444,7 @@ Download options. #### Returns -`Promise`\<`ReadableStream`\<`Uint8Array`\>\> +`Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\> #### Inherited from @@ -456,7 +456,7 @@ Download options. > **getStreamingInfo**(`url_transformer?`, `format_filter?`): `Promise`\<`StreamingInfo`\> -Defined in: [src/core/mixins/MediaInfo.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L144) +Defined in: [src/core/mixins/MediaInfo.ts:144](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L144) Get a cleaned up representation of the adaptive_formats @@ -484,7 +484,7 @@ Get a cleaned up representation of the adaptive_formats > **getTranscript**(): `Promise`\<[`TranscriptInfo`](../../YT/classes/TranscriptInfo.md)\> -Defined in: [src/core/mixins/MediaInfo.ts:182](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L182) +Defined in: [src/core/mixins/MediaInfo.ts:182](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L182) Retrieves the video's transcript. @@ -500,15 +500,15 @@ Retrieves the video's transcript. ### toDash() -> **toDash**(`options`): `Promise`\<`string`\> +> **toDash**(`options?`): `Promise`\<`string`\> -Defined in: [src/core/mixins/MediaInfo.ts:104](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L104) +Defined in: [src/core/mixins/MediaInfo.ts:104](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L104) Generates a DASH manifest from the streaming data. #### Parameters -##### options +##### options? ###### format_filter? @@ -536,9 +536,9 @@ DASH manifest ### updateWatchTime() -> **updateWatchTime**(`startTime`, `client_name`, `client_version`, `replacement`): `Promise`\<`Response`\> +> **updateWatchTime**(`startTime`, `client_name?`, `client_version?`, `replacement?`): `Promise`\<`Response`\> -Defined in: [src/core/mixins/MediaInfo.ts:227](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L227) +Defined in: [src/core/mixins/MediaInfo.ts:227](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L227) #### Parameters @@ -546,15 +546,15 @@ Defined in: [src/core/mixins/MediaInfo.ts:227](https://github.com/LuanRT/YouTube `number` -##### client\_name +##### client\_name? `string` = `Constants.CLIENTS.WEB.NAME` -##### client\_version +##### client\_version? `string` = `Constants.CLIENTS.WEB.VERSION` -##### replacement +##### replacement? `string` = `'https://www.'` diff --git a/docs/api/youtubei.js/namespaces/YTMusic/classes/Album.md b/docs/api/youtubei.js/namespaces/YTMusic/classes/Album.md index d5968ec7..99a7d18b 100644 --- a/docs/api/youtubei.js/namespaces/YTMusic/classes/Album.md +++ b/docs/api/youtubei.js/namespaces/YTMusic/classes/Album.md @@ -2,7 +2,7 @@ # Class: Album -Defined in: [src/parser/ytmusic/Album.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Album.ts#L15) +Defined in: [src/parser/ytmusic/Album.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Album.ts#L15) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/parser/ytmusic/Album.ts:15](https://github.com/LuanRT/YouTube.j > **new Album**(`response`): `Album` -Defined in: [src/parser/ytmusic/Album.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Album.ts#L24) +Defined in: [src/parser/ytmusic/Album.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Album.ts#L24) #### Parameters @@ -28,7 +28,7 @@ Defined in: [src/parser/ytmusic/Album.ts:24](https://github.com/LuanRT/YouTube.j > `optional` **background**: [`MusicThumbnail`](../../YTNodes/classes/MusicThumbnail.md) -Defined in: [src/parser/ytmusic/Album.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Album.ts#L21) +Defined in: [src/parser/ytmusic/Album.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Album.ts#L21) *** @@ -36,7 +36,7 @@ Defined in: [src/parser/ytmusic/Album.ts:21](https://github.com/LuanRT/YouTube.j > **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MusicResponsiveListItem`](../../YTNodes/classes/MusicResponsiveListItem.md)\> -Defined in: [src/parser/ytmusic/Album.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Album.ts#L19) +Defined in: [src/parser/ytmusic/Album.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Album.ts#L19) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/ytmusic/Album.ts:19](https://github.com/LuanRT/YouTube.j > `optional` **header**: [`MusicDetailHeader`](../../YTNodes/classes/MusicDetailHeader.md) \| [`MusicResponsiveHeader`](../../YTNodes/classes/MusicResponsiveHeader.md) -Defined in: [src/parser/ytmusic/Album.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Album.ts#L18) +Defined in: [src/parser/ytmusic/Album.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Album.ts#L18) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/ytmusic/Album.ts:18](https://github.com/LuanRT/YouTube.j > **sections**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MusicCarouselShelf`](../../YTNodes/classes/MusicCarouselShelf.md)\> -Defined in: [src/parser/ytmusic/Album.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Album.ts#L20) +Defined in: [src/parser/ytmusic/Album.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Album.ts#L20) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/ytmusic/Album.ts:20](https://github.com/LuanRT/YouTube.j > `optional` **url**: `string` -Defined in: [src/parser/ytmusic/Album.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Album.ts#L22) +Defined in: [src/parser/ytmusic/Album.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Album.ts#L22) ## Accessors @@ -70,7 +70,7 @@ Defined in: [src/parser/ytmusic/Album.ts:22](https://github.com/LuanRT/YouTube.j > **get** **page**(): [`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) -Defined in: [src/parser/ytmusic/Album.ts:37](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Album.ts#L37) +Defined in: [src/parser/ytmusic/Album.ts:37](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Album.ts#L37) ##### Returns diff --git a/docs/api/youtubei.js/namespaces/YTMusic/classes/Artist.md b/docs/api/youtubei.js/namespaces/YTMusic/classes/Artist.md index d6bfde9f..0e7beb3b 100644 --- a/docs/api/youtubei.js/namespaces/YTMusic/classes/Artist.md +++ b/docs/api/youtubei.js/namespaces/YTMusic/classes/Artist.md @@ -2,7 +2,7 @@ # Class: Artist -Defined in: [src/parser/ytmusic/Artist.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Artist.ts#L16) +Defined in: [src/parser/ytmusic/Artist.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Artist.ts#L16) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/parser/ytmusic/Artist.ts:16](https://github.com/LuanRT/YouTube. > **new Artist**(`response`, `actions`): `Artist` -Defined in: [src/parser/ytmusic/Artist.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Artist.ts#L23) +Defined in: [src/parser/ytmusic/Artist.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Artist.ts#L23) #### Parameters @@ -32,7 +32,7 @@ Defined in: [src/parser/ytmusic/Artist.ts:23](https://github.com/LuanRT/YouTube. > `optional` **header**: [`MusicImmersiveHeader`](../../YTNodes/classes/MusicImmersiveHeader.md) \| [`MusicVisualHeader`](../../YTNodes/classes/MusicVisualHeader.md) \| [`MusicHeader`](../../YTNodes/classes/MusicHeader.md) -Defined in: [src/parser/ytmusic/Artist.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Artist.ts#L20) +Defined in: [src/parser/ytmusic/Artist.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Artist.ts#L20) *** @@ -40,7 +40,7 @@ Defined in: [src/parser/ytmusic/Artist.ts:20](https://github.com/LuanRT/YouTube. > **sections**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MusicCarouselShelf`](../../YTNodes/classes/MusicCarouselShelf.md) \| [`MusicShelf`](../../YTNodes/classes/MusicShelf.md)\> -Defined in: [src/parser/ytmusic/Artist.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Artist.ts#L21) +Defined in: [src/parser/ytmusic/Artist.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Artist.ts#L21) ## Accessors @@ -50,7 +50,7 @@ Defined in: [src/parser/ytmusic/Artist.ts:21](https://github.com/LuanRT/YouTube. > **get** **page**(): [`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) -Defined in: [src/parser/ytmusic/Artist.ts:53](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Artist.ts#L53) +Defined in: [src/parser/ytmusic/Artist.ts:53](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Artist.ts#L53) ##### Returns @@ -62,7 +62,7 @@ Defined in: [src/parser/ytmusic/Artist.ts:53](https://github.com/LuanRT/YouTube. > **getAllSongs**(): `Promise`\<[`MusicPlaylistShelf`](../../YTNodes/classes/MusicPlaylistShelf.md) \| `undefined`\> -Defined in: [src/parser/ytmusic/Artist.ts:35](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Artist.ts#L35) +Defined in: [src/parser/ytmusic/Artist.ts:35](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Artist.ts#L35) #### Returns diff --git a/docs/api/youtubei.js/namespaces/YTMusic/classes/Explore.md b/docs/api/youtubei.js/namespaces/YTMusic/classes/Explore.md index 1195b51a..8d4241e9 100644 --- a/docs/api/youtubei.js/namespaces/YTMusic/classes/Explore.md +++ b/docs/api/youtubei.js/namespaces/YTMusic/classes/Explore.md @@ -2,7 +2,7 @@ # Class: Explore -Defined in: [src/parser/ytmusic/Explore.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Explore.ts#L14) +Defined in: [src/parser/ytmusic/Explore.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Explore.ts#L14) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/parser/ytmusic/Explore.ts:14](https://github.com/LuanRT/YouTube > **new Explore**(`response`): `Explore` -Defined in: [src/parser/ytmusic/Explore.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Explore.ts#L20) +Defined in: [src/parser/ytmusic/Explore.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Explore.ts#L20) #### Parameters @@ -28,7 +28,7 @@ Defined in: [src/parser/ytmusic/Explore.ts:20](https://github.com/LuanRT/YouTube > **sections**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MusicCarouselShelf`](../../YTNodes/classes/MusicCarouselShelf.md)\> -Defined in: [src/parser/ytmusic/Explore.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Explore.ts#L18) +Defined in: [src/parser/ytmusic/Explore.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Explore.ts#L18) *** @@ -36,7 +36,7 @@ Defined in: [src/parser/ytmusic/Explore.ts:18](https://github.com/LuanRT/YouTube > **top\_buttons**: [`MusicNavigationButton`](../../YTNodes/classes/MusicNavigationButton.md)[] -Defined in: [src/parser/ytmusic/Explore.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Explore.ts#L17) +Defined in: [src/parser/ytmusic/Explore.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Explore.ts#L17) ## Accessors @@ -46,7 +46,7 @@ Defined in: [src/parser/ytmusic/Explore.ts:17](https://github.com/LuanRT/YouTube > **get** **page**(): [`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) -Defined in: [src/parser/ytmusic/Explore.ts:37](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Explore.ts#L37) +Defined in: [src/parser/ytmusic/Explore.ts:37](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Explore.ts#L37) ##### Returns diff --git a/docs/api/youtubei.js/namespaces/YTMusic/classes/HomeFeed.md b/docs/api/youtubei.js/namespaces/YTMusic/classes/HomeFeed.md index 14bbc72f..a2cd6d98 100644 --- a/docs/api/youtubei.js/namespaces/YTMusic/classes/HomeFeed.md +++ b/docs/api/youtubei.js/namespaces/YTMusic/classes/HomeFeed.md @@ -2,7 +2,7 @@ # Class: HomeFeed -Defined in: [src/parser/ytmusic/HomeFeed.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/HomeFeed.ts#L14) +Defined in: [src/parser/ytmusic/HomeFeed.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/HomeFeed.ts#L14) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/parser/ytmusic/HomeFeed.ts:14](https://github.com/LuanRT/YouTub > **new HomeFeed**(`response`, `actions`): `HomeFeed` -Defined in: [src/parser/ytmusic/HomeFeed.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/HomeFeed.ts#L22) +Defined in: [src/parser/ytmusic/HomeFeed.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/HomeFeed.ts#L22) #### Parameters @@ -32,7 +32,7 @@ Defined in: [src/parser/ytmusic/HomeFeed.ts:22](https://github.com/LuanRT/YouTub > `optional` **header**: [`ChipCloud`](../../YTNodes/classes/ChipCloud.md) -Defined in: [src/parser/ytmusic/HomeFeed.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/HomeFeed.ts#L20) +Defined in: [src/parser/ytmusic/HomeFeed.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/HomeFeed.ts#L20) *** @@ -40,7 +40,7 @@ Defined in: [src/parser/ytmusic/HomeFeed.ts:20](https://github.com/LuanRT/YouTub > `optional` **sections**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MusicCarouselShelf`](../../YTNodes/classes/MusicCarouselShelf.md) \| [`MusicTastebuilderShelf`](../../YTNodes/classes/MusicTastebuilderShelf.md)\> -Defined in: [src/parser/ytmusic/HomeFeed.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/HomeFeed.ts#L19) +Defined in: [src/parser/ytmusic/HomeFeed.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/HomeFeed.ts#L19) ## Accessors @@ -50,7 +50,7 @@ Defined in: [src/parser/ytmusic/HomeFeed.ts:19](https://github.com/LuanRT/YouTub > **get** **filters**(): `string`[] -Defined in: [src/parser/ytmusic/HomeFeed.ts:84](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/HomeFeed.ts#L84) +Defined in: [src/parser/ytmusic/HomeFeed.ts:84](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/HomeFeed.ts#L84) ##### Returns @@ -64,7 +64,7 @@ Defined in: [src/parser/ytmusic/HomeFeed.ts:84](https://github.com/LuanRT/YouTub > **get** **has\_continuation**(): `boolean` -Defined in: [src/parser/ytmusic/HomeFeed.ts:88](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/HomeFeed.ts#L88) +Defined in: [src/parser/ytmusic/HomeFeed.ts:88](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/HomeFeed.ts#L88) ##### Returns @@ -78,7 +78,7 @@ Defined in: [src/parser/ytmusic/HomeFeed.ts:88](https://github.com/LuanRT/YouTub > **get** **page**(): [`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) -Defined in: [src/parser/ytmusic/HomeFeed.ts:92](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/HomeFeed.ts#L92) +Defined in: [src/parser/ytmusic/HomeFeed.ts:92](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/HomeFeed.ts#L92) ##### Returns @@ -90,7 +90,7 @@ Defined in: [src/parser/ytmusic/HomeFeed.ts:92](https://github.com/LuanRT/YouTub > **applyFilter**(`target_filter`): `Promise`\<`HomeFeed`\> -Defined in: [src/parser/ytmusic/HomeFeed.ts:61](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/HomeFeed.ts#L61) +Defined in: [src/parser/ytmusic/HomeFeed.ts:61](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/HomeFeed.ts#L61) #### Parameters @@ -108,7 +108,7 @@ Defined in: [src/parser/ytmusic/HomeFeed.ts:61](https://github.com/LuanRT/YouTub > **getContinuation**(): `Promise`\<`HomeFeed`\> -Defined in: [src/parser/ytmusic/HomeFeed.ts:49](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/HomeFeed.ts#L49) +Defined in: [src/parser/ytmusic/HomeFeed.ts:49](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/HomeFeed.ts#L49) Retrieves home feed continuation. diff --git a/docs/api/youtubei.js/namespaces/YTMusic/classes/Library.md b/docs/api/youtubei.js/namespaces/YTMusic/classes/Library.md index 107af790..06cd0a11 100644 --- a/docs/api/youtubei.js/namespaces/YTMusic/classes/Library.md +++ b/docs/api/youtubei.js/namespaces/YTMusic/classes/Library.md @@ -2,7 +2,7 @@ # Class: Library -Defined in: [src/parser/ytmusic/Library.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Library.ts#L21) +Defined in: [src/parser/ytmusic/Library.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Library.ts#L21) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/parser/ytmusic/Library.ts:21](https://github.com/LuanRT/YouTube > **new Library**(`response`, `actions`): `Library` -Defined in: [src/parser/ytmusic/Library.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Library.ts#L29) +Defined in: [src/parser/ytmusic/Library.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Library.ts#L29) #### Parameters @@ -32,7 +32,7 @@ Defined in: [src/parser/ytmusic/Library.ts:29](https://github.com/LuanRT/YouTube > `optional` **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MusicShelf`](../../YTNodes/classes/MusicShelf.md) \| [`Grid`](../../YTNodes/classes/Grid.md)\> -Defined in: [src/parser/ytmusic/Library.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Library.ts#L27) +Defined in: [src/parser/ytmusic/Library.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Library.ts#L27) *** @@ -40,7 +40,7 @@ Defined in: [src/parser/ytmusic/Library.ts:27](https://github.com/LuanRT/YouTube > `optional` **header**: [`MusicSideAlignedItem`](../../YTNodes/classes/MusicSideAlignedItem.md) -Defined in: [src/parser/ytmusic/Library.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Library.ts#L26) +Defined in: [src/parser/ytmusic/Library.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Library.ts#L26) ## Accessors @@ -50,7 +50,7 @@ Defined in: [src/parser/ytmusic/Library.ts:26](https://github.com/LuanRT/YouTube > **get** **filters**(): `string`[] -Defined in: [src/parser/ytmusic/Library.ts:142](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Library.ts#L142) +Defined in: [src/parser/ytmusic/Library.ts:142](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Library.ts#L142) ##### Returns @@ -64,7 +64,7 @@ Defined in: [src/parser/ytmusic/Library.ts:142](https://github.com/LuanRT/YouTub > **get** **has\_continuation**(): `boolean` -Defined in: [src/parser/ytmusic/Library.ts:132](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Library.ts#L132) +Defined in: [src/parser/ytmusic/Library.ts:132](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Library.ts#L132) ##### Returns @@ -78,7 +78,7 @@ Defined in: [src/parser/ytmusic/Library.ts:132](https://github.com/LuanRT/YouTub > **get** **page**(): [`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) -Defined in: [src/parser/ytmusic/Library.ts:146](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Library.ts#L146) +Defined in: [src/parser/ytmusic/Library.ts:146](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Library.ts#L146) ##### Returns @@ -92,7 +92,7 @@ Defined in: [src/parser/ytmusic/Library.ts:146](https://github.com/LuanRT/YouTub > **get** **sort\_options**(): `string`[] -Defined in: [src/parser/ytmusic/Library.ts:136](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Library.ts#L136) +Defined in: [src/parser/ytmusic/Library.ts:136](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Library.ts#L136) ##### Returns @@ -104,7 +104,7 @@ Defined in: [src/parser/ytmusic/Library.ts:136](https://github.com/LuanRT/YouTub > **applyFilter**(`filter`): `Promise`\<`Library`\> -Defined in: [src/parser/ytmusic/Library.ts:94](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Library.ts#L94) +Defined in: [src/parser/ytmusic/Library.ts:94](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Library.ts#L94) Applies given filter to the library. @@ -124,7 +124,7 @@ Applies given filter to the library. > **applySort**(`sort_by`): `Promise`\<`Library`\> -Defined in: [src/parser/ytmusic/Library.ts:44](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Library.ts#L44) +Defined in: [src/parser/ytmusic/Library.ts:44](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Library.ts#L44) Applies given sort option to the library items. @@ -144,7 +144,7 @@ Applies given sort option to the library items. > **getContinuation**(): `Promise`\<[`LibraryContinuation`](LibraryContinuation.md)\> -Defined in: [src/parser/ytmusic/Library.ts:120](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Library.ts#L120) +Defined in: [src/parser/ytmusic/Library.ts:120](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Library.ts#L120) Retrieves continuation of the library items. diff --git a/docs/api/youtubei.js/namespaces/YTMusic/classes/LibraryContinuation.md b/docs/api/youtubei.js/namespaces/YTMusic/classes/LibraryContinuation.md index ae024cce..d2a266e5 100644 --- a/docs/api/youtubei.js/namespaces/YTMusic/classes/LibraryContinuation.md +++ b/docs/api/youtubei.js/namespaces/YTMusic/classes/LibraryContinuation.md @@ -2,7 +2,7 @@ # Class: LibraryContinuation -Defined in: [src/parser/ytmusic/Library.ts:151](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Library.ts#L151) +Defined in: [src/parser/ytmusic/Library.ts:151](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Library.ts#L151) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/parser/ytmusic/Library.ts:151](https://github.com/LuanRT/YouTub > **new LibraryContinuation**(`response`, `actions`): `LibraryContinuation` -Defined in: [src/parser/ytmusic/Library.ts:158](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Library.ts#L158) +Defined in: [src/parser/ytmusic/Library.ts:158](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Library.ts#L158) #### Parameters @@ -32,7 +32,7 @@ Defined in: [src/parser/ytmusic/Library.ts:158](https://github.com/LuanRT/YouTub > **contents**: [`MusicShelfContinuation`](../../../../classes/MusicShelfContinuation.md) \| [`GridContinuation`](../../../../classes/GridContinuation.md) -Defined in: [src/parser/ytmusic/Library.ts:156](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Library.ts#L156) +Defined in: [src/parser/ytmusic/Library.ts:156](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Library.ts#L156) ## Accessors @@ -42,7 +42,7 @@ Defined in: [src/parser/ytmusic/Library.ts:156](https://github.com/LuanRT/YouTub > **get** **has\_continuation**(): `boolean` -Defined in: [src/parser/ytmusic/Library.ts:182](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Library.ts#L182) +Defined in: [src/parser/ytmusic/Library.ts:182](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Library.ts#L182) ##### Returns @@ -56,7 +56,7 @@ Defined in: [src/parser/ytmusic/Library.ts:182](https://github.com/LuanRT/YouTub > **get** **page**(): [`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) -Defined in: [src/parser/ytmusic/Library.ts:186](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Library.ts#L186) +Defined in: [src/parser/ytmusic/Library.ts:186](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Library.ts#L186) ##### Returns @@ -68,7 +68,7 @@ Defined in: [src/parser/ytmusic/Library.ts:186](https://github.com/LuanRT/YouTub > **getContinuation**(): `Promise`\<`LibraryContinuation`\> -Defined in: [src/parser/ytmusic/Library.ts:170](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Library.ts#L170) +Defined in: [src/parser/ytmusic/Library.ts:170](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Library.ts#L170) #### Returns diff --git a/docs/api/youtubei.js/namespaces/YTMusic/classes/Playlist.md b/docs/api/youtubei.js/namespaces/YTMusic/classes/Playlist.md index 5a3cb205..4ff9a98d 100644 --- a/docs/api/youtubei.js/namespaces/YTMusic/classes/Playlist.md +++ b/docs/api/youtubei.js/namespaces/YTMusic/classes/Playlist.md @@ -2,7 +2,7 @@ # Class: Playlist -Defined in: [src/parser/ytmusic/Playlist.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Playlist.ts#L22) +Defined in: [src/parser/ytmusic/Playlist.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Playlist.ts#L22) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/parser/ytmusic/Playlist.ts:22](https://github.com/LuanRT/YouTub > **new Playlist**(`response`, `actions`): `Playlist` -Defined in: [src/parser/ytmusic/Playlist.ts:34](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Playlist.ts#L34) +Defined in: [src/parser/ytmusic/Playlist.ts:34](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Playlist.ts#L34) #### Parameters @@ -32,7 +32,7 @@ Defined in: [src/parser/ytmusic/Playlist.ts:34](https://github.com/LuanRT/YouTub > `optional` **background**: [`MusicThumbnail`](../../YTNodes/classes/MusicThumbnail.md) -Defined in: [src/parser/ytmusic/Playlist.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Playlist.ts#L29) +Defined in: [src/parser/ytmusic/Playlist.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Playlist.ts#L29) *** @@ -40,7 +40,7 @@ Defined in: [src/parser/ytmusic/Playlist.ts:29](https://github.com/LuanRT/YouTub > `optional` **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ContinuationItem`](../../YTNodes/classes/ContinuationItem.md) \| [`MusicResponsiveListItem`](../../YTNodes/classes/MusicResponsiveListItem.md)\> -Defined in: [src/parser/ytmusic/Playlist.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Playlist.ts#L28) +Defined in: [src/parser/ytmusic/Playlist.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Playlist.ts#L28) *** @@ -48,7 +48,7 @@ Defined in: [src/parser/ytmusic/Playlist.ts:28](https://github.com/LuanRT/YouTub > `optional` **header**: [`MusicDetailHeader`](../../YTNodes/classes/MusicDetailHeader.md) \| [`MusicResponsiveHeader`](../../YTNodes/classes/MusicResponsiveHeader.md) \| [`MusicEditablePlaylistDetailHeader`](../../YTNodes/classes/MusicEditablePlaylistDetailHeader.md) -Defined in: [src/parser/ytmusic/Playlist.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Playlist.ts#L27) +Defined in: [src/parser/ytmusic/Playlist.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Playlist.ts#L27) ## Accessors @@ -58,7 +58,7 @@ Defined in: [src/parser/ytmusic/Playlist.ts:27](https://github.com/LuanRT/YouTub > **get** **has\_continuation**(): `boolean` -Defined in: [src/parser/ytmusic/Playlist.ts:163](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Playlist.ts#L163) +Defined in: [src/parser/ytmusic/Playlist.ts:163](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Playlist.ts#L163) ##### Returns @@ -72,7 +72,7 @@ Defined in: [src/parser/ytmusic/Playlist.ts:163](https://github.com/LuanRT/YouTu > **get** **items**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ContinuationItem`](../../YTNodes/classes/ContinuationItem.md) \| [`MusicResponsiveListItem`](../../YTNodes/classes/MusicResponsiveListItem.md)\> -Defined in: [src/parser/ytmusic/Playlist.ts:159](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Playlist.ts#L159) +Defined in: [src/parser/ytmusic/Playlist.ts:159](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Playlist.ts#L159) ##### Returns @@ -86,7 +86,7 @@ Defined in: [src/parser/ytmusic/Playlist.ts:159](https://github.com/LuanRT/YouTu > **get** **page**(): [`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) -Defined in: [src/parser/ytmusic/Playlist.ts:155](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Playlist.ts#L155) +Defined in: [src/parser/ytmusic/Playlist.ts:155](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Playlist.ts#L155) ##### Returns @@ -98,7 +98,7 @@ Defined in: [src/parser/ytmusic/Playlist.ts:155](https://github.com/LuanRT/YouTu > **getContinuation**(): `Promise`\<`Playlist`\> -Defined in: [src/parser/ytmusic/Playlist.ts:64](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Playlist.ts#L64) +Defined in: [src/parser/ytmusic/Playlist.ts:64](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Playlist.ts#L64) Retrieves playlist items continuation. @@ -112,7 +112,7 @@ Retrieves playlist items continuation. > **getRelated**(): `Promise`\<[`MusicCarouselShelf`](../../YTNodes/classes/MusicCarouselShelf.md)\> -Defined in: [src/parser/ytmusic/Playlist.ts:85](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Playlist.ts#L85) +Defined in: [src/parser/ytmusic/Playlist.ts:85](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Playlist.ts#L85) Retrieves related playlists @@ -124,13 +124,13 @@ Retrieves related playlists ### getSuggestions() -> **getSuggestions**(`refresh`): `Promise`\<[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MusicResponsiveListItem`](../../YTNodes/classes/MusicResponsiveListItem.md)\>\> +> **getSuggestions**(`refresh?`): `Promise`\<[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MusicResponsiveListItem`](../../YTNodes/classes/MusicResponsiveListItem.md)\>\> -Defined in: [src/parser/ytmusic/Playlist.ts:114](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Playlist.ts#L114) +Defined in: [src/parser/ytmusic/Playlist.ts:114](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Playlist.ts#L114) #### Parameters -##### refresh +##### refresh? `boolean` = `true` diff --git a/docs/api/youtubei.js/namespaces/YTMusic/classes/Recap.md b/docs/api/youtubei.js/namespaces/YTMusic/classes/Recap.md index 032d5ea3..b028a8c3 100644 --- a/docs/api/youtubei.js/namespaces/YTMusic/classes/Recap.md +++ b/docs/api/youtubei.js/namespaces/YTMusic/classes/Recap.md @@ -2,7 +2,7 @@ # Class: Recap -Defined in: [src/parser/ytmusic/Recap.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Recap.ts#L19) +Defined in: [src/parser/ytmusic/Recap.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Recap.ts#L19) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/parser/ytmusic/Recap.ts:19](https://github.com/LuanRT/YouTube.j > **new Recap**(`response`, `actions`): `Recap` -Defined in: [src/parser/ytmusic/Recap.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Recap.ts#L26) +Defined in: [src/parser/ytmusic/Recap.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Recap.ts#L26) #### Parameters @@ -32,7 +32,7 @@ Defined in: [src/parser/ytmusic/Recap.ts:26](https://github.com/LuanRT/YouTube.j > `optional` **header**: [`MusicHeader`](../../YTNodes/classes/MusicHeader.md) \| [`HighlightsCarousel`](../../YTNodes/classes/HighlightsCarousel.md) -Defined in: [src/parser/ytmusic/Recap.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Recap.ts#L23) +Defined in: [src/parser/ytmusic/Recap.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Recap.ts#L23) *** @@ -40,7 +40,7 @@ Defined in: [src/parser/ytmusic/Recap.ts:23](https://github.com/LuanRT/YouTube.j > `optional` **sections**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ItemSection`](../../YTNodes/classes/ItemSection.md) \| [`Message`](../../YTNodes/classes/Message.md) \| [`MusicCarouselShelf`](../../YTNodes/classes/MusicCarouselShelf.md)\> -Defined in: [src/parser/ytmusic/Recap.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Recap.ts#L24) +Defined in: [src/parser/ytmusic/Recap.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Recap.ts#L24) ## Accessors @@ -50,7 +50,7 @@ Defined in: [src/parser/ytmusic/Recap.ts:24](https://github.com/LuanRT/YouTube.j > **get** **page**(): [`IBrowseResponse`](../../../../type-aliases/IBrowseResponse.md) -Defined in: [src/parser/ytmusic/Recap.ts:60](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Recap.ts#L60) +Defined in: [src/parser/ytmusic/Recap.ts:60](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Recap.ts#L60) ##### Returns @@ -62,7 +62,7 @@ Defined in: [src/parser/ytmusic/Recap.ts:60](https://github.com/LuanRT/YouTube.j > **getPlaylist**(): `Promise`\<[`Playlist`](Playlist.md)\> -Defined in: [src/parser/ytmusic/Recap.ts:47](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Recap.ts#L47) +Defined in: [src/parser/ytmusic/Recap.ts:47](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Recap.ts#L47) Retrieves recap playlist. diff --git a/docs/api/youtubei.js/namespaces/YTMusic/classes/Search.md b/docs/api/youtubei.js/namespaces/YTMusic/classes/Search.md index f62a90a8..9c7b0a59 100644 --- a/docs/api/youtubei.js/namespaces/YTMusic/classes/Search.md +++ b/docs/api/youtubei.js/namespaces/YTMusic/classes/Search.md @@ -2,7 +2,7 @@ # Class: Search -Defined in: [src/parser/ytmusic/Search.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Search.ts#L20) +Defined in: [src/parser/ytmusic/Search.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Search.ts#L20) ## Constructors @@ -10,7 +10,7 @@ Defined in: [src/parser/ytmusic/Search.ts:20](https://github.com/LuanRT/YouTube. > **new Search**(`response`, `actions`, `is_filtered?`): `Search` -Defined in: [src/parser/ytmusic/Search.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Search.ts#L28) +Defined in: [src/parser/ytmusic/Search.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Search.ts#L28) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/ytmusic/Search.ts:28](https://github.com/LuanRT/YouTube. > `optional` **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ItemSection`](../../YTNodes/classes/ItemSection.md) \| [`MusicShelf`](../../YTNodes/classes/MusicShelf.md) \| [`MusicCardShelf`](../../YTNodes/classes/MusicCardShelf.md)\> -Defined in: [src/parser/ytmusic/Search.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Search.ts#L26) +Defined in: [src/parser/ytmusic/Search.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Search.ts#L26) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/ytmusic/Search.ts:26](https://github.com/LuanRT/YouTube. > `optional` **header**: [`ChipCloud`](../../YTNodes/classes/ChipCloud.md) -Defined in: [src/parser/ytmusic/Search.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Search.ts#L25) +Defined in: [src/parser/ytmusic/Search.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Search.ts#L25) ## Accessors @@ -54,7 +54,7 @@ Defined in: [src/parser/ytmusic/Search.ts:25](https://github.com/LuanRT/YouTube. > **get** **albums**(): [`MusicShelf`](../../YTNodes/classes/MusicShelf.md) \| `undefined` -Defined in: [src/parser/ytmusic/Search.ts:137](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Search.ts#L137) +Defined in: [src/parser/ytmusic/Search.ts:137](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Search.ts#L137) ##### Returns @@ -68,7 +68,7 @@ Defined in: [src/parser/ytmusic/Search.ts:137](https://github.com/LuanRT/YouTube > **get** **artists**(): [`MusicShelf`](../../YTNodes/classes/MusicShelf.md) \| `undefined` -Defined in: [src/parser/ytmusic/Search.ts:141](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Search.ts#L141) +Defined in: [src/parser/ytmusic/Search.ts:141](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Search.ts#L141) ##### Returns @@ -82,7 +82,7 @@ Defined in: [src/parser/ytmusic/Search.ts:141](https://github.com/LuanRT/YouTube > **get** **did\_you\_mean**(): [`DidYouMean`](../../YTNodes/classes/DidYouMean.md) \| `undefined` -Defined in: [src/parser/ytmusic/Search.ts:117](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Search.ts#L117) +Defined in: [src/parser/ytmusic/Search.ts:117](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Search.ts#L117) ##### Returns @@ -96,7 +96,7 @@ Defined in: [src/parser/ytmusic/Search.ts:117](https://github.com/LuanRT/YouTube > **get** **filters**(): `string`[] -Defined in: [src/parser/ytmusic/Search.ts:109](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Search.ts#L109) +Defined in: [src/parser/ytmusic/Search.ts:109](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Search.ts#L109) ##### Returns @@ -110,7 +110,7 @@ Defined in: [src/parser/ytmusic/Search.ts:109](https://github.com/LuanRT/YouTube > **get** **has\_continuation**(): `boolean` -Defined in: [src/parser/ytmusic/Search.ts:113](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Search.ts#L113) +Defined in: [src/parser/ytmusic/Search.ts:113](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Search.ts#L113) ##### Returns @@ -124,7 +124,7 @@ Defined in: [src/parser/ytmusic/Search.ts:113](https://github.com/LuanRT/YouTube > **get** **message**(): [`Message`](../../YTNodes/classes/Message.md) \| `undefined` -Defined in: [src/parser/ytmusic/Search.ts:125](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Search.ts#L125) +Defined in: [src/parser/ytmusic/Search.ts:125](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Search.ts#L125) ##### Returns @@ -138,7 +138,7 @@ Defined in: [src/parser/ytmusic/Search.ts:125](https://github.com/LuanRT/YouTube > **get** **page**(): [`ISearchResponse`](../../../../type-aliases/ISearchResponse.md) -Defined in: [src/parser/ytmusic/Search.ts:149](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Search.ts#L149) +Defined in: [src/parser/ytmusic/Search.ts:149](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Search.ts#L149) ##### Returns @@ -152,7 +152,7 @@ Defined in: [src/parser/ytmusic/Search.ts:149](https://github.com/LuanRT/YouTube > **get** **playlists**(): [`MusicShelf`](../../YTNodes/classes/MusicShelf.md) \| `undefined` -Defined in: [src/parser/ytmusic/Search.ts:145](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Search.ts#L145) +Defined in: [src/parser/ytmusic/Search.ts:145](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Search.ts#L145) ##### Returns @@ -166,7 +166,7 @@ Defined in: [src/parser/ytmusic/Search.ts:145](https://github.com/LuanRT/YouTube > **get** **showing\_results\_for**(): [`ShowingResultsFor`](../../YTNodes/classes/ShowingResultsFor.md) \| `undefined` -Defined in: [src/parser/ytmusic/Search.ts:121](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Search.ts#L121) +Defined in: [src/parser/ytmusic/Search.ts:121](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Search.ts#L121) ##### Returns @@ -180,7 +180,7 @@ Defined in: [src/parser/ytmusic/Search.ts:121](https://github.com/LuanRT/YouTube > **get** **songs**(): [`MusicShelf`](../../YTNodes/classes/MusicShelf.md) \| `undefined` -Defined in: [src/parser/ytmusic/Search.ts:129](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Search.ts#L129) +Defined in: [src/parser/ytmusic/Search.ts:129](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Search.ts#L129) ##### Returns @@ -194,7 +194,7 @@ Defined in: [src/parser/ytmusic/Search.ts:129](https://github.com/LuanRT/YouTube > **get** **videos**(): [`MusicShelf`](../../YTNodes/classes/MusicShelf.md) \| `undefined` -Defined in: [src/parser/ytmusic/Search.ts:133](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Search.ts#L133) +Defined in: [src/parser/ytmusic/Search.ts:133](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Search.ts#L133) ##### Returns @@ -206,7 +206,7 @@ Defined in: [src/parser/ytmusic/Search.ts:133](https://github.com/LuanRT/YouTube > **applyFilter**(`target_filter`): `Promise`\<`Search`\> -Defined in: [src/parser/ytmusic/Search.ts:86](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Search.ts#L86) +Defined in: [src/parser/ytmusic/Search.ts:86](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Search.ts#L86) Applies given filter to the search. @@ -226,7 +226,7 @@ Applies given filter to the search. > **getContinuation**(): `Promise`\<`SearchContinuation`\> -Defined in: [src/parser/ytmusic/Search.ts:71](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Search.ts#L71) +Defined in: [src/parser/ytmusic/Search.ts:71](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Search.ts#L71) Retrieves search continuation. Only available for filtered searches and shelf continuations. @@ -240,7 +240,7 @@ Retrieves search continuation. Only available for filtered searches and shelf co > **getMore**(`shelf`): `Promise`\<`Search`\> -Defined in: [src/parser/ytmusic/Search.ts:56](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/Search.ts#L56) +Defined in: [src/parser/ytmusic/Search.ts:56](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/Search.ts#L56) Loads more items for the given shelf. diff --git a/docs/api/youtubei.js/namespaces/YTMusic/classes/TrackInfo.md b/docs/api/youtubei.js/namespaces/YTMusic/classes/TrackInfo.md index c37028a1..e0c37685 100644 --- a/docs/api/youtubei.js/namespaces/YTMusic/classes/TrackInfo.md +++ b/docs/api/youtubei.js/namespaces/YTMusic/classes/TrackInfo.md @@ -2,7 +2,7 @@ # Class: TrackInfo -Defined in: [src/parser/ytmusic/TrackInfo.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/TrackInfo.ts#L22) +Defined in: [src/parser/ytmusic/TrackInfo.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/TrackInfo.ts#L22) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/ytmusic/TrackInfo.ts:22](https://github.com/LuanRT/YouTu > **new TrackInfo**(`data`, `actions`, `cpn`): `TrackInfo` -Defined in: [src/parser/ytmusic/TrackInfo.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/TrackInfo.ts#L27) +Defined in: [src/parser/ytmusic/TrackInfo.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/TrackInfo.ts#L27) #### Parameters @@ -44,7 +44,7 @@ Defined in: [src/parser/ytmusic/TrackInfo.ts:27](https://github.com/LuanRT/YouTu > `optional` **annotations**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`PlayerAnnotationsExpanded`](../../YTNodes/classes/PlayerAnnotationsExpanded.md)\> -Defined in: [src/core/mixins/MediaInfo.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L40) +Defined in: [src/core/mixins/MediaInfo.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L40) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:40](https://github.com/LuanRT/YouTube. > **basic\_info**: `object` -Defined in: [src/core/mixins/MediaInfo.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L39) +Defined in: [src/core/mixins/MediaInfo.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L39) #### allow\_ratings? @@ -200,7 +200,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:39](https://github.com/LuanRT/YouTube. > `optional` **captions**: [`PlayerCaptionsTracklist`](../../YTNodes/classes/PlayerCaptionsTracklist.md) -Defined in: [src/core/mixins/MediaInfo.ts:43](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L43) +Defined in: [src/core/mixins/MediaInfo.ts:43](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L43) #### Inherited from @@ -212,7 +212,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:43](https://github.com/LuanRT/YouTube. > `optional` **cards**: [`CardCollection`](../../YTNodes/classes/CardCollection.md) -Defined in: [src/core/mixins/MediaInfo.ts:44](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L44) +Defined in: [src/core/mixins/MediaInfo.ts:44](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L44) #### Inherited from @@ -224,7 +224,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:44](https://github.com/LuanRT/YouTube. > `optional` **current\_video\_endpoint**: [`NavigationEndpoint`](../../YTNodes/classes/NavigationEndpoint.md) -Defined in: [src/parser/ytmusic/TrackInfo.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/TrackInfo.ts#L24) +Defined in: [src/parser/ytmusic/TrackInfo.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/TrackInfo.ts#L24) *** @@ -232,7 +232,7 @@ Defined in: [src/parser/ytmusic/TrackInfo.ts:24](https://github.com/LuanRT/YouTu > `optional` **endscreen**: [`Endscreen`](../../YTNodes/classes/Endscreen.md) -Defined in: [src/core/mixins/MediaInfo.ts:42](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L42) +Defined in: [src/core/mixins/MediaInfo.ts:42](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L42) #### Inherited from @@ -244,7 +244,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:42](https://github.com/LuanRT/YouTube. > `optional` **playability\_status**: [`IPlayabilityStatus`](../../../../interfaces/IPlayabilityStatus.md) -Defined in: [src/core/mixins/MediaInfo.ts:46](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L46) +Defined in: [src/core/mixins/MediaInfo.ts:46](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L46) #### Inherited from @@ -256,7 +256,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:46](https://github.com/LuanRT/YouTube. > `optional` **player\_config**: [`IPlayerConfig`](../../../../interfaces/IPlayerConfig.md) -Defined in: [src/core/mixins/MediaInfo.ts:47](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L47) +Defined in: [src/core/mixins/MediaInfo.ts:47](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L47) #### Inherited from @@ -268,7 +268,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:47](https://github.com/LuanRT/YouTube. > `optional` **player\_overlays**: [`PlayerOverlay`](../../YTNodes/classes/PlayerOverlay.md) -Defined in: [src/parser/ytmusic/TrackInfo.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/TrackInfo.ts#L25) +Defined in: [src/parser/ytmusic/TrackInfo.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/TrackInfo.ts#L25) *** @@ -276,7 +276,7 @@ Defined in: [src/parser/ytmusic/TrackInfo.ts:25](https://github.com/LuanRT/YouTu > `optional` **storyboards**: [`PlayerStoryboardSpec`](../../YTNodes/classes/PlayerStoryboardSpec.md) \| [`PlayerLiveStoryboardSpec`](../../YTNodes/classes/PlayerLiveStoryboardSpec.md) -Defined in: [src/core/mixins/MediaInfo.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L41) +Defined in: [src/core/mixins/MediaInfo.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L41) #### Inherited from @@ -288,7 +288,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:41](https://github.com/LuanRT/YouTube. > `optional` **streaming\_data**: [`IStreamingData`](../../../../interfaces/IStreamingData.md) -Defined in: [src/core/mixins/MediaInfo.ts:45](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L45) +Defined in: [src/core/mixins/MediaInfo.ts:45](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L45) #### Inherited from @@ -300,7 +300,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:45](https://github.com/LuanRT/YouTube. > `optional` **tabs**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Tab`](../../YTNodes/classes/Tab.md)\> -Defined in: [src/parser/ytmusic/TrackInfo.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/TrackInfo.ts#L23) +Defined in: [src/parser/ytmusic/TrackInfo.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/TrackInfo.ts#L23) ## Accessors @@ -310,7 +310,7 @@ Defined in: [src/parser/ytmusic/TrackInfo.ts:23](https://github.com/LuanRT/YouTu > **get** **actions**(): [`Actions`](../../../../classes/Actions.md) -Defined in: [src/core/mixins/MediaInfo.ts:247](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L247) +Defined in: [src/core/mixins/MediaInfo.ts:247](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L247) ##### Returns @@ -328,7 +328,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:247](https://github.com/LuanRT/YouTube > **get** **available\_tabs**(): `string`[] -Defined in: [src/parser/ytmusic/TrackInfo.ts:155](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/TrackInfo.ts#L155) +Defined in: [src/parser/ytmusic/TrackInfo.ts:155](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/TrackInfo.ts#L155) ##### Returns @@ -342,7 +342,7 @@ Defined in: [src/parser/ytmusic/TrackInfo.ts:155](https://github.com/LuanRT/YouT > **get** **cpn**(): `string` -Defined in: [src/core/mixins/MediaInfo.ts:254](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L254) +Defined in: [src/core/mixins/MediaInfo.ts:254](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L254) Content Playback Nonce. @@ -362,7 +362,7 @@ Content Playback Nonce. > **get** **page**(): \[[`IPlayerResponse`](../../../../type-aliases/IPlayerResponse.md), [`INextResponse`](../../../../type-aliases/INextResponse.md)?\] -Defined in: [src/core/mixins/MediaInfo.ts:261](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L261) +Defined in: [src/core/mixins/MediaInfo.ts:261](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L261) Parsed InnerTube response. @@ -380,7 +380,7 @@ Parsed InnerTube response. > **addToWatchHistory**(): `Promise`\<`Response`\> -Defined in: [src/parser/ytmusic/TrackInfo.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/TrackInfo.ts#L144) +Defined in: [src/parser/ytmusic/TrackInfo.ts:144](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/TrackInfo.ts#L144) Adds the song to the watch history. @@ -398,7 +398,7 @@ Adds the song to the watch history. > **chooseFormat**(`options`): [`Format`](../../Misc/classes/Format.md) -Defined in: [src/core/mixins/MediaInfo.ts:161](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L161) +Defined in: [src/core/mixins/MediaInfo.ts:161](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L161) Selects the format that best matches the given options. @@ -422,15 +422,15 @@ Options ### download() -> **download**(`options`): `Promise`\<`ReadableStream`\<`Uint8Array`\>\> +> **download**(`options?`): `Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\> -Defined in: [src/core/mixins/MediaInfo.ts:169](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L169) +Defined in: [src/core/mixins/MediaInfo.ts:169](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L169) Downloads the video. #### Parameters -##### options +##### options? [`DownloadOptions`](../../Types/interfaces/DownloadOptions.md) = `{}` @@ -438,7 +438,7 @@ Download options. #### Returns -`Promise`\<`ReadableStream`\<`Uint8Array`\>\> +`Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\> #### Inherited from @@ -450,7 +450,7 @@ Download options. > **getLyrics**(): `Promise`\<[`MusicDescriptionShelf`](../../YTNodes/classes/MusicDescriptionShelf.md) \| `undefined`\> -Defined in: [src/parser/ytmusic/TrackInfo.ts:136](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/TrackInfo.ts#L136) +Defined in: [src/parser/ytmusic/TrackInfo.ts:136](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/TrackInfo.ts#L136) Retrieves lyrics. @@ -464,7 +464,7 @@ Retrieves lyrics. > **getRelated**(): `Promise`\<[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MusicCarouselShelf`](../../YTNodes/classes/MusicCarouselShelf.md) \| [`MusicDescriptionShelf`](../../YTNodes/classes/MusicDescriptionShelf.md)\>\> -Defined in: [src/parser/ytmusic/TrackInfo.ts:129](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/TrackInfo.ts#L129) +Defined in: [src/parser/ytmusic/TrackInfo.ts:129](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/TrackInfo.ts#L129) Retrieves related content. @@ -478,7 +478,7 @@ Retrieves related content. > **getStreamingInfo**(`url_transformer?`, `format_filter?`): `Promise`\<`StreamingInfo`\> -Defined in: [src/core/mixins/MediaInfo.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L144) +Defined in: [src/core/mixins/MediaInfo.ts:144](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L144) Get a cleaned up representation of the adaptive_formats @@ -506,7 +506,7 @@ Get a cleaned up representation of the adaptive_formats > **getTab**(`title_or_page_type`): `Promise`\<[`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> \| [`SectionList`](../../YTNodes/classes/SectionList.md) \| [`MusicQueue`](../../YTNodes/classes/MusicQueue.md) \| [`RichGrid`](../../YTNodes/classes/RichGrid.md) \| [`Message`](../../YTNodes/classes/Message.md)\> -Defined in: [src/parser/ytmusic/TrackInfo.ts:46](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/TrackInfo.ts#L46) +Defined in: [src/parser/ytmusic/TrackInfo.ts:46](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/TrackInfo.ts#L46) Retrieves contents of the given tab. @@ -526,7 +526,7 @@ Retrieves contents of the given tab. > **getTranscript**(): `Promise`\<[`TranscriptInfo`](../../YT/classes/TranscriptInfo.md)\> -Defined in: [src/core/mixins/MediaInfo.ts:182](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L182) +Defined in: [src/core/mixins/MediaInfo.ts:182](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L182) Retrieves the video's transcript. @@ -542,15 +542,15 @@ Retrieves the video's transcript. ### getUpNext() -> **getUpNext**(`automix`): `Promise`\<[`PlaylistPanel`](../../YTNodes/classes/PlaylistPanel.md)\> +> **getUpNext**(`automix?`): `Promise`\<[`PlaylistPanel`](../../YTNodes/classes/PlaylistPanel.md)\> -Defined in: [src/parser/ytmusic/TrackInfo.ts:75](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/TrackInfo.ts#L75) +Defined in: [src/parser/ytmusic/TrackInfo.ts:75](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/TrackInfo.ts#L75) Retrieves up next. #### Parameters -##### automix +##### automix? `boolean` = `true` @@ -564,7 +564,7 @@ Retrieves up next. > **getUpNextContinuation**(`playlistPanel`): `Promise`\<[`PlaylistPanelContinuation`](../../../../classes/PlaylistPanelContinuation.md)\> -Defined in: [src/parser/ytmusic/TrackInfo.ts:107](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/TrackInfo.ts#L107) +Defined in: [src/parser/ytmusic/TrackInfo.ts:107](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/TrackInfo.ts#L107) Retrieves up next continuation relative to current TrackInfo. @@ -582,15 +582,15 @@ Retrieves up next continuation relative to current TrackInfo. ### toDash() -> **toDash**(`options`): `Promise`\<`string`\> +> **toDash**(`options?`): `Promise`\<`string`\> -Defined in: [src/core/mixins/MediaInfo.ts:104](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L104) +Defined in: [src/core/mixins/MediaInfo.ts:104](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L104) Generates a DASH manifest from the streaming data. #### Parameters -##### options +##### options? ###### format_filter? @@ -620,7 +620,7 @@ DASH manifest > **updateWatchTime**(`startTime`): `Promise`\<`Response`\> -Defined in: [src/parser/ytmusic/TrackInfo.ts:151](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytmusic/TrackInfo.ts#L151) +Defined in: [src/parser/ytmusic/TrackInfo.ts:151](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytmusic/TrackInfo.ts#L151) Updates the watch time of the song. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/README.md b/docs/api/youtubei.js/namespaces/YTNodes/README.md index e725b645..6c64684b 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/README.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/README.md @@ -129,6 +129,7 @@ - [DismissableDialog](classes/DismissableDialog.md) - [DismissableDialogContentSection](classes/DismissableDialogContentSection.md) - [DownloadButton](classes/DownloadButton.md) +- [DownloadListItemView](classes/DownloadListItemView.md) - [Dropdown](classes/Dropdown.md) - [DropdownItem](classes/DropdownItem.md) - [DropdownView](classes/DropdownView.md) @@ -322,6 +323,7 @@ - [OpenPopupAction](classes/OpenPopupAction.md) - [PageHeader](classes/PageHeader.md) - [PageHeaderView](classes/PageHeaderView.md) +- [PageIndicatorView](classes/PageIndicatorView.md) - [PageIntroduction](classes/PageIntroduction.md) - [PanelFooterView](classes/PanelFooterView.md) - [PdgCommentChip](classes/PdgCommentChip.md) @@ -331,6 +333,7 @@ - [PivotBarItem](classes/PivotBarItem.md) - [PivotButton](classes/PivotButton.md) - [PlayerAnnotationsExpanded](classes/PlayerAnnotationsExpanded.md) +- [PlayerCaptchaView](classes/PlayerCaptchaView.md) - [PlayerCaptionsTracklist](classes/PlayerCaptionsTracklist.md) - [PlayerControlsOverlay](classes/PlayerControlsOverlay.md) - [PlayerErrorMessage](classes/PlayerErrorMessage.md) @@ -423,6 +426,7 @@ - [SharePanelHeader](classes/SharePanelHeader.md) - [SharePanelTitleV15](classes/SharePanelTitleV15.md) - [ShareTarget](classes/ShareTarget.md) +- [SheetView](classes/SheetView.md) - [Shelf](classes/Shelf.md) - [ShortsLockupView](classes/ShortsLockupView.md) - [ShowCustomThumbnail](classes/ShowCustomThumbnail.md) @@ -432,6 +436,7 @@ - [ShowLiveChatActionPanelAction](classes/ShowLiveChatActionPanelAction.md) - [ShowLiveChatDialogAction](classes/ShowLiveChatDialogAction.md) - [ShowLiveChatTooltipCommand](classes/ShowLiveChatTooltipCommand.md) +- [ShowSheetCommand](classes/ShowSheetCommand.md) - [SignalAction](classes/SignalAction.md) - [SignalServiceEndpoint](classes/SignalServiceEndpoint.md) - [SimpleCardContent](classes/SimpleCardContent.md) @@ -481,6 +486,7 @@ - [ThumbnailOverlayResumePlayback](classes/ThumbnailOverlayResumePlayback.md) - [ThumbnailOverlaySidePanel](classes/ThumbnailOverlaySidePanel.md) - [ThumbnailOverlayTimeStatus](classes/ThumbnailOverlayTimeStatus.md) +- [ThumbnailOverlayTitleView](classes/ThumbnailOverlayTitleView.md) - [ThumbnailOverlayToggleButton](classes/ThumbnailOverlayToggleButton.md) - [ThumbnailView](classes/ThumbnailView.md) - [TimedMarkerDecoration](classes/TimedMarkerDecoration.md) @@ -533,6 +539,8 @@ - [VideoOwner](classes/VideoOwner.md) - [VideoPrimaryInfo](classes/VideoPrimaryInfo.md) - [VideoSecondaryInfo](classes/VideoSecondaryInfo.md) +- [VideoSummaryContentView](classes/VideoSummaryContentView.md) +- [VideoSummaryParagraphView](classes/VideoSummaryParagraphView.md) - [VideoViewCount](classes/VideoViewCount.md) - [ViewCountFactoid](classes/ViewCountFactoid.md) - [VoiceReplyContainerView](classes/VoiceReplyContainerView.md) diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/AboutChannel.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/AboutChannel.md index 72e53057..3247e130 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/AboutChannel.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/AboutChannel.md @@ -2,7 +2,7 @@ # Class: AboutChannel -Defined in: [src/parser/classes/AboutChannel.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AboutChannel.ts#L6) +Defined in: [src/parser/classes/AboutChannel.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AboutChannel.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/AboutChannel.ts:6](https://github.com/LuanRT/You > **new AboutChannel**(`data`): `AboutChannel` -Defined in: [src/parser/classes/AboutChannel.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AboutChannel.ts#L12) +Defined in: [src/parser/classes/AboutChannel.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AboutChannel.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/AboutChannel.ts:12](https://github.com/LuanRT/Yo > **metadata**: [`AboutChannelView`](AboutChannelView.md) \| `null` -Defined in: [src/parser/classes/AboutChannel.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AboutChannel.ts#L9) +Defined in: [src/parser/classes/AboutChannel.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AboutChannel.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/AboutChannel.ts:9](https://github.com/LuanRT/You > **share\_channel**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/AboutChannel.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AboutChannel.ts#L10) +Defined in: [src/parser/classes/AboutChannel.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AboutChannel.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/AboutChannel.ts:10](https://github.com/LuanRT/Yo > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'AboutChannel'` -Defined in: [src/parser/classes/AboutChannel.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AboutChannel.ts#L7) +Defined in: [src/parser/classes/AboutChannel.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AboutChannel.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/AboutChannel.ts:7](https://github.com/LuanRT/You > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is AboutChannel & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/AboutChannelView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/AboutChannelView.md index 8ce856d7..4b4b87b6 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/AboutChannelView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/AboutChannelView.md @@ -2,7 +2,7 @@ # Class: AboutChannelView -Defined in: [src/parser/classes/AboutChannelView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AboutChannelView.ts#L8) +Defined in: [src/parser/classes/AboutChannelView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AboutChannelView.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/AboutChannelView.ts:8](https://github.com/LuanRT > **new AboutChannelView**(`data`): `AboutChannelView` -Defined in: [src/parser/classes/AboutChannelView.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AboutChannelView.ts#L26) +Defined in: [src/parser/classes/AboutChannelView.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AboutChannelView.ts#L26) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/AboutChannelView.ts:26](https://github.com/LuanR > `optional` **additional\_info\_label**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/AboutChannelView.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AboutChannelView.ts#L20) +Defined in: [src/parser/classes/AboutChannelView.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AboutChannelView.ts#L20) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/AboutChannelView.ts:20](https://github.com/LuanR > `optional` **canonical\_channel\_url**: `string` -Defined in: [src/parser/classes/AboutChannelView.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AboutChannelView.ts#L18) +Defined in: [src/parser/classes/AboutChannelView.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AboutChannelView.ts#L18) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/AboutChannelView.ts:18](https://github.com/LuanR > `optional` **channel\_id**: `string` -Defined in: [src/parser/classes/AboutChannelView.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AboutChannelView.ts#L19) +Defined in: [src/parser/classes/AboutChannelView.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AboutChannelView.ts#L19) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/AboutChannelView.ts:19](https://github.com/LuanR > `optional` **country**: `string` -Defined in: [src/parser/classes/AboutChannelView.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AboutChannelView.ts#L13) +Defined in: [src/parser/classes/AboutChannelView.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AboutChannelView.ts#L13) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/AboutChannelView.ts:13](https://github.com/LuanR > `optional` **custom\_links\_label**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/AboutChannelView.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AboutChannelView.ts#L14) +Defined in: [src/parser/classes/AboutChannelView.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AboutChannelView.ts#L14) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/AboutChannelView.ts:14](https://github.com/LuanR > `optional` **custom\_url\_on\_tap**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/AboutChannelView.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AboutChannelView.ts#L21) +Defined in: [src/parser/classes/AboutChannelView.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AboutChannelView.ts#L21) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/AboutChannelView.ts:21](https://github.com/LuanR > `optional` **description**: `string` -Defined in: [src/parser/classes/AboutChannelView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AboutChannelView.ts#L11) +Defined in: [src/parser/classes/AboutChannelView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AboutChannelView.ts#L11) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/AboutChannelView.ts:11](https://github.com/LuanR > `optional` **description\_label**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/AboutChannelView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AboutChannelView.ts#L12) +Defined in: [src/parser/classes/AboutChannelView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AboutChannelView.ts#L12) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/AboutChannelView.ts:12](https://github.com/LuanR > `optional` **joined\_date**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/AboutChannelView.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AboutChannelView.ts#L17) +Defined in: [src/parser/classes/AboutChannelView.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AboutChannelView.ts#L17) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/AboutChannelView.ts:17](https://github.com/LuanR > **links**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ChannelExternalLinkView`](ChannelExternalLinkView.md)\> -Defined in: [src/parser/classes/AboutChannelView.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AboutChannelView.ts#L24) +Defined in: [src/parser/classes/AboutChannelView.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AboutChannelView.ts#L24) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/AboutChannelView.ts:24](https://github.com/LuanR > `optional` **sign\_in\_for\_business\_email**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/AboutChannelView.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AboutChannelView.ts#L23) +Defined in: [src/parser/classes/AboutChannelView.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AboutChannelView.ts#L23) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/AboutChannelView.ts:23](https://github.com/LuanR > `optional` **subscriber\_count**: `string` -Defined in: [src/parser/classes/AboutChannelView.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AboutChannelView.ts#L15) +Defined in: [src/parser/classes/AboutChannelView.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AboutChannelView.ts#L15) *** @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/AboutChannelView.ts:15](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -144,7 +144,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **video\_count**: `string` -Defined in: [src/parser/classes/AboutChannelView.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AboutChannelView.ts#L22) +Defined in: [src/parser/classes/AboutChannelView.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AboutChannelView.ts#L22) *** @@ -152,7 +152,7 @@ Defined in: [src/parser/classes/AboutChannelView.ts:22](https://github.com/LuanR > `optional` **view\_count**: `string` -Defined in: [src/parser/classes/AboutChannelView.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AboutChannelView.ts#L16) +Defined in: [src/parser/classes/AboutChannelView.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AboutChannelView.ts#L16) *** @@ -160,7 +160,7 @@ Defined in: [src/parser/classes/AboutChannelView.ts:16](https://github.com/LuanR > `static` **type**: `string` = `'AboutChannelView'` -Defined in: [src/parser/classes/AboutChannelView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AboutChannelView.ts#L9) +Defined in: [src/parser/classes/AboutChannelView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AboutChannelView.ts#L9) #### Overrides @@ -172,7 +172,7 @@ Defined in: [src/parser/classes/AboutChannelView.ts:9](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -214,7 +214,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is AboutChannelView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -252,7 +252,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -290,7 +290,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/AccountChannel.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/AccountChannel.md index 69b3ca46..c3a92a0f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/AccountChannel.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/AccountChannel.md @@ -2,7 +2,7 @@ # Class: AccountChannel -Defined in: [src/parser/classes/AccountChannel.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountChannel.ts#L6) +Defined in: [src/parser/classes/AccountChannel.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountChannel.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/AccountChannel.ts:6](https://github.com/LuanRT/Y > **new AccountChannel**(`data`): `AccountChannel` -Defined in: [src/parser/classes/AccountChannel.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountChannel.ts#L12) +Defined in: [src/parser/classes/AccountChannel.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountChannel.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/AccountChannel.ts:12](https://github.com/LuanRT/ > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/AccountChannel.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountChannel.ts#L10) +Defined in: [src/parser/classes/AccountChannel.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountChannel.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/AccountChannel.ts:10](https://github.com/LuanRT/ > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/AccountChannel.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountChannel.ts#L9) +Defined in: [src/parser/classes/AccountChannel.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountChannel.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/AccountChannel.ts:9](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'AccountChannel'` -Defined in: [src/parser/classes/AccountChannel.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountChannel.ts#L7) +Defined in: [src/parser/classes/AccountChannel.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountChannel.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/AccountChannel.ts:7](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is AccountChannel & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/AccountItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/AccountItem.md index 74821b5a..32ec7070 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/AccountItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/AccountItem.md @@ -2,7 +2,7 @@ # Class: AccountItem -Defined in: [src/parser/classes/AccountItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountItem.ts#L10) +Defined in: [src/parser/classes/AccountItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountItem.ts#L10) Not a real renderer but we treat it as one to keep things organized. @@ -16,7 +16,7 @@ Not a real renderer but we treat it as one to keep things organized. > **new AccountItem**(`data`): `AccountItem` -Defined in: [src/parser/classes/AccountItem.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountItem.ts#L22) +Defined in: [src/parser/classes/AccountItem.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountItem.ts#L22) #### Parameters @@ -38,7 +38,7 @@ Defined in: [src/parser/classes/AccountItem.ts:22](https://github.com/LuanRT/You > **account\_byline**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/AccountItem.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountItem.ts#L19) +Defined in: [src/parser/classes/AccountItem.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountItem.ts#L19) *** @@ -46,7 +46,7 @@ Defined in: [src/parser/classes/AccountItem.ts:19](https://github.com/LuanRT/You > **account\_name**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/AccountItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountItem.ts#L13) +Defined in: [src/parser/classes/AccountItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountItem.ts#L13) *** @@ -54,7 +54,7 @@ Defined in: [src/parser/classes/AccountItem.ts:13](https://github.com/LuanRT/You > **account\_photo**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/AccountItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountItem.ts#L14) +Defined in: [src/parser/classes/AccountItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountItem.ts#L14) *** @@ -62,7 +62,7 @@ Defined in: [src/parser/classes/AccountItem.ts:14](https://github.com/LuanRT/You > **channel\_handle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/AccountItem.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountItem.ts#L20) +Defined in: [src/parser/classes/AccountItem.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountItem.ts#L20) *** @@ -70,7 +70,7 @@ Defined in: [src/parser/classes/AccountItem.ts:20](https://github.com/LuanRT/You > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/AccountItem.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountItem.ts#L18) +Defined in: [src/parser/classes/AccountItem.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountItem.ts#L18) *** @@ -78,7 +78,7 @@ Defined in: [src/parser/classes/AccountItem.ts:18](https://github.com/LuanRT/You > **has\_channel**: `boolean` -Defined in: [src/parser/classes/AccountItem.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountItem.ts#L17) +Defined in: [src/parser/classes/AccountItem.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountItem.ts#L17) *** @@ -86,7 +86,7 @@ Defined in: [src/parser/classes/AccountItem.ts:17](https://github.com/LuanRT/You > **is\_disabled**: `boolean` -Defined in: [src/parser/classes/AccountItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountItem.ts#L16) +Defined in: [src/parser/classes/AccountItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountItem.ts#L16) *** @@ -94,7 +94,7 @@ Defined in: [src/parser/classes/AccountItem.ts:16](https://github.com/LuanRT/You > **is\_selected**: `boolean` -Defined in: [src/parser/classes/AccountItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountItem.ts#L15) +Defined in: [src/parser/classes/AccountItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountItem.ts#L15) *** @@ -102,7 +102,7 @@ Defined in: [src/parser/classes/AccountItem.ts:15](https://github.com/LuanRT/You > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -114,7 +114,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'AccountItem'` -Defined in: [src/parser/classes/AccountItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountItem.ts#L11) +Defined in: [src/parser/classes/AccountItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountItem.ts#L11) #### Overrides @@ -126,7 +126,7 @@ Defined in: [src/parser/classes/AccountItem.ts:11](https://github.com/LuanRT/You > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -168,7 +168,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is AccountItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -206,7 +206,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -244,7 +244,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/AccountItemSection.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/AccountItemSection.md index 4193543c..cae86f80 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/AccountItemSection.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/AccountItemSection.md @@ -2,7 +2,7 @@ # Class: AccountItemSection -Defined in: [src/parser/classes/AccountItemSection.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountItemSection.ts#L8) +Defined in: [src/parser/classes/AccountItemSection.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountItemSection.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/AccountItemSection.ts:8](https://github.com/Luan > **new AccountItemSection**(`data`): `AccountItemSection` -Defined in: [src/parser/classes/AccountItemSection.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountItemSection.ts#L14) +Defined in: [src/parser/classes/AccountItemSection.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountItemSection.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/AccountItemSection.ts:14](https://github.com/Lua > **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactLink`](CompactLink.md) \| [`AccountItem`](AccountItem.md)\> -Defined in: [src/parser/classes/AccountItemSection.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountItemSection.ts#L11) +Defined in: [src/parser/classes/AccountItemSection.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountItemSection.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/AccountItemSection.ts:11](https://github.com/Lua > **header**: [`AccountItemSectionHeader`](AccountItemSectionHeader.md) \| `null` -Defined in: [src/parser/classes/AccountItemSection.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountItemSection.ts#L12) +Defined in: [src/parser/classes/AccountItemSection.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountItemSection.ts#L12) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/AccountItemSection.ts:12](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'AccountItemSection'` -Defined in: [src/parser/classes/AccountItemSection.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountItemSection.ts#L9) +Defined in: [src/parser/classes/AccountItemSection.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountItemSection.ts#L9) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/AccountItemSection.ts:9](https://github.com/Luan > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is AccountItemSection & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/AccountItemSectionHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/AccountItemSectionHeader.md index 5a1d8b33..a1c17c56 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/AccountItemSectionHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/AccountItemSectionHeader.md @@ -2,7 +2,7 @@ # Class: AccountItemSectionHeader -Defined in: [src/parser/classes/AccountItemSectionHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountItemSectionHeader.ts#L5) +Defined in: [src/parser/classes/AccountItemSectionHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountItemSectionHeader.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/AccountItemSectionHeader.ts:5](https://github.co > **new AccountItemSectionHeader**(`data`): `AccountItemSectionHeader` -Defined in: [src/parser/classes/AccountItemSectionHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountItemSectionHeader.ts#L10) +Defined in: [src/parser/classes/AccountItemSectionHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountItemSectionHeader.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/AccountItemSectionHeader.ts:10](https://github.c > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/AccountItemSectionHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountItemSectionHeader.ts#L8) +Defined in: [src/parser/classes/AccountItemSectionHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountItemSectionHeader.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/AccountItemSectionHeader.ts:8](https://github.co > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'AccountItemSectionHeader'` -Defined in: [src/parser/classes/AccountItemSectionHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountItemSectionHeader.ts#L6) +Defined in: [src/parser/classes/AccountItemSectionHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountItemSectionHeader.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/AccountItemSectionHeader.ts:6](https://github.co > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is AccountItemSectionHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/AccountSectionList.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/AccountSectionList.md index da9694a8..7e80342a 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/AccountSectionList.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/AccountSectionList.md @@ -2,7 +2,7 @@ # Class: AccountSectionList -Defined in: [src/parser/classes/AccountSectionList.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountSectionList.ts#L9) +Defined in: [src/parser/classes/AccountSectionList.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountSectionList.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/AccountSectionList.ts:9](https://github.com/Luan > **new AccountSectionList**(`data`): `AccountSectionList` -Defined in: [src/parser/classes/AccountSectionList.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountSectionList.ts#L15) +Defined in: [src/parser/classes/AccountSectionList.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountSectionList.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/AccountSectionList.ts:15](https://github.com/Lua > **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`AccountItemSection`](AccountItemSection.md)\> -Defined in: [src/parser/classes/AccountSectionList.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountSectionList.ts#L12) +Defined in: [src/parser/classes/AccountSectionList.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountSectionList.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/AccountSectionList.ts:12](https://github.com/Lua > **footers**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`AccountChannel`](AccountChannel.md)\> -Defined in: [src/parser/classes/AccountSectionList.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountSectionList.ts#L13) +Defined in: [src/parser/classes/AccountSectionList.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountSectionList.ts#L13) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/AccountSectionList.ts:13](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'AccountSectionList'` -Defined in: [src/parser/classes/AccountSectionList.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AccountSectionList.ts#L10) +Defined in: [src/parser/classes/AccountSectionList.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AccountSectionList.ts#L10) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/AccountSectionList.ts:10](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is AccountSectionList & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ActiveAccountHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ActiveAccountHeader.md index 7a48d5e8..85f50757 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ActiveAccountHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ActiveAccountHeader.md @@ -2,7 +2,7 @@ # Class: ActiveAccountHeader -Defined in: [src/parser/classes/ActiveAccountHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ActiveAccountHeader.ts#L7) +Defined in: [src/parser/classes/ActiveAccountHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ActiveAccountHeader.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ActiveAccountHeader.ts:7](https://github.com/Lua > **new ActiveAccountHeader**(`data`): `ActiveAccountHeader` -Defined in: [src/parser/classes/ActiveAccountHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ActiveAccountHeader.ts#L16) +Defined in: [src/parser/classes/ActiveAccountHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ActiveAccountHeader.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ActiveAccountHeader.ts:16](https://github.com/Lu > **account\_name**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ActiveAccountHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ActiveAccountHeader.ts#L10) +Defined in: [src/parser/classes/ActiveAccountHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ActiveAccountHeader.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ActiveAccountHeader.ts:10](https://github.com/Lu > **account\_photo**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/ActiveAccountHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ActiveAccountHeader.ts#L11) +Defined in: [src/parser/classes/ActiveAccountHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ActiveAccountHeader.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ActiveAccountHeader.ts:11](https://github.com/Lu > **channel\_handle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ActiveAccountHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ActiveAccountHeader.ts#L14) +Defined in: [src/parser/classes/ActiveAccountHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ActiveAccountHeader.ts#L14) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ActiveAccountHeader.ts:14](https://github.com/Lu > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ActiveAccountHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ActiveAccountHeader.ts#L12) +Defined in: [src/parser/classes/ActiveAccountHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ActiveAccountHeader.ts#L12) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ActiveAccountHeader.ts:12](https://github.com/Lu > **manage\_account\_title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ActiveAccountHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ActiveAccountHeader.ts#L13) +Defined in: [src/parser/classes/ActiveAccountHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ActiveAccountHeader.ts#L13) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ActiveAccountHeader.ts:13](https://github.com/Lu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ActiveAccountHeader'` -Defined in: [src/parser/classes/ActiveAccountHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ActiveAccountHeader.ts#L8) +Defined in: [src/parser/classes/ActiveAccountHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ActiveAccountHeader.ts#L8) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/ActiveAccountHeader.ts:8](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ActiveAccountHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/AddBannerToLiveChatCommand.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/AddBannerToLiveChatCommand.md index 3d67f084..106ffade 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/AddBannerToLiveChatCommand.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/AddBannerToLiveChatCommand.md @@ -2,7 +2,7 @@ # Class: AddBannerToLiveChatCommand -Defined in: [src/parser/classes/livechat/AddBannerToLiveChatCommand.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/AddBannerToLiveChatCommand.ts#L6) +Defined in: [src/parser/classes/livechat/AddBannerToLiveChatCommand.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/AddBannerToLiveChatCommand.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/AddBannerToLiveChatCommand.ts:6](https: > **new AddBannerToLiveChatCommand**(`data`): `AddBannerToLiveChatCommand` -Defined in: [src/parser/classes/livechat/AddBannerToLiveChatCommand.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/AddBannerToLiveChatCommand.ts#L11) +Defined in: [src/parser/classes/livechat/AddBannerToLiveChatCommand.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/AddBannerToLiveChatCommand.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/AddBannerToLiveChatCommand.ts:11](https > **banner**: [`LiveChatBanner`](LiveChatBanner.md) \| `null` -Defined in: [src/parser/classes/livechat/AddBannerToLiveChatCommand.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/AddBannerToLiveChatCommand.ts#L9) +Defined in: [src/parser/classes/livechat/AddBannerToLiveChatCommand.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/AddBannerToLiveChatCommand.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/AddBannerToLiveChatCommand.ts:9](https: > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'AddBannerToLiveChatCommand'` -Defined in: [src/parser/classes/livechat/AddBannerToLiveChatCommand.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/AddBannerToLiveChatCommand.ts#L7) +Defined in: [src/parser/classes/livechat/AddBannerToLiveChatCommand.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/AddBannerToLiveChatCommand.ts#L7) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/AddBannerToLiveChatCommand.ts:7](https: > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is AddBannerToLiveChatCommand & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/AddChatItemAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/AddChatItemAction.md index 72cb01e7..10d63549 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/AddChatItemAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/AddChatItemAction.md @@ -2,7 +2,7 @@ # Class: AddChatItemAction -Defined in: [src/parser/classes/livechat/AddChatItemAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/AddChatItemAction.ts#L5) +Defined in: [src/parser/classes/livechat/AddChatItemAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/AddChatItemAction.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/AddChatItemAction.ts:5](https://github. > **new AddChatItemAction**(`data`): `AddChatItemAction` -Defined in: [src/parser/classes/livechat/AddChatItemAction.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/AddChatItemAction.ts#L11) +Defined in: [src/parser/classes/livechat/AddChatItemAction.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/AddChatItemAction.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/AddChatItemAction.ts:11](https://github > `optional` **client\_id**: `string` -Defined in: [src/parser/classes/livechat/AddChatItemAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/AddChatItemAction.ts#L9) +Defined in: [src/parser/classes/livechat/AddChatItemAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/AddChatItemAction.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/AddChatItemAction.ts:9](https://github. > **item**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/livechat/AddChatItemAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/AddChatItemAction.ts#L8) +Defined in: [src/parser/classes/livechat/AddChatItemAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/AddChatItemAction.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/AddChatItemAction.ts:8](https://github. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'AddChatItemAction'` -Defined in: [src/parser/classes/livechat/AddChatItemAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/AddChatItemAction.ts#L6) +Defined in: [src/parser/classes/livechat/AddChatItemAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/AddChatItemAction.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/AddChatItemAction.ts:6](https://github. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is AddChatItemAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/AddLiveChatTickerItemAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/AddLiveChatTickerItemAction.md index 1e2221d0..e95ef6ee 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/AddLiveChatTickerItemAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/AddLiveChatTickerItemAction.md @@ -2,7 +2,7 @@ # Class: AddLiveChatTickerItemAction -Defined in: [src/parser/classes/livechat/AddLiveChatTickerItemAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/AddLiveChatTickerItemAction.ts#L5) +Defined in: [src/parser/classes/livechat/AddLiveChatTickerItemAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/AddLiveChatTickerItemAction.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/AddLiveChatTickerItemAction.ts:5](https > **new AddLiveChatTickerItemAction**(`data`): `AddLiveChatTickerItemAction` -Defined in: [src/parser/classes/livechat/AddLiveChatTickerItemAction.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/AddLiveChatTickerItemAction.ts#L11) +Defined in: [src/parser/classes/livechat/AddLiveChatTickerItemAction.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/AddLiveChatTickerItemAction.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/AddLiveChatTickerItemAction.ts:11](http > **duration\_sec**: `string` -Defined in: [src/parser/classes/livechat/AddLiveChatTickerItemAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/AddLiveChatTickerItemAction.ts#L9) +Defined in: [src/parser/classes/livechat/AddLiveChatTickerItemAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/AddLiveChatTickerItemAction.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/AddLiveChatTickerItemAction.ts:9](https > **item**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/livechat/AddLiveChatTickerItemAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/AddLiveChatTickerItemAction.ts#L8) +Defined in: [src/parser/classes/livechat/AddLiveChatTickerItemAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/AddLiveChatTickerItemAction.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/AddLiveChatTickerItemAction.ts:8](https > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'AddLiveChatTickerItemAction'` -Defined in: [src/parser/classes/livechat/AddLiveChatTickerItemAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/AddLiveChatTickerItemAction.ts#L6) +Defined in: [src/parser/classes/livechat/AddLiveChatTickerItemAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/AddLiveChatTickerItemAction.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/AddLiveChatTickerItemAction.ts:6](https > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is AddLiveChatTickerItemAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/AddToPlaylist.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/AddToPlaylist.md index 01d2b6a5..658c6b31 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/AddToPlaylist.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/AddToPlaylist.md @@ -2,7 +2,7 @@ # Class: AddToPlaylist -Defined in: [src/parser/classes/AddToPlaylist.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AddToPlaylist.ts#L7) +Defined in: [src/parser/classes/AddToPlaylist.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AddToPlaylist.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/AddToPlaylist.ts:7](https://github.com/LuanRT/Yo > **new AddToPlaylist**(`data`): `AddToPlaylist` -Defined in: [src/parser/classes/AddToPlaylist.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AddToPlaylist.ts#L13) +Defined in: [src/parser/classes/AddToPlaylist.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AddToPlaylist.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/AddToPlaylist.ts:13](https://github.com/LuanRT/Y > **actions**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Button`](Button.md) \| [`MenuTitle`](MenuTitle.md)\> -Defined in: [src/parser/classes/AddToPlaylist.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AddToPlaylist.ts#L10) +Defined in: [src/parser/classes/AddToPlaylist.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AddToPlaylist.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/AddToPlaylist.ts:10](https://github.com/LuanRT/Y > **playlists**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`PlaylistAddToOption`](PlaylistAddToOption.md)\> -Defined in: [src/parser/classes/AddToPlaylist.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AddToPlaylist.ts#L11) +Defined in: [src/parser/classes/AddToPlaylist.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AddToPlaylist.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/AddToPlaylist.ts:11](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'AddToPlaylist'` -Defined in: [src/parser/classes/AddToPlaylist.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AddToPlaylist.ts#L8) +Defined in: [src/parser/classes/AddToPlaylist.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AddToPlaylist.ts#L8) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/AddToPlaylist.ts:8](https://github.com/LuanRT/Yo > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is AddToPlaylist & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/AddToPlaylistCommand.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/AddToPlaylistCommand.md index bdd98cfb..962f0b48 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/AddToPlaylistCommand.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/AddToPlaylistCommand.md @@ -2,7 +2,7 @@ # Class: AddToPlaylistCommand -Defined in: [src/parser/classes/commands/AddToPlaylistCommand.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/AddToPlaylistCommand.ts#L5) +Defined in: [src/parser/classes/commands/AddToPlaylistCommand.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/AddToPlaylistCommand.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/commands/AddToPlaylistCommand.ts:5](https://gith > **new AddToPlaylistCommand**(`data`): `AddToPlaylistCommand` -Defined in: [src/parser/classes/commands/AddToPlaylistCommand.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/AddToPlaylistCommand.ts#L14) +Defined in: [src/parser/classes/commands/AddToPlaylistCommand.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/AddToPlaylistCommand.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/commands/AddToPlaylistCommand.ts:14](https://git > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/commands/AddToPlaylistCommand.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/AddToPlaylistCommand.ts#L11) +Defined in: [src/parser/classes/commands/AddToPlaylistCommand.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/AddToPlaylistCommand.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/commands/AddToPlaylistCommand.ts:11](https://git > **list\_type**: `string` -Defined in: [src/parser/classes/commands/AddToPlaylistCommand.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/AddToPlaylistCommand.ts#L10) +Defined in: [src/parser/classes/commands/AddToPlaylistCommand.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/AddToPlaylistCommand.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/commands/AddToPlaylistCommand.ts:10](https://git > **open\_miniplayer**: `boolean` -Defined in: [src/parser/classes/commands/AddToPlaylistCommand.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/AddToPlaylistCommand.ts#L8) +Defined in: [src/parser/classes/commands/AddToPlaylistCommand.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/AddToPlaylistCommand.ts#L8) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/commands/AddToPlaylistCommand.ts:8](https://gith > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_id**: `string` -Defined in: [src/parser/classes/commands/AddToPlaylistCommand.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/AddToPlaylistCommand.ts#L9) +Defined in: [src/parser/classes/commands/AddToPlaylistCommand.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/AddToPlaylistCommand.ts#L9) *** @@ -80,7 +80,7 @@ Defined in: [src/parser/classes/commands/AddToPlaylistCommand.ts:9](https://gith > **video\_ids**: `string`[] -Defined in: [src/parser/classes/commands/AddToPlaylistCommand.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/AddToPlaylistCommand.ts#L12) +Defined in: [src/parser/classes/commands/AddToPlaylistCommand.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/AddToPlaylistCommand.ts#L12) *** @@ -88,7 +88,7 @@ Defined in: [src/parser/classes/commands/AddToPlaylistCommand.ts:12](https://git > `static` **type**: `string` = `'AddToPlaylistCommand'` -Defined in: [src/parser/classes/commands/AddToPlaylistCommand.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/AddToPlaylistCommand.ts#L6) +Defined in: [src/parser/classes/commands/AddToPlaylistCommand.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/AddToPlaylistCommand.ts#L6) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/commands/AddToPlaylistCommand.ts:6](https://gith > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is AddToPlaylistCommand & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/AddToPlaylistEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/AddToPlaylistEndpoint.md index e0a25971..b0570027 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/AddToPlaylistEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/AddToPlaylistEndpoint.md @@ -2,7 +2,7 @@ # Class: AddToPlaylistEndpoint -Defined in: [src/parser/classes/endpoints/AddToPlaylistEndpoint.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/AddToPlaylistEndpoint.ts#L4) +Defined in: [src/parser/classes/endpoints/AddToPlaylistEndpoint.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/AddToPlaylistEndpoint.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/endpoints/AddToPlaylistEndpoint.ts:4](https://gi > **new AddToPlaylistEndpoint**(`data`): `AddToPlaylistEndpoint` -Defined in: [src/parser/classes/endpoints/AddToPlaylistEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/AddToPlaylistEndpoint.ts#L7) +Defined in: [src/parser/classes/endpoints/AddToPlaylistEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/AddToPlaylistEndpoint.ts#L7) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/endpoints/AddToPlaylistEndpoint.ts:7](https://gi > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -48,7 +48,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'AddToPlaylistEndpoint'` -Defined in: [src/parser/classes/endpoints/AddToPlaylistEndpoint.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/AddToPlaylistEndpoint.ts#L5) +Defined in: [src/parser/classes/endpoints/AddToPlaylistEndpoint.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/AddToPlaylistEndpoint.ts#L5) #### Overrides @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/endpoints/AddToPlaylistEndpoint.ts:5](https://gi > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -102,7 +102,7 @@ If the node is not of the given type > **buildRequest**(): [`AddToPlaylistServiceRequest`](../../../../type-aliases/AddToPlaylistServiceRequest.md) -Defined in: [src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts#L19) +Defined in: [src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts#L19) #### Returns @@ -118,7 +118,7 @@ Defined in: [src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts:19](ht > **getApiPath**(): `string` -Defined in: [src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts#L15) +Defined in: [src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts#L15) #### Returns @@ -134,7 +134,7 @@ Defined in: [src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts:15](ht > **hasKey**\<`T`, `R`\>(`key`): `this is AddToPlaylistEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/AddToPlaylistServiceEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/AddToPlaylistServiceEndpoint.md index f0fd7769..cc045b76 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/AddToPlaylistServiceEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/AddToPlaylistServiceEndpoint.md @@ -2,7 +2,7 @@ # Class: AddToPlaylistServiceEndpoint -Defined in: [src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts#L6) +Defined in: [src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts#L6) ## Extends @@ -22,7 +22,7 @@ Defined in: [src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts:6](htt > **new AddToPlaylistServiceEndpoint**(`data`): `AddToPlaylistServiceEndpoint` -Defined in: [src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts#L10) +Defined in: [src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts#L10) #### Parameters @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts:10](ht > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'AddToPlaylistServiceEndpoint'` -Defined in: [src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts#L7) +Defined in: [src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts#L7) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts:7](htt > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **buildRequest**(): [`AddToPlaylistServiceRequest`](../../../../type-aliases/AddToPlaylistServiceRequest.md) -Defined in: [src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts#L19) +Defined in: [src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts#L19) #### Returns @@ -126,7 +126,7 @@ Defined in: [src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts:19](ht > **getApiPath**(): `string` -Defined in: [src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts#L15) +Defined in: [src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts#L15) #### Returns @@ -142,7 +142,7 @@ Defined in: [src/parser/classes/endpoints/AddToPlaylistServiceEndpoint.ts:15](ht > **hasKey**\<`T`, `R`\>(`key`): `this is AddToPlaylistServiceEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Alert.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Alert.md index cb3589d4..82c4dbc7 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Alert.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Alert.md @@ -2,7 +2,7 @@ # Class: Alert -Defined in: [src/parser/classes/Alert.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Alert.ts#L7) +Defined in: [src/parser/classes/Alert.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Alert.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/Alert.ts:7](https://github.com/LuanRT/YouTube.js > **new Alert**(`data`): `Alert` -Defined in: [src/parser/classes/Alert.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Alert.ts#L13) +Defined in: [src/parser/classes/Alert.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Alert.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/Alert.ts:13](https://github.com/LuanRT/YouTube.j > **alert\_type**: `AlertType` -Defined in: [src/parser/classes/Alert.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Alert.ts#L11) +Defined in: [src/parser/classes/Alert.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Alert.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/Alert.ts:11](https://github.com/LuanRT/YouTube.j > **text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Alert.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Alert.ts#L10) +Defined in: [src/parser/classes/Alert.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Alert.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/Alert.ts:10](https://github.com/LuanRT/YouTube.j > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'Alert'` -Defined in: [src/parser/classes/Alert.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Alert.ts#L8) +Defined in: [src/parser/classes/Alert.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Alert.ts#L8) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/Alert.ts:8](https://github.com/LuanRT/YouTube.js > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Alert & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/AlertWithButton.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/AlertWithButton.md index 3ccc25a0..57f4b64e 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/AlertWithButton.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/AlertWithButton.md @@ -2,7 +2,7 @@ # Class: AlertWithButton -Defined in: [src/parser/classes/AlertWithButton.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AlertWithButton.ts#L6) +Defined in: [src/parser/classes/AlertWithButton.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AlertWithButton.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/AlertWithButton.ts:6](https://github.com/LuanRT/ > **new AlertWithButton**(`data`): `AlertWithButton` -Defined in: [src/parser/classes/AlertWithButton.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AlertWithButton.ts#L13) +Defined in: [src/parser/classes/AlertWithButton.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AlertWithButton.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/AlertWithButton.ts:13](https://github.com/LuanRT > **alert\_type**: `string` -Defined in: [src/parser/classes/AlertWithButton.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AlertWithButton.ts#L10) +Defined in: [src/parser/classes/AlertWithButton.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AlertWithButton.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/AlertWithButton.ts:10](https://github.com/LuanRT > **dismiss\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/AlertWithButton.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AlertWithButton.ts#L11) +Defined in: [src/parser/classes/AlertWithButton.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AlertWithButton.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/AlertWithButton.ts:11](https://github.com/LuanRT > **text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/AlertWithButton.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AlertWithButton.ts#L9) +Defined in: [src/parser/classes/AlertWithButton.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AlertWithButton.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/AlertWithButton.ts:9](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'AlertWithButton'` -Defined in: [src/parser/classes/AlertWithButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AlertWithButton.ts#L7) +Defined in: [src/parser/classes/AlertWithButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AlertWithButton.ts#L7) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/AlertWithButton.ts:7](https://github.com/LuanRT/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is AlertWithButton & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/AnchoredSection.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/AnchoredSection.md index adff9141..8e6183bd 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/AnchoredSection.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/AnchoredSection.md @@ -2,7 +2,7 @@ # Class: AnchoredSection -Defined in: [src/parser/classes/ytkids/AnchoredSection.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/AnchoredSection.ts#L7) +Defined in: [src/parser/classes/ytkids/AnchoredSection.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/AnchoredSection.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ytkids/AnchoredSection.ts:7](https://github.com/ > **new AnchoredSection**(`data`): `AnchoredSection` -Defined in: [src/parser/classes/ytkids/AnchoredSection.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/AnchoredSection.ts#L19) +Defined in: [src/parser/classes/ytkids/AnchoredSection.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/AnchoredSection.ts#L19) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ytkids/AnchoredSection.ts:19](https://github.com > **category\_assets**: `object` -Defined in: [src/parser/classes/ytkids/AnchoredSection.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/AnchoredSection.ts#L13) +Defined in: [src/parser/classes/ytkids/AnchoredSection.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/AnchoredSection.ts#L13) #### asset\_key @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ytkids/AnchoredSection.ts:13](https://github.com > **category\_type**: `string` -Defined in: [src/parser/classes/ytkids/AnchoredSection.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/AnchoredSection.ts#L17) +Defined in: [src/parser/classes/ytkids/AnchoredSection.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/AnchoredSection.ts#L17) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ytkids/AnchoredSection.ts:17](https://github.com > **content**: [`SectionList`](SectionList.md) \| `null` -Defined in: [src/parser/classes/ytkids/AnchoredSection.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/AnchoredSection.ts#L11) +Defined in: [src/parser/classes/ytkids/AnchoredSection.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/AnchoredSection.ts#L11) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ytkids/AnchoredSection.ts:11](https://github.com > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ytkids/AnchoredSection.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/AnchoredSection.ts#L12) +Defined in: [src/parser/classes/ytkids/AnchoredSection.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/AnchoredSection.ts#L12) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ytkids/AnchoredSection.ts:12](https://github.com > **title**: `string` -Defined in: [src/parser/classes/ytkids/AnchoredSection.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/AnchoredSection.ts#L10) +Defined in: [src/parser/classes/ytkids/AnchoredSection.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/AnchoredSection.ts#L10) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ytkids/AnchoredSection.ts:10](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'AnchoredSection'` -Defined in: [src/parser/classes/ytkids/AnchoredSection.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/AnchoredSection.ts#L8) +Defined in: [src/parser/classes/ytkids/AnchoredSection.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/AnchoredSection.ts#L8) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/ytkids/AnchoredSection.ts:8](https://github.com/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is AnchoredSection & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/AnimatedThumbnailOverlayView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/AnimatedThumbnailOverlayView.md index ab52dabd..17ae0eba 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/AnimatedThumbnailOverlayView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/AnimatedThumbnailOverlayView.md @@ -2,7 +2,7 @@ # Class: AnimatedThumbnailOverlayView -Defined in: [src/parser/classes/AnimatedThumbnailOverlayView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AnimatedThumbnailOverlayView.ts#L5) +Defined in: [src/parser/classes/AnimatedThumbnailOverlayView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AnimatedThumbnailOverlayView.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/AnimatedThumbnailOverlayView.ts:5](https://githu > **new AnimatedThumbnailOverlayView**(`data`): `AnimatedThumbnailOverlayView` -Defined in: [src/parser/classes/AnimatedThumbnailOverlayView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AnimatedThumbnailOverlayView.ts#L10) +Defined in: [src/parser/classes/AnimatedThumbnailOverlayView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AnimatedThumbnailOverlayView.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/AnimatedThumbnailOverlayView.ts:10](https://gith > **thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/AnimatedThumbnailOverlayView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AnimatedThumbnailOverlayView.ts#L8) +Defined in: [src/parser/classes/AnimatedThumbnailOverlayView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AnimatedThumbnailOverlayView.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/AnimatedThumbnailOverlayView.ts:8](https://githu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'AnimatedThumbnailOverlayView'` -Defined in: [src/parser/classes/AnimatedThumbnailOverlayView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AnimatedThumbnailOverlayView.ts#L6) +Defined in: [src/parser/classes/AnimatedThumbnailOverlayView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AnimatedThumbnailOverlayView.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/AnimatedThumbnailOverlayView.ts:6](https://githu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is AnimatedThumbnailOverlayView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/AttributionView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/AttributionView.md index 3042cca2..aad89d66 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/AttributionView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/AttributionView.md @@ -2,7 +2,7 @@ # Class: AttributionView -Defined in: [src/parser/classes/AttributionView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AttributionView.ts#L5) +Defined in: [src/parser/classes/AttributionView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AttributionView.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/AttributionView.ts:5](https://github.com/LuanRT/ > **new AttributionView**(`data`): `AttributionView` -Defined in: [src/parser/classes/AttributionView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AttributionView.ts#L11) +Defined in: [src/parser/classes/AttributionView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AttributionView.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/AttributionView.ts:11](https://github.com/LuanRT > **suffix**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/AttributionView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AttributionView.ts#L9) +Defined in: [src/parser/classes/AttributionView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AttributionView.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/AttributionView.ts:9](https://github.com/LuanRT/ > **text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/AttributionView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AttributionView.ts#L8) +Defined in: [src/parser/classes/AttributionView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AttributionView.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/AttributionView.ts:8](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'AttributionView'` -Defined in: [src/parser/classes/AttributionView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AttributionView.ts#L6) +Defined in: [src/parser/classes/AttributionView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AttributionView.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/AttributionView.ts:6](https://github.com/LuanRT/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is AttributionView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/AudioOnlyPlayability.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/AudioOnlyPlayability.md index efacb796..5bbdc1d6 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/AudioOnlyPlayability.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/AudioOnlyPlayability.md @@ -2,7 +2,7 @@ # Class: AudioOnlyPlayability -Defined in: [src/parser/classes/AudioOnlyPlayability.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AudioOnlyPlayability.ts#L4) +Defined in: [src/parser/classes/AudioOnlyPlayability.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AudioOnlyPlayability.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/AudioOnlyPlayability.ts:4](https://github.com/Lu > **new AudioOnlyPlayability**(`data`): `AudioOnlyPlayability` -Defined in: [src/parser/classes/AudioOnlyPlayability.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AudioOnlyPlayability.ts#L9) +Defined in: [src/parser/classes/AudioOnlyPlayability.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AudioOnlyPlayability.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/AudioOnlyPlayability.ts:9](https://github.com/Lu > **audio\_only\_availability**: `string` -Defined in: [src/parser/classes/AudioOnlyPlayability.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AudioOnlyPlayability.ts#L7) +Defined in: [src/parser/classes/AudioOnlyPlayability.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AudioOnlyPlayability.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/AudioOnlyPlayability.ts:7](https://github.com/Lu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'AudioOnlyPlayability'` -Defined in: [src/parser/classes/AudioOnlyPlayability.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AudioOnlyPlayability.ts#L5) +Defined in: [src/parser/classes/AudioOnlyPlayability.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AudioOnlyPlayability.ts#L5) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/AudioOnlyPlayability.ts:5](https://github.com/Lu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is AudioOnlyPlayability & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/AuthorCommentBadge.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/AuthorCommentBadge.md index cdb35db5..8f5b5f46 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/AuthorCommentBadge.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/AuthorCommentBadge.md @@ -2,7 +2,7 @@ # Class: AuthorCommentBadge -Defined in: [src/parser/classes/comments/AuthorCommentBadge.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/AuthorCommentBadge.ts#L4) +Defined in: [src/parser/classes/comments/AuthorCommentBadge.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/AuthorCommentBadge.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/comments/AuthorCommentBadge.ts:4](https://github > **new AuthorCommentBadge**(`data`): `AuthorCommentBadge` -Defined in: [src/parser/classes/comments/AuthorCommentBadge.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/AuthorCommentBadge.ts#L13) +Defined in: [src/parser/classes/comments/AuthorCommentBadge.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/AuthorCommentBadge.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/comments/AuthorCommentBadge.ts:13](https://githu > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/comments/AuthorCommentBadge.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/AuthorCommentBadge.ts#L9) +Defined in: [src/parser/classes/comments/AuthorCommentBadge.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/AuthorCommentBadge.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/comments/AuthorCommentBadge.ts:9](https://github > `optional` **style**: `string` -Defined in: [src/parser/classes/comments/AuthorCommentBadge.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/AuthorCommentBadge.ts#L11) +Defined in: [src/parser/classes/comments/AuthorCommentBadge.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/AuthorCommentBadge.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/comments/AuthorCommentBadge.ts:11](https://githu > **tooltip**: `string` -Defined in: [src/parser/classes/comments/AuthorCommentBadge.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/AuthorCommentBadge.ts#L10) +Defined in: [src/parser/classes/comments/AuthorCommentBadge.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/AuthorCommentBadge.ts#L10) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/comments/AuthorCommentBadge.ts:10](https://githu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'AuthorCommentBadge'` -Defined in: [src/parser/classes/comments/AuthorCommentBadge.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/AuthorCommentBadge.ts#L5) +Defined in: [src/parser/classes/comments/AuthorCommentBadge.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/AuthorCommentBadge.ts#L5) #### Overrides @@ -86,7 +86,7 @@ Defined in: [src/parser/classes/comments/AuthorCommentBadge.ts:5](https://github > **get** **orig\_badge**(): [`RawNode`](../../../../type-aliases/RawNode.md) -Defined in: [src/parser/classes/comments/AuthorCommentBadge.ts:31](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/AuthorCommentBadge.ts#L31) +Defined in: [src/parser/classes/comments/AuthorCommentBadge.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/AuthorCommentBadge.ts#L31) ##### Returns @@ -98,7 +98,7 @@ Defined in: [src/parser/classes/comments/AuthorCommentBadge.ts:31](https://githu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -140,7 +140,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is AuthorCommentBadge & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -178,7 +178,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -216,7 +216,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/AutomixPreviewVideo.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/AutomixPreviewVideo.md index 1046dcca..f4abefd7 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/AutomixPreviewVideo.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/AutomixPreviewVideo.md @@ -2,7 +2,7 @@ # Class: AutomixPreviewVideo -Defined in: [src/parser/classes/AutomixPreviewVideo.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AutomixPreviewVideo.ts#L5) +Defined in: [src/parser/classes/AutomixPreviewVideo.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AutomixPreviewVideo.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/AutomixPreviewVideo.ts:5](https://github.com/Lua > **new AutomixPreviewVideo**(`data`): `AutomixPreviewVideo` -Defined in: [src/parser/classes/AutomixPreviewVideo.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AutomixPreviewVideo.ts#L10) +Defined in: [src/parser/classes/AutomixPreviewVideo.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AutomixPreviewVideo.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/AutomixPreviewVideo.ts:10](https://github.com/Lu > `optional` **playlist\_video**: `object` -Defined in: [src/parser/classes/AutomixPreviewVideo.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AutomixPreviewVideo.ts#L8) +Defined in: [src/parser/classes/AutomixPreviewVideo.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AutomixPreviewVideo.ts#L8) #### endpoint @@ -48,7 +48,7 @@ Defined in: [src/parser/classes/AutomixPreviewVideo.ts:8](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -60,7 +60,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'AutomixPreviewVideo'` -Defined in: [src/parser/classes/AutomixPreviewVideo.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AutomixPreviewVideo.ts#L6) +Defined in: [src/parser/classes/AutomixPreviewVideo.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AutomixPreviewVideo.ts#L6) #### Overrides @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/AutomixPreviewVideo.ts:6](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -114,7 +114,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is AutomixPreviewVideo & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -152,7 +152,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -190,7 +190,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/AvatarStackView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/AvatarStackView.md index 4a0db2a0..6bf5f627 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/AvatarStackView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/AvatarStackView.md @@ -2,7 +2,7 @@ # Class: AvatarStackView -Defined in: [src/parser/classes/AvatarStackView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AvatarStackView.ts#L9) +Defined in: [src/parser/classes/AvatarStackView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AvatarStackView.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/AvatarStackView.ts:9](https://github.com/LuanRT/ > **new AvatarStackView**(`data`): `AvatarStackView` -Defined in: [src/parser/classes/AvatarStackView.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AvatarStackView.ts#L16) +Defined in: [src/parser/classes/AvatarStackView.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AvatarStackView.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/AvatarStackView.ts:16](https://github.com/LuanRT > **avatars**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`AvatarView`](AvatarView.md)\> -Defined in: [src/parser/classes/AvatarStackView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AvatarStackView.ts#L12) +Defined in: [src/parser/classes/AvatarStackView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AvatarStackView.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/AvatarStackView.ts:12](https://github.com/LuanRT > **renderer\_context**: [`RendererContext`](../../Misc/classes/RendererContext.md) -Defined in: [src/parser/classes/AvatarStackView.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AvatarStackView.ts#L14) +Defined in: [src/parser/classes/AvatarStackView.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AvatarStackView.ts#L14) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/AvatarStackView.ts:14](https://github.com/LuanRT > `optional` **text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/AvatarStackView.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AvatarStackView.ts#L13) +Defined in: [src/parser/classes/AvatarStackView.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AvatarStackView.ts#L13) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/AvatarStackView.ts:13](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'AvatarStackView'` -Defined in: [src/parser/classes/AvatarStackView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AvatarStackView.ts#L10) +Defined in: [src/parser/classes/AvatarStackView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AvatarStackView.ts#L10) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/AvatarStackView.ts:10](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is AvatarStackView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/AvatarView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/AvatarView.md index c39b60c4..1fe34db3 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/AvatarView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/AvatarView.md @@ -2,7 +2,7 @@ # Class: AvatarView -Defined in: [src/parser/classes/AvatarView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AvatarView.ts#L5) +Defined in: [src/parser/classes/AvatarView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AvatarView.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/AvatarView.ts:5](https://github.com/LuanRT/YouTu > **new AvatarView**(`data`): `AvatarView` -Defined in: [src/parser/classes/AvatarView.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AvatarView.ts#L16) +Defined in: [src/parser/classes/AvatarView.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AvatarView.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/AvatarView.ts:16](https://github.com/LuanRT/YouT > **avatar\_image\_size**: `string` -Defined in: [src/parser/classes/AvatarView.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AvatarView.ts#L14) +Defined in: [src/parser/classes/AvatarView.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AvatarView.ts#L14) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/AvatarView.ts:14](https://github.com/LuanRT/YouT > **image**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/AvatarView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AvatarView.ts#L8) +Defined in: [src/parser/classes/AvatarView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AvatarView.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/AvatarView.ts:8](https://github.com/LuanRT/YouTu > **image\_processor**: \{ `border_image_processor`: \{ `circular`: `boolean`; \}; \} \| `undefined` -Defined in: [src/parser/classes/AvatarView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AvatarView.ts#L9) +Defined in: [src/parser/classes/AvatarView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AvatarView.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/AvatarView.ts:9](https://github.com/LuanRT/YouTu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'AvatarView'` -Defined in: [src/parser/classes/AvatarView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/AvatarView.ts#L6) +Defined in: [src/parser/classes/AvatarView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/AvatarView.ts#L6) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/AvatarView.ts:6](https://github.com/LuanRT/YouTu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is AvatarView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/BackgroundPromo.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/BackgroundPromo.md index 6cd1d19a..c3931d0e 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/BackgroundPromo.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/BackgroundPromo.md @@ -2,7 +2,7 @@ # Class: BackgroundPromo -Defined in: [src/parser/classes/BackgroundPromo.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackgroundPromo.ts#L7) +Defined in: [src/parser/classes/BackgroundPromo.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackgroundPromo.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/BackgroundPromo.ts:7](https://github.com/LuanRT/ > **new BackgroundPromo**(`data`): `BackgroundPromo` -Defined in: [src/parser/classes/BackgroundPromo.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackgroundPromo.ts#L15) +Defined in: [src/parser/classes/BackgroundPromo.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackgroundPromo.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/BackgroundPromo.ts:15](https://github.com/LuanRT > `optional` **body\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/BackgroundPromo.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackgroundPromo.ts#L10) +Defined in: [src/parser/classes/BackgroundPromo.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackgroundPromo.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/BackgroundPromo.ts:10](https://github.com/LuanRT > `optional` **cta\_button**: [`Button`](Button.md) \| [`ButtonView`](ButtonView.md) \| `null` -Defined in: [src/parser/classes/BackgroundPromo.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackgroundPromo.ts#L11) +Defined in: [src/parser/classes/BackgroundPromo.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackgroundPromo.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/BackgroundPromo.ts:11](https://github.com/LuanRT > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/BackgroundPromo.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackgroundPromo.ts#L12) +Defined in: [src/parser/classes/BackgroundPromo.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackgroundPromo.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/BackgroundPromo.ts:12](https://github.com/LuanRT > `optional` **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/BackgroundPromo.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackgroundPromo.ts#L13) +Defined in: [src/parser/classes/BackgroundPromo.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackgroundPromo.ts#L13) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/BackgroundPromo.ts:13](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'BackgroundPromo'` -Defined in: [src/parser/classes/BackgroundPromo.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackgroundPromo.ts#L8) +Defined in: [src/parser/classes/BackgroundPromo.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackgroundPromo.ts#L8) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/BackgroundPromo.ts:8](https://github.com/LuanRT/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is BackgroundPromo & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/BackstageImage.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/BackstageImage.md index 3e2b76f4..071ff065 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/BackstageImage.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/BackstageImage.md @@ -2,7 +2,7 @@ # Class: BackstageImage -Defined in: [src/parser/classes/BackstageImage.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstageImage.ts#L6) +Defined in: [src/parser/classes/BackstageImage.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstageImage.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/BackstageImage.ts:6](https://github.com/LuanRT/Y > **new BackstageImage**(`data`): `BackstageImage` -Defined in: [src/parser/classes/BackstageImage.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstageImage.ts#L12) +Defined in: [src/parser/classes/BackstageImage.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstageImage.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/BackstageImage.ts:12](https://github.com/LuanRT/ > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/BackstageImage.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstageImage.ts#L10) +Defined in: [src/parser/classes/BackstageImage.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstageImage.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/BackstageImage.ts:10](https://github.com/LuanRT/ > **image**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/BackstageImage.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstageImage.ts#L9) +Defined in: [src/parser/classes/BackstageImage.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstageImage.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/BackstageImage.ts:9](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'BackstageImage'` -Defined in: [src/parser/classes/BackstageImage.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstageImage.ts#L7) +Defined in: [src/parser/classes/BackstageImage.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstageImage.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/BackstageImage.ts:7](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is BackstageImage & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/BackstagePost.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/BackstagePost.md index 884c8b9f..25f2d571 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/BackstagePost.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/BackstagePost.md @@ -2,7 +2,7 @@ # Class: BackstagePost -Defined in: [src/parser/classes/BackstagePost.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L10) +Defined in: [src/parser/classes/BackstagePost.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L10) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:10](https://github.com/LuanRT/Y > **new BackstagePost**(`data`): `BackstagePost` -Defined in: [src/parser/classes/BackstagePost.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L27) +Defined in: [src/parser/classes/BackstagePost.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L27) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:27](https://github.com/LuanRT/Y > `optional` **action\_buttons**: [`CommentActionButtons`](CommentActionButtons.md) \| `null` -Defined in: [src/parser/classes/BackstagePost.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L21) +Defined in: [src/parser/classes/BackstagePost.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L21) *** @@ -48,7 +48,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:21](https://github.com/LuanRT/Y > **attachment**: [`YTNode`](../../Helpers/classes/YTNode.md) \| `undefined` -Defined in: [src/parser/classes/BackstagePost.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L25) +Defined in: [src/parser/classes/BackstagePost.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L25) *** @@ -56,7 +56,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:25](https://github.com/LuanRT/Y > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/BackstagePost.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L14) +Defined in: [src/parser/classes/BackstagePost.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L14) *** @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:14](https://github.com/LuanRT/Y > **content**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/BackstagePost.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L15) +Defined in: [src/parser/classes/BackstagePost.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L15) *** @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:15](https://github.com/LuanRT/Y > `optional` **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/BackstagePost.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L24) +Defined in: [src/parser/classes/BackstagePost.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L24) *** @@ -80,7 +80,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:24](https://github.com/LuanRT/Y > **id**: `string` -Defined in: [src/parser/classes/BackstagePost.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L13) +Defined in: [src/parser/classes/BackstagePost.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L13) *** @@ -88,7 +88,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:13](https://github.com/LuanRT/Y > `optional` **menu**: [`Menu`](Menu.md) \| `null` -Defined in: [src/parser/classes/BackstagePost.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L20) +Defined in: [src/parser/classes/BackstagePost.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L20) *** @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:20](https://github.com/LuanRT/Y > `optional` **poll\_status**: `string` -Defined in: [src/parser/classes/BackstagePost.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L17) +Defined in: [src/parser/classes/BackstagePost.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L17) *** @@ -104,7 +104,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:17](https://github.com/LuanRT/Y > **published**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/BackstagePost.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L16) +Defined in: [src/parser/classes/BackstagePost.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L16) *** @@ -112,7 +112,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:16](https://github.com/LuanRT/Y > **surface**: `string` -Defined in: [src/parser/classes/BackstagePost.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L23) +Defined in: [src/parser/classes/BackstagePost.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L23) *** @@ -120,7 +120,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:23](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -132,7 +132,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **vote\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/BackstagePost.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L22) +Defined in: [src/parser/classes/BackstagePost.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L22) *** @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:22](https://github.com/LuanRT/Y > `optional` **vote\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/BackstagePost.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L19) +Defined in: [src/parser/classes/BackstagePost.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L19) *** @@ -148,7 +148,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:19](https://github.com/LuanRT/Y > `optional` **vote\_status**: `string` -Defined in: [src/parser/classes/BackstagePost.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L18) +Defined in: [src/parser/classes/BackstagePost.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L18) *** @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:18](https://github.com/LuanRT/Y > `static` **type**: `string` = `'BackstagePost'` -Defined in: [src/parser/classes/BackstagePost.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L11) +Defined in: [src/parser/classes/BackstagePost.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L11) #### Overrides @@ -168,7 +168,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:11](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -210,7 +210,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is BackstagePost & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -248,7 +248,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -286,7 +286,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/BackstagePostThread.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/BackstagePostThread.md index 2ba73777..78cf1964 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/BackstagePostThread.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/BackstagePostThread.md @@ -2,7 +2,7 @@ # Class: BackstagePostThread -Defined in: [src/parser/classes/BackstagePostThread.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePostThread.ts#L4) +Defined in: [src/parser/classes/BackstagePostThread.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePostThread.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/BackstagePostThread.ts:4](https://github.com/Lua > **new BackstagePostThread**(`data`): `BackstagePostThread` -Defined in: [src/parser/classes/BackstagePostThread.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePostThread.ts#L9) +Defined in: [src/parser/classes/BackstagePostThread.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePostThread.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/BackstagePostThread.ts:9](https://github.com/Lua > **post**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/BackstagePostThread.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePostThread.ts#L7) +Defined in: [src/parser/classes/BackstagePostThread.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePostThread.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/BackstagePostThread.ts:7](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'BackstagePostThread'` -Defined in: [src/parser/classes/BackstagePostThread.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePostThread.ts#L5) +Defined in: [src/parser/classes/BackstagePostThread.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePostThread.ts#L5) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/BackstagePostThread.ts:5](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is BackstagePostThread & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/BadgeView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/BadgeView.md index 6e312f5f..0bafa424 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/BadgeView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/BadgeView.md @@ -2,7 +2,7 @@ # Class: BadgeView -Defined in: [src/parser/classes/BadgeView.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BadgeView.ts#L4) +Defined in: [src/parser/classes/BadgeView.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BadgeView.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/BadgeView.ts:4](https://github.com/LuanRT/YouTub > **new BadgeView**(`data`): `BadgeView` -Defined in: [src/parser/classes/BadgeView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BadgeView.ts#L9) +Defined in: [src/parser/classes/BadgeView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BadgeView.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/BadgeView.ts:9](https://github.com/LuanRT/YouTub > **accessibility\_label**: `string` -Defined in: [src/parser/classes/BadgeView.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BadgeView.ts#L7) +Defined in: [src/parser/classes/BadgeView.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BadgeView.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/BadgeView.ts:7](https://github.com/LuanRT/YouTub > **style**: `string` -Defined in: [src/parser/classes/BadgeView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BadgeView.ts#L6) +Defined in: [src/parser/classes/BadgeView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BadgeView.ts#L6) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/BadgeView.ts:6](https://github.com/LuanRT/YouTub > **text**: `string` -Defined in: [src/parser/classes/BadgeView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BadgeView.ts#L5) +Defined in: [src/parser/classes/BadgeView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BadgeView.ts#L5) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/BadgeView.ts:5](https://github.com/LuanRT/YouTub > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `readonly` `static` **type**: `string` = `'YTNode'` -Defined in: [src/parser/helpers.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L7) +Defined in: [src/parser/helpers.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L7) #### Inherited from @@ -84,7 +84,7 @@ Defined in: [src/parser/helpers.ts:7](https://github.com/LuanRT/YouTube.js/blob/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is BadgeView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/BrowseEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/BrowseEndpoint.md index d3a7606f..eccc3af4 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/BrowseEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/BrowseEndpoint.md @@ -2,7 +2,7 @@ # Class: BrowseEndpoint -Defined in: [src/parser/classes/endpoints/BrowseEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/BrowseEndpoint.ts#L6) +Defined in: [src/parser/classes/endpoints/BrowseEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/BrowseEndpoint.ts#L6) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/parser/classes/endpoints/BrowseEndpoint.ts:6](https://github.co > **new BrowseEndpoint**(`data`): `BrowseEndpoint` -Defined in: [src/parser/classes/endpoints/BrowseEndpoint.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/BrowseEndpoint.ts#L10) +Defined in: [src/parser/classes/endpoints/BrowseEndpoint.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/BrowseEndpoint.ts#L10) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/endpoints/BrowseEndpoint.ts:10](https://github.c > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -52,7 +52,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'BrowseEndpoint'` -Defined in: [src/parser/classes/endpoints/BrowseEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/BrowseEndpoint.ts#L7) +Defined in: [src/parser/classes/endpoints/BrowseEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/BrowseEndpoint.ts#L7) #### Overrides @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/endpoints/BrowseEndpoint.ts:7](https://github.co > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -106,7 +106,7 @@ If the node is not of the given type > **buildRequest**(): [`BrowseRequest`](../../../../type-aliases/BrowseRequest.md) -Defined in: [src/parser/classes/endpoints/BrowseEndpoint.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/BrowseEndpoint.ts#L19) +Defined in: [src/parser/classes/endpoints/BrowseEndpoint.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/BrowseEndpoint.ts#L19) #### Returns @@ -122,7 +122,7 @@ Defined in: [src/parser/classes/endpoints/BrowseEndpoint.ts:19](https://github.c > **getApiPath**(): `string` -Defined in: [src/parser/classes/endpoints/BrowseEndpoint.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/BrowseEndpoint.ts#L15) +Defined in: [src/parser/classes/endpoints/BrowseEndpoint.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/BrowseEndpoint.ts#L15) #### Returns @@ -138,7 +138,7 @@ Defined in: [src/parser/classes/endpoints/BrowseEndpoint.ts:15](https://github.c > **hasKey**\<`T`, `R`\>(`key`): `this is BrowseEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -176,7 +176,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -214,7 +214,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/BrowseFeedActions.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/BrowseFeedActions.md index 815186ab..67c1f774 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/BrowseFeedActions.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/BrowseFeedActions.md @@ -2,7 +2,7 @@ # Class: BrowseFeedActions -Defined in: [src/parser/classes/BrowseFeedActions.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BrowseFeedActions.ts#L10) +Defined in: [src/parser/classes/BrowseFeedActions.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BrowseFeedActions.ts#L10) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/BrowseFeedActions.ts:10](https://github.com/Luan > **new BrowseFeedActions**(`data`): `BrowseFeedActions` -Defined in: [src/parser/classes/BrowseFeedActions.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BrowseFeedActions.ts#L15) +Defined in: [src/parser/classes/BrowseFeedActions.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BrowseFeedActions.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/BrowseFeedActions.ts:15](https://github.com/Luan > **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Button`](Button.md) \| [`ToggleButton`](ToggleButton.md) \| [`SubFeedSelector`](SubFeedSelector.md) \| [`EomSettingsDisclaimer`](EomSettingsDisclaimer.md) \| [`CompactLink`](CompactLink.md) \| [`SearchBox`](SearchBox.md)\> -Defined in: [src/parser/classes/BrowseFeedActions.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BrowseFeedActions.ts#L13) +Defined in: [src/parser/classes/BrowseFeedActions.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BrowseFeedActions.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/BrowseFeedActions.ts:13](https://github.com/Luan > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'BrowseFeedActions'` -Defined in: [src/parser/classes/BrowseFeedActions.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BrowseFeedActions.ts#L11) +Defined in: [src/parser/classes/BrowseFeedActions.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BrowseFeedActions.ts#L11) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/BrowseFeedActions.ts:11](https://github.com/Luan > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is BrowseFeedActions & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/BrowserMediaSession.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/BrowserMediaSession.md index 682a9bab..5a0ca73f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/BrowserMediaSession.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/BrowserMediaSession.md @@ -2,7 +2,7 @@ # Class: BrowserMediaSession -Defined in: [src/parser/classes/BrowserMediaSession.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BrowserMediaSession.ts#L6) +Defined in: [src/parser/classes/BrowserMediaSession.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BrowserMediaSession.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/BrowserMediaSession.ts:6](https://github.com/Lua > **new BrowserMediaSession**(`data`): `BrowserMediaSession` -Defined in: [src/parser/classes/BrowserMediaSession.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BrowserMediaSession.ts#L12) +Defined in: [src/parser/classes/BrowserMediaSession.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BrowserMediaSession.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/BrowserMediaSession.ts:12](https://github.com/Lu > **album**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/BrowserMediaSession.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BrowserMediaSession.ts#L9) +Defined in: [src/parser/classes/BrowserMediaSession.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BrowserMediaSession.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/BrowserMediaSession.ts:9](https://github.com/Lua > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/BrowserMediaSession.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BrowserMediaSession.ts#L10) +Defined in: [src/parser/classes/BrowserMediaSession.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BrowserMediaSession.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/BrowserMediaSession.ts:10](https://github.com/Lu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'BrowserMediaSession'` -Defined in: [src/parser/classes/BrowserMediaSession.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BrowserMediaSession.ts#L7) +Defined in: [src/parser/classes/BrowserMediaSession.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BrowserMediaSession.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/BrowserMediaSession.ts:7](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is BrowserMediaSession & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/BumperUserEduContentView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/BumperUserEduContentView.md index 4e346feb..de426ab3 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/BumperUserEduContentView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/BumperUserEduContentView.md @@ -2,7 +2,7 @@ # Class: BumperUserEduContentView -Defined in: [src/parser/classes/livechat/items/BumperUserEduContentView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/BumperUserEduContentView.ts#L5) +Defined in: [src/parser/classes/livechat/items/BumperUserEduContentView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/BumperUserEduContentView.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/BumperUserEduContentView.ts:5](ht > **new BumperUserEduContentView**(`data`): `BumperUserEduContentView` -Defined in: [src/parser/classes/livechat/items/BumperUserEduContentView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/BumperUserEduContentView.ts#L12) +Defined in: [src/parser/classes/livechat/items/BumperUserEduContentView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/BumperUserEduContentView.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/BumperUserEduContentView.ts:12](h > **image\_color**: `number` -Defined in: [src/parser/classes/livechat/items/BumperUserEduContentView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/BumperUserEduContentView.ts#L10) +Defined in: [src/parser/classes/livechat/items/BumperUserEduContentView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/BumperUserEduContentView.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/BumperUserEduContentView.ts:10](h > **image\_name**: `string` -Defined in: [src/parser/classes/livechat/items/BumperUserEduContentView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/BumperUserEduContentView.ts#L9) +Defined in: [src/parser/classes/livechat/items/BumperUserEduContentView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/BumperUserEduContentView.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/items/BumperUserEduContentView.ts:9](ht > **text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/BumperUserEduContentView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/BumperUserEduContentView.ts#L8) +Defined in: [src/parser/classes/livechat/items/BumperUserEduContentView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/BumperUserEduContentView.ts#L8) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/livechat/items/BumperUserEduContentView.ts:8](ht > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'BumperUserEduContentView'` -Defined in: [src/parser/classes/livechat/items/BumperUserEduContentView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/BumperUserEduContentView.ts#L6) +Defined in: [src/parser/classes/livechat/items/BumperUserEduContentView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/BumperUserEduContentView.ts#L6) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/livechat/items/BumperUserEduContentView.ts:6](ht > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is BumperUserEduContentView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Button.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Button.md index babb99d8..51d53441 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Button.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Button.md @@ -2,7 +2,7 @@ # Class: Button -Defined in: [src/parser/classes/Button.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L7) +Defined in: [src/parser/classes/Button.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L7) ## Extends @@ -19,7 +19,7 @@ Defined in: [src/parser/classes/Button.ts:7](https://github.com/LuanRT/YouTube.j > **new Button**(`data`): `Button` -Defined in: [src/parser/classes/Button.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L21) +Defined in: [src/parser/classes/Button.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L21) #### Parameters @@ -41,7 +41,7 @@ Defined in: [src/parser/classes/Button.ts:21](https://github.com/LuanRT/YouTube. > `optional` **accessibility**: `AccessibilitySupportedDatas` -Defined in: [src/parser/classes/Button.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L19) +Defined in: [src/parser/classes/Button.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L19) *** @@ -49,7 +49,7 @@ Defined in: [src/parser/classes/Button.ts:19](https://github.com/LuanRT/YouTube. > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/Button.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L18) +Defined in: [src/parser/classes/Button.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L18) *** @@ -57,7 +57,7 @@ Defined in: [src/parser/classes/Button.ts:18](https://github.com/LuanRT/YouTube. > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/Button.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L15) +Defined in: [src/parser/classes/Button.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L15) *** @@ -65,7 +65,7 @@ Defined in: [src/parser/classes/Button.ts:15](https://github.com/LuanRT/YouTube. > `optional` **is\_disabled**: `boolean` -Defined in: [src/parser/classes/Button.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L16) +Defined in: [src/parser/classes/Button.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L16) *** @@ -73,7 +73,7 @@ Defined in: [src/parser/classes/Button.ts:16](https://github.com/LuanRT/YouTube. > `optional` **label**: `string` -Defined in: [src/parser/classes/Button.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L11) +Defined in: [src/parser/classes/Button.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L11) *** @@ -81,7 +81,7 @@ Defined in: [src/parser/classes/Button.ts:11](https://github.com/LuanRT/YouTube. > `optional` **size**: `string` -Defined in: [src/parser/classes/Button.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L14) +Defined in: [src/parser/classes/Button.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L14) *** @@ -89,7 +89,7 @@ Defined in: [src/parser/classes/Button.ts:14](https://github.com/LuanRT/YouTube. > `optional` **style**: `string` -Defined in: [src/parser/classes/Button.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L13) +Defined in: [src/parser/classes/Button.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L13) *** @@ -97,7 +97,7 @@ Defined in: [src/parser/classes/Button.ts:13](https://github.com/LuanRT/YouTube. > `optional` **target\_id**: `string` -Defined in: [src/parser/classes/Button.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L17) +Defined in: [src/parser/classes/Button.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L17) *** @@ -105,7 +105,7 @@ Defined in: [src/parser/classes/Button.ts:17](https://github.com/LuanRT/YouTube. > `optional` **text**: `string` -Defined in: [src/parser/classes/Button.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L10) +Defined in: [src/parser/classes/Button.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L10) *** @@ -113,7 +113,7 @@ Defined in: [src/parser/classes/Button.ts:10](https://github.com/LuanRT/YouTube. > `optional` **tooltip**: `string` -Defined in: [src/parser/classes/Button.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L12) +Defined in: [src/parser/classes/Button.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L12) *** @@ -121,7 +121,7 @@ Defined in: [src/parser/classes/Button.ts:12](https://github.com/LuanRT/YouTube. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -133,7 +133,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'Button'` -Defined in: [src/parser/classes/Button.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L8) +Defined in: [src/parser/classes/Button.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L8) #### Overrides @@ -145,7 +145,7 @@ Defined in: [src/parser/classes/Button.ts:8](https://github.com/LuanRT/YouTube.j > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -187,7 +187,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Button & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -225,7 +225,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -263,7 +263,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ButtonCardView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ButtonCardView.md index f0e29597..352e2282 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ButtonCardView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ButtonCardView.md @@ -2,7 +2,7 @@ # Class: ButtonCardView -Defined in: [src/parser/classes/ButtonCardView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonCardView.ts#L5) +Defined in: [src/parser/classes/ButtonCardView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonCardView.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ButtonCardView.ts:5](https://github.com/LuanRT/Y > **new ButtonCardView**(`data`): `ButtonCardView` -Defined in: [src/parser/classes/ButtonCardView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonCardView.ts#L12) +Defined in: [src/parser/classes/ButtonCardView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonCardView.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ButtonCardView.ts:12](https://github.com/LuanRT/ > **icon\_name**: `string` -Defined in: [src/parser/classes/ButtonCardView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonCardView.ts#L9) +Defined in: [src/parser/classes/ButtonCardView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonCardView.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ButtonCardView.ts:9](https://github.com/LuanRT/Y > **renderer\_context**: [`RendererContext`](../../Misc/classes/RendererContext.md) -Defined in: [src/parser/classes/ButtonCardView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonCardView.ts#L10) +Defined in: [src/parser/classes/ButtonCardView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonCardView.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ButtonCardView.ts:10](https://github.com/LuanRT/ > **title**: `string` -Defined in: [src/parser/classes/ButtonCardView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonCardView.ts#L8) +Defined in: [src/parser/classes/ButtonCardView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonCardView.ts#L8) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ButtonCardView.ts:8](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ButtonCardView'` -Defined in: [src/parser/classes/ButtonCardView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonCardView.ts#L6) +Defined in: [src/parser/classes/ButtonCardView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonCardView.ts#L6) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ButtonCardView.ts:6](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ButtonCardView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ButtonView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ButtonView.md index ce300b1a..2d287b17 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ButtonView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ButtonView.md @@ -2,7 +2,7 @@ # Class: ButtonView -Defined in: [src/parser/classes/ButtonView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L6) +Defined in: [src/parser/classes/ButtonView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ButtonView.ts:6](https://github.com/LuanRT/YouTu > **new ButtonView**(`data`): `ButtonView` -Defined in: [src/parser/classes/ButtonView.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L38) +Defined in: [src/parser/classes/ButtonView.ts:38](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L38) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ButtonView.ts:38](https://github.com/LuanRT/YouT > `optional` **accessibility\_id**: `string` -Defined in: [src/parser/classes/ButtonView.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L30) +Defined in: [src/parser/classes/ButtonView.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L30) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ButtonView.ts:30](https://github.com/LuanRT/YouT > `optional` **accessibility\_text**: `string` -Defined in: [src/parser/classes/ButtonView.ts:36](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L36) +Defined in: [src/parser/classes/ButtonView.ts:36](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L36) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ButtonView.ts:36](https://github.com/LuanRT/YouT > `optional` **button\_size**: `"BUTTON_VIEW_MODEL_SIZE_UNKNOWN"` \| `"BUTTON_VIEW_MODEL_SIZE_DEFAULT"` \| `"BUTTON_VIEW_MODEL_SIZE_COMPACT"` \| `"BUTTON_VIEW_MODEL_SIZE_XSMALL"` \| `"BUTTON_VIEW_MODEL_SIZE_LARGE"` \| `"BUTTON_VIEW_MODEL_SIZE_XLARGE"` \| `"BUTTON_VIEW_MODEL_SIZE_XXLARGE"` -Defined in: [src/parser/classes/ButtonView.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L14) +Defined in: [src/parser/classes/ButtonView.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L14) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ButtonView.ts:14](https://github.com/LuanRT/YouT > `optional` **button\_type**: `"BUTTON_VIEW_MODEL_TYPE_UNKNOWN"` \| `"BUTTON_VIEW_MODEL_TYPE_FILLED"` \| `"BUTTON_VIEW_MODEL_TYPE_OUTLINE"` \| `"BUTTON_VIEW_MODEL_TYPE_TEXT"` \| `"BUTTON_VIEW_MODEL_TYPE_TONAL"` -Defined in: [src/parser/classes/ButtonView.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L28) +Defined in: [src/parser/classes/ButtonView.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L28) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ButtonView.ts:28](https://github.com/LuanRT/YouT > `optional` **custom\_background\_color**: `number` -Defined in: [src/parser/classes/ButtonView.ts:31](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L31) +Defined in: [src/parser/classes/ButtonView.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L31) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ButtonView.ts:31](https://github.com/LuanRT/YouT > `optional` **custom\_border\_color**: `number` -Defined in: [src/parser/classes/ButtonView.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L19) +Defined in: [src/parser/classes/ButtonView.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L19) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ButtonView.ts:19](https://github.com/LuanRT/YouT > `optional` **custom\_dark\_theme\_border\_color**: `number` -Defined in: [src/parser/classes/ButtonView.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L23) +Defined in: [src/parser/classes/ButtonView.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L23) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/ButtonView.ts:23](https://github.com/LuanRT/YouT > `optional` **custom\_font\_color**: `number` -Defined in: [src/parser/classes/ButtonView.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L27) +Defined in: [src/parser/classes/ButtonView.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L27) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/ButtonView.ts:27](https://github.com/LuanRT/YouT > `optional` **enable\_full\_width\_margins**: `boolean` -Defined in: [src/parser/classes/ButtonView.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L26) +Defined in: [src/parser/classes/ButtonView.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L26) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/ButtonView.ts:26](https://github.com/LuanRT/YouT > `optional` **enable\_icon\_button**: `boolean` -Defined in: [src/parser/classes/ButtonView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L11) +Defined in: [src/parser/classes/ButtonView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L11) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/ButtonView.ts:11](https://github.com/LuanRT/YouT > `optional` **enabled**: `boolean` -Defined in: [src/parser/classes/ButtonView.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L29) +Defined in: [src/parser/classes/ButtonView.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L29) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/ButtonView.ts:29](https://github.com/LuanRT/YouT > `optional` **icon\_image**: `object` -Defined in: [src/parser/classes/ButtonView.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L22) +Defined in: [src/parser/classes/ButtonView.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L22) *** @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/ButtonView.ts:22](https://github.com/LuanRT/YouT > `optional` **icon\_image\_flip\_for\_rtl**: `boolean` -Defined in: [src/parser/classes/ButtonView.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L13) +Defined in: [src/parser/classes/ButtonView.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L13) *** @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/ButtonView.ts:13](https://github.com/LuanRT/YouT > `optional` **icon\_name**: `string` -Defined in: [src/parser/classes/ButtonView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L10) +Defined in: [src/parser/classes/ButtonView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L10) *** @@ -148,7 +148,7 @@ Defined in: [src/parser/classes/ButtonView.ts:10](https://github.com/LuanRT/YouT > `optional` **icon\_position**: `"BUTTON_VIEW_MODEL_ICON_POSITION_UNKNOWN"` \| `"BUTTON_VIEW_MODEL_ICON_POSITION_TRAILING"` \| `"BUTTON_VIEW_MODEL_ICON_POSITION_LEADING"` \| `"BUTTON_VIEW_MODEL_ICON_POSITION_ABOVE"` \| `"BUTTON_VIEW_MODEL_ICON_POSITION_LEADING_TRAILING"` -Defined in: [src/parser/classes/ButtonView.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L15) +Defined in: [src/parser/classes/ButtonView.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L15) *** @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/ButtonView.ts:15](https://github.com/LuanRT/YouT > `optional` **icon\_trailing**: `boolean` -Defined in: [src/parser/classes/ButtonView.ts:35](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L35) +Defined in: [src/parser/classes/ButtonView.ts:35](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L35) *** @@ -164,7 +164,7 @@ Defined in: [src/parser/classes/ButtonView.ts:35](https://github.com/LuanRT/YouT > `optional` **is\_full\_width**: `boolean` -Defined in: [src/parser/classes/ButtonView.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L16) +Defined in: [src/parser/classes/ButtonView.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L16) *** @@ -172,7 +172,7 @@ Defined in: [src/parser/classes/ButtonView.ts:16](https://github.com/LuanRT/YouT > `optional` **on\_disabled\_tap**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ButtonView.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L18) +Defined in: [src/parser/classes/ButtonView.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L18) *** @@ -180,7 +180,7 @@ Defined in: [src/parser/classes/ButtonView.ts:18](https://github.com/LuanRT/YouT > `optional` **on\_long\_press**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ButtonView.ts:32](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L32) +Defined in: [src/parser/classes/ButtonView.ts:32](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L32) *** @@ -188,7 +188,7 @@ Defined in: [src/parser/classes/ButtonView.ts:32](https://github.com/LuanRT/YouT > `optional` **on\_tap**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ButtonView.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L20) +Defined in: [src/parser/classes/ButtonView.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L20) *** @@ -196,7 +196,7 @@ Defined in: [src/parser/classes/ButtonView.ts:20](https://github.com/LuanRT/YouT > `optional` **on\_visible**: `object` -Defined in: [src/parser/classes/ButtonView.ts:34](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L34) +Defined in: [src/parser/classes/ButtonView.ts:34](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L34) *** @@ -204,7 +204,7 @@ Defined in: [src/parser/classes/ButtonView.ts:34](https://github.com/LuanRT/YouT > `optional` **secondary\_icon\_image**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/ButtonView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L9) +Defined in: [src/parser/classes/ButtonView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L9) *** @@ -212,7 +212,7 @@ Defined in: [src/parser/classes/ButtonView.ts:9](https://github.com/LuanRT/YouTu > `optional` **state**: `"BUTTON_VIEW_MODEL_STATE_UNKNOWN"` \| `"BUTTON_VIEW_MODEL_STATE_ACTIVE"` \| `"BUTTON_VIEW_MODEL_STATE_INACTIVE"` \| `"BUTTON_VIEW_MODEL_STATE_DISABLED"` -Defined in: [src/parser/classes/ButtonView.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L17) +Defined in: [src/parser/classes/ButtonView.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L17) *** @@ -220,7 +220,7 @@ Defined in: [src/parser/classes/ButtonView.ts:17](https://github.com/LuanRT/YouT > `optional` **style**: `"BUTTON_VIEW_MODEL_STYLE_UNKNOWN"` \| `"BUTTON_VIEW_MODEL_STYLE_CTA"` \| `"BUTTON_VIEW_MODEL_STYLE_BRAND"` \| `"BUTTON_VIEW_MODEL_STYLE_ADS_CTA"` \| `"BUTTON_VIEW_MODEL_STYLE_OVERLAY"` \| `"BUTTON_VIEW_MODEL_STYLE_CTA_THEMED"` \| `"BUTTON_VIEW_MODEL_STYLE_BLACK_CTA"` \| `"BUTTON_VIEW_MODEL_STYLE_CUSTOM"` \| `"BUTTON_VIEW_MODEL_STYLE_MONO"` \| `"BUTTON_VIEW_MODEL_STYLE_OVERLAY_DARK"` \| `"BUTTON_VIEW_MODEL_STYLE_CTA_OVERLAY"` \| `"BUTTON_VIEW_MODEL_STYLE_BRAND_AI"` \| `"BUTTON_VIEW_MODEL_STYLE_YT_GRADIENT"` \| `"BUTTON_VIEW_MODEL_STYLE_BRAND_GRADIENT"` -Defined in: [src/parser/classes/ButtonView.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L21) +Defined in: [src/parser/classes/ButtonView.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L21) *** @@ -228,7 +228,7 @@ Defined in: [src/parser/classes/ButtonView.ts:21](https://github.com/LuanRT/YouT > `optional` **target\_id**: `string` -Defined in: [src/parser/classes/ButtonView.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L25) +Defined in: [src/parser/classes/ButtonView.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L25) *** @@ -236,7 +236,7 @@ Defined in: [src/parser/classes/ButtonView.ts:25](https://github.com/LuanRT/YouT > `optional` **title**: `string` -Defined in: [src/parser/classes/ButtonView.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L24) +Defined in: [src/parser/classes/ButtonView.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L24) *** @@ -244,7 +244,7 @@ Defined in: [src/parser/classes/ButtonView.ts:24](https://github.com/LuanRT/YouT > `optional` **title\_formatted**: `object` -Defined in: [src/parser/classes/ButtonView.ts:33](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L33) +Defined in: [src/parser/classes/ButtonView.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L33) *** @@ -252,7 +252,7 @@ Defined in: [src/parser/classes/ButtonView.ts:33](https://github.com/LuanRT/YouT > `optional` **tooltip**: `string` -Defined in: [src/parser/classes/ButtonView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L12) +Defined in: [src/parser/classes/ButtonView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L12) *** @@ -260,7 +260,7 @@ Defined in: [src/parser/classes/ButtonView.ts:12](https://github.com/LuanRT/YouT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -272,7 +272,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ButtonView'` -Defined in: [src/parser/classes/ButtonView.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ButtonView.ts#L7) +Defined in: [src/parser/classes/ButtonView.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ButtonView.ts#L7) #### Overrides @@ -284,7 +284,7 @@ Defined in: [src/parser/classes/ButtonView.ts:7](https://github.com/LuanRT/YouTu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -326,7 +326,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ButtonView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -364,7 +364,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -402,7 +402,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/C4TabbedHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/C4TabbedHeader.md index 87cca1fe..2667bfdb 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/C4TabbedHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/C4TabbedHeader.md @@ -2,7 +2,7 @@ # Class: C4TabbedHeader -Defined in: [src/parser/classes/C4TabbedHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/C4TabbedHeader.ts#L12) +Defined in: [src/parser/classes/C4TabbedHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/C4TabbedHeader.ts#L12) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/C4TabbedHeader.ts:12](https://github.com/LuanRT/ > **new C4TabbedHeader**(`data`): `C4TabbedHeader` -Defined in: [src/parser/classes/C4TabbedHeader.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/C4TabbedHeader.ts#L28) +Defined in: [src/parser/classes/C4TabbedHeader.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/C4TabbedHeader.ts#L28) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/C4TabbedHeader.ts:28](https://github.com/LuanRT/ > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/C4TabbedHeader.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/C4TabbedHeader.ts#L15) +Defined in: [src/parser/classes/C4TabbedHeader.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/C4TabbedHeader.ts#L15) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/C4TabbedHeader.ts:15](https://github.com/LuanRT/ > `optional` **banner**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/C4TabbedHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/C4TabbedHeader.ts#L16) +Defined in: [src/parser/classes/C4TabbedHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/C4TabbedHeader.ts#L16) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/C4TabbedHeader.ts:16](https://github.com/LuanRT/ > `optional` **channel\_handle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/C4TabbedHeader.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/C4TabbedHeader.ts#L24) +Defined in: [src/parser/classes/C4TabbedHeader.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/C4TabbedHeader.ts#L24) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/C4TabbedHeader.ts:24](https://github.com/LuanRT/ > `optional` **channel\_id**: `string` -Defined in: [src/parser/classes/C4TabbedHeader.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/C4TabbedHeader.ts#L25) +Defined in: [src/parser/classes/C4TabbedHeader.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/C4TabbedHeader.ts#L25) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/C4TabbedHeader.ts:25](https://github.com/LuanRT/ > `optional` **header\_links**: [`ChannelHeaderLinks`](ChannelHeaderLinks.md) \| [`ChannelHeaderLinksView`](ChannelHeaderLinksView.md) \| `null` -Defined in: [src/parser/classes/C4TabbedHeader.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/C4TabbedHeader.ts#L23) +Defined in: [src/parser/classes/C4TabbedHeader.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/C4TabbedHeader.ts#L23) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/C4TabbedHeader.ts:23](https://github.com/LuanRT/ > `optional` **mobile\_banner**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/C4TabbedHeader.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/C4TabbedHeader.ts#L18) +Defined in: [src/parser/classes/C4TabbedHeader.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/C4TabbedHeader.ts#L18) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/C4TabbedHeader.ts:18](https://github.com/LuanRT/ > `optional` **sponsor\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/C4TabbedHeader.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/C4TabbedHeader.ts#L21) +Defined in: [src/parser/classes/C4TabbedHeader.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/C4TabbedHeader.ts#L21) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/C4TabbedHeader.ts:21](https://github.com/LuanRT/ > `optional` **subscribe\_button**: [`Button`](Button.md) \| [`SubscribeButton`](SubscribeButton.md) \| `null` -Defined in: [src/parser/classes/C4TabbedHeader.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/C4TabbedHeader.ts#L22) +Defined in: [src/parser/classes/C4TabbedHeader.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/C4TabbedHeader.ts#L22) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/C4TabbedHeader.ts:22](https://github.com/LuanRT/ > `optional` **subscribers**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/C4TabbedHeader.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/C4TabbedHeader.ts#L19) +Defined in: [src/parser/classes/C4TabbedHeader.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/C4TabbedHeader.ts#L19) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/C4TabbedHeader.ts:19](https://github.com/LuanRT/ > `optional` **tagline**: [`ChannelTagline`](ChannelTagline.md) \| `null` -Defined in: [src/parser/classes/C4TabbedHeader.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/C4TabbedHeader.ts#L26) +Defined in: [src/parser/classes/C4TabbedHeader.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/C4TabbedHeader.ts#L26) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/C4TabbedHeader.ts:26](https://github.com/LuanRT/ > `optional` **tv\_banner**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/C4TabbedHeader.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/C4TabbedHeader.ts#L17) +Defined in: [src/parser/classes/C4TabbedHeader.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/C4TabbedHeader.ts#L17) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/C4TabbedHeader.ts:17](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -136,7 +136,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **videos\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/C4TabbedHeader.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/C4TabbedHeader.ts#L20) +Defined in: [src/parser/classes/C4TabbedHeader.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/C4TabbedHeader.ts#L20) *** @@ -144,7 +144,7 @@ Defined in: [src/parser/classes/C4TabbedHeader.ts:20](https://github.com/LuanRT/ > `static` **type**: `string` = `'C4TabbedHeader'` -Defined in: [src/parser/classes/C4TabbedHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/C4TabbedHeader.ts#L13) +Defined in: [src/parser/classes/C4TabbedHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/C4TabbedHeader.ts#L13) #### Overrides @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/C4TabbedHeader.ts:13](https://github.com/LuanRT/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -198,7 +198,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is C4TabbedHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -236,7 +236,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -274,7 +274,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CallToActionButton.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CallToActionButton.md index c3e46056..67b93529 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CallToActionButton.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CallToActionButton.md @@ -2,7 +2,7 @@ # Class: CallToActionButton -Defined in: [src/parser/classes/CallToActionButton.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CallToActionButton.ts#L5) +Defined in: [src/parser/classes/CallToActionButton.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CallToActionButton.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/CallToActionButton.ts:5](https://github.com/Luan > **new CallToActionButton**(`data`): `CallToActionButton` -Defined in: [src/parser/classes/CallToActionButton.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CallToActionButton.ts#L12) +Defined in: [src/parser/classes/CallToActionButton.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CallToActionButton.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/CallToActionButton.ts:12](https://github.com/Lua > **icon\_type**: `string` -Defined in: [src/parser/classes/CallToActionButton.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CallToActionButton.ts#L9) +Defined in: [src/parser/classes/CallToActionButton.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CallToActionButton.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/CallToActionButton.ts:9](https://github.com/Luan > **label**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/CallToActionButton.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CallToActionButton.ts#L8) +Defined in: [src/parser/classes/CallToActionButton.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CallToActionButton.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/CallToActionButton.ts:8](https://github.com/Luan > **style**: `string` -Defined in: [src/parser/classes/CallToActionButton.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CallToActionButton.ts#L10) +Defined in: [src/parser/classes/CallToActionButton.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CallToActionButton.ts#L10) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/CallToActionButton.ts:10](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CallToActionButton'` -Defined in: [src/parser/classes/CallToActionButton.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CallToActionButton.ts#L6) +Defined in: [src/parser/classes/CallToActionButton.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CallToActionButton.ts#L6) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/CallToActionButton.ts:6](https://github.com/Luan > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CallToActionButton & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Card.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Card.md index ee988423..ad71dab5 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Card.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Card.md @@ -2,7 +2,7 @@ # Class: Card -Defined in: [src/parser/classes/Card.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Card.ts#L4) +Defined in: [src/parser/classes/Card.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Card.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/Card.ts:4](https://github.com/LuanRT/YouTube.js/ > **new Card**(`data`): `Card` -Defined in: [src/parser/classes/Card.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Card.ts#L19) +Defined in: [src/parser/classes/Card.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Card.ts#L19) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/Card.ts:19](https://github.com/LuanRT/YouTube.js > `optional` **card\_id**: `string` -Defined in: [src/parser/classes/Card.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Card.ts#L9) +Defined in: [src/parser/classes/Card.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Card.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/Card.ts:9](https://github.com/LuanRT/YouTube.js/ > **content**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/Card.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Card.ts#L8) +Defined in: [src/parser/classes/Card.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Card.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/Card.ts:8](https://github.com/LuanRT/YouTube.js/ > **cue\_ranges**: `object`[] -Defined in: [src/parser/classes/Card.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Card.ts#L12) +Defined in: [src/parser/classes/Card.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Card.ts#L12) #### end\_card\_active\_ms @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/Card.ts:12](https://github.com/LuanRT/YouTube.js > `optional` **feature**: `string` -Defined in: [src/parser/classes/Card.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Card.ts#L10) +Defined in: [src/parser/classes/Card.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Card.ts#L10) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/Card.ts:10](https://github.com/LuanRT/YouTube.js > **teaser**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/Card.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Card.ts#L7) +Defined in: [src/parser/classes/Card.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Card.ts#L7) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/Card.ts:7](https://github.com/LuanRT/YouTube.js/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -104,7 +104,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'Card'` -Defined in: [src/parser/classes/Card.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Card.ts#L5) +Defined in: [src/parser/classes/Card.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Card.ts#L5) #### Overrides @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/Card.ts:5](https://github.com/LuanRT/YouTube.js/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -158,7 +158,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Card & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -196,7 +196,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -234,7 +234,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CardCollection.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CardCollection.md index 49995dd0..1598a320 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CardCollection.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CardCollection.md @@ -2,7 +2,7 @@ # Class: CardCollection -Defined in: [src/parser/classes/CardCollection.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CardCollection.ts#L5) +Defined in: [src/parser/classes/CardCollection.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CardCollection.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/CardCollection.ts:5](https://github.com/LuanRT/Y > **new CardCollection**(`data`): `CardCollection` -Defined in: [src/parser/classes/CardCollection.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CardCollection.ts#L12) +Defined in: [src/parser/classes/CardCollection.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CardCollection.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/CardCollection.ts:12](https://github.com/LuanRT/ > **allow\_teaser\_dismiss**: `boolean` -Defined in: [src/parser/classes/CardCollection.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CardCollection.ts#L10) +Defined in: [src/parser/classes/CardCollection.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CardCollection.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/CardCollection.ts:10](https://github.com/LuanRT/ > **cards**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/CardCollection.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CardCollection.ts#L8) +Defined in: [src/parser/classes/CardCollection.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CardCollection.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/CardCollection.ts:8](https://github.com/LuanRT/Y > **header**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/CardCollection.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CardCollection.ts#L9) +Defined in: [src/parser/classes/CardCollection.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CardCollection.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/CardCollection.ts:9](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CardCollection'` -Defined in: [src/parser/classes/CardCollection.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CardCollection.ts#L6) +Defined in: [src/parser/classes/CardCollection.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CardCollection.ts#L6) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/CardCollection.ts:6](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CardCollection & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CarouselHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CarouselHeader.md index 4fc27aea..881c3542 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CarouselHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CarouselHeader.md @@ -2,7 +2,7 @@ # Class: CarouselHeader -Defined in: [src/parser/classes/CarouselHeader.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselHeader.ts#L4) +Defined in: [src/parser/classes/CarouselHeader.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselHeader.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/CarouselHeader.ts:4](https://github.com/LuanRT/Y > **new CarouselHeader**(`data`): `CarouselHeader` -Defined in: [src/parser/classes/CarouselHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselHeader.ts#L9) +Defined in: [src/parser/classes/CarouselHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselHeader.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/CarouselHeader.ts:9](https://github.com/LuanRT/Y > **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/CarouselHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselHeader.ts#L7) +Defined in: [src/parser/classes/CarouselHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselHeader.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/CarouselHeader.ts:7](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CarouselHeader'` -Defined in: [src/parser/classes/CarouselHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselHeader.ts#L5) +Defined in: [src/parser/classes/CarouselHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselHeader.ts#L5) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/CarouselHeader.ts:5](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CarouselHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CarouselItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CarouselItem.md index 66d1abf8..f38a8133 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CarouselItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CarouselItem.md @@ -2,7 +2,7 @@ # Class: CarouselItem -Defined in: [src/parser/classes/CarouselItem.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselItem.ts#L5) +Defined in: [src/parser/classes/CarouselItem.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselItem.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/CarouselItem.ts:5](https://github.com/LuanRT/You > **new CarouselItem**(`data`): `CarouselItem` -Defined in: [src/parser/classes/CarouselItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselItem.ts#L14) +Defined in: [src/parser/classes/CarouselItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselItem.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/CarouselItem.ts:14](https://github.com/LuanRT/Yo > **background\_color**: `string` -Defined in: [src/parser/classes/CarouselItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselItem.ts#L9) +Defined in: [src/parser/classes/CarouselItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselItem.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/CarouselItem.ts:9](https://github.com/LuanRT/You > **items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/CarouselItem.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselItem.ts#L8) +Defined in: [src/parser/classes/CarouselItem.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselItem.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/CarouselItem.ts:8](https://github.com/LuanRT/You > **layout\_style**: `string` -Defined in: [src/parser/classes/CarouselItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselItem.ts#L10) +Defined in: [src/parser/classes/CarouselItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselItem.ts#L10) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/CarouselItem.ts:10](https://github.com/LuanRT/Yo > **pagination\_thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/CarouselItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselItem.ts#L11) +Defined in: [src/parser/classes/CarouselItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselItem.ts#L11) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/CarouselItem.ts:11](https://github.com/LuanRT/Yo > **paginator\_alignment**: `string` -Defined in: [src/parser/classes/CarouselItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselItem.ts#L12) +Defined in: [src/parser/classes/CarouselItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselItem.ts#L12) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/CarouselItem.ts:12](https://github.com/LuanRT/Yo > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CarouselItem'` -Defined in: [src/parser/classes/CarouselItem.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselItem.ts#L6) +Defined in: [src/parser/classes/CarouselItem.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselItem.ts#L6) #### Overrides @@ -102,7 +102,7 @@ Defined in: [src/parser/classes/CarouselItem.ts:6](https://github.com/LuanRT/You > **get** **contents**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/CarouselItem.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselItem.ts#L24) +Defined in: [src/parser/classes/CarouselItem.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselItem.ts#L24) ##### Returns @@ -114,7 +114,7 @@ Defined in: [src/parser/classes/CarouselItem.ts:24](https://github.com/LuanRT/Yo > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -156,7 +156,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CarouselItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -194,7 +194,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -232,7 +232,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CarouselItemView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CarouselItemView.md index fafe47c0..7a8cb5fc 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CarouselItemView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CarouselItemView.md @@ -2,7 +2,7 @@ # Class: CarouselItemView -Defined in: [src/parser/classes/CarouselItemView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselItemView.ts#L5) +Defined in: [src/parser/classes/CarouselItemView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselItemView.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/CarouselItemView.ts:5](https://github.com/LuanRT > **new CarouselItemView**(`data`): `CarouselItemView` -Defined in: [src/parser/classes/CarouselItemView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselItemView.ts#L11) +Defined in: [src/parser/classes/CarouselItemView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselItemView.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/CarouselItemView.ts:11](https://github.com/LuanR > **carousel\_item**: [`TextCarouselItemView`](TextCarouselItemView.md) \| `null` -Defined in: [src/parser/classes/CarouselItemView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselItemView.ts#L9) +Defined in: [src/parser/classes/CarouselItemView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselItemView.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/CarouselItemView.ts:9](https://github.com/LuanRT > **item\_type**: `string` -Defined in: [src/parser/classes/CarouselItemView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselItemView.ts#L8) +Defined in: [src/parser/classes/CarouselItemView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselItemView.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/CarouselItemView.ts:8](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CarouselItemView'` -Defined in: [src/parser/classes/CarouselItemView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselItemView.ts#L6) +Defined in: [src/parser/classes/CarouselItemView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselItemView.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/CarouselItemView.ts:6](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CarouselItemView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CarouselLockup.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CarouselLockup.md index 4e2a806b..12dbcd36 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CarouselLockup.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CarouselLockup.md @@ -2,7 +2,7 @@ # Class: CarouselLockup -Defined in: [src/parser/classes/CarouselLockup.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselLockup.ts#L6) +Defined in: [src/parser/classes/CarouselLockup.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselLockup.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/CarouselLockup.ts:6](https://github.com/LuanRT/Y > **new CarouselLockup**(`data`): `CarouselLockup` -Defined in: [src/parser/classes/CarouselLockup.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselLockup.ts#L12) +Defined in: [src/parser/classes/CarouselLockup.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselLockup.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/CarouselLockup.ts:12](https://github.com/LuanRT/ > **info\_rows**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`InfoRow`](InfoRow.md)\> -Defined in: [src/parser/classes/CarouselLockup.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselLockup.ts#L9) +Defined in: [src/parser/classes/CarouselLockup.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselLockup.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/CarouselLockup.ts:9](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **video\_lockup**: [`CompactVideo`](CompactVideo.md) \| `null` -Defined in: [src/parser/classes/CarouselLockup.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselLockup.ts#L10) +Defined in: [src/parser/classes/CarouselLockup.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselLockup.ts#L10) *** @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/CarouselLockup.ts:10](https://github.com/LuanRT/ > `static` **type**: `string` = `'CarouselLockup'` -Defined in: [src/parser/classes/CarouselLockup.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselLockup.ts#L7) +Defined in: [src/parser/classes/CarouselLockup.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselLockup.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/CarouselLockup.ts:7](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CarouselLockup & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CarouselTitleView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CarouselTitleView.md index 0f8cb0c9..02189bd3 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CarouselTitleView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CarouselTitleView.md @@ -2,7 +2,7 @@ # Class: CarouselTitleView -Defined in: [src/parser/classes/CarouselTitleView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselTitleView.ts#L5) +Defined in: [src/parser/classes/CarouselTitleView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselTitleView.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/CarouselTitleView.ts:5](https://github.com/LuanR > **new CarouselTitleView**(`data`): `CarouselTitleView` -Defined in: [src/parser/classes/CarouselTitleView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselTitleView.ts#L12) +Defined in: [src/parser/classes/CarouselTitleView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselTitleView.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/CarouselTitleView.ts:12](https://github.com/Luan > **next\_button**: [`ButtonView`](ButtonView.md) \| `null` -Defined in: [src/parser/classes/CarouselTitleView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselTitleView.ts#L10) +Defined in: [src/parser/classes/CarouselTitleView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselTitleView.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/CarouselTitleView.ts:10](https://github.com/Luan > **previous\_button**: [`ButtonView`](ButtonView.md) \| `null` -Defined in: [src/parser/classes/CarouselTitleView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselTitleView.ts#L9) +Defined in: [src/parser/classes/CarouselTitleView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselTitleView.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/CarouselTitleView.ts:9](https://github.com/LuanR > **title**: `string` -Defined in: [src/parser/classes/CarouselTitleView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselTitleView.ts#L8) +Defined in: [src/parser/classes/CarouselTitleView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselTitleView.ts#L8) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/CarouselTitleView.ts:8](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CarouselTitleView'` -Defined in: [src/parser/classes/CarouselTitleView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CarouselTitleView.ts#L6) +Defined in: [src/parser/classes/CarouselTitleView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CarouselTitleView.ts#L6) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/CarouselTitleView.ts:6](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CarouselTitleView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChangeEngagementPanelVisibilityAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChangeEngagementPanelVisibilityAction.md index dc20666c..9a2ddb50 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChangeEngagementPanelVisibilityAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChangeEngagementPanelVisibilityAction.md @@ -2,7 +2,7 @@ # Class: ChangeEngagementPanelVisibilityAction -Defined in: [src/parser/classes/actions/ChangeEngagementPanelVisibilityAction.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/ChangeEngagementPanelVisibilityAction.ts#L4) +Defined in: [src/parser/classes/actions/ChangeEngagementPanelVisibilityAction.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/ChangeEngagementPanelVisibilityAction.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/actions/ChangeEngagementPanelVisibilityAction.ts > **new ChangeEngagementPanelVisibilityAction**(`data`): `ChangeEngagementPanelVisibilityAction` -Defined in: [src/parser/classes/actions/ChangeEngagementPanelVisibilityAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/ChangeEngagementPanelVisibilityAction.ts#L10) +Defined in: [src/parser/classes/actions/ChangeEngagementPanelVisibilityAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/ChangeEngagementPanelVisibilityAction.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/actions/ChangeEngagementPanelVisibilityAction.ts > **target\_id**: `string` -Defined in: [src/parser/classes/actions/ChangeEngagementPanelVisibilityAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/ChangeEngagementPanelVisibilityAction.ts#L7) +Defined in: [src/parser/classes/actions/ChangeEngagementPanelVisibilityAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/ChangeEngagementPanelVisibilityAction.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/actions/ChangeEngagementPanelVisibilityAction.ts > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **visibility**: `string` -Defined in: [src/parser/classes/actions/ChangeEngagementPanelVisibilityAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/ChangeEngagementPanelVisibilityAction.ts#L8) +Defined in: [src/parser/classes/actions/ChangeEngagementPanelVisibilityAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/ChangeEngagementPanelVisibilityAction.ts#L8) *** @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/actions/ChangeEngagementPanelVisibilityAction.ts > `static` **type**: `string` = `'ChangeEngagementPanelVisibilityAction'` -Defined in: [src/parser/classes/actions/ChangeEngagementPanelVisibilityAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/ChangeEngagementPanelVisibilityAction.ts#L5) +Defined in: [src/parser/classes/actions/ChangeEngagementPanelVisibilityAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/ChangeEngagementPanelVisibilityAction.ts#L5) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/actions/ChangeEngagementPanelVisibilityAction.ts > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ChangeEngagementPanelVisibilityAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Channel.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Channel.md index b0aaed26..70c357ea 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Channel.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Channel.md @@ -2,7 +2,7 @@ # Class: Channel -Defined in: [src/parser/classes/Channel.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Channel.ts#L9) +Defined in: [src/parser/classes/Channel.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Channel.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/Channel.ts:9](https://github.com/LuanRT/YouTube. > **new Channel**(`data`): `Channel` -Defined in: [src/parser/classes/Channel.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Channel.ts#L22) +Defined in: [src/parser/classes/Channel.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Channel.ts#L22) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/Channel.ts:22](https://github.com/LuanRT/YouTube > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/Channel.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Channel.ts#L13) +Defined in: [src/parser/classes/Channel.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Channel.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/Channel.ts:13](https://github.com/LuanRT/YouTube > **description\_snippet**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Channel.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Channel.ts#L20) +Defined in: [src/parser/classes/Channel.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Channel.ts#L20) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/Channel.ts:20](https://github.com/LuanRT/YouTube > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/Channel.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Channel.ts#L18) +Defined in: [src/parser/classes/Channel.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Channel.ts#L18) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/Channel.ts:18](https://github.com/LuanRT/YouTube > **id**: `string` -Defined in: [src/parser/classes/Channel.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Channel.ts#L12) +Defined in: [src/parser/classes/Channel.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Channel.ts#L12) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/Channel.ts:12](https://github.com/LuanRT/YouTube > **long\_byline**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Channel.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Channel.ts#L16) +Defined in: [src/parser/classes/Channel.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Channel.ts#L16) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/Channel.ts:16](https://github.com/LuanRT/YouTube > **short\_byline**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Channel.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Channel.ts#L17) +Defined in: [src/parser/classes/Channel.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Channel.ts#L17) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/Channel.ts:17](https://github.com/LuanRT/YouTube > **subscribe\_button**: [`Button`](Button.md) \| [`SubscribeButton`](SubscribeButton.md) \| `null` -Defined in: [src/parser/classes/Channel.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Channel.ts#L19) +Defined in: [src/parser/classes/Channel.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Channel.ts#L19) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/Channel.ts:19](https://github.com/LuanRT/YouTube > **subscriber\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Channel.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Channel.ts#L14) +Defined in: [src/parser/classes/Channel.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Channel.ts#L14) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/Channel.ts:14](https://github.com/LuanRT/YouTube > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -112,7 +112,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Channel.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Channel.ts#L15) +Defined in: [src/parser/classes/Channel.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Channel.ts#L15) *** @@ -120,7 +120,7 @@ Defined in: [src/parser/classes/Channel.ts:15](https://github.com/LuanRT/YouTube > `static` **type**: `string` = `'Channel'` -Defined in: [src/parser/classes/Channel.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Channel.ts#L10) +Defined in: [src/parser/classes/Channel.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Channel.ts#L10) #### Overrides @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/Channel.ts:10](https://github.com/LuanRT/YouTube > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -174,7 +174,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Channel & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -212,7 +212,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -250,7 +250,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelAboutFullMetadata.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelAboutFullMetadata.md index 2baaa77a..6a51ed1e 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelAboutFullMetadata.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelAboutFullMetadata.md @@ -2,7 +2,7 @@ # Class: ChannelAboutFullMetadata -Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelAboutFullMetadata.ts#L8) +Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelAboutFullMetadata.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:8](https://github.co > **new ChannelAboutFullMetadata**(`data`): `ChannelAboutFullMetadata` -Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelAboutFullMetadata.ts#L30) +Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelAboutFullMetadata.ts#L30) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:30](https://github.c > **avatar**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelAboutFullMetadata.ts#L13) +Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelAboutFullMetadata.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:13](https://github.c > **buttons**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Button`](Button.md)\> -Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelAboutFullMetadata.ts#L28) +Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelAboutFullMetadata.ts#L28) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:28](https://github.c > **can\_reveal\_email**: `boolean` -Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelAboutFullMetadata.ts#L26) +Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelAboutFullMetadata.ts#L26) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:26](https://github.c > **canonical\_channel\_url**: `string` -Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelAboutFullMetadata.ts#L14) +Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelAboutFullMetadata.ts#L14) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:14](https://github.c > **country**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelAboutFullMetadata.ts#L27) +Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelAboutFullMetadata.ts#L27) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:27](https://github.c > **description**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelAboutFullMetadata.ts#L24) +Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelAboutFullMetadata.ts#L24) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:24](https://github.c > **email\_reveal**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelAboutFullMetadata.ts#L25) +Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelAboutFullMetadata.ts#L25) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:25](https://github.c > **id**: `string` -Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelAboutFullMetadata.ts#L11) +Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelAboutFullMetadata.ts#L11) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:11](https://github.c > **joined\_date**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelAboutFullMetadata.ts#L23) +Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelAboutFullMetadata.ts#L23) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:23](https://github.c > **name**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelAboutFullMetadata.ts#L12) +Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelAboutFullMetadata.ts#L12) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:12](https://github.c > **primary\_links**: `object`[] -Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelAboutFullMetadata.ts#L16) +Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelAboutFullMetadata.ts#L16) #### endpoint @@ -136,7 +136,7 @@ Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:16](https://github.c > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -148,7 +148,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **view\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelAboutFullMetadata.ts#L22) +Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelAboutFullMetadata.ts#L22) *** @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:22](https://github.c > `static` **type**: `string` = `'ChannelAboutFullMetadata'` -Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelAboutFullMetadata.ts#L9) +Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelAboutFullMetadata.ts#L9) #### Overrides @@ -168,7 +168,7 @@ Defined in: [src/parser/classes/ChannelAboutFullMetadata.ts:9](https://github.co > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -210,7 +210,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ChannelAboutFullMetadata & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -248,7 +248,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -286,7 +286,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelAgeGate.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelAgeGate.md index 4a93362a..fc59dba4 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelAgeGate.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelAgeGate.md @@ -2,7 +2,7 @@ # Class: ChannelAgeGate -Defined in: [src/parser/classes/ChannelAgeGate.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelAgeGate.ts#L8) +Defined in: [src/parser/classes/ChannelAgeGate.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelAgeGate.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ChannelAgeGate.ts:8](https://github.com/LuanRT/Y > **new ChannelAgeGate**(`data`): `ChannelAgeGate` -Defined in: [src/parser/classes/ChannelAgeGate.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelAgeGate.ts#L18) +Defined in: [src/parser/classes/ChannelAgeGate.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelAgeGate.ts#L18) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ChannelAgeGate.ts:18](https://github.com/LuanRT/ > **avatar**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/ChannelAgeGate.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelAgeGate.ts#L12) +Defined in: [src/parser/classes/ChannelAgeGate.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelAgeGate.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ChannelAgeGate.ts:12](https://github.com/LuanRT/ > **channel\_title**: `string` -Defined in: [src/parser/classes/ChannelAgeGate.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelAgeGate.ts#L11) +Defined in: [src/parser/classes/ChannelAgeGate.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelAgeGate.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ChannelAgeGate.ts:11](https://github.com/LuanRT/ > **header**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ChannelAgeGate.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelAgeGate.ts#L13) +Defined in: [src/parser/classes/ChannelAgeGate.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelAgeGate.ts#L13) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ChannelAgeGate.ts:13](https://github.com/LuanRT/ > **main\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ChannelAgeGate.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelAgeGate.ts#L14) +Defined in: [src/parser/classes/ChannelAgeGate.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelAgeGate.ts#L14) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ChannelAgeGate.ts:14](https://github.com/LuanRT/ > **secondary\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ChannelAgeGate.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelAgeGate.ts#L16) +Defined in: [src/parser/classes/ChannelAgeGate.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelAgeGate.ts#L16) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ChannelAgeGate.ts:16](https://github.com/LuanRT/ > **sign\_in\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/ChannelAgeGate.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelAgeGate.ts#L15) +Defined in: [src/parser/classes/ChannelAgeGate.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelAgeGate.ts#L15) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ChannelAgeGate.ts:15](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ChannelAgeGate'` -Defined in: [src/parser/classes/ChannelAgeGate.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelAgeGate.ts#L9) +Defined in: [src/parser/classes/ChannelAgeGate.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelAgeGate.ts#L9) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/ChannelAgeGate.ts:9](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ChannelAgeGate & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelExternalLinkView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelExternalLinkView.md index 2ede7b48..8a6ee538 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelExternalLinkView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelExternalLinkView.md @@ -2,7 +2,7 @@ # Class: ChannelExternalLinkView -Defined in: [src/parser/classes/ChannelExternalLinkView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelExternalLinkView.ts#L6) +Defined in: [src/parser/classes/ChannelExternalLinkView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelExternalLinkView.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ChannelExternalLinkView.ts:6](https://github.com > **new ChannelExternalLinkView**(`data`): `ChannelExternalLinkView` -Defined in: [src/parser/classes/ChannelExternalLinkView.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelExternalLinkView.ts#L13) +Defined in: [src/parser/classes/ChannelExternalLinkView.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelExternalLinkView.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ChannelExternalLinkView.ts:13](https://github.co > **favicon**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/ChannelExternalLinkView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelExternalLinkView.ts#L11) +Defined in: [src/parser/classes/ChannelExternalLinkView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelExternalLinkView.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ChannelExternalLinkView.ts:11](https://github.co > **link**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ChannelExternalLinkView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelExternalLinkView.ts#L10) +Defined in: [src/parser/classes/ChannelExternalLinkView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelExternalLinkView.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ChannelExternalLinkView.ts:10](https://github.co > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ChannelExternalLinkView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelExternalLinkView.ts#L9) +Defined in: [src/parser/classes/ChannelExternalLinkView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelExternalLinkView.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ChannelExternalLinkView.ts:9](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ChannelExternalLinkView'` -Defined in: [src/parser/classes/ChannelExternalLinkView.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelExternalLinkView.ts#L7) +Defined in: [src/parser/classes/ChannelExternalLinkView.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelExternalLinkView.ts#L7) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ChannelExternalLinkView.ts:7](https://github.com > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ChannelExternalLinkView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelFeaturedContent.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelFeaturedContent.md index d69a170c..637570ea 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelFeaturedContent.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelFeaturedContent.md @@ -2,7 +2,7 @@ # Class: ChannelFeaturedContent -Defined in: [src/parser/classes/ChannelFeaturedContent.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelFeaturedContent.ts#L5) +Defined in: [src/parser/classes/ChannelFeaturedContent.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelFeaturedContent.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ChannelFeaturedContent.ts:5](https://github.com/ > **new ChannelFeaturedContent**(`data`): `ChannelFeaturedContent` -Defined in: [src/parser/classes/ChannelFeaturedContent.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelFeaturedContent.ts#L11) +Defined in: [src/parser/classes/ChannelFeaturedContent.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelFeaturedContent.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ChannelFeaturedContent.ts:11](https://github.com > **items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/ChannelFeaturedContent.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelFeaturedContent.ts#L9) +Defined in: [src/parser/classes/ChannelFeaturedContent.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelFeaturedContent.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ChannelFeaturedContent.ts:9](https://github.com/ > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ChannelFeaturedContent.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelFeaturedContent.ts#L8) +Defined in: [src/parser/classes/ChannelFeaturedContent.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelFeaturedContent.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ChannelFeaturedContent.ts:8](https://github.com/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ChannelFeaturedContent'` -Defined in: [src/parser/classes/ChannelFeaturedContent.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelFeaturedContent.ts#L6) +Defined in: [src/parser/classes/ChannelFeaturedContent.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelFeaturedContent.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ChannelFeaturedContent.ts:6](https://github.com/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ChannelFeaturedContent & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelHeaderLinks.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelHeaderLinks.md index b15a5887..8107cdb1 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelHeaderLinks.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelHeaderLinks.md @@ -2,7 +2,7 @@ # Class: ChannelHeaderLinks -Defined in: [src/parser/classes/ChannelHeaderLinks.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelHeaderLinks.ts#L23) +Defined in: [src/parser/classes/ChannelHeaderLinks.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelHeaderLinks.ts#L23) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ChannelHeaderLinks.ts:23](https://github.com/Lua > **new ChannelHeaderLinks**(`data`): `ChannelHeaderLinks` -Defined in: [src/parser/classes/ChannelHeaderLinks.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelHeaderLinks.ts#L29) +Defined in: [src/parser/classes/ChannelHeaderLinks.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelHeaderLinks.ts#L29) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ChannelHeaderLinks.ts:29](https://github.com/Lua > **primary**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<`HeaderLink`\> -Defined in: [src/parser/classes/ChannelHeaderLinks.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelHeaderLinks.ts#L26) +Defined in: [src/parser/classes/ChannelHeaderLinks.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelHeaderLinks.ts#L26) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ChannelHeaderLinks.ts:26](https://github.com/Lua > **secondary**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<`HeaderLink`\> -Defined in: [src/parser/classes/ChannelHeaderLinks.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelHeaderLinks.ts#L27) +Defined in: [src/parser/classes/ChannelHeaderLinks.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelHeaderLinks.ts#L27) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ChannelHeaderLinks.ts:27](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ChannelHeaderLinks'` -Defined in: [src/parser/classes/ChannelHeaderLinks.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelHeaderLinks.ts#L24) +Defined in: [src/parser/classes/ChannelHeaderLinks.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelHeaderLinks.ts#L24) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ChannelHeaderLinks.ts:24](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ChannelHeaderLinks & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelHeaderLinksView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelHeaderLinksView.md index b16d8bfe..018d2df0 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelHeaderLinksView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelHeaderLinksView.md @@ -2,7 +2,7 @@ # Class: ChannelHeaderLinksView -Defined in: [src/parser/classes/ChannelHeaderLinksView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelHeaderLinksView.ts#L5) +Defined in: [src/parser/classes/ChannelHeaderLinksView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelHeaderLinksView.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ChannelHeaderLinksView.ts:5](https://github.com/ > **new ChannelHeaderLinksView**(`data`): `ChannelHeaderLinksView` -Defined in: [src/parser/classes/ChannelHeaderLinksView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelHeaderLinksView.ts#L11) +Defined in: [src/parser/classes/ChannelHeaderLinksView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelHeaderLinksView.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ChannelHeaderLinksView.ts:11](https://github.com > `optional` **first\_link**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ChannelHeaderLinksView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelHeaderLinksView.ts#L8) +Defined in: [src/parser/classes/ChannelHeaderLinksView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelHeaderLinksView.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ChannelHeaderLinksView.ts:8](https://github.com/ > `optional` **more**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ChannelHeaderLinksView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelHeaderLinksView.ts#L9) +Defined in: [src/parser/classes/ChannelHeaderLinksView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelHeaderLinksView.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ChannelHeaderLinksView.ts:9](https://github.com/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ChannelHeaderLinksView'` -Defined in: [src/parser/classes/ChannelHeaderLinksView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelHeaderLinksView.ts#L6) +Defined in: [src/parser/classes/ChannelHeaderLinksView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelHeaderLinksView.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ChannelHeaderLinksView.ts:6](https://github.com/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ChannelHeaderLinksView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelMetadata.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelMetadata.md index 3ca27dfd..570eae8e 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelMetadata.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelMetadata.md @@ -2,7 +2,7 @@ # Class: ChannelMetadata -Defined in: [src/parser/classes/ChannelMetadata.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelMetadata.ts#L5) +Defined in: [src/parser/classes/ChannelMetadata.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelMetadata.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ChannelMetadata.ts:5](https://github.com/LuanRT/ > **new ChannelMetadata**(`data`): `ChannelMetadata` -Defined in: [src/parser/classes/ChannelMetadata.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelMetadata.ts#L23) +Defined in: [src/parser/classes/ChannelMetadata.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelMetadata.ts#L23) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ChannelMetadata.ts:23](https://github.com/LuanRT > **android\_appindexing\_link**: `string` -Defined in: [src/parser/classes/ChannelMetadata.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelMetadata.ts#L20) +Defined in: [src/parser/classes/ChannelMetadata.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelMetadata.ts#L20) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ChannelMetadata.ts:20](https://github.com/LuanRT > **android\_deep\_link**: `string` -Defined in: [src/parser/classes/ChannelMetadata.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelMetadata.ts#L19) +Defined in: [src/parser/classes/ChannelMetadata.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelMetadata.ts#L19) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ChannelMetadata.ts:19](https://github.com/LuanRT > **available\_countries**: `string`[] -Defined in: [src/parser/classes/ChannelMetadata.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelMetadata.ts#L18) +Defined in: [src/parser/classes/ChannelMetadata.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelMetadata.ts#L18) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ChannelMetadata.ts:18](https://github.com/LuanRT > **avatar**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/ChannelMetadata.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelMetadata.ts#L16) +Defined in: [src/parser/classes/ChannelMetadata.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelMetadata.ts#L16) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ChannelMetadata.ts:16](https://github.com/LuanRT > **description**: `string` -Defined in: [src/parser/classes/ChannelMetadata.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelMetadata.ts#L9) +Defined in: [src/parser/classes/ChannelMetadata.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelMetadata.ts#L9) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ChannelMetadata.ts:9](https://github.com/LuanRT/ > **external\_id**: `string` -Defined in: [src/parser/classes/ChannelMetadata.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelMetadata.ts#L13) +Defined in: [src/parser/classes/ChannelMetadata.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelMetadata.ts#L13) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ChannelMetadata.ts:13](https://github.com/LuanRT > **ios\_appindexing\_link**: `string` -Defined in: [src/parser/classes/ChannelMetadata.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelMetadata.ts#L21) +Defined in: [src/parser/classes/ChannelMetadata.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelMetadata.ts#L21) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/ChannelMetadata.ts:21](https://github.com/LuanRT > **is\_family\_safe**: `boolean` -Defined in: [src/parser/classes/ChannelMetadata.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelMetadata.ts#L14) +Defined in: [src/parser/classes/ChannelMetadata.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelMetadata.ts#L14) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/ChannelMetadata.ts:14](https://github.com/LuanRT > **keywords**: `string`[] -Defined in: [src/parser/classes/ChannelMetadata.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelMetadata.ts#L15) +Defined in: [src/parser/classes/ChannelMetadata.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelMetadata.ts#L15) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/ChannelMetadata.ts:15](https://github.com/LuanRT > `optional` **music\_artist\_name**: `string` -Defined in: [src/parser/classes/ChannelMetadata.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelMetadata.ts#L17) +Defined in: [src/parser/classes/ChannelMetadata.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelMetadata.ts#L17) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/ChannelMetadata.ts:17](https://github.com/LuanRT > **rss\_url**: `string` -Defined in: [src/parser/classes/ChannelMetadata.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelMetadata.ts#L11) +Defined in: [src/parser/classes/ChannelMetadata.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelMetadata.ts#L11) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/ChannelMetadata.ts:11](https://github.com/LuanRT > **title**: `string` -Defined in: [src/parser/classes/ChannelMetadata.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelMetadata.ts#L8) +Defined in: [src/parser/classes/ChannelMetadata.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelMetadata.ts#L8) *** @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/ChannelMetadata.ts:8](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -144,7 +144,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **url**: `string` -Defined in: [src/parser/classes/ChannelMetadata.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelMetadata.ts#L10) +Defined in: [src/parser/classes/ChannelMetadata.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelMetadata.ts#L10) *** @@ -152,7 +152,7 @@ Defined in: [src/parser/classes/ChannelMetadata.ts:10](https://github.com/LuanRT > **vanity\_channel\_url**: `string` -Defined in: [src/parser/classes/ChannelMetadata.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelMetadata.ts#L12) +Defined in: [src/parser/classes/ChannelMetadata.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelMetadata.ts#L12) *** @@ -160,7 +160,7 @@ Defined in: [src/parser/classes/ChannelMetadata.ts:12](https://github.com/LuanRT > `static` **type**: `string` = `'ChannelMetadata'` -Defined in: [src/parser/classes/ChannelMetadata.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelMetadata.ts#L6) +Defined in: [src/parser/classes/ChannelMetadata.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelMetadata.ts#L6) #### Overrides @@ -172,7 +172,7 @@ Defined in: [src/parser/classes/ChannelMetadata.ts:6](https://github.com/LuanRT/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -214,7 +214,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ChannelMetadata & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -252,7 +252,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -290,7 +290,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelMobileHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelMobileHeader.md index a6f0526a..0c7e6b24 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelMobileHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelMobileHeader.md @@ -2,7 +2,7 @@ # Class: ChannelMobileHeader -Defined in: [src/parser/classes/ChannelMobileHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelMobileHeader.ts#L5) +Defined in: [src/parser/classes/ChannelMobileHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelMobileHeader.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ChannelMobileHeader.ts:5](https://github.com/Lua > **new ChannelMobileHeader**(`data`): `ChannelMobileHeader` -Defined in: [src/parser/classes/ChannelMobileHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelMobileHeader.ts#L10) +Defined in: [src/parser/classes/ChannelMobileHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelMobileHeader.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ChannelMobileHeader.ts:10](https://github.com/Lu > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ChannelMobileHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelMobileHeader.ts#L8) +Defined in: [src/parser/classes/ChannelMobileHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelMobileHeader.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ChannelMobileHeader.ts:8](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ChannelMobileHeader'` -Defined in: [src/parser/classes/ChannelMobileHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelMobileHeader.ts#L6) +Defined in: [src/parser/classes/ChannelMobileHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelMobileHeader.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ChannelMobileHeader.ts:6](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ChannelMobileHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelOptions.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelOptions.md index 697867c3..70f6b608 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelOptions.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelOptions.md @@ -2,7 +2,7 @@ # Class: ChannelOptions -Defined in: [src/parser/classes/ChannelOptions.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelOptions.ts#L7) +Defined in: [src/parser/classes/ChannelOptions.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelOptions.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ChannelOptions.ts:7](https://github.com/LuanRT/Y > **new ChannelOptions**(`data`): `ChannelOptions` -Defined in: [src/parser/classes/ChannelOptions.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelOptions.ts#L15) +Defined in: [src/parser/classes/ChannelOptions.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelOptions.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ChannelOptions.ts:15](https://github.com/LuanRT/ > **avatar**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/ChannelOptions.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelOptions.ts#L10) +Defined in: [src/parser/classes/ChannelOptions.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelOptions.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ChannelOptions.ts:10](https://github.com/LuanRT/ > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ChannelOptions.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelOptions.ts#L11) +Defined in: [src/parser/classes/ChannelOptions.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelOptions.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ChannelOptions.ts:11](https://github.com/LuanRT/ > **links**: [`Text`](../../Misc/classes/Text.md)[] -Defined in: [src/parser/classes/ChannelOptions.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelOptions.ts#L13) +Defined in: [src/parser/classes/ChannelOptions.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelOptions.ts#L13) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ChannelOptions.ts:13](https://github.com/LuanRT/ > **name**: `string` -Defined in: [src/parser/classes/ChannelOptions.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelOptions.ts#L12) +Defined in: [src/parser/classes/ChannelOptions.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelOptions.ts#L12) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ChannelOptions.ts:12](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ChannelOptions'` -Defined in: [src/parser/classes/ChannelOptions.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelOptions.ts#L8) +Defined in: [src/parser/classes/ChannelOptions.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelOptions.ts#L8) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/ChannelOptions.ts:8](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ChannelOptions & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelOwnerEmptyState.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelOwnerEmptyState.md index 22a6d0b0..cd997ec1 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelOwnerEmptyState.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelOwnerEmptyState.md @@ -2,7 +2,7 @@ # Class: ChannelOwnerEmptyState -Defined in: [src/parser/classes/ChannelOwnerEmptyState.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelOwnerEmptyState.ts#L6) +Defined in: [src/parser/classes/ChannelOwnerEmptyState.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelOwnerEmptyState.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ChannelOwnerEmptyState.ts:6](https://github.com/ > **new ChannelOwnerEmptyState**(`data`): `ChannelOwnerEmptyState` -Defined in: [src/parser/classes/ChannelOwnerEmptyState.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelOwnerEmptyState.ts#L12) +Defined in: [src/parser/classes/ChannelOwnerEmptyState.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelOwnerEmptyState.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ChannelOwnerEmptyState.ts:12](https://github.com > **description**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ChannelOwnerEmptyState.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelOwnerEmptyState.ts#L10) +Defined in: [src/parser/classes/ChannelOwnerEmptyState.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelOwnerEmptyState.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ChannelOwnerEmptyState.ts:10](https://github.com > **illustration**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/ChannelOwnerEmptyState.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelOwnerEmptyState.ts#L9) +Defined in: [src/parser/classes/ChannelOwnerEmptyState.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelOwnerEmptyState.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ChannelOwnerEmptyState.ts:9](https://github.com/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ChannelOwnerEmptyState'` -Defined in: [src/parser/classes/ChannelOwnerEmptyState.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelOwnerEmptyState.ts#L7) +Defined in: [src/parser/classes/ChannelOwnerEmptyState.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelOwnerEmptyState.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ChannelOwnerEmptyState.ts:7](https://github.com/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ChannelOwnerEmptyState & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelSubMenu.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelSubMenu.md index 1d863251..39883a13 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelSubMenu.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelSubMenu.md @@ -2,7 +2,7 @@ # Class: ChannelSubMenu -Defined in: [src/parser/classes/ChannelSubMenu.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelSubMenu.ts#L5) +Defined in: [src/parser/classes/ChannelSubMenu.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelSubMenu.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ChannelSubMenu.ts:5](https://github.com/LuanRT/Y > **new ChannelSubMenu**(`data`): `ChannelSubMenu` -Defined in: [src/parser/classes/ChannelSubMenu.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelSubMenu.ts#L16) +Defined in: [src/parser/classes/ChannelSubMenu.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelSubMenu.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ChannelSubMenu.ts:16](https://github.com/LuanRT/ > **content\_type\_sub\_menu\_items**: `object`[] -Defined in: [src/parser/classes/ChannelSubMenu.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelSubMenu.ts#L8) +Defined in: [src/parser/classes/ChannelSubMenu.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelSubMenu.ts#L8) #### endpoint @@ -56,7 +56,7 @@ Defined in: [src/parser/classes/ChannelSubMenu.ts:8](https://github.com/LuanRT/Y > **sort\_setting**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/ChannelSubMenu.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelSubMenu.ts#L14) +Defined in: [src/parser/classes/ChannelSubMenu.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelSubMenu.ts#L14) *** @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/ChannelSubMenu.ts:14](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -76,7 +76,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ChannelSubMenu'` -Defined in: [src/parser/classes/ChannelSubMenu.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelSubMenu.ts#L6) +Defined in: [src/parser/classes/ChannelSubMenu.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelSubMenu.ts#L6) #### Overrides @@ -88,7 +88,7 @@ Defined in: [src/parser/classes/ChannelSubMenu.ts:6](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -130,7 +130,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ChannelSubMenu & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -168,7 +168,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -206,7 +206,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelSwitcherHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelSwitcherHeader.md index 1ceae878..e670b164 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelSwitcherHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelSwitcherHeader.md @@ -2,7 +2,7 @@ # Class: ChannelSwitcherHeader -Defined in: [src/parser/classes/ChannelSwitcherHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelSwitcherHeader.ts#L6) +Defined in: [src/parser/classes/ChannelSwitcherHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelSwitcherHeader.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ChannelSwitcherHeader.ts:6](https://github.com/L > **new ChannelSwitcherHeader**(`data`): `ChannelSwitcherHeader` -Defined in: [src/parser/classes/ChannelSwitcherHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelSwitcherHeader.ts#L12) +Defined in: [src/parser/classes/ChannelSwitcherHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelSwitcherHeader.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ChannelSwitcherHeader.ts:12](https://github.com/ > `optional` **button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/ChannelSwitcherHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelSwitcherHeader.ts#L10) +Defined in: [src/parser/classes/ChannelSwitcherHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelSwitcherHeader.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ChannelSwitcherHeader.ts:10](https://github.com/ > **title**: `string` -Defined in: [src/parser/classes/ChannelSwitcherHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelSwitcherHeader.ts#L9) +Defined in: [src/parser/classes/ChannelSwitcherHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelSwitcherHeader.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ChannelSwitcherHeader.ts:9](https://github.com/L > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ChannelSwitcherHeader'` -Defined in: [src/parser/classes/ChannelSwitcherHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelSwitcherHeader.ts#L7) +Defined in: [src/parser/classes/ChannelSwitcherHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelSwitcherHeader.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ChannelSwitcherHeader.ts:7](https://github.com/L > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ChannelSwitcherHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelSwitcherPage.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelSwitcherPage.md index eb951d13..afaa290b 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelSwitcherPage.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelSwitcherPage.md @@ -2,7 +2,7 @@ # Class: ChannelSwitcherPage -Defined in: [src/parser/classes/ChannelSwitcherPage.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelSwitcherPage.ts#L5) +Defined in: [src/parser/classes/ChannelSwitcherPage.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelSwitcherPage.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ChannelSwitcherPage.ts:5](https://github.com/Lua > **new ChannelSwitcherPage**(`data`): `ChannelSwitcherPage` -Defined in: [src/parser/classes/ChannelSwitcherPage.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelSwitcherPage.ts#L11) +Defined in: [src/parser/classes/ChannelSwitcherPage.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelSwitcherPage.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ChannelSwitcherPage.ts:11](https://github.com/Lu > **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> \| `null` -Defined in: [src/parser/classes/ChannelSwitcherPage.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelSwitcherPage.ts#L9) +Defined in: [src/parser/classes/ChannelSwitcherPage.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelSwitcherPage.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ChannelSwitcherPage.ts:9](https://github.com/Lua > **header**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/ChannelSwitcherPage.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelSwitcherPage.ts#L8) +Defined in: [src/parser/classes/ChannelSwitcherPage.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelSwitcherPage.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ChannelSwitcherPage.ts:8](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ChannelSwitcherPage'` -Defined in: [src/parser/classes/ChannelSwitcherPage.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelSwitcherPage.ts#L6) +Defined in: [src/parser/classes/ChannelSwitcherPage.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelSwitcherPage.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ChannelSwitcherPage.ts:6](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ChannelSwitcherPage & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelTagline.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelTagline.md index 49e407fc..756dfa84 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelTagline.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelTagline.md @@ -2,7 +2,7 @@ # Class: ChannelTagline -Defined in: [src/parser/classes/ChannelTagline.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelTagline.ts#L6) +Defined in: [src/parser/classes/ChannelTagline.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelTagline.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ChannelTagline.ts:6](https://github.com/LuanRT/Y > **new ChannelTagline**(`data`): `ChannelTagline` -Defined in: [src/parser/classes/ChannelTagline.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelTagline.ts#L25) +Defined in: [src/parser/classes/ChannelTagline.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelTagline.ts#L25) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ChannelTagline.ts:25](https://github.com/LuanRT/ > **content**: `string` -Defined in: [src/parser/classes/ChannelTagline.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelTagline.ts#L9) +Defined in: [src/parser/classes/ChannelTagline.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelTagline.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ChannelTagline.ts:9](https://github.com/LuanRT/Y > **max\_lines**: `number` -Defined in: [src/parser/classes/ChannelTagline.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelTagline.ts#L10) +Defined in: [src/parser/classes/ChannelTagline.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelTagline.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ChannelTagline.ts:10](https://github.com/LuanRT/ > **more\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) \| \{ `show_engagement_panel_endpoint`: \{ `engagement_panel`: [`EngagementPanelSectionList`](EngagementPanelSectionList.md) \| `null`; `engagement_panel_popup_type`: `string`; `identifier`: \{ `surface`: `string`; `tag`: `string`; \}; \}; \} -Defined in: [src/parser/classes/ChannelTagline.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelTagline.ts#L11) +Defined in: [src/parser/classes/ChannelTagline.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelTagline.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ChannelTagline.ts:11](https://github.com/LuanRT/ > **more\_icon\_type**: `string` -Defined in: [src/parser/classes/ChannelTagline.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelTagline.ts#L21) +Defined in: [src/parser/classes/ChannelTagline.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelTagline.ts#L21) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ChannelTagline.ts:21](https://github.com/LuanRT/ > **more\_label**: `string` -Defined in: [src/parser/classes/ChannelTagline.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelTagline.ts#L22) +Defined in: [src/parser/classes/ChannelTagline.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelTagline.ts#L22) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ChannelTagline.ts:22](https://github.com/LuanRT/ > **target\_id**: `string` -Defined in: [src/parser/classes/ChannelTagline.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelTagline.ts#L23) +Defined in: [src/parser/classes/ChannelTagline.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelTagline.ts#L23) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ChannelTagline.ts:23](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ChannelTagline'` -Defined in: [src/parser/classes/ChannelTagline.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelTagline.ts#L7) +Defined in: [src/parser/classes/ChannelTagline.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelTagline.ts#L7) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/ChannelTagline.ts:7](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ChannelTagline & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelThumbnailWithLink.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelThumbnailWithLink.md index ed3b74bd..1314ee76 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelThumbnailWithLink.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelThumbnailWithLink.md @@ -2,7 +2,7 @@ # Class: ChannelThumbnailWithLink -Defined in: [src/parser/classes/ChannelThumbnailWithLink.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelThumbnailWithLink.ts#L7) +Defined in: [src/parser/classes/ChannelThumbnailWithLink.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelThumbnailWithLink.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ChannelThumbnailWithLink.ts:7](https://github.co > **new ChannelThumbnailWithLink**(`data`): `ChannelThumbnailWithLink` -Defined in: [src/parser/classes/ChannelThumbnailWithLink.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelThumbnailWithLink.ts#L14) +Defined in: [src/parser/classes/ChannelThumbnailWithLink.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelThumbnailWithLink.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ChannelThumbnailWithLink.ts:14](https://github.c > `optional` **accessibility**: `AccessibilitySupportedDatas` -Defined in: [src/parser/classes/ChannelThumbnailWithLink.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelThumbnailWithLink.ts#L12) +Defined in: [src/parser/classes/ChannelThumbnailWithLink.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelThumbnailWithLink.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ChannelThumbnailWithLink.ts:12](https://github.c > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ChannelThumbnailWithLink.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelThumbnailWithLink.ts#L11) +Defined in: [src/parser/classes/ChannelThumbnailWithLink.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelThumbnailWithLink.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ChannelThumbnailWithLink.ts:11](https://github.c > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/ChannelThumbnailWithLink.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelThumbnailWithLink.ts#L10) +Defined in: [src/parser/classes/ChannelThumbnailWithLink.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelThumbnailWithLink.ts#L10) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ChannelThumbnailWithLink.ts:10](https://github.c > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ChannelThumbnailWithLink'` -Defined in: [src/parser/classes/ChannelThumbnailWithLink.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelThumbnailWithLink.ts#L8) +Defined in: [src/parser/classes/ChannelThumbnailWithLink.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelThumbnailWithLink.ts#L8) #### Overrides @@ -86,7 +86,7 @@ Defined in: [src/parser/classes/ChannelThumbnailWithLink.ts:8](https://github.co > **get** **label**(): `string` \| `undefined` -Defined in: [src/parser/classes/ChannelThumbnailWithLink.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelThumbnailWithLink.ts#L27) +Defined in: [src/parser/classes/ChannelThumbnailWithLink.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelThumbnailWithLink.ts#L27) ##### Returns @@ -98,7 +98,7 @@ Defined in: [src/parser/classes/ChannelThumbnailWithLink.ts:27](https://github.c > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -140,7 +140,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ChannelThumbnailWithLink & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -178,7 +178,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -216,7 +216,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelVideoPlayer.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelVideoPlayer.md index 1524cbca..4c37ab10 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelVideoPlayer.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChannelVideoPlayer.md @@ -2,7 +2,7 @@ # Class: ChannelVideoPlayer -Defined in: [src/parser/classes/ChannelVideoPlayer.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelVideoPlayer.ts#L5) +Defined in: [src/parser/classes/ChannelVideoPlayer.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelVideoPlayer.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ChannelVideoPlayer.ts:5](https://github.com/Luan > **new ChannelVideoPlayer**(`data`): `ChannelVideoPlayer` -Defined in: [src/parser/classes/ChannelVideoPlayer.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelVideoPlayer.ts#L14) +Defined in: [src/parser/classes/ChannelVideoPlayer.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelVideoPlayer.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ChannelVideoPlayer.ts:14](https://github.com/Lua > **description**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ChannelVideoPlayer.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelVideoPlayer.ts#L10) +Defined in: [src/parser/classes/ChannelVideoPlayer.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelVideoPlayer.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ChannelVideoPlayer.ts:10](https://github.com/Lua > **id**: `string` -Defined in: [src/parser/classes/ChannelVideoPlayer.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelVideoPlayer.ts#L8) +Defined in: [src/parser/classes/ChannelVideoPlayer.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelVideoPlayer.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ChannelVideoPlayer.ts:8](https://github.com/Luan > **published\_time**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ChannelVideoPlayer.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelVideoPlayer.ts#L12) +Defined in: [src/parser/classes/ChannelVideoPlayer.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelVideoPlayer.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ChannelVideoPlayer.ts:12](https://github.com/Lua > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ChannelVideoPlayer.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelVideoPlayer.ts#L9) +Defined in: [src/parser/classes/ChannelVideoPlayer.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelVideoPlayer.ts#L9) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ChannelVideoPlayer.ts:9](https://github.com/Luan > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **view\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ChannelVideoPlayer.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelVideoPlayer.ts#L11) +Defined in: [src/parser/classes/ChannelVideoPlayer.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelVideoPlayer.ts#L11) *** @@ -88,7 +88,7 @@ Defined in: [src/parser/classes/ChannelVideoPlayer.ts:11](https://github.com/Lua > `static` **type**: `string` = `'ChannelVideoPlayer'` -Defined in: [src/parser/classes/ChannelVideoPlayer.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChannelVideoPlayer.ts#L6) +Defined in: [src/parser/classes/ChannelVideoPlayer.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChannelVideoPlayer.ts#L6) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/ChannelVideoPlayer.ts:6](https://github.com/Luan > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ChannelVideoPlayer & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Chapter.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Chapter.md index e6eca800..244d9a41 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Chapter.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Chapter.md @@ -2,7 +2,7 @@ # Class: Chapter -Defined in: [src/parser/classes/Chapter.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Chapter.ts#L6) +Defined in: [src/parser/classes/Chapter.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Chapter.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/Chapter.ts:6](https://github.com/LuanRT/YouTube. > **new Chapter**(`data`): `Chapter` -Defined in: [src/parser/classes/Chapter.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Chapter.ts#L13) +Defined in: [src/parser/classes/Chapter.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Chapter.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/Chapter.ts:13](https://github.com/LuanRT/YouTube > **thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/Chapter.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Chapter.ts#L11) +Defined in: [src/parser/classes/Chapter.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Chapter.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/Chapter.ts:11](https://github.com/LuanRT/YouTube > **time\_range\_start\_millis**: `number` -Defined in: [src/parser/classes/Chapter.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Chapter.ts#L10) +Defined in: [src/parser/classes/Chapter.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Chapter.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/Chapter.ts:10](https://github.com/LuanRT/YouTube > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Chapter.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Chapter.ts#L9) +Defined in: [src/parser/classes/Chapter.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Chapter.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/Chapter.ts:9](https://github.com/LuanRT/YouTube. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'Chapter'` -Defined in: [src/parser/classes/Chapter.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Chapter.ts#L7) +Defined in: [src/parser/classes/Chapter.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Chapter.ts#L7) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/Chapter.ts:7](https://github.com/LuanRT/YouTube. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Chapter & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChildVideo.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChildVideo.md index c41576d9..01a6d268 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChildVideo.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChildVideo.md @@ -2,7 +2,7 @@ # Class: ChildVideo -Defined in: [src/parser/classes/ChildVideo.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChildVideo.ts#L7) +Defined in: [src/parser/classes/ChildVideo.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChildVideo.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ChildVideo.ts:7](https://github.com/LuanRT/YouTu > **new ChildVideo**(`data`): `ChildVideo` -Defined in: [src/parser/classes/ChildVideo.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChildVideo.ts#L20) +Defined in: [src/parser/classes/ChildVideo.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChildVideo.ts#L20) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ChildVideo.ts:20](https://github.com/LuanRT/YouT > **duration**: `object` -Defined in: [src/parser/classes/ChildVideo.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChildVideo.ts#L13) +Defined in: [src/parser/classes/ChildVideo.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChildVideo.ts#L13) #### seconds @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ChildVideo.ts:13](https://github.com/LuanRT/YouT > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ChildVideo.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChildVideo.ts#L18) +Defined in: [src/parser/classes/ChildVideo.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChildVideo.ts#L18) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ChildVideo.ts:18](https://github.com/LuanRT/YouT > **id**: `string` -Defined in: [src/parser/classes/ChildVideo.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChildVideo.ts#L10) +Defined in: [src/parser/classes/ChildVideo.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChildVideo.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ChildVideo.ts:10](https://github.com/LuanRT/YouT > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ChildVideo.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChildVideo.ts#L11) +Defined in: [src/parser/classes/ChildVideo.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChildVideo.ts#L11) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ChildVideo.ts:11](https://github.com/LuanRT/YouT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ChildVideo'` -Defined in: [src/parser/classes/ChildVideo.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChildVideo.ts#L8) +Defined in: [src/parser/classes/ChildVideo.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChildVideo.ts#L8) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/ChildVideo.ts:8](https://github.com/LuanRT/YouTu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ChildVideo & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChipBarView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChipBarView.md index 15fe730d..8c4e225d 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChipBarView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChipBarView.md @@ -2,7 +2,7 @@ # Class: ChipBarView -Defined in: [src/parser/classes/ChipBarView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChipBarView.ts#L5) +Defined in: [src/parser/classes/ChipBarView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipBarView.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ChipBarView.ts:5](https://github.com/LuanRT/YouT > **new ChipBarView**(`data`): `ChipBarView` -Defined in: [src/parser/classes/ChipBarView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChipBarView.ts#L10) +Defined in: [src/parser/classes/ChipBarView.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipBarView.ts#L13) #### Parameters @@ -32,11 +32,27 @@ Defined in: [src/parser/classes/ChipBarView.ts:10](https://github.com/LuanRT/You ## Properties +### chip\_bar\_state\_entity\_key? + +> `optional` **chip\_bar\_state\_entity\_key**: `string` + +Defined in: [src/parser/classes/ChipBarView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipBarView.ts#L10) + +*** + ### chips > **chips**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ChipView`](ChipView.md)\> -Defined in: [src/parser/classes/ChipBarView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChipBarView.ts#L8) +Defined in: [src/parser/classes/ChipBarView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipBarView.ts#L9) + +*** + +### renderer\_context? + +> `optional` **renderer\_context**: [`RendererContext`](../../Misc/classes/RendererContext.md) + +Defined in: [src/parser/classes/ChipBarView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipBarView.ts#L11) *** @@ -44,7 +60,7 @@ Defined in: [src/parser/classes/ChipBarView.ts:8](https://github.com/LuanRT/YouT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ChipBarView'` -Defined in: [src/parser/classes/ChipBarView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChipBarView.ts#L6) +Defined in: [src/parser/classes/ChipBarView.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipBarView.ts#L7) #### Overrides @@ -68,7 +84,7 @@ Defined in: [src/parser/classes/ChipBarView.ts:6](https://github.com/LuanRT/YouT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ChipBarView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChipCloud.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChipCloud.md index efe01a2e..dff0c378 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChipCloud.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChipCloud.md @@ -2,7 +2,7 @@ # Class: ChipCloud -Defined in: [src/parser/classes/ChipCloud.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChipCloud.ts#L6) +Defined in: [src/parser/classes/ChipCloud.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipCloud.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ChipCloud.ts:6](https://github.com/LuanRT/YouTub > **new ChipCloud**(`data`): `ChipCloud` -Defined in: [src/parser/classes/ChipCloud.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChipCloud.ts#L14) +Defined in: [src/parser/classes/ChipCloud.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipCloud.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ChipCloud.ts:14](https://github.com/LuanRT/YouTu > **chips**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ChipCloudChip`](ChipCloudChip.md)\> -Defined in: [src/parser/classes/ChipCloud.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChipCloud.ts#L9) +Defined in: [src/parser/classes/ChipCloud.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipCloud.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ChipCloud.ts:9](https://github.com/LuanRT/YouTub > **horizontal\_scrollable**: `boolean` -Defined in: [src/parser/classes/ChipCloud.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChipCloud.ts#L12) +Defined in: [src/parser/classes/ChipCloud.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipCloud.ts#L12) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ChipCloud.ts:12](https://github.com/LuanRT/YouTu > **next\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/ChipCloud.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChipCloud.ts#L10) +Defined in: [src/parser/classes/ChipCloud.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipCloud.ts#L10) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ChipCloud.ts:10](https://github.com/LuanRT/YouTu > **previous\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/ChipCloud.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChipCloud.ts#L11) +Defined in: [src/parser/classes/ChipCloud.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipCloud.ts#L11) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ChipCloud.ts:11](https://github.com/LuanRT/YouTu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ChipCloud'` -Defined in: [src/parser/classes/ChipCloud.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChipCloud.ts#L7) +Defined in: [src/parser/classes/ChipCloud.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipCloud.ts#L7) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/ChipCloud.ts:7](https://github.com/LuanRT/YouTub > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ChipCloud & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChipCloudChip.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChipCloudChip.md index d857b5b7..c1f2f572 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChipCloudChip.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChipCloudChip.md @@ -2,7 +2,7 @@ # Class: ChipCloudChip -Defined in: [src/parser/classes/ChipCloudChip.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChipCloudChip.ts#L6) +Defined in: [src/parser/classes/ChipCloudChip.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipCloudChip.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ChipCloudChip.ts:6](https://github.com/LuanRT/Yo > **new ChipCloudChip**(`data`): `ChipCloudChip` -Defined in: [src/parser/classes/ChipCloudChip.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChipCloudChip.ts#L13) +Defined in: [src/parser/classes/ChipCloudChip.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipCloudChip.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ChipCloudChip.ts:13](https://github.com/LuanRT/Y > `optional` **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ChipCloudChip.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChipCloudChip.ts#L10) +Defined in: [src/parser/classes/ChipCloudChip.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipCloudChip.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ChipCloudChip.ts:10](https://github.com/LuanRT/Y > **is\_selected**: `boolean` -Defined in: [src/parser/classes/ChipCloudChip.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChipCloudChip.ts#L9) +Defined in: [src/parser/classes/ChipCloudChip.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipCloudChip.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ChipCloudChip.ts:9](https://github.com/LuanRT/Yo > **text**: `string` -Defined in: [src/parser/classes/ChipCloudChip.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChipCloudChip.ts#L11) +Defined in: [src/parser/classes/ChipCloudChip.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipCloudChip.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ChipCloudChip.ts:11](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ChipCloudChip'` -Defined in: [src/parser/classes/ChipCloudChip.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChipCloudChip.ts#L7) +Defined in: [src/parser/classes/ChipCloudChip.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipCloudChip.ts#L7) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ChipCloudChip.ts:7](https://github.com/LuanRT/Yo > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ChipCloudChip & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChipView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChipView.md index aba55351..14a1aa2b 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ChipView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ChipView.md @@ -2,7 +2,7 @@ # Class: ChipView -Defined in: [src/parser/classes/ChipView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChipView.ts#L5) +Defined in: [src/parser/classes/ChipView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipView.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ChipView.ts:5](https://github.com/LuanRT/YouTube > **new ChipView**(`data`): `ChipView` -Defined in: [src/parser/classes/ChipView.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChipView.ts#L13) +Defined in: [src/parser/classes/ChipView.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipView.ts#L33) #### Parameters @@ -32,35 +32,99 @@ Defined in: [src/parser/classes/ChipView.ts:13](https://github.com/LuanRT/YouTub ## Properties -### chip\_entity\_key +### accessibility\_hint? -> **chip\_entity\_key**: `string` +> `optional` **accessibility\_hint**: `string` -Defined in: [src/parser/classes/ChipView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChipView.ts#L11) +Defined in: [src/parser/classes/ChipView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipView.ts#L8) *** -### display\_type +### accessibility\_label? -> **display\_type**: `string` +> `optional` **accessibility\_label**: `string` -Defined in: [src/parser/classes/ChipView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChipView.ts#L9) +Defined in: [src/parser/classes/ChipView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipView.ts#L9) *** -### endpoint +### chip\_entity\_key? -> **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) +> `optional` **chip\_entity\_key**: `string` -Defined in: [src/parser/classes/ChipView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChipView.ts#L10) +Defined in: [src/parser/classes/ChipView.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipView.ts#L26) *** -### text +### display\_type? -> **text**: `string` +> `optional` **display\_type**: `"CHIP_VIEW_MODEL_DISPLAY_TYPE_UNSPECIFIED"` \| `"CHIP_VIEW_MODEL_DISPLAY_TYPE_DROP_DOWN"` \| `"CHIP_VIEW_MODEL_DISPLAY_TYPE_DROP_DOWN_WITH_CLEAR"` \| `"CHIP_VIEW_MODEL_DISPLAY_TYPE_FILTER"` \| `"CHIP_VIEW_MODEL_DISPLAY_TYPE_NO_ICON"` \| `"CHIP_VIEW_MODEL_DISPLAY_TYPE_ADJUST"` \| `"CHIP_VIEW_MODEL_DISPLAY_TYPE_CLEAR"` \| `"CHIP_VIEW_MODEL_DISPLAY_TYPE_ADD"` \| `"CHIP_VIEW_MODEL_DISPLAY_TYPE_SPARK"` -Defined in: [src/parser/classes/ChipView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChipView.ts#L8) +Defined in: [src/parser/classes/ChipView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipView.ts#L12) + +*** + +### max\_text\_width? + +> `optional` **max\_text\_width**: `number` + +Defined in: [src/parser/classes/ChipView.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipView.ts#L21) + +*** + +### original\_text? + +> `optional` **original\_text**: `string` + +Defined in: [src/parser/classes/ChipView.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipView.ts#L23) + +*** + +### secondary\_accessibility\_label? + +> `optional` **secondary\_accessibility\_label**: `string` + +Defined in: [src/parser/classes/ChipView.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipView.ts#L22) + +*** + +### secondary\_tap\_command? + +> `optional` **secondary\_tap\_command**: [`NavigationEndpoint`](NavigationEndpoint.md) + +Defined in: [src/parser/classes/ChipView.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipView.ts#L25) + +*** + +### selected + +> **selected**: `boolean` + +Defined in: [src/parser/classes/ChipView.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipView.ts#L27) + +*** + +### tap\_command? + +> `optional` **tap\_command**: [`NavigationEndpoint`](NavigationEndpoint.md) + +Defined in: [src/parser/classes/ChipView.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipView.ts#L24) + +*** + +### text? + +> `optional` **text**: `string` + +Defined in: [src/parser/classes/ChipView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipView.ts#L10) + +*** + +### trailing\_text? + +> `optional` **trailing\_text**: `string` + +Defined in: [src/parser/classes/ChipView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipView.ts#L11) *** @@ -68,7 +132,7 @@ Defined in: [src/parser/classes/ChipView.ts:8](https://github.com/LuanRT/YouTube > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,19 +144,33 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ChipView'` -Defined in: [src/parser/classes/ChipView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ChipView.ts#L6) +Defined in: [src/parser/classes/ChipView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipView.ts#L6) #### Overrides [`YTNode`](../../Helpers/classes/YTNode.md).[`type`](../../Helpers/classes/YTNode.md#type-1) +## Accessors + +### endpoint + +#### Get Signature + +> **get** **endpoint**(): [`NavigationEndpoint`](NavigationEndpoint.md) \| `undefined` + +Defined in: [src/parser/classes/ChipView.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ChipView.ts#L29) + +##### Returns + +[`NavigationEndpoint`](NavigationEndpoint.md) \| `undefined` + ## Methods ### as() > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +212,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ChipView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +250,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +288,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ClientSideToggleMenuItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ClientSideToggleMenuItem.md index 152d080c..8a76d03d 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ClientSideToggleMenuItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ClientSideToggleMenuItem.md @@ -2,7 +2,7 @@ # Class: ClientSideToggleMenuItem -Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClientSideToggleMenuItem.ts#L6) +Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClientSideToggleMenuItem.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:6](https://github.co > **new ClientSideToggleMenuItem**(`data`): `ClientSideToggleMenuItem` -Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClientSideToggleMenuItem.ts#L23) +Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClientSideToggleMenuItem.ts#L23) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:23](https://github.c > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClientSideToggleMenuItem.ts#L15) +Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClientSideToggleMenuItem.ts#L15) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:15](https://github.c > **icon\_type**: `string` -Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClientSideToggleMenuItem.ts#L10) +Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClientSideToggleMenuItem.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:10](https://github.c > `optional` **is\_toggled**: `boolean` -Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClientSideToggleMenuItem.ts#L13) +Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClientSideToggleMenuItem.ts#L13) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:13](https://github.c > `optional` **logging\_directives**: `object` -Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClientSideToggleMenuItem.ts#L16) +Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClientSideToggleMenuItem.ts#L16) #### enable\_displaylogger\_experiment @@ -80,7 +80,7 @@ Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:16](https://github.c > **menu\_item\_identifier**: `string` -Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClientSideToggleMenuItem.ts#L14) +Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClientSideToggleMenuItem.ts#L14) *** @@ -88,7 +88,7 @@ Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:14](https://github.c > **text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClientSideToggleMenuItem.ts#L9) +Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClientSideToggleMenuItem.ts#L9) *** @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:9](https://github.co > **toggled\_icon\_type**: `string` -Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClientSideToggleMenuItem.ts#L12) +Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClientSideToggleMenuItem.ts#L12) *** @@ -104,7 +104,7 @@ Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:12](https://github.c > **toggled\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClientSideToggleMenuItem.ts#L11) +Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClientSideToggleMenuItem.ts#L11) *** @@ -112,7 +112,7 @@ Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:11](https://github.c > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -124,7 +124,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ClientSideToggleMenuItem'` -Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClientSideToggleMenuItem.ts#L7) +Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClientSideToggleMenuItem.ts#L7) #### Overrides @@ -136,7 +136,7 @@ Defined in: [src/parser/classes/ClientSideToggleMenuItem.ts:7](https://github.co > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -178,7 +178,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ClientSideToggleMenuItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -216,7 +216,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -254,7 +254,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ClipAdState.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ClipAdState.md index cbeb63be..1fd681c7 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ClipAdState.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ClipAdState.md @@ -2,7 +2,7 @@ # Class: ClipAdState -Defined in: [src/parser/classes/ClipAdState.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipAdState.ts#L6) +Defined in: [src/parser/classes/ClipAdState.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipAdState.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ClipAdState.ts:6](https://github.com/LuanRT/YouT > **new ClipAdState**(`data`): `ClipAdState` -Defined in: [src/parser/classes/ClipAdState.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipAdState.ts#L12) +Defined in: [src/parser/classes/ClipAdState.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipAdState.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ClipAdState.ts:12](https://github.com/LuanRT/You > **body**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ClipAdState.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipAdState.ts#L10) +Defined in: [src/parser/classes/ClipAdState.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipAdState.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ClipAdState.ts:10](https://github.com/LuanRT/You > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ClipAdState.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipAdState.ts#L9) +Defined in: [src/parser/classes/ClipAdState.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipAdState.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ClipAdState.ts:9](https://github.com/LuanRT/YouT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ClipAdState'` -Defined in: [src/parser/classes/ClipAdState.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipAdState.ts#L7) +Defined in: [src/parser/classes/ClipAdState.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipAdState.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ClipAdState.ts:7](https://github.com/LuanRT/YouT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ClipAdState & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ClipCreation.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ClipCreation.md index 57ff86be..54e656e9 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ClipCreation.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ClipCreation.md @@ -2,7 +2,7 @@ # Class: ClipCreation -Defined in: [src/parser/classes/ClipCreation.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreation.ts#L13) +Defined in: [src/parser/classes/ClipCreation.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreation.ts#L13) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ClipCreation.ts:13](https://github.com/LuanRT/Yo > **new ClipCreation**(`data`): `ClipCreation` -Defined in: [src/parser/classes/ClipCreation.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreation.ts#L27) +Defined in: [src/parser/classes/ClipCreation.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreation.ts#L27) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ClipCreation.ts:27](https://github.com/LuanRT/Yo > **ad\_state\_overlay**: [`ClipAdState`](ClipAdState.md) \| `null` -Defined in: [src/parser/classes/ClipCreation.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreation.ts#L23) +Defined in: [src/parser/classes/ClipCreation.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreation.ts#L23) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ClipCreation.ts:23](https://github.com/LuanRT/Yo > **cancel\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/ClipCreation.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreation.ts#L22) +Defined in: [src/parser/classes/ClipCreation.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreation.ts#L22) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ClipCreation.ts:22](https://github.com/LuanRT/Yo > **display\_name**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ClipCreation.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreation.ts#L20) +Defined in: [src/parser/classes/ClipCreation.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreation.ts#L20) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ClipCreation.ts:20](https://github.com/LuanRT/Yo > **external\_video\_id**: `string` -Defined in: [src/parser/classes/ClipCreation.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreation.ts#L24) +Defined in: [src/parser/classes/ClipCreation.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreation.ts#L24) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ClipCreation.ts:24](https://github.com/LuanRT/Yo > **publicity\_label**: `string` -Defined in: [src/parser/classes/ClipCreation.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreation.ts#L21) +Defined in: [src/parser/classes/ClipCreation.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreation.ts#L21) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ClipCreation.ts:21](https://github.com/LuanRT/Yo > **publicity\_label\_icon**: `string` -Defined in: [src/parser/classes/ClipCreation.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreation.ts#L25) +Defined in: [src/parser/classes/ClipCreation.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreation.ts#L25) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ClipCreation.ts:25](https://github.com/LuanRT/Yo > **save\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/ClipCreation.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreation.ts#L19) +Defined in: [src/parser/classes/ClipCreation.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreation.ts#L19) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/ClipCreation.ts:19](https://github.com/LuanRT/Yo > **scrubber**: [`ClipCreationScrubber`](ClipCreationScrubber.md) \| `null` -Defined in: [src/parser/classes/ClipCreation.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreation.ts#L18) +Defined in: [src/parser/classes/ClipCreation.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreation.ts#L18) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/ClipCreation.ts:18](https://github.com/LuanRT/Yo > **title\_input**: [`ClipCreationTextInput`](ClipCreationTextInput.md) \| `null` -Defined in: [src/parser/classes/ClipCreation.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreation.ts#L17) +Defined in: [src/parser/classes/ClipCreation.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreation.ts#L17) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/ClipCreation.ts:17](https://github.com/LuanRT/Yo > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -120,7 +120,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **user\_avatar**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/ClipCreation.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreation.ts#L16) +Defined in: [src/parser/classes/ClipCreation.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreation.ts#L16) *** @@ -128,7 +128,7 @@ Defined in: [src/parser/classes/ClipCreation.ts:16](https://github.com/LuanRT/Yo > `static` **type**: `string` = `'ClipCreation'` -Defined in: [src/parser/classes/ClipCreation.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreation.ts#L14) +Defined in: [src/parser/classes/ClipCreation.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreation.ts#L14) #### Overrides @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/ClipCreation.ts:14](https://github.com/LuanRT/Yo > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -182,7 +182,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ClipCreation & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -220,7 +220,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -258,7 +258,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ClipCreationScrubber.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ClipCreationScrubber.md index cb1b613a..59e42b16 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ClipCreationScrubber.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ClipCreationScrubber.md @@ -2,7 +2,7 @@ # Class: ClipCreationScrubber -Defined in: [src/parser/classes/ClipCreationScrubber.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreationScrubber.ts#L5) +Defined in: [src/parser/classes/ClipCreationScrubber.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreationScrubber.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ClipCreationScrubber.ts:5](https://github.com/Lu > **new ClipCreationScrubber**(`data`): `ClipCreationScrubber` -Defined in: [src/parser/classes/ClipCreationScrubber.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreationScrubber.ts#L17) +Defined in: [src/parser/classes/ClipCreationScrubber.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreationScrubber.ts#L17) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ClipCreationScrubber.ts:17](https://github.com/L > **default\_length\_ms**: `number` -Defined in: [src/parser/classes/ClipCreationScrubber.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreationScrubber.ts#L11) +Defined in: [src/parser/classes/ClipCreationScrubber.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreationScrubber.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ClipCreationScrubber.ts:11](https://github.com/L > `optional` **duration\_label**: `string` -Defined in: [src/parser/classes/ClipCreationScrubber.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreationScrubber.ts#L15) +Defined in: [src/parser/classes/ClipCreationScrubber.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreationScrubber.ts#L15) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ClipCreationScrubber.ts:15](https://github.com/L > `optional` **end\_label**: `string` -Defined in: [src/parser/classes/ClipCreationScrubber.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreationScrubber.ts#L14) +Defined in: [src/parser/classes/ClipCreationScrubber.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreationScrubber.ts#L14) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ClipCreationScrubber.ts:14](https://github.com/L > **length\_template**: `string` -Defined in: [src/parser/classes/ClipCreationScrubber.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreationScrubber.ts#L8) +Defined in: [src/parser/classes/ClipCreationScrubber.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreationScrubber.ts#L8) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ClipCreationScrubber.ts:8](https://github.com/Lu > **max\_length\_ms**: `number` -Defined in: [src/parser/classes/ClipCreationScrubber.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreationScrubber.ts#L9) +Defined in: [src/parser/classes/ClipCreationScrubber.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreationScrubber.ts#L9) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ClipCreationScrubber.ts:9](https://github.com/Lu > **min\_length\_ms**: `number` -Defined in: [src/parser/classes/ClipCreationScrubber.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreationScrubber.ts#L10) +Defined in: [src/parser/classes/ClipCreationScrubber.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreationScrubber.ts#L10) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ClipCreationScrubber.ts:10](https://github.com/L > `optional` **start\_label**: `string` -Defined in: [src/parser/classes/ClipCreationScrubber.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreationScrubber.ts#L13) +Defined in: [src/parser/classes/ClipCreationScrubber.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreationScrubber.ts#L13) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/ClipCreationScrubber.ts:13](https://github.com/L > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -104,7 +104,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **window\_size\_ms**: `number` -Defined in: [src/parser/classes/ClipCreationScrubber.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreationScrubber.ts#L12) +Defined in: [src/parser/classes/ClipCreationScrubber.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreationScrubber.ts#L12) *** @@ -112,7 +112,7 @@ Defined in: [src/parser/classes/ClipCreationScrubber.ts:12](https://github.com/L > `static` **type**: `string` = `'ClipCreationScrubber'` -Defined in: [src/parser/classes/ClipCreationScrubber.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreationScrubber.ts#L6) +Defined in: [src/parser/classes/ClipCreationScrubber.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreationScrubber.ts#L6) #### Overrides @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/ClipCreationScrubber.ts:6](https://github.com/Lu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -166,7 +166,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ClipCreationScrubber & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -204,7 +204,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -242,7 +242,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ClipCreationTextInput.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ClipCreationTextInput.md index 5c8b812d..fc6d5a48 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ClipCreationTextInput.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ClipCreationTextInput.md @@ -2,7 +2,7 @@ # Class: ClipCreationTextInput -Defined in: [src/parser/classes/ClipCreationTextInput.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreationTextInput.ts#L6) +Defined in: [src/parser/classes/ClipCreationTextInput.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreationTextInput.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ClipCreationTextInput.ts:6](https://github.com/L > **new ClipCreationTextInput**(`data`): `ClipCreationTextInput` -Defined in: [src/parser/classes/ClipCreationTextInput.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreationTextInput.ts#L12) +Defined in: [src/parser/classes/ClipCreationTextInput.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreationTextInput.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ClipCreationTextInput.ts:12](https://github.com/ > **max\_character\_limit**: `number` -Defined in: [src/parser/classes/ClipCreationTextInput.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreationTextInput.ts#L10) +Defined in: [src/parser/classes/ClipCreationTextInput.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreationTextInput.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ClipCreationTextInput.ts:10](https://github.com/ > **placeholder\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ClipCreationTextInput.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreationTextInput.ts#L9) +Defined in: [src/parser/classes/ClipCreationTextInput.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreationTextInput.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ClipCreationTextInput.ts:9](https://github.com/L > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ClipCreationTextInput'` -Defined in: [src/parser/classes/ClipCreationTextInput.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipCreationTextInput.ts#L7) +Defined in: [src/parser/classes/ClipCreationTextInput.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipCreationTextInput.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ClipCreationTextInput.ts:7](https://github.com/L > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ClipCreationTextInput & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ClipSection.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ClipSection.md index 1d96d4c7..358be4d0 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ClipSection.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ClipSection.md @@ -2,7 +2,7 @@ # Class: ClipSection -Defined in: [src/parser/classes/ClipSection.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipSection.ts#L10) +Defined in: [src/parser/classes/ClipSection.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipSection.ts#L10) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ClipSection.ts:10](https://github.com/LuanRT/You > **new ClipSection**(`data`): `ClipSection` -Defined in: [src/parser/classes/ClipSection.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipSection.ts#L15) +Defined in: [src/parser/classes/ClipSection.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipSection.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ClipSection.ts:15](https://github.com/LuanRT/You > **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ClipCreation`](ClipCreation.md)\> \| `null` -Defined in: [src/parser/classes/ClipSection.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipSection.ts#L13) +Defined in: [src/parser/classes/ClipSection.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipSection.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ClipSection.ts:13](https://github.com/LuanRT/You > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ClipSection'` -Defined in: [src/parser/classes/ClipSection.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ClipSection.ts#L11) +Defined in: [src/parser/classes/ClipSection.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ClipSection.ts#L11) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ClipSection.ts:11](https://github.com/LuanRT/You > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ClipSection & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CollaboratorInfoCardContent.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CollaboratorInfoCardContent.md index e58e6220..2bfbc573 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CollaboratorInfoCardContent.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CollaboratorInfoCardContent.md @@ -2,7 +2,7 @@ # Class: CollaboratorInfoCardContent -Defined in: [src/parser/classes/CollaboratorInfoCardContent.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CollaboratorInfoCardContent.ts#L7) +Defined in: [src/parser/classes/CollaboratorInfoCardContent.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CollaboratorInfoCardContent.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/CollaboratorInfoCardContent.ts:7](https://github > **new CollaboratorInfoCardContent**(`data`): `CollaboratorInfoCardContent` -Defined in: [src/parser/classes/CollaboratorInfoCardContent.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CollaboratorInfoCardContent.ts#L16) +Defined in: [src/parser/classes/CollaboratorInfoCardContent.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CollaboratorInfoCardContent.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/CollaboratorInfoCardContent.ts:16](https://githu > **channel\_avatar**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/CollaboratorInfoCardContent.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CollaboratorInfoCardContent.ts#L10) +Defined in: [src/parser/classes/CollaboratorInfoCardContent.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CollaboratorInfoCardContent.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/CollaboratorInfoCardContent.ts:10](https://githu > **channel\_name**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/CollaboratorInfoCardContent.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CollaboratorInfoCardContent.ts#L12) +Defined in: [src/parser/classes/CollaboratorInfoCardContent.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CollaboratorInfoCardContent.ts#L12) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/CollaboratorInfoCardContent.ts:12](https://githu > **custom\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/CollaboratorInfoCardContent.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CollaboratorInfoCardContent.ts#L11) +Defined in: [src/parser/classes/CollaboratorInfoCardContent.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CollaboratorInfoCardContent.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/CollaboratorInfoCardContent.ts:11](https://githu > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/CollaboratorInfoCardContent.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CollaboratorInfoCardContent.ts#L14) +Defined in: [src/parser/classes/CollaboratorInfoCardContent.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CollaboratorInfoCardContent.ts#L14) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/CollaboratorInfoCardContent.ts:14](https://githu > **subscriber\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/CollaboratorInfoCardContent.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CollaboratorInfoCardContent.ts#L13) +Defined in: [src/parser/classes/CollaboratorInfoCardContent.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CollaboratorInfoCardContent.ts#L13) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/CollaboratorInfoCardContent.ts:13](https://githu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CollaboratorInfoCardContent'` -Defined in: [src/parser/classes/CollaboratorInfoCardContent.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CollaboratorInfoCardContent.ts#L8) +Defined in: [src/parser/classes/CollaboratorInfoCardContent.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CollaboratorInfoCardContent.ts#L8) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/CollaboratorInfoCardContent.ts:8](https://github > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CollaboratorInfoCardContent & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CollageHeroImage.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CollageHeroImage.md index edb9cf60..b7849ed3 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CollageHeroImage.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CollageHeroImage.md @@ -2,7 +2,7 @@ # Class: CollageHeroImage -Defined in: [src/parser/classes/CollageHeroImage.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CollageHeroImage.ts#L6) +Defined in: [src/parser/classes/CollageHeroImage.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CollageHeroImage.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/CollageHeroImage.ts:6](https://github.com/LuanRT > **new CollageHeroImage**(`data`): `CollageHeroImage` -Defined in: [src/parser/classes/CollageHeroImage.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CollageHeroImage.ts#L14) +Defined in: [src/parser/classes/CollageHeroImage.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CollageHeroImage.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/CollageHeroImage.ts:14](https://github.com/LuanR > **bottom\_right**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/CollageHeroImage.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CollageHeroImage.ts#L11) +Defined in: [src/parser/classes/CollageHeroImage.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CollageHeroImage.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/CollageHeroImage.ts:11](https://github.com/LuanR > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/CollageHeroImage.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CollageHeroImage.ts#L12) +Defined in: [src/parser/classes/CollageHeroImage.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CollageHeroImage.ts#L12) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/CollageHeroImage.ts:12](https://github.com/LuanR > **left**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/CollageHeroImage.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CollageHeroImage.ts#L9) +Defined in: [src/parser/classes/CollageHeroImage.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CollageHeroImage.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/CollageHeroImage.ts:9](https://github.com/LuanRT > **top\_right**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/CollageHeroImage.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CollageHeroImage.ts#L10) +Defined in: [src/parser/classes/CollageHeroImage.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CollageHeroImage.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/CollageHeroImage.ts:10](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CollageHeroImage'` -Defined in: [src/parser/classes/CollageHeroImage.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CollageHeroImage.ts#L7) +Defined in: [src/parser/classes/CollageHeroImage.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CollageHeroImage.ts#L7) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/CollageHeroImage.ts:7](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CollageHeroImage & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CollectionThumbnailView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CollectionThumbnailView.md index a36f4fcf..3f8fb270 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CollectionThumbnailView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CollectionThumbnailView.md @@ -2,7 +2,7 @@ # Class: CollectionThumbnailView -Defined in: [src/parser/classes/CollectionThumbnailView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CollectionThumbnailView.ts#L5) +Defined in: [src/parser/classes/CollectionThumbnailView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CollectionThumbnailView.ts#L10) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/CollectionThumbnailView.ts:5](https://github.com > **new CollectionThumbnailView**(`data`): `CollectionThumbnailView` -Defined in: [src/parser/classes/CollectionThumbnailView.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CollectionThumbnailView.ts#L14) +Defined in: [src/parser/classes/CollectionThumbnailView.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CollectionThumbnailView.ts#L16) #### Parameters @@ -36,23 +36,15 @@ Defined in: [src/parser/classes/CollectionThumbnailView.ts:14](https://github.co > **primary\_thumbnail**: [`ThumbnailView`](ThumbnailView.md) \| `null` -Defined in: [src/parser/classes/CollectionThumbnailView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CollectionThumbnailView.ts#L8) +Defined in: [src/parser/classes/CollectionThumbnailView.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CollectionThumbnailView.ts#L13) *** ### stack\_color? -> `optional` **stack\_color**: `object` +> `optional` **stack\_color**: `StackColor` -Defined in: [src/parser/classes/CollectionThumbnailView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CollectionThumbnailView.ts#L9) - -#### dark\_theme - -> **dark\_theme**: `number` - -#### light\_theme - -> **light\_theme**: `number` +Defined in: [src/parser/classes/CollectionThumbnailView.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CollectionThumbnailView.ts#L14) *** @@ -60,7 +52,7 @@ Defined in: [src/parser/classes/CollectionThumbnailView.ts:9](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CollectionThumbnailView'` -Defined in: [src/parser/classes/CollectionThumbnailView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CollectionThumbnailView.ts#L6) +Defined in: [src/parser/classes/CollectionThumbnailView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CollectionThumbnailView.ts#L11) #### Overrides @@ -84,7 +76,7 @@ Defined in: [src/parser/classes/CollectionThumbnailView.ts:6](https://github.com > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CollectionThumbnailView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CommandExecutorCommand.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CommandExecutorCommand.md index 4e12becb..f47945d4 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CommandExecutorCommand.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CommandExecutorCommand.md @@ -2,7 +2,7 @@ # Class: CommandExecutorCommand -Defined in: [src/parser/classes/commands/CommandExecutorCommand.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/CommandExecutorCommand.ts#L5) +Defined in: [src/parser/classes/commands/CommandExecutorCommand.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/CommandExecutorCommand.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/commands/CommandExecutorCommand.ts:5](https://gi > **new CommandExecutorCommand**(`data`): `CommandExecutorCommand` -Defined in: [src/parser/classes/commands/CommandExecutorCommand.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/CommandExecutorCommand.ts#L10) +Defined in: [src/parser/classes/commands/CommandExecutorCommand.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/CommandExecutorCommand.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/commands/CommandExecutorCommand.ts:10](https://g > **commands**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/commands/CommandExecutorCommand.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/CommandExecutorCommand.ts#L8) +Defined in: [src/parser/classes/commands/CommandExecutorCommand.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/CommandExecutorCommand.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/commands/CommandExecutorCommand.ts:8](https://gi > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CommandExecutorCommand'` -Defined in: [src/parser/classes/commands/CommandExecutorCommand.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/CommandExecutorCommand.ts#L6) +Defined in: [src/parser/classes/commands/CommandExecutorCommand.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/CommandExecutorCommand.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/commands/CommandExecutorCommand.ts:6](https://gi > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CommandExecutorCommand & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentActionButtons.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentActionButtons.md index c1e05053..9315e601 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentActionButtons.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentActionButtons.md @@ -2,7 +2,7 @@ # Class: CommentActionButtons -Defined in: [src/parser/classes/comments/CommentActionButtons.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentActionButtons.ts#L9) +Defined in: [src/parser/classes/comments/CommentActionButtons.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentActionButtons.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/comments/CommentActionButtons.ts:9](https://gith > **new CommentActionButtons**(`data`): `CommentActionButtons` -Defined in: [src/parser/classes/comments/CommentActionButtons.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentActionButtons.ts#L17) +Defined in: [src/parser/classes/comments/CommentActionButtons.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentActionButtons.ts#L17) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/comments/CommentActionButtons.ts:17](https://git > **creator\_heart**: [`CreatorHeart`](CreatorHeart.md) \| `null` -Defined in: [src/parser/classes/comments/CommentActionButtons.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentActionButtons.ts#L15) +Defined in: [src/parser/classes/comments/CommentActionButtons.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentActionButtons.ts#L15) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/comments/CommentActionButtons.ts:15](https://git > **dislike\_button**: [`ToggleButton`](ToggleButton.md) \| `null` -Defined in: [src/parser/classes/comments/CommentActionButtons.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentActionButtons.ts#L13) +Defined in: [src/parser/classes/comments/CommentActionButtons.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentActionButtons.ts#L13) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/comments/CommentActionButtons.ts:13](https://git > **like\_button**: [`ToggleButton`](ToggleButton.md) \| `null` -Defined in: [src/parser/classes/comments/CommentActionButtons.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentActionButtons.ts#L12) +Defined in: [src/parser/classes/comments/CommentActionButtons.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentActionButtons.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/comments/CommentActionButtons.ts:12](https://git > **reply\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/comments/CommentActionButtons.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentActionButtons.ts#L14) +Defined in: [src/parser/classes/comments/CommentActionButtons.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentActionButtons.ts#L14) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/comments/CommentActionButtons.ts:14](https://git > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CommentActionButtons'` -Defined in: [src/parser/classes/comments/CommentActionButtons.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentActionButtons.ts#L10) +Defined in: [src/parser/classes/comments/CommentActionButtons.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentActionButtons.ts#L10) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/comments/CommentActionButtons.ts:10](https://git > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CommentActionButtons & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentDialog.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentDialog.md index bf6be29f..e17dbaa8 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentDialog.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentDialog.md @@ -2,7 +2,7 @@ # Class: CommentDialog -Defined in: [src/parser/classes/comments/CommentDialog.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentDialog.ts#L10) +Defined in: [src/parser/classes/comments/CommentDialog.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentDialog.ts#L10) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/comments/CommentDialog.ts:10](https://github.com > **new CommentDialog**(`data`): `CommentDialog` -Defined in: [src/parser/classes/comments/CommentDialog.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentDialog.ts#L21) +Defined in: [src/parser/classes/comments/CommentDialog.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentDialog.ts#L21) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/comments/CommentDialog.ts:21](https://github.com > **author\_thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/comments/CommentDialog.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentDialog.ts#L14) +Defined in: [src/parser/classes/comments/CommentDialog.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentDialog.ts#L14) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/comments/CommentDialog.ts:14](https://github.com > **cancel\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/comments/CommentDialog.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentDialog.ts#L16) +Defined in: [src/parser/classes/comments/CommentDialog.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentDialog.ts#L16) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/comments/CommentDialog.ts:16](https://github.com > **editable\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/comments/CommentDialog.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentDialog.ts#L13) +Defined in: [src/parser/classes/comments/CommentDialog.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentDialog.ts#L13) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/comments/CommentDialog.ts:13](https://github.com > **emoji\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/comments/CommentDialog.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentDialog.ts#L18) +Defined in: [src/parser/classes/comments/CommentDialog.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentDialog.ts#L18) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/comments/CommentDialog.ts:18](https://github.com > **emoji\_picker**: [`EmojiPicker`](EmojiPicker.md) \| `null` -Defined in: [src/parser/classes/comments/CommentDialog.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentDialog.ts#L19) +Defined in: [src/parser/classes/comments/CommentDialog.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentDialog.ts#L19) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/comments/CommentDialog.ts:19](https://github.com > **placeholder**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/comments/CommentDialog.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentDialog.ts#L17) +Defined in: [src/parser/classes/comments/CommentDialog.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentDialog.ts#L17) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/comments/CommentDialog.ts:17](https://github.com > **submit\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/comments/CommentDialog.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentDialog.ts#L15) +Defined in: [src/parser/classes/comments/CommentDialog.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentDialog.ts#L15) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/comments/CommentDialog.ts:15](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -104,7 +104,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CommentDialog'` -Defined in: [src/parser/classes/comments/CommentDialog.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentDialog.ts#L11) +Defined in: [src/parser/classes/comments/CommentDialog.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentDialog.ts#L11) #### Overrides @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/comments/CommentDialog.ts:11](https://github.com > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -158,7 +158,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CommentDialog & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -196,7 +196,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -234,7 +234,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentReplies.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentReplies.md index abf269dd..9967f685 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentReplies.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentReplies.md @@ -2,7 +2,7 @@ # Class: CommentReplies -Defined in: [src/parser/classes/comments/CommentReplies.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentReplies.ts#L8) +Defined in: [src/parser/classes/comments/CommentReplies.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentReplies.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/comments/CommentReplies.ts:8](https://github.com > **new CommentReplies**(`data`): `CommentReplies` -Defined in: [src/parser/classes/comments/CommentReplies.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentReplies.ts#L17) +Defined in: [src/parser/classes/comments/CommentReplies.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentReplies.ts#L17) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/comments/CommentReplies.ts:17](https://github.co > **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/comments/CommentReplies.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentReplies.ts#L11) +Defined in: [src/parser/classes/comments/CommentReplies.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentReplies.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/comments/CommentReplies.ts:11](https://github.co > **has\_channel\_owner\_replied**: `boolean` -Defined in: [src/parser/classes/comments/CommentReplies.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentReplies.ts#L15) +Defined in: [src/parser/classes/comments/CommentReplies.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentReplies.ts#L15) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/comments/CommentReplies.ts:15](https://github.co > **hide\_replies**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/comments/CommentReplies.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentReplies.ts#L13) +Defined in: [src/parser/classes/comments/CommentReplies.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentReplies.ts#L13) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/comments/CommentReplies.ts:13](https://github.co > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **view\_replies**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/comments/CommentReplies.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentReplies.ts#L12) +Defined in: [src/parser/classes/comments/CommentReplies.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentReplies.ts#L12) *** @@ -80,7 +80,7 @@ Defined in: [src/parser/classes/comments/CommentReplies.ts:12](https://github.co > **view\_replies\_creator\_thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/comments/CommentReplies.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentReplies.ts#L14) +Defined in: [src/parser/classes/comments/CommentReplies.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentReplies.ts#L14) *** @@ -88,7 +88,7 @@ Defined in: [src/parser/classes/comments/CommentReplies.ts:14](https://github.co > `static` **type**: `string` = `'CommentReplies'` -Defined in: [src/parser/classes/comments/CommentReplies.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentReplies.ts#L9) +Defined in: [src/parser/classes/comments/CommentReplies.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentReplies.ts#L9) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/comments/CommentReplies.ts:9](https://github.com > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CommentReplies & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentReplyDialog.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentReplyDialog.md index 47dc0b26..74069bf2 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentReplyDialog.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentReplyDialog.md @@ -2,7 +2,7 @@ # Class: CommentReplyDialog -Defined in: [src/parser/classes/comments/CommentReplyDialog.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentReplyDialog.ts#L9) +Defined in: [src/parser/classes/comments/CommentReplyDialog.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentReplyDialog.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/comments/CommentReplyDialog.ts:9](https://github > **new CommentReplyDialog**(`data`): `CommentReplyDialog` -Defined in: [src/parser/classes/comments/CommentReplyDialog.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentReplyDialog.ts#L18) +Defined in: [src/parser/classes/comments/CommentReplyDialog.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentReplyDialog.ts#L18) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/comments/CommentReplyDialog.ts:18](https://githu > **author\_thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/comments/CommentReplyDialog.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentReplyDialog.ts#L14) +Defined in: [src/parser/classes/comments/CommentReplyDialog.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentReplyDialog.ts#L14) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/comments/CommentReplyDialog.ts:14](https://githu > **cancel\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/comments/CommentReplyDialog.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentReplyDialog.ts#L13) +Defined in: [src/parser/classes/comments/CommentReplyDialog.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentReplyDialog.ts#L13) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/comments/CommentReplyDialog.ts:13](https://githu > **error\_message**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/comments/CommentReplyDialog.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentReplyDialog.ts#L16) +Defined in: [src/parser/classes/comments/CommentReplyDialog.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentReplyDialog.ts#L16) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/comments/CommentReplyDialog.ts:16](https://githu > **placeholder**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/comments/CommentReplyDialog.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentReplyDialog.ts#L15) +Defined in: [src/parser/classes/comments/CommentReplyDialog.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentReplyDialog.ts#L15) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/comments/CommentReplyDialog.ts:15](https://githu > **reply\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/comments/CommentReplyDialog.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentReplyDialog.ts#L12) +Defined in: [src/parser/classes/comments/CommentReplyDialog.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentReplyDialog.ts#L12) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/comments/CommentReplyDialog.ts:12](https://githu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CommentReplyDialog'` -Defined in: [src/parser/classes/comments/CommentReplyDialog.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentReplyDialog.ts#L10) +Defined in: [src/parser/classes/comments/CommentReplyDialog.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentReplyDialog.ts#L10) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/comments/CommentReplyDialog.ts:10](https://githu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CommentReplyDialog & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentSimplebox.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentSimplebox.md index 2d57c1ad..25394a4d 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentSimplebox.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentSimplebox.md @@ -2,7 +2,7 @@ # Class: CommentSimplebox -Defined in: [src/parser/classes/comments/CommentSimplebox.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentSimplebox.ts#L9) +Defined in: [src/parser/classes/comments/CommentSimplebox.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentSimplebox.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/comments/CommentSimplebox.ts:9](https://github.c > **new CommentSimplebox**(`data`): `CommentSimplebox` -Defined in: [src/parser/classes/comments/CommentSimplebox.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentSimplebox.ts#L18) +Defined in: [src/parser/classes/comments/CommentSimplebox.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentSimplebox.ts#L18) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/comments/CommentSimplebox.ts:18](https://github. > **author\_thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/comments/CommentSimplebox.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentSimplebox.ts#L14) +Defined in: [src/parser/classes/comments/CommentSimplebox.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentSimplebox.ts#L14) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/comments/CommentSimplebox.ts:14](https://github. > **avatar\_size**: `string` -Defined in: [src/parser/classes/comments/CommentSimplebox.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentSimplebox.ts#L16) +Defined in: [src/parser/classes/comments/CommentSimplebox.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentSimplebox.ts#L16) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/comments/CommentSimplebox.ts:16](https://github. > **cancel\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/comments/CommentSimplebox.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentSimplebox.ts#L13) +Defined in: [src/parser/classes/comments/CommentSimplebox.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentSimplebox.ts#L13) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/comments/CommentSimplebox.ts:13](https://github. > **placeholder**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/comments/CommentSimplebox.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentSimplebox.ts#L15) +Defined in: [src/parser/classes/comments/CommentSimplebox.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentSimplebox.ts#L15) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/comments/CommentSimplebox.ts:15](https://github. > **submit\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/comments/CommentSimplebox.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentSimplebox.ts#L12) +Defined in: [src/parser/classes/comments/CommentSimplebox.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentSimplebox.ts#L12) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/comments/CommentSimplebox.ts:12](https://github. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CommentSimplebox'` -Defined in: [src/parser/classes/comments/CommentSimplebox.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentSimplebox.ts#L10) +Defined in: [src/parser/classes/comments/CommentSimplebox.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentSimplebox.ts#L10) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/comments/CommentSimplebox.ts:10](https://github. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CommentSimplebox & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentThread.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentThread.md index 4283a840..007006ec 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentThread.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentThread.md @@ -2,7 +2,7 @@ # Class: CommentThread -Defined in: [src/parser/classes/comments/CommentThread.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentThread.ts#L14) +Defined in: [src/parser/classes/comments/CommentThread.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentThread.ts#L14) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/comments/CommentThread.ts:14](https://github.com > **new CommentThread**(`data`): `CommentThread` -Defined in: [src/parser/classes/comments/CommentThread.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentThread.ts#L26) +Defined in: [src/parser/classes/comments/CommentThread.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentThread.ts#L26) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/comments/CommentThread.ts:26](https://github.com > **comment**: [`CommentView`](CommentView.md) \| `null` -Defined in: [src/parser/classes/comments/CommentThread.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentThread.ts#L17) +Defined in: [src/parser/classes/comments/CommentThread.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentThread.ts#L17) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/comments/CommentThread.ts:17](https://github.com > **comment\_replies\_data**: [`CommentReplies`](CommentReplies.md) \| `null` -Defined in: [src/parser/classes/comments/CommentThread.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentThread.ts#L19) +Defined in: [src/parser/classes/comments/CommentThread.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentThread.ts#L19) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/comments/CommentThread.ts:19](https://github.com > **has\_replies**: `boolean` -Defined in: [src/parser/classes/comments/CommentThread.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentThread.ts#L21) +Defined in: [src/parser/classes/comments/CommentThread.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentThread.ts#L21) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/comments/CommentThread.ts:21](https://github.com > **is\_moderated\_elq\_comment**: `boolean` -Defined in: [src/parser/classes/comments/CommentThread.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentThread.ts#L20) +Defined in: [src/parser/classes/comments/CommentThread.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentThread.ts#L20) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/comments/CommentThread.ts:20](https://github.com > `optional` **replies**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CommentView`](CommentView.md)\> -Defined in: [src/parser/classes/comments/CommentThread.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentThread.ts#L18) +Defined in: [src/parser/classes/comments/CommentThread.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentThread.ts#L18) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/comments/CommentThread.ts:18](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CommentThread'` -Defined in: [src/parser/classes/comments/CommentThread.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentThread.ts#L15) +Defined in: [src/parser/classes/comments/CommentThread.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentThread.ts#L15) #### Overrides @@ -102,7 +102,7 @@ Defined in: [src/parser/classes/comments/CommentThread.ts:15](https://github.com > **get** **has\_continuation**(): `boolean` -Defined in: [src/parser/classes/comments/CommentThread.ts:34](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentThread.ts#L34) +Defined in: [src/parser/classes/comments/CommentThread.ts:34](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentThread.ts#L34) ##### Returns @@ -114,7 +114,7 @@ Defined in: [src/parser/classes/comments/CommentThread.ts:34](https://github.com > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -156,7 +156,7 @@ If the node is not of the given type > **getContinuation**(): `Promise`\<`CommentThread`\> -Defined in: [src/parser/classes/comments/CommentThread.ts:69](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentThread.ts#L69) +Defined in: [src/parser/classes/comments/CommentThread.ts:69](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentThread.ts#L69) Retrieves next batch of replies. @@ -170,7 +170,7 @@ Retrieves next batch of replies. > **getReplies**(): `Promise`\<`CommentThread`\> -Defined in: [src/parser/classes/comments/CommentThread.ts:43](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentThread.ts#L43) +Defined in: [src/parser/classes/comments/CommentThread.ts:43](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentThread.ts#L43) Retrieves replies to this comment thread. @@ -184,7 +184,7 @@ Retrieves replies to this comment thread. > **hasKey**\<`T`, `R`\>(`key`): `this is CommentThread & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -222,7 +222,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -260,7 +260,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. @@ -302,7 +302,7 @@ If the node does not have the key > **setActions**(`actions`): `void` -Defined in: [src/parser/classes/comments/CommentThread.ts:95](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentThread.ts#L95) +Defined in: [src/parser/classes/comments/CommentThread.ts:95](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentThread.ts#L95) #### Parameters diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentView.md index 11f43251..ecb1e2ca 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentView.md @@ -2,7 +2,7 @@ # Class: CommentView -Defined in: [src/parser/classes/comments/CommentView.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L29) +Defined in: [src/parser/classes/comments/CommentView.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L29) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:29](https://github.com/L > **new CommentView**(`data`): `CommentView` -Defined in: [src/parser/classes/comments/CommentView.ts:70](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L70) +Defined in: [src/parser/classes/comments/CommentView.ts:70](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L70) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:70](https://github.com/L > `optional` **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/comments/CommentView.ts:62](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L62) +Defined in: [src/parser/classes/comments/CommentView.ts:62](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L62) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:62](https://github.com/L > `optional` **author\_is\_channel\_owner**: `boolean` -Defined in: [src/parser/classes/comments/CommentView.ts:47](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L47) +Defined in: [src/parser/classes/comments/CommentView.ts:47](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L47) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:47](https://github.com/L > **comment\_id**: `string` -Defined in: [src/parser/classes/comments/CommentView.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L41) +Defined in: [src/parser/classes/comments/CommentView.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L41) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:41](https://github.com/L > `optional` **content**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/comments/CommentView.ts:45](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L45) +Defined in: [src/parser/classes/comments/CommentView.ts:45](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L45) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:45](https://github.com/L > `optional` **creator\_thumbnail\_url**: `string` -Defined in: [src/parser/classes/comments/CommentView.ts:48](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L48) +Defined in: [src/parser/classes/comments/CommentView.ts:48](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L48) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:48](https://github.com/L > `optional` **dislike\_active\_tooltip**: `string` -Defined in: [src/parser/classes/comments/CommentView.ts:55](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L55) +Defined in: [src/parser/classes/comments/CommentView.ts:55](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L55) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:55](https://github.com/L > `optional` **dislike\_command**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/comments/CommentView.ts:35](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L35) +Defined in: [src/parser/classes/comments/CommentView.ts:35](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L35) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:35](https://github.com/L > `optional` **dislike\_inactive\_tooltip**: `string` -Defined in: [src/parser/classes/comments/CommentView.ts:56](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L56) +Defined in: [src/parser/classes/comments/CommentView.ts:56](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L56) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:56](https://github.com/L > `optional` **heart\_active\_tooltip**: `string` -Defined in: [src/parser/classes/comments/CommentView.ts:57](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L57) +Defined in: [src/parser/classes/comments/CommentView.ts:57](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L57) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:57](https://github.com/L > `optional` **is\_disliked**: `boolean` -Defined in: [src/parser/classes/comments/CommentView.ts:65](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L65) +Defined in: [src/parser/classes/comments/CommentView.ts:65](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L65) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:65](https://github.com/L > `optional` **is\_hearted**: `boolean` -Defined in: [src/parser/classes/comments/CommentView.ts:66](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L66) +Defined in: [src/parser/classes/comments/CommentView.ts:66](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L66) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:66](https://github.com/L > `optional` **is\_liked**: `boolean` -Defined in: [src/parser/classes/comments/CommentView.ts:64](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L64) +Defined in: [src/parser/classes/comments/CommentView.ts:64](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L64) *** @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:64](https://github.com/L > `optional` **is\_member**: `boolean` -Defined in: [src/parser/classes/comments/CommentView.ts:60](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L60) +Defined in: [src/parser/classes/comments/CommentView.ts:60](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L60) *** @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:60](https://github.com/L > **is\_pinned**: `boolean` -Defined in: [src/parser/classes/comments/CommentView.ts:42](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L42) +Defined in: [src/parser/classes/comments/CommentView.ts:42](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L42) *** @@ -148,7 +148,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:42](https://github.com/L > **keys**: `CommentKeys` -Defined in: [src/parser/classes/comments/CommentView.ts:43](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L43) +Defined in: [src/parser/classes/comments/CommentView.ts:43](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L43) *** @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:43](https://github.com/L > `optional` **like\_active\_tooltip**: `string` -Defined in: [src/parser/classes/comments/CommentView.ts:53](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L53) +Defined in: [src/parser/classes/comments/CommentView.ts:53](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L53) *** @@ -164,7 +164,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:53](https://github.com/L > `optional` **like\_button\_a11y**: `string` -Defined in: [src/parser/classes/comments/CommentView.ts:49](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L49) +Defined in: [src/parser/classes/comments/CommentView.ts:49](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L49) *** @@ -172,7 +172,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:49](https://github.com/L > `optional` **like\_command**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/comments/CommentView.ts:34](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L34) +Defined in: [src/parser/classes/comments/CommentView.ts:34](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L34) *** @@ -180,7 +180,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:34](https://github.com/L > `optional` **like\_count**: `string` -Defined in: [src/parser/classes/comments/CommentView.ts:50](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L50) +Defined in: [src/parser/classes/comments/CommentView.ts:50](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L50) *** @@ -188,7 +188,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:50](https://github.com/L > `optional` **like\_count\_a11y**: `string` -Defined in: [src/parser/classes/comments/CommentView.ts:52](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L52) +Defined in: [src/parser/classes/comments/CommentView.ts:52](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L52) *** @@ -196,7 +196,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:52](https://github.com/L > `optional` **like\_count\_liked**: `string` -Defined in: [src/parser/classes/comments/CommentView.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L51) +Defined in: [src/parser/classes/comments/CommentView.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L51) *** @@ -204,7 +204,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:51](https://github.com/L > `optional` **like\_inactive\_tooltip**: `string` -Defined in: [src/parser/classes/comments/CommentView.ts:54](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L54) +Defined in: [src/parser/classes/comments/CommentView.ts:54](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L54) *** @@ -212,7 +212,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:54](https://github.com/L > `optional` **member\_badge**: `MemberBadge` -Defined in: [src/parser/classes/comments/CommentView.ts:61](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L61) +Defined in: [src/parser/classes/comments/CommentView.ts:61](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L61) *** @@ -220,7 +220,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:61](https://github.com/L > `optional` **prepare\_account\_command**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/comments/CommentView.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L39) +Defined in: [src/parser/classes/comments/CommentView.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L39) *** @@ -228,7 +228,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:39](https://github.com/L > `optional` **published\_time**: `string` -Defined in: [src/parser/classes/comments/CommentView.ts:46](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L46) +Defined in: [src/parser/classes/comments/CommentView.ts:46](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L46) *** @@ -236,7 +236,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:46](https://github.com/L > `optional` **reply\_command**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/comments/CommentView.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L38) +Defined in: [src/parser/classes/comments/CommentView.ts:38](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L38) *** @@ -244,7 +244,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:38](https://github.com/L > `optional` **reply\_count**: `string` -Defined in: [src/parser/classes/comments/CommentView.ts:58](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L58) +Defined in: [src/parser/classes/comments/CommentView.ts:58](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L58) *** @@ -252,7 +252,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:58](https://github.com/L > `optional` **reply\_count\_a11y**: `string` -Defined in: [src/parser/classes/comments/CommentView.ts:59](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L59) +Defined in: [src/parser/classes/comments/CommentView.ts:59](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L59) *** @@ -260,7 +260,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:59](https://github.com/L > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -272,7 +272,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **undislike\_command**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/comments/CommentView.ts:37](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L37) +Defined in: [src/parser/classes/comments/CommentView.ts:37](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L37) *** @@ -280,7 +280,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:37](https://github.com/L > `optional` **unlike\_command**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/comments/CommentView.ts:36](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L36) +Defined in: [src/parser/classes/comments/CommentView.ts:36](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L36) *** @@ -288,7 +288,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:36](https://github.com/L > `optional` **voice\_reply\_container**: [`VoiceReplyContainerView`](VoiceReplyContainerView.md) \| `null` -Defined in: [src/parser/classes/comments/CommentView.ts:68](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L68) +Defined in: [src/parser/classes/comments/CommentView.ts:68](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L68) *** @@ -296,7 +296,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:68](https://github.com/L > `static` **type**: `string` = `'CommentView'` -Defined in: [src/parser/classes/comments/CommentView.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L30) +Defined in: [src/parser/classes/comments/CommentView.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L30) #### Overrides @@ -308,7 +308,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:30](https://github.com/L > **applyMutations**(`comment?`, `toolbar_state?`, `toolbar_surface?`, `comment_surface?`): `void` -Defined in: [src/parser/classes/comments/CommentView.ts:85](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L85) +Defined in: [src/parser/classes/comments/CommentView.ts:85](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L85) #### Parameters @@ -338,7 +338,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:85](https://github.com/L > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -380,7 +380,7 @@ If the node is not of the given type > **dislike**(): `Promise`\<[`ApiResponse`](../../../../interfaces/ApiResponse.md)\> -Defined in: [src/parser/classes/comments/CommentView.ts:167](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L167) +Defined in: [src/parser/classes/comments/CommentView.ts:167](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L167) Dislikes the comment. @@ -400,7 +400,7 @@ If the Actions instance is not set for this comment or if the dislike command is > **hasKey**\<`T`, `R`\>(`key`): `this is CommentView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -438,7 +438,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -476,7 +476,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. @@ -518,7 +518,7 @@ If the node does not have the key > **like**(): `Promise`\<[`ApiResponse`](../../../../interfaces/ApiResponse.md)\> -Defined in: [src/parser/classes/comments/CommentView.ts:149](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L149) +Defined in: [src/parser/classes/comments/CommentView.ts:149](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L149) Likes the comment. @@ -538,7 +538,7 @@ If the Actions instance is not set for this comment or if the like command is no > **reply**(`comment_text`): `Promise`\<[`ApiResponse`](../../../../interfaces/ApiResponse.md)\> -Defined in: [src/parser/classes/comments/CommentView.ts:222](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L222) +Defined in: [src/parser/classes/comments/CommentView.ts:222](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L222) Replies to the comment. @@ -566,7 +566,7 @@ If the Actions instance is not set for this comment or if the reply command is n > **setActions**(`actions`): `void` -Defined in: [src/parser/classes/comments/CommentView.ts:273](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L273) +Defined in: [src/parser/classes/comments/CommentView.ts:273](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L273) #### Parameters @@ -584,7 +584,7 @@ Defined in: [src/parser/classes/comments/CommentView.ts:273](https://github.com/ > **translate**(`target_language`): `Promise`\<[`ApiResponse`](../../../../interfaces/ApiResponse.md) & `object`\> -Defined in: [src/parser/classes/comments/CommentView.ts:251](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L251) +Defined in: [src/parser/classes/comments/CommentView.ts:251](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L251) Translates the comment to the specified target language. @@ -612,7 +612,7 @@ if the Actions instance is not set for this comment or if the comment content is > **undislike**(): `Promise`\<[`ApiResponse`](../../../../interfaces/ApiResponse.md)\> -Defined in: [src/parser/classes/comments/CommentView.ts:203](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L203) +Defined in: [src/parser/classes/comments/CommentView.ts:203](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L203) Undislikes the comment. @@ -632,7 +632,7 @@ If the Actions instance is not set for this comment or if the undislike command > **unlike**(): `Promise`\<[`ApiResponse`](../../../../interfaces/ApiResponse.md)\> -Defined in: [src/parser/classes/comments/CommentView.ts:185](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentView.ts#L185) +Defined in: [src/parser/classes/comments/CommentView.ts:185](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentView.ts#L185) Unlikes the comment. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentsEntryPointHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentsEntryPointHeader.md index c4d71266..3efdb585 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentsEntryPointHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentsEntryPointHeader.md @@ -2,7 +2,7 @@ # Class: CommentsEntryPointHeader -Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsEntryPointHeader.ts#L9) +Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsEntryPointHeader.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:9](https:// > **new CommentsEntryPointHeader**(`data`): `CommentsEntryPointHeader` -Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsEntryPointHeader.ts#L19) +Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsEntryPointHeader.ts#L19) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:19](https:/ > `optional` **comment\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsEntryPointHeader.ts#L13) +Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsEntryPointHeader.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:13](https:/ > `optional` **content\_renderer**: [`CommentsSimplebox`](CommentsSimplebox.md) \| [`CommentsEntryPointTeaser`](CommentsEntryPointTeaser.md) \| `null` -Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsEntryPointHeader.ts#L16) +Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsEntryPointHeader.ts#L16) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:16](https:/ > `optional` **header**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsEntryPointHeader.ts#L12) +Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsEntryPointHeader.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:12](https:/ > `optional` **simplebox\_placeholder**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsEntryPointHeader.ts#L17) +Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsEntryPointHeader.ts#L17) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:17](https:/ > `optional` **teaser\_avatar**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsEntryPointHeader.ts#L14) +Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsEntryPointHeader.ts#L14) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:14](https:/ > `optional` **teaser\_content**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsEntryPointHeader.ts#L15) +Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsEntryPointHeader.ts#L15) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:15](https:/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CommentsEntryPointHeader'` -Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsEntryPointHeader.ts#L10) +Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsEntryPointHeader.ts#L10) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/comments/CommentsEntryPointHeader.ts:10](https:/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CommentsEntryPointHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentsEntryPointTeaser.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentsEntryPointTeaser.md index cd124e9d..4646980e 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentsEntryPointTeaser.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentsEntryPointTeaser.md @@ -2,7 +2,7 @@ # Class: CommentsEntryPointTeaser -Defined in: [src/parser/classes/comments/CommentsEntryPointTeaser.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsEntryPointTeaser.ts#L6) +Defined in: [src/parser/classes/comments/CommentsEntryPointTeaser.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsEntryPointTeaser.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/comments/CommentsEntryPointTeaser.ts:6](https:// > **new CommentsEntryPointTeaser**(`data`): `CommentsEntryPointTeaser` -Defined in: [src/parser/classes/comments/CommentsEntryPointTeaser.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsEntryPointTeaser.ts#L12) +Defined in: [src/parser/classes/comments/CommentsEntryPointTeaser.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsEntryPointTeaser.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/comments/CommentsEntryPointTeaser.ts:12](https:/ > `optional` **teaser\_avatar**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/comments/CommentsEntryPointTeaser.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsEntryPointTeaser.ts#L9) +Defined in: [src/parser/classes/comments/CommentsEntryPointTeaser.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsEntryPointTeaser.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/comments/CommentsEntryPointTeaser.ts:9](https:// > `optional` **teaser\_content**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/comments/CommentsEntryPointTeaser.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsEntryPointTeaser.ts#L10) +Defined in: [src/parser/classes/comments/CommentsEntryPointTeaser.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsEntryPointTeaser.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/comments/CommentsEntryPointTeaser.ts:10](https:/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CommentsEntryPointTeaser'` -Defined in: [src/parser/classes/comments/CommentsEntryPointTeaser.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsEntryPointTeaser.ts#L7) +Defined in: [src/parser/classes/comments/CommentsEntryPointTeaser.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsEntryPointTeaser.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/comments/CommentsEntryPointTeaser.ts:7](https:// > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CommentsEntryPointTeaser & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentsHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentsHeader.md index 63d6a82b..17a4e76d 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentsHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentsHeader.md @@ -2,7 +2,7 @@ # Class: CommentsHeader -Defined in: [src/parser/classes/comments/CommentsHeader.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsHeader.ts#L17) +Defined in: [src/parser/classes/comments/CommentsHeader.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsHeader.ts#L17) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/comments/CommentsHeader.ts:17](https://github.co > **new CommentsHeader**(`data`): `CommentsHeader` -Defined in: [src/parser/classes/comments/CommentsHeader.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsHeader.ts#L27) +Defined in: [src/parser/classes/comments/CommentsHeader.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsHeader.ts#L27) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/comments/CommentsHeader.ts:27](https://github.co > **comments\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/comments/CommentsHeader.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsHeader.ts#L22) +Defined in: [src/parser/classes/comments/CommentsHeader.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsHeader.ts#L22) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/comments/CommentsHeader.ts:22](https://github.co > **count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/comments/CommentsHeader.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsHeader.ts#L21) +Defined in: [src/parser/classes/comments/CommentsHeader.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsHeader.ts#L21) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/comments/CommentsHeader.ts:21](https://github.co > **create\_renderer**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/comments/CommentsHeader.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsHeader.ts#L23) +Defined in: [src/parser/classes/comments/CommentsHeader.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsHeader.ts#L23) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/comments/CommentsHeader.ts:23](https://github.co > `optional` **custom\_emojis**: `CustomEmoji`[] -Defined in: [src/parser/classes/comments/CommentsHeader.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsHeader.ts#L25) +Defined in: [src/parser/classes/comments/CommentsHeader.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsHeader.ts#L25) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/comments/CommentsHeader.ts:25](https://github.co > **sort\_menu**: [`SortFilterSubMenu`](SortFilterSubMenu.md) \| `null` -Defined in: [src/parser/classes/comments/CommentsHeader.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsHeader.ts#L24) +Defined in: [src/parser/classes/comments/CommentsHeader.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsHeader.ts#L24) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/comments/CommentsHeader.ts:24](https://github.co > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/comments/CommentsHeader.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsHeader.ts#L20) +Defined in: [src/parser/classes/comments/CommentsHeader.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsHeader.ts#L20) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/comments/CommentsHeader.ts:20](https://github.co > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CommentsHeader'` -Defined in: [src/parser/classes/comments/CommentsHeader.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsHeader.ts#L18) +Defined in: [src/parser/classes/comments/CommentsHeader.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsHeader.ts#L18) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/comments/CommentsHeader.ts:18](https://github.co > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CommentsHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentsSimplebox.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentsSimplebox.md index 048a8878..ff29f2e8 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentsSimplebox.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CommentsSimplebox.md @@ -2,7 +2,7 @@ # Class: CommentsSimplebox -Defined in: [src/parser/classes/comments/CommentsSimplebox.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsSimplebox.ts#L6) +Defined in: [src/parser/classes/comments/CommentsSimplebox.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsSimplebox.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/comments/CommentsSimplebox.ts:6](https://github. > **new CommentsSimplebox**(`data`): `CommentsSimplebox` -Defined in: [src/parser/classes/comments/CommentsSimplebox.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsSimplebox.ts#L12) +Defined in: [src/parser/classes/comments/CommentsSimplebox.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsSimplebox.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/comments/CommentsSimplebox.ts:12](https://github > **simplebox\_avatar**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/comments/CommentsSimplebox.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsSimplebox.ts#L9) +Defined in: [src/parser/classes/comments/CommentsSimplebox.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsSimplebox.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/comments/CommentsSimplebox.ts:9](https://github. > **simplebox\_placeholder**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/comments/CommentsSimplebox.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsSimplebox.ts#L10) +Defined in: [src/parser/classes/comments/CommentsSimplebox.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsSimplebox.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/comments/CommentsSimplebox.ts:10](https://github > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CommentsSimplebox'` -Defined in: [src/parser/classes/comments/CommentsSimplebox.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CommentsSimplebox.ts#L7) +Defined in: [src/parser/classes/comments/CommentsSimplebox.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CommentsSimplebox.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/comments/CommentsSimplebox.ts:7](https://github. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CommentsSimplebox & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactChannel.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactChannel.md index 1a5a9693..8dc303f1 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactChannel.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactChannel.md @@ -2,7 +2,7 @@ # Class: CompactChannel -Defined in: [src/parser/classes/CompactChannel.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactChannel.ts#L8) +Defined in: [src/parser/classes/CompactChannel.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactChannel.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/CompactChannel.ts:8](https://github.com/LuanRT/Y > **new CompactChannel**(`data`): `CompactChannel` -Defined in: [src/parser/classes/CompactChannel.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactChannel.ts#L21) +Defined in: [src/parser/classes/CompactChannel.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactChannel.ts#L21) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/CompactChannel.ts:21](https://github.com/LuanRT/ > **channel\_id**: `string` -Defined in: [src/parser/classes/CompactChannel.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactChannel.ts#L12) +Defined in: [src/parser/classes/CompactChannel.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactChannel.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/CompactChannel.ts:12](https://github.com/LuanRT/ > **display\_name**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/CompactChannel.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactChannel.ts#L14) +Defined in: [src/parser/classes/CompactChannel.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactChannel.ts#L14) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/CompactChannel.ts:14](https://github.com/LuanRT/ > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/CompactChannel.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactChannel.ts#L17) +Defined in: [src/parser/classes/CompactChannel.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactChannel.ts#L17) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/CompactChannel.ts:17](https://github.com/LuanRT/ > **menu**: [`Menu`](Menu.md) \| `null` -Defined in: [src/parser/classes/CompactChannel.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactChannel.ts#L19) +Defined in: [src/parser/classes/CompactChannel.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactChannel.ts#L19) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/CompactChannel.ts:19](https://github.com/LuanRT/ > **subscriber\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/CompactChannel.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactChannel.ts#L16) +Defined in: [src/parser/classes/CompactChannel.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactChannel.ts#L16) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/CompactChannel.ts:16](https://github.com/LuanRT/ > **thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/CompactChannel.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactChannel.ts#L13) +Defined in: [src/parser/classes/CompactChannel.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactChannel.ts#L13) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/CompactChannel.ts:13](https://github.com/LuanRT/ > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/CompactChannel.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactChannel.ts#L11) +Defined in: [src/parser/classes/CompactChannel.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactChannel.ts#L11) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/CompactChannel.ts:11](https://github.com/LuanRT/ > **tv\_banner**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/CompactChannel.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactChannel.ts#L18) +Defined in: [src/parser/classes/CompactChannel.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactChannel.ts#L18) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/CompactChannel.ts:18](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -112,7 +112,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/CompactChannel.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactChannel.ts#L15) +Defined in: [src/parser/classes/CompactChannel.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactChannel.ts#L15) *** @@ -120,7 +120,7 @@ Defined in: [src/parser/classes/CompactChannel.ts:15](https://github.com/LuanRT/ > `static` **type**: `string` = `'CompactChannel'` -Defined in: [src/parser/classes/CompactChannel.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactChannel.ts#L9) +Defined in: [src/parser/classes/CompactChannel.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactChannel.ts#L9) #### Overrides @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/CompactChannel.ts:9](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -174,7 +174,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CompactChannel & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -212,7 +212,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -250,7 +250,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactLink.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactLink.md index e08937c7..253d8d68 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactLink.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactLink.md @@ -2,7 +2,7 @@ # Class: CompactLink -Defined in: [src/parser/classes/CompactLink.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactLink.ts#L6) +Defined in: [src/parser/classes/CompactLink.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactLink.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/CompactLink.ts:6](https://github.com/LuanRT/YouT > **new CompactLink**(`data`): `CompactLink` -Defined in: [src/parser/classes/CompactLink.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactLink.ts#L16) +Defined in: [src/parser/classes/CompactLink.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactLink.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/CompactLink.ts:16](https://github.com/LuanRT/You > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/CompactLink.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactLink.ts#L11) +Defined in: [src/parser/classes/CompactLink.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactLink.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/CompactLink.ts:11](https://github.com/LuanRT/You > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/CompactLink.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactLink.ts#L13) +Defined in: [src/parser/classes/CompactLink.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactLink.ts#L13) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/CompactLink.ts:13](https://github.com/LuanRT/You > `optional` **secondary\_icon\_type**: `string` -Defined in: [src/parser/classes/CompactLink.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactLink.ts#L14) +Defined in: [src/parser/classes/CompactLink.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactLink.ts#L14) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/CompactLink.ts:14](https://github.com/LuanRT/You > **style**: `string` -Defined in: [src/parser/classes/CompactLink.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactLink.ts#L12) +Defined in: [src/parser/classes/CompactLink.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactLink.ts#L12) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/CompactLink.ts:12](https://github.com/LuanRT/You > `optional` **subtitle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/CompactLink.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactLink.ts#L10) +Defined in: [src/parser/classes/CompactLink.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactLink.ts#L10) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/CompactLink.ts:10](https://github.com/LuanRT/You > **title**: `string` -Defined in: [src/parser/classes/CompactLink.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactLink.ts#L9) +Defined in: [src/parser/classes/CompactLink.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactLink.ts#L9) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/CompactLink.ts:9](https://github.com/LuanRT/YouT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CompactLink'` -Defined in: [src/parser/classes/CompactLink.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactLink.ts#L7) +Defined in: [src/parser/classes/CompactLink.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactLink.ts#L7) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/CompactLink.ts:7](https://github.com/LuanRT/YouT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CompactLink & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactMix.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactMix.md index f739585f..55fb7ca4 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactMix.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactMix.md @@ -2,7 +2,7 @@ # Class: CompactMix -Defined in: [src/parser/classes/CompactMix.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactMix.ts#L4) +Defined in: [src/parser/classes/CompactMix.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactMix.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/CompactMix.ts:4](https://github.com/LuanRT/YouTu > **new CompactMix**(`data`): `CompactMix` -Defined in: [src/parser/classes/CompactMix.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactMix.ts#L7) +Defined in: [src/parser/classes/CompactMix.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactMix.ts#L7) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/CompactMix.ts:7](https://github.com/LuanRT/YouTu > **author**: [`Text`](../../Misc/classes/Text.md) \| [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/Playlist.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L15) +Defined in: [src/parser/classes/Playlist.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L15) #### Inherited from @@ -48,7 +48,7 @@ Defined in: [src/parser/classes/Playlist.ts:15](https://github.com/LuanRT/YouTub > **badges**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/Playlist.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L23) +Defined in: [src/parser/classes/Playlist.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L23) #### Inherited from @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/Playlist.ts:23](https://github.com/LuanRT/YouTub > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/Playlist.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L24) +Defined in: [src/parser/classes/Playlist.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L24) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/Playlist.ts:24](https://github.com/LuanRT/YouTub > **first\_videos**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/Playlist.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L20) +Defined in: [src/parser/classes/Playlist.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L20) #### Inherited from @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/Playlist.ts:20](https://github.com/LuanRT/YouTub > **id**: `string` -Defined in: [src/parser/classes/Playlist.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L13) +Defined in: [src/parser/classes/Playlist.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L13) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/Playlist.ts:13](https://github.com/LuanRT/YouTub > **menu**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/Playlist.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L22) +Defined in: [src/parser/classes/Playlist.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L22) #### Inherited from @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/Playlist.ts:22](https://github.com/LuanRT/YouTub > **share\_url**: `string` \| `null` -Defined in: [src/parser/classes/Playlist.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L21) +Defined in: [src/parser/classes/Playlist.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L21) #### Inherited from @@ -120,7 +120,7 @@ Defined in: [src/parser/classes/Playlist.ts:21](https://github.com/LuanRT/YouTub > **thumbnail\_overlays**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/Playlist.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L25) +Defined in: [src/parser/classes/Playlist.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L25) #### Inherited from @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/Playlist.ts:25](https://github.com/LuanRT/YouTub > `optional` **thumbnail\_renderer**: [`PlaylistCustomThumbnail`](PlaylistCustomThumbnail.md) \| [`PlaylistVideoThumbnail`](PlaylistVideoThumbnail.md) -Defined in: [src/parser/classes/Playlist.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L17) +Defined in: [src/parser/classes/Playlist.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L17) #### Inherited from @@ -144,7 +144,7 @@ Defined in: [src/parser/classes/Playlist.ts:17](https://github.com/LuanRT/YouTub > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/Playlist.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L16) +Defined in: [src/parser/classes/Playlist.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L16) #### Inherited from @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/Playlist.ts:16](https://github.com/LuanRT/YouTub > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Playlist.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L14) +Defined in: [src/parser/classes/Playlist.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L14) #### Inherited from @@ -168,7 +168,7 @@ Defined in: [src/parser/classes/Playlist.ts:14](https://github.com/LuanRT/YouTub > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -180,7 +180,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Playlist.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L18) +Defined in: [src/parser/classes/Playlist.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L18) #### Inherited from @@ -192,7 +192,7 @@ Defined in: [src/parser/classes/Playlist.ts:18](https://github.com/LuanRT/YouTub > **video\_count\_short**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Playlist.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L19) +Defined in: [src/parser/classes/Playlist.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L19) #### Inherited from @@ -204,7 +204,7 @@ Defined in: [src/parser/classes/Playlist.ts:19](https://github.com/LuanRT/YouTub > `optional` **view\_playlist**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Playlist.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L26) +Defined in: [src/parser/classes/Playlist.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L26) #### Inherited from @@ -216,7 +216,7 @@ Defined in: [src/parser/classes/Playlist.ts:26](https://github.com/LuanRT/YouTub > `static` **type**: `string` = `'CompactMix'` -Defined in: [src/parser/classes/CompactMix.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactMix.ts#L5) +Defined in: [src/parser/classes/CompactMix.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactMix.ts#L5) #### Overrides @@ -228,7 +228,7 @@ Defined in: [src/parser/classes/CompactMix.ts:5](https://github.com/LuanRT/YouTu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -270,7 +270,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CompactMix & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -308,7 +308,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -346,7 +346,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactMovie.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactMovie.md index d020e06b..e4ac13e0 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactMovie.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactMovie.md @@ -2,7 +2,7 @@ # Class: CompactMovie -Defined in: [src/parser/classes/CompactMovie.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactMovie.ts#L11) +Defined in: [src/parser/classes/CompactMovie.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactMovie.ts#L11) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/CompactMovie.ts:11](https://github.com/LuanRT/Yo > **new CompactMovie**(`data`): `CompactMovie` -Defined in: [src/parser/classes/CompactMovie.ts:31](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactMovie.ts#L31) +Defined in: [src/parser/classes/CompactMovie.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactMovie.ts#L31) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/CompactMovie.ts:31](https://github.com/LuanRT/Yo > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/CompactMovie.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactMovie.ts#L19) +Defined in: [src/parser/classes/CompactMovie.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactMovie.ts#L19) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/CompactMovie.ts:19](https://github.com/LuanRT/Yo > **badges**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/CompactMovie.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactMovie.ts#L27) +Defined in: [src/parser/classes/CompactMovie.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactMovie.ts#L27) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/CompactMovie.ts:27](https://github.com/LuanRT/Yo > **duration**: `object` -Defined in: [src/parser/classes/CompactMovie.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactMovie.ts#L21) +Defined in: [src/parser/classes/CompactMovie.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactMovie.ts#L21) #### seconds @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/CompactMovie.ts:21](https://github.com/LuanRT/Yo > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/CompactMovie.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactMovie.ts#L26) +Defined in: [src/parser/classes/CompactMovie.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactMovie.ts#L26) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/CompactMovie.ts:26](https://github.com/LuanRT/Yo > **id**: `string` -Defined in: [src/parser/classes/CompactMovie.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactMovie.ts#L14) +Defined in: [src/parser/classes/CompactMovie.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactMovie.ts#L14) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/CompactMovie.ts:14](https://github.com/LuanRT/Yo > **menu**: [`Menu`](Menu.md) \| `null` -Defined in: [src/parser/classes/CompactMovie.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactMovie.ts#L29) +Defined in: [src/parser/classes/CompactMovie.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactMovie.ts#L29) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/CompactMovie.ts:29](https://github.com/LuanRT/Yo > **thumbnail\_overlays**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/CompactMovie.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactMovie.ts#L18) +Defined in: [src/parser/classes/CompactMovie.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactMovie.ts#L18) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/CompactMovie.ts:18](https://github.com/LuanRT/Yo > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/CompactMovie.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactMovie.ts#L17) +Defined in: [src/parser/classes/CompactMovie.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactMovie.ts#L17) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/CompactMovie.ts:17](https://github.com/LuanRT/Yo > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/CompactMovie.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactMovie.ts#L15) +Defined in: [src/parser/classes/CompactMovie.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactMovie.ts#L15) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/CompactMovie.ts:15](https://github.com/LuanRT/Yo > **top\_metadata\_items**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/CompactMovie.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactMovie.ts#L16) +Defined in: [src/parser/classes/CompactMovie.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactMovie.ts#L16) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/CompactMovie.ts:16](https://github.com/LuanRT/Yo > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -136,7 +136,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **use\_vertical\_poster**: `boolean` -Defined in: [src/parser/classes/CompactMovie.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactMovie.ts#L28) +Defined in: [src/parser/classes/CompactMovie.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactMovie.ts#L28) *** @@ -144,7 +144,7 @@ Defined in: [src/parser/classes/CompactMovie.ts:28](https://github.com/LuanRT/Yo > `static` **type**: `string` = `'CompactMovie'` -Defined in: [src/parser/classes/CompactMovie.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactMovie.ts#L12) +Defined in: [src/parser/classes/CompactMovie.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactMovie.ts#L12) #### Overrides @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/CompactMovie.ts:12](https://github.com/LuanRT/Yo > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -198,7 +198,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CompactMovie & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -236,7 +236,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -274,7 +274,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactPlaylist.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactPlaylist.md index ac9e521c..6f748f38 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactPlaylist.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactPlaylist.md @@ -2,7 +2,7 @@ # Class: CompactPlaylist -Defined in: [src/parser/classes/CompactPlaylist.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactPlaylist.ts#L4) +Defined in: [src/parser/classes/CompactPlaylist.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactPlaylist.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/CompactPlaylist.ts:4](https://github.com/LuanRT/ > **new CompactPlaylist**(`data`): `CompactPlaylist` -Defined in: [src/parser/classes/CompactPlaylist.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactPlaylist.ts#L7) +Defined in: [src/parser/classes/CompactPlaylist.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactPlaylist.ts#L7) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/CompactPlaylist.ts:7](https://github.com/LuanRT/ > **author**: [`Text`](../../Misc/classes/Text.md) \| [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/Playlist.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L15) +Defined in: [src/parser/classes/Playlist.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L15) #### Inherited from @@ -48,7 +48,7 @@ Defined in: [src/parser/classes/Playlist.ts:15](https://github.com/LuanRT/YouTub > **badges**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/Playlist.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L23) +Defined in: [src/parser/classes/Playlist.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L23) #### Inherited from @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/Playlist.ts:23](https://github.com/LuanRT/YouTub > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/Playlist.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L24) +Defined in: [src/parser/classes/Playlist.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L24) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/Playlist.ts:24](https://github.com/LuanRT/YouTub > **first\_videos**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/Playlist.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L20) +Defined in: [src/parser/classes/Playlist.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L20) #### Inherited from @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/Playlist.ts:20](https://github.com/LuanRT/YouTub > **id**: `string` -Defined in: [src/parser/classes/Playlist.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L13) +Defined in: [src/parser/classes/Playlist.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L13) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/Playlist.ts:13](https://github.com/LuanRT/YouTub > **menu**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/Playlist.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L22) +Defined in: [src/parser/classes/Playlist.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L22) #### Inherited from @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/Playlist.ts:22](https://github.com/LuanRT/YouTub > **share\_url**: `string` \| `null` -Defined in: [src/parser/classes/Playlist.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L21) +Defined in: [src/parser/classes/Playlist.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L21) #### Inherited from @@ -120,7 +120,7 @@ Defined in: [src/parser/classes/Playlist.ts:21](https://github.com/LuanRT/YouTub > **thumbnail\_overlays**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/Playlist.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L25) +Defined in: [src/parser/classes/Playlist.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L25) #### Inherited from @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/Playlist.ts:25](https://github.com/LuanRT/YouTub > `optional` **thumbnail\_renderer**: [`PlaylistCustomThumbnail`](PlaylistCustomThumbnail.md) \| [`PlaylistVideoThumbnail`](PlaylistVideoThumbnail.md) -Defined in: [src/parser/classes/Playlist.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L17) +Defined in: [src/parser/classes/Playlist.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L17) #### Inherited from @@ -144,7 +144,7 @@ Defined in: [src/parser/classes/Playlist.ts:17](https://github.com/LuanRT/YouTub > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/Playlist.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L16) +Defined in: [src/parser/classes/Playlist.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L16) #### Inherited from @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/Playlist.ts:16](https://github.com/LuanRT/YouTub > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Playlist.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L14) +Defined in: [src/parser/classes/Playlist.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L14) #### Inherited from @@ -168,7 +168,7 @@ Defined in: [src/parser/classes/Playlist.ts:14](https://github.com/LuanRT/YouTub > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -180,7 +180,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Playlist.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L18) +Defined in: [src/parser/classes/Playlist.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L18) #### Inherited from @@ -192,7 +192,7 @@ Defined in: [src/parser/classes/Playlist.ts:18](https://github.com/LuanRT/YouTub > **video\_count\_short**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Playlist.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L19) +Defined in: [src/parser/classes/Playlist.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L19) #### Inherited from @@ -204,7 +204,7 @@ Defined in: [src/parser/classes/Playlist.ts:19](https://github.com/LuanRT/YouTub > `optional` **view\_playlist**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Playlist.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L26) +Defined in: [src/parser/classes/Playlist.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L26) #### Inherited from @@ -216,7 +216,7 @@ Defined in: [src/parser/classes/Playlist.ts:26](https://github.com/LuanRT/YouTub > `static` **type**: `string` = `'CompactPlaylist'` -Defined in: [src/parser/classes/CompactPlaylist.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactPlaylist.ts#L5) +Defined in: [src/parser/classes/CompactPlaylist.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactPlaylist.ts#L5) #### Overrides @@ -228,7 +228,7 @@ Defined in: [src/parser/classes/CompactPlaylist.ts:5](https://github.com/LuanRT/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -270,7 +270,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CompactPlaylist & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -308,7 +308,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -346,7 +346,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactStation.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactStation.md index 5403fa81..43e1c0e2 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactStation.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactStation.md @@ -2,7 +2,7 @@ # Class: CompactStation -Defined in: [src/parser/classes/CompactStation.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactStation.ts#L7) +Defined in: [src/parser/classes/CompactStation.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactStation.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/CompactStation.ts:7](https://github.com/LuanRT/Y > **new CompactStation**(`data`): `CompactStation` -Defined in: [src/parser/classes/CompactStation.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactStation.ts#L16) +Defined in: [src/parser/classes/CompactStation.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactStation.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/CompactStation.ts:16](https://github.com/LuanRT/ > **description**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/CompactStation.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactStation.ts#L11) +Defined in: [src/parser/classes/CompactStation.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactStation.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/CompactStation.ts:11](https://github.com/LuanRT/ > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/CompactStation.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactStation.ts#L13) +Defined in: [src/parser/classes/CompactStation.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactStation.ts#L13) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/CompactStation.ts:13](https://github.com/LuanRT/ > **thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/CompactStation.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactStation.ts#L14) +Defined in: [src/parser/classes/CompactStation.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactStation.ts#L14) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/CompactStation.ts:14](https://github.com/LuanRT/ > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/CompactStation.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactStation.ts#L10) +Defined in: [src/parser/classes/CompactStation.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactStation.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/CompactStation.ts:10](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/CompactStation.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactStation.ts#L12) +Defined in: [src/parser/classes/CompactStation.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactStation.ts#L12) *** @@ -88,7 +88,7 @@ Defined in: [src/parser/classes/CompactStation.ts:12](https://github.com/LuanRT/ > `static` **type**: `string` = `'CompactStation'` -Defined in: [src/parser/classes/CompactStation.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactStation.ts#L8) +Defined in: [src/parser/classes/CompactStation.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactStation.ts#L8) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/CompactStation.ts:8](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CompactStation & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactVideo.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactVideo.md index e01e5ef6..7df80802 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactVideo.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CompactVideo.md @@ -2,7 +2,7 @@ # Class: CompactVideo -Defined in: [src/parser/classes/CompactVideo.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L12) +Defined in: [src/parser/classes/CompactVideo.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L12) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:12](https://github.com/LuanRT/Yo > **new CompactVideo**(`data`): `CompactVideo` -Defined in: [src/parser/classes/CompactVideo.ts:35](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L35) +Defined in: [src/parser/classes/CompactVideo.ts:35](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L35) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:35](https://github.com/LuanRT/Yo > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/CompactVideo.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L19) +Defined in: [src/parser/classes/CompactVideo.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L19) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:19](https://github.com/LuanRT/Yo > **badges**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MetadataBadge`](MetadataBadge.md)\> -Defined in: [src/parser/classes/CompactVideo.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L25) +Defined in: [src/parser/classes/CompactVideo.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L25) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:25](https://github.com/LuanRT/Yo > `optional` **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/CompactVideo.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L27) +Defined in: [src/parser/classes/CompactVideo.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L27) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:27](https://github.com/LuanRT/Yo > **is\_watched**: `boolean` -Defined in: [src/parser/classes/CompactVideo.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L30) +Defined in: [src/parser/classes/CompactVideo.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L30) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:30](https://github.com/LuanRT/Yo > `optional` **length\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/CompactVideo.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L29) +Defined in: [src/parser/classes/CompactVideo.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L29) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:29](https://github.com/LuanRT/Yo > `optional` **long\_byline\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/CompactVideo.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L23) +Defined in: [src/parser/classes/CompactVideo.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L23) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:23](https://github.com/LuanRT/Yo > **menu**: [`Menu`](Menu.md) \| `null` -Defined in: [src/parser/classes/CompactVideo.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L28) +Defined in: [src/parser/classes/CompactVideo.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L28) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:28](https://github.com/LuanRT/Yo > `optional` **published**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/CompactVideo.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L24) +Defined in: [src/parser/classes/CompactVideo.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L24) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:24](https://github.com/LuanRT/Yo > `optional` **rich\_thumbnail**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/CompactVideo.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L17) +Defined in: [src/parser/classes/CompactVideo.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L17) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:17](https://github.com/LuanRT/Yo > `optional` **service\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/CompactVideo.ts:32](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L32) +Defined in: [src/parser/classes/CompactVideo.ts:32](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L32) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:32](https://github.com/LuanRT/Yo > `optional` **service\_endpoints**: [`NavigationEndpoint`](NavigationEndpoint.md)[] -Defined in: [src/parser/classes/CompactVideo.ts:31](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L31) +Defined in: [src/parser/classes/CompactVideo.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L31) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:31](https://github.com/LuanRT/Yo > `optional` **short\_byline\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/CompactVideo.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L22) +Defined in: [src/parser/classes/CompactVideo.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L22) *** @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:22](https://github.com/LuanRT/Yo > `optional` **short\_view\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/CompactVideo.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L21) +Defined in: [src/parser/classes/CompactVideo.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L21) *** @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:21](https://github.com/LuanRT/Yo > `optional` **style**: `"COMPACT_VIDEO_STYLE_TYPE_UNKNOWN"` \| `"COMPACT_VIDEO_STYLE_TYPE_NORMAL"` \| `"COMPACT_VIDEO_STYLE_TYPE_PROMINENT_THUMBNAIL"` \| `"COMPACT_VIDEO_STYLE_TYPE_HERO"` -Defined in: [src/parser/classes/CompactVideo.ts:33](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L33) +Defined in: [src/parser/classes/CompactVideo.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L33) *** @@ -148,7 +148,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:33](https://github.com/LuanRT/Yo > **thumbnail\_overlays**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/CompactVideo.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L26) +Defined in: [src/parser/classes/CompactVideo.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L26) *** @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:26](https://github.com/LuanRT/Yo > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/CompactVideo.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L16) +Defined in: [src/parser/classes/CompactVideo.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L16) *** @@ -164,7 +164,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:16](https://github.com/LuanRT/Yo > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/CompactVideo.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L18) +Defined in: [src/parser/classes/CompactVideo.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L18) *** @@ -172,7 +172,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:18](https://github.com/LuanRT/Yo > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -184,7 +184,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_id**: `string` -Defined in: [src/parser/classes/CompactVideo.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L15) +Defined in: [src/parser/classes/CompactVideo.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L15) *** @@ -192,7 +192,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:15](https://github.com/LuanRT/Yo > `optional` **view\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/CompactVideo.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L20) +Defined in: [src/parser/classes/CompactVideo.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L20) *** @@ -200,7 +200,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:20](https://github.com/LuanRT/Yo > `static` **type**: `string` = `'CompactVideo'` -Defined in: [src/parser/classes/CompactVideo.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L13) +Defined in: [src/parser/classes/CompactVideo.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L13) #### Overrides @@ -214,7 +214,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:13](https://github.com/LuanRT/Yo > **get** **best\_thumbnail**(): [`Thumbnail`](../../Misc/classes/Thumbnail.md) -Defined in: [src/parser/classes/CompactVideo.ts:96](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L96) +Defined in: [src/parser/classes/CompactVideo.ts:96](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L96) ##### Returns @@ -228,7 +228,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:96](https://github.com/LuanRT/Yo > **get** **duration**(): `object` -Defined in: [src/parser/classes/CompactVideo.ts:87](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L87) +Defined in: [src/parser/classes/CompactVideo.ts:87](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L87) ##### Returns @@ -250,7 +250,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:87](https://github.com/LuanRT/Yo > **get** **id**(): `string` -Defined in: [src/parser/classes/CompactVideo.ts:83](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L83) +Defined in: [src/parser/classes/CompactVideo.ts:83](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L83) ##### Deprecated @@ -268,7 +268,7 @@ Use [`video_id`](#video_id) instead. > **get** **is\_fundraiser**(): `boolean` -Defined in: [src/parser/classes/CompactVideo.ts:100](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L100) +Defined in: [src/parser/classes/CompactVideo.ts:100](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L100) ##### Returns @@ -282,7 +282,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:100](https://github.com/LuanRT/Y > **get** **is\_live**(): `boolean` -Defined in: [src/parser/classes/CompactVideo.ts:104](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L104) +Defined in: [src/parser/classes/CompactVideo.ts:104](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L104) ##### Returns @@ -296,7 +296,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:104](https://github.com/LuanRT/Y > **get** **is\_new**(): `boolean` -Defined in: [src/parser/classes/CompactVideo.ts:111](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L111) +Defined in: [src/parser/classes/CompactVideo.ts:111](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L111) ##### Returns @@ -310,7 +310,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:111](https://github.com/LuanRT/Y > **get** **is\_premiere**(): `boolean` -Defined in: [src/parser/classes/CompactVideo.ts:115](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompactVideo.ts#L115) +Defined in: [src/parser/classes/CompactVideo.ts:115](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompactVideo.ts#L115) ##### Returns @@ -322,7 +322,7 @@ Defined in: [src/parser/classes/CompactVideo.ts:115](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -364,7 +364,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CompactVideo & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -402,7 +402,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -440,7 +440,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CompositeVideoPrimaryInfo.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CompositeVideoPrimaryInfo.md index f063166d..7daf62c0 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CompositeVideoPrimaryInfo.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CompositeVideoPrimaryInfo.md @@ -2,7 +2,7 @@ # Class: CompositeVideoPrimaryInfo -Defined in: [src/parser/classes/CompositeVideoPrimaryInfo.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompositeVideoPrimaryInfo.ts#L4) +Defined in: [src/parser/classes/CompositeVideoPrimaryInfo.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompositeVideoPrimaryInfo.ts#L4) ## Extends @@ -12,13 +12,13 @@ Defined in: [src/parser/classes/CompositeVideoPrimaryInfo.ts:4](https://github.c ### Constructor -> **new CompositeVideoPrimaryInfo**(`data`): `CompositeVideoPrimaryInfo` +> **new CompositeVideoPrimaryInfo**(`_data`): `CompositeVideoPrimaryInfo` -Defined in: [src/parser/classes/CompositeVideoPrimaryInfo.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompositeVideoPrimaryInfo.ts#L8) +Defined in: [src/parser/classes/CompositeVideoPrimaryInfo.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompositeVideoPrimaryInfo.ts#L7) #### Parameters -##### data +##### \_data [`RawNode`](../../../../type-aliases/RawNode.md) @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/CompositeVideoPrimaryInfo.ts:8](https://github.c > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -48,7 +48,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CompositeVideoPrimaryInfo'` -Defined in: [src/parser/classes/CompositeVideoPrimaryInfo.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CompositeVideoPrimaryInfo.ts#L5) +Defined in: [src/parser/classes/CompositeVideoPrimaryInfo.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CompositeVideoPrimaryInfo.ts#L5) #### Overrides @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/CompositeVideoPrimaryInfo.ts:5](https://github.c > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -102,7 +102,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CompositeVideoPrimaryInfo & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -140,7 +140,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -178,7 +178,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ConfirmDialog.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ConfirmDialog.md index b52f64ca..880c441f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ConfirmDialog.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ConfirmDialog.md @@ -2,7 +2,7 @@ # Class: ConfirmDialog -Defined in: [src/parser/classes/ConfirmDialog.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ConfirmDialog.ts#L6) +Defined in: [src/parser/classes/ConfirmDialog.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ConfirmDialog.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ConfirmDialog.ts:6](https://github.com/LuanRT/Yo > **new ConfirmDialog**(`data`): `ConfirmDialog` -Defined in: [src/parser/classes/ConfirmDialog.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ConfirmDialog.ts#L14) +Defined in: [src/parser/classes/ConfirmDialog.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ConfirmDialog.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ConfirmDialog.ts:14](https://github.com/LuanRT/Y > **cancel\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/ConfirmDialog.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ConfirmDialog.ts#L11) +Defined in: [src/parser/classes/ConfirmDialog.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ConfirmDialog.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ConfirmDialog.ts:11](https://github.com/LuanRT/Y > **confirm\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/ConfirmDialog.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ConfirmDialog.ts#L10) +Defined in: [src/parser/classes/ConfirmDialog.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ConfirmDialog.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ConfirmDialog.ts:10](https://github.com/LuanRT/Y > **dialog\_messages**: [`Text`](../../Misc/classes/Text.md)[] -Defined in: [src/parser/classes/ConfirmDialog.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ConfirmDialog.ts#L12) +Defined in: [src/parser/classes/ConfirmDialog.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ConfirmDialog.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ConfirmDialog.ts:12](https://github.com/LuanRT/Y > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ConfirmDialog.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ConfirmDialog.ts#L9) +Defined in: [src/parser/classes/ConfirmDialog.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ConfirmDialog.ts#L9) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ConfirmDialog.ts:9](https://github.com/LuanRT/Yo > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ConfirmDialog'` -Defined in: [src/parser/classes/ConfirmDialog.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ConfirmDialog.ts#L7) +Defined in: [src/parser/classes/ConfirmDialog.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ConfirmDialog.ts#L7) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/ConfirmDialog.ts:7](https://github.com/LuanRT/Yo > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ConfirmDialog & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ContentMetadataView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ContentMetadataView.md index 0e4e9f91..380190ea 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ContentMetadataView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ContentMetadataView.md @@ -2,7 +2,7 @@ # Class: ContentMetadataView -Defined in: [src/parser/classes/ContentMetadataView.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ContentMetadataView.ts#L18) +Defined in: [src/parser/classes/ContentMetadataView.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ContentMetadataView.ts#L18) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ContentMetadataView.ts:18](https://github.com/Lu > **new ContentMetadataView**(`data`): `ContentMetadataView` -Defined in: [src/parser/classes/ContentMetadataView.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ContentMetadataView.ts#L24) +Defined in: [src/parser/classes/ContentMetadataView.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ContentMetadataView.ts#L24) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ContentMetadataView.ts:24](https://github.com/Lu > **delimiter**: `string` -Defined in: [src/parser/classes/ContentMetadataView.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ContentMetadataView.ts#L22) +Defined in: [src/parser/classes/ContentMetadataView.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ContentMetadataView.ts#L22) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ContentMetadataView.ts:22](https://github.com/Lu > **metadata\_rows**: `MetadataRow`[] -Defined in: [src/parser/classes/ContentMetadataView.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ContentMetadataView.ts#L21) +Defined in: [src/parser/classes/ContentMetadataView.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ContentMetadataView.ts#L21) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ContentMetadataView.ts:21](https://github.com/Lu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ContentMetadataView'` -Defined in: [src/parser/classes/ContentMetadataView.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ContentMetadataView.ts#L19) +Defined in: [src/parser/classes/ContentMetadataView.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ContentMetadataView.ts#L19) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ContentMetadataView.ts:19](https://github.com/Lu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ContentMetadataView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ContentPreviewImageView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ContentPreviewImageView.md index 1f91f9e8..272f5bf9 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ContentPreviewImageView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ContentPreviewImageView.md @@ -2,7 +2,7 @@ # Class: ContentPreviewImageView -Defined in: [src/parser/classes/ContentPreviewImageView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ContentPreviewImageView.ts#L5) +Defined in: [src/parser/classes/ContentPreviewImageView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ContentPreviewImageView.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ContentPreviewImageView.ts:5](https://github.com > **new ContentPreviewImageView**(`data`): `ContentPreviewImageView` -Defined in: [src/parser/classes/ContentPreviewImageView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ContentPreviewImageView.ts#L11) +Defined in: [src/parser/classes/ContentPreviewImageView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ContentPreviewImageView.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ContentPreviewImageView.ts:11](https://github.co > **image**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/ContentPreviewImageView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ContentPreviewImageView.ts#L8) +Defined in: [src/parser/classes/ContentPreviewImageView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ContentPreviewImageView.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ContentPreviewImageView.ts:8](https://github.com > **style**: `string` -Defined in: [src/parser/classes/ContentPreviewImageView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ContentPreviewImageView.ts#L9) +Defined in: [src/parser/classes/ContentPreviewImageView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ContentPreviewImageView.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ContentPreviewImageView.ts:9](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ContentPreviewImageView'` -Defined in: [src/parser/classes/ContentPreviewImageView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ContentPreviewImageView.ts#L6) +Defined in: [src/parser/classes/ContentPreviewImageView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ContentPreviewImageView.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ContentPreviewImageView.ts:6](https://github.com > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ContentPreviewImageView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ContinuationCommand.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ContinuationCommand.md index 4e68ad04..f2bc35a7 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ContinuationCommand.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ContinuationCommand.md @@ -2,7 +2,7 @@ # Class: ContinuationCommand -Defined in: [src/parser/classes/commands/ContinuationCommand.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/ContinuationCommand.ts#L4) +Defined in: [src/parser/classes/commands/ContinuationCommand.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/ContinuationCommand.ts#L4) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/parser/classes/commands/ContinuationCommand.ts:4](https://githu > **new ContinuationCommand**(`data`): `ContinuationCommand` -Defined in: [src/parser/classes/commands/ContinuationCommand.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/ContinuationCommand.ts#L9) +Defined in: [src/parser/classes/commands/ContinuationCommand.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/ContinuationCommand.ts#L9) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/commands/ContinuationCommand.ts:9](https://githu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -52,7 +52,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ContinuationCommand'` -Defined in: [src/parser/classes/commands/ContinuationCommand.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/ContinuationCommand.ts#L5) +Defined in: [src/parser/classes/commands/ContinuationCommand.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/ContinuationCommand.ts#L5) #### Overrides @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/commands/ContinuationCommand.ts:5](https://githu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -106,7 +106,7 @@ If the node is not of the given type > **buildRequest**(): [`ContinuationRequest`](../../../../type-aliases/ContinuationRequest.md) -Defined in: [src/parser/classes/commands/ContinuationCommand.ts:37](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/ContinuationCommand.ts#L37) +Defined in: [src/parser/classes/commands/ContinuationCommand.ts:37](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/ContinuationCommand.ts#L37) #### Returns @@ -122,7 +122,7 @@ Defined in: [src/parser/classes/commands/ContinuationCommand.ts:37](https://gith > **getApiPath**(): `string` -Defined in: [src/parser/classes/commands/ContinuationCommand.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/ContinuationCommand.ts#L14) +Defined in: [src/parser/classes/commands/ContinuationCommand.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/ContinuationCommand.ts#L14) #### Returns @@ -138,7 +138,7 @@ Defined in: [src/parser/classes/commands/ContinuationCommand.ts:14](https://gith > **hasKey**\<`T`, `R`\>(`key`): `this is ContinuationCommand & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -176,7 +176,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -214,7 +214,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ContinuationItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ContinuationItem.md index 218643bf..76df9558 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ContinuationItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ContinuationItem.md @@ -2,7 +2,7 @@ # Class: ContinuationItem -Defined in: [src/parser/classes/ContinuationItem.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ContinuationItem.ts#L6) +Defined in: [src/parser/classes/ContinuationItem.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ContinuationItem.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ContinuationItem.ts:6](https://github.com/LuanRT > **new ContinuationItem**(`data`): `ContinuationItem` -Defined in: [src/parser/classes/ContinuationItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ContinuationItem.ts#L13) +Defined in: [src/parser/classes/ContinuationItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ContinuationItem.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ContinuationItem.ts:13](https://github.com/LuanR > `optional` **button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/ContinuationItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ContinuationItem.ts#L10) +Defined in: [src/parser/classes/ContinuationItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ContinuationItem.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ContinuationItem.ts:10](https://github.com/LuanR > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ContinuationItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ContinuationItem.ts#L11) +Defined in: [src/parser/classes/ContinuationItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ContinuationItem.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ContinuationItem.ts:11](https://github.com/LuanR > **trigger**: `string` -Defined in: [src/parser/classes/ContinuationItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ContinuationItem.ts#L9) +Defined in: [src/parser/classes/ContinuationItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ContinuationItem.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ContinuationItem.ts:9](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ContinuationItem'` -Defined in: [src/parser/classes/ContinuationItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ContinuationItem.ts#L7) +Defined in: [src/parser/classes/ContinuationItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ContinuationItem.ts#L7) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ContinuationItem.ts:7](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ContinuationItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ConversationBar.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ConversationBar.md index 6691a1e2..0c801560 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ConversationBar.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ConversationBar.md @@ -2,7 +2,7 @@ # Class: ConversationBar -Defined in: [src/parser/classes/ConversationBar.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ConversationBar.ts#L5) +Defined in: [src/parser/classes/ConversationBar.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ConversationBar.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ConversationBar.ts:5](https://github.com/LuanRT/ > **new ConversationBar**(`data`): `ConversationBar` -Defined in: [src/parser/classes/ConversationBar.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ConversationBar.ts#L10) +Defined in: [src/parser/classes/ConversationBar.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ConversationBar.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ConversationBar.ts:10](https://github.com/LuanRT > **availability\_message**: [`Message`](Message.md) \| `null` -Defined in: [src/parser/classes/ConversationBar.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ConversationBar.ts#L8) +Defined in: [src/parser/classes/ConversationBar.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ConversationBar.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ConversationBar.ts:8](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ConversationBar'` -Defined in: [src/parser/classes/ConversationBar.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ConversationBar.ts#L6) +Defined in: [src/parser/classes/ConversationBar.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ConversationBar.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ConversationBar.ts:6](https://github.com/LuanRT/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ConversationBar & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CopyLink.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CopyLink.md index 55157765..aea618ce 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CopyLink.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CopyLink.md @@ -2,7 +2,7 @@ # Class: CopyLink -Defined in: [src/parser/classes/CopyLink.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CopyLink.ts#L5) +Defined in: [src/parser/classes/CopyLink.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CopyLink.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/CopyLink.ts:5](https://github.com/LuanRT/YouTube > **new CopyLink**(`data`): `CopyLink` -Defined in: [src/parser/classes/CopyLink.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CopyLink.ts#L12) +Defined in: [src/parser/classes/CopyLink.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CopyLink.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/CopyLink.ts:12](https://github.com/LuanRT/YouTub > **copy\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/CopyLink.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CopyLink.ts#L8) +Defined in: [src/parser/classes/CopyLink.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CopyLink.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/CopyLink.ts:8](https://github.com/LuanRT/YouTube > **short\_url**: `string` -Defined in: [src/parser/classes/CopyLink.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CopyLink.ts#L9) +Defined in: [src/parser/classes/CopyLink.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CopyLink.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/CopyLink.ts:9](https://github.com/LuanRT/YouTube > **style**: `string` -Defined in: [src/parser/classes/CopyLink.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CopyLink.ts#L10) +Defined in: [src/parser/classes/CopyLink.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CopyLink.ts#L10) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/CopyLink.ts:10](https://github.com/LuanRT/YouTub > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CopyLink'` -Defined in: [src/parser/classes/CopyLink.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CopyLink.ts#L6) +Defined in: [src/parser/classes/CopyLink.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CopyLink.ts#L6) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/CopyLink.ts:6](https://github.com/LuanRT/YouTube > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CopyLink & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CreateCommentEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CreateCommentEndpoint.md index 2aafbf9c..73399164 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CreateCommentEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CreateCommentEndpoint.md @@ -2,7 +2,7 @@ # Class: CreateCommentEndpoint -Defined in: [src/parser/classes/endpoints/CreateCommentEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/CreateCommentEndpoint.ts#L6) +Defined in: [src/parser/classes/endpoints/CreateCommentEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/CreateCommentEndpoint.ts#L6) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/parser/classes/endpoints/CreateCommentEndpoint.ts:6](https://gi > **new CreateCommentEndpoint**(`data`): `CreateCommentEndpoint` -Defined in: [src/parser/classes/endpoints/CreateCommentEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/CreateCommentEndpoint.ts#L11) +Defined in: [src/parser/classes/endpoints/CreateCommentEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/CreateCommentEndpoint.ts#L11) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/endpoints/CreateCommentEndpoint.ts:11](https://g > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -52,7 +52,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CreateCommentEndpoint'` -Defined in: [src/parser/classes/endpoints/CreateCommentEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/CreateCommentEndpoint.ts#L7) +Defined in: [src/parser/classes/endpoints/CreateCommentEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/CreateCommentEndpoint.ts#L7) #### Overrides @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/endpoints/CreateCommentEndpoint.ts:7](https://gi > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -106,7 +106,7 @@ If the node is not of the given type > **buildRequest**(): [`CreateCommentRequest`](../../../../type-aliases/CreateCommentRequest.md) -Defined in: [src/parser/classes/endpoints/CreateCommentEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/CreateCommentEndpoint.ts#L20) +Defined in: [src/parser/classes/endpoints/CreateCommentEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/CreateCommentEndpoint.ts#L20) #### Returns @@ -122,7 +122,7 @@ Defined in: [src/parser/classes/endpoints/CreateCommentEndpoint.ts:20](https://g > **getApiPath**(): `string` -Defined in: [src/parser/classes/endpoints/CreateCommentEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/CreateCommentEndpoint.ts#L16) +Defined in: [src/parser/classes/endpoints/CreateCommentEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/CreateCommentEndpoint.ts#L16) #### Returns @@ -138,7 +138,7 @@ Defined in: [src/parser/classes/endpoints/CreateCommentEndpoint.ts:16](https://g > **hasKey**\<`T`, `R`\>(`key`): `this is CreateCommentEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -176,7 +176,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -214,7 +214,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CreatePlaylistDialog.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CreatePlaylistDialog.md index acc776f1..a9d5d702 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CreatePlaylistDialog.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CreatePlaylistDialog.md @@ -2,7 +2,7 @@ # Class: CreatePlaylistDialog -Defined in: [src/parser/classes/CreatePlaylistDialog.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CreatePlaylistDialog.ts#L7) +Defined in: [src/parser/classes/CreatePlaylistDialog.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CreatePlaylistDialog.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/CreatePlaylistDialog.ts:7](https://github.com/Lu > **new CreatePlaylistDialog**(`data`): `CreatePlaylistDialog` -Defined in: [src/parser/classes/CreatePlaylistDialog.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CreatePlaylistDialog.ts#L16) +Defined in: [src/parser/classes/CreatePlaylistDialog.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CreatePlaylistDialog.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/CreatePlaylistDialog.ts:16](https://github.com/L > **cancel\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/CreatePlaylistDialog.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CreatePlaylistDialog.ts#L13) +Defined in: [src/parser/classes/CreatePlaylistDialog.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CreatePlaylistDialog.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/CreatePlaylistDialog.ts:13](https://github.com/L > **create\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/CreatePlaylistDialog.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CreatePlaylistDialog.ts#L14) +Defined in: [src/parser/classes/CreatePlaylistDialog.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CreatePlaylistDialog.ts#L14) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/CreatePlaylistDialog.ts:14](https://github.com/L > **privacy\_option**: [`Dropdown`](Dropdown.md) \| `null` -Defined in: [src/parser/classes/CreatePlaylistDialog.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CreatePlaylistDialog.ts#L12) +Defined in: [src/parser/classes/CreatePlaylistDialog.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CreatePlaylistDialog.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/CreatePlaylistDialog.ts:12](https://github.com/L > **title**: `string` -Defined in: [src/parser/classes/CreatePlaylistDialog.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CreatePlaylistDialog.ts#L10) +Defined in: [src/parser/classes/CreatePlaylistDialog.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CreatePlaylistDialog.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/CreatePlaylistDialog.ts:10](https://github.com/L > **title\_placeholder**: `string` -Defined in: [src/parser/classes/CreatePlaylistDialog.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CreatePlaylistDialog.ts#L11) +Defined in: [src/parser/classes/CreatePlaylistDialog.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CreatePlaylistDialog.ts#L11) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/CreatePlaylistDialog.ts:11](https://github.com/L > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CreatePlaylistDialog'` -Defined in: [src/parser/classes/CreatePlaylistDialog.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CreatePlaylistDialog.ts#L8) +Defined in: [src/parser/classes/CreatePlaylistDialog.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CreatePlaylistDialog.ts#L8) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/CreatePlaylistDialog.ts:8](https://github.com/Lu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CreatePlaylistDialog & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CreatePlaylistDialogFormView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CreatePlaylistDialogFormView.md index 87097448..f8fc60a4 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CreatePlaylistDialogFormView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CreatePlaylistDialogFormView.md @@ -2,7 +2,7 @@ # Class: CreatePlaylistDialogFormView -Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CreatePlaylistDialogFormView.ts#L6) +Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CreatePlaylistDialogFormView.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:6](https://githu > **new CreatePlaylistDialogFormView**(`data`): `CreatePlaylistDialogFormView` -Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CreatePlaylistDialogFormView.ts#L16) +Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CreatePlaylistDialogFormView.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:16](https://gith > **create\_playlist\_params\_collaboration\_disabled**: `string` -Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CreatePlaylistDialogFormView.ts#L13) +Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CreatePlaylistDialogFormView.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:13](https://gith > **create\_playlist\_params\_collaboration\_enabled**: `string` -Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CreatePlaylistDialogFormView.ts#L12) +Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CreatePlaylistDialogFormView.ts#L12) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:12](https://gith > **disable\_playlist\_collaborate**: `boolean` -Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CreatePlaylistDialogFormView.ts#L11) +Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CreatePlaylistDialogFormView.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:11](https://gith > **playlist\_title**: [`TextFieldView`](TextFieldView.md) \| `null` -Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CreatePlaylistDialogFormView.ts#L9) +Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CreatePlaylistDialogFormView.ts#L9) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:9](https://githu > **playlist\_visibility**: [`DropdownView`](DropdownView.md) \| `null` -Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CreatePlaylistDialogFormView.ts#L10) +Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CreatePlaylistDialogFormView.ts#L10) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:10](https://gith > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_ids**: `string`[] -Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CreatePlaylistDialogFormView.ts#L14) +Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CreatePlaylistDialogFormView.ts#L14) *** @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:14](https://gith > `static` **type**: `string` = `'CreatePlaylistDialogFormView'` -Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/CreatePlaylistDialogFormView.ts#L7) +Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/CreatePlaylistDialogFormView.ts#L7) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/CreatePlaylistDialogFormView.ts:7](https://githu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CreatePlaylistDialogFormView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CreatePlaylistServiceEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CreatePlaylistServiceEndpoint.md index e0ef1533..8159c5ea 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CreatePlaylistServiceEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CreatePlaylistServiceEndpoint.md @@ -2,7 +2,7 @@ # Class: CreatePlaylistServiceEndpoint -Defined in: [src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts#L6) +Defined in: [src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts#L6) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts:6](ht > **new CreatePlaylistServiceEndpoint**(`data`): `CreatePlaylistServiceEndpoint` -Defined in: [src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts#L11) +Defined in: [src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts#L11) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts:11](h > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -52,7 +52,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CreatePlaylistServiceEndpoint'` -Defined in: [src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts#L7) +Defined in: [src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts#L7) #### Overrides @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts:7](ht > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -106,7 +106,7 @@ If the node is not of the given type > **buildRequest**(): [`CreatePlaylistServiceRequest`](../../../../type-aliases/CreatePlaylistServiceRequest.md) -Defined in: [src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts#L20) +Defined in: [src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts#L20) #### Returns @@ -122,7 +122,7 @@ Defined in: [src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts:20](h > **getApiPath**(): `string` -Defined in: [src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts#L16) +Defined in: [src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts#L16) #### Returns @@ -138,7 +138,7 @@ Defined in: [src/parser/classes/endpoints/CreatePlaylistServiceEndpoint.ts:16](h > **hasKey**\<`T`, `R`\>(`key`): `this is CreatePlaylistServiceEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -176,7 +176,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -214,7 +214,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CreatorHeart.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CreatorHeart.md index aae7ab50..02709510 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CreatorHeart.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CreatorHeart.md @@ -2,7 +2,7 @@ # Class: CreatorHeart -Defined in: [src/parser/classes/comments/CreatorHeart.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CreatorHeart.ts#L5) +Defined in: [src/parser/classes/comments/CreatorHeart.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CreatorHeart.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/comments/CreatorHeart.ts:5](https://github.com/L > **new CreatorHeart**(`data`): `CreatorHeart` -Defined in: [src/parser/classes/comments/CreatorHeart.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CreatorHeart.ts#L20) +Defined in: [src/parser/classes/comments/CreatorHeart.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CreatorHeart.ts#L20) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/comments/CreatorHeart.ts:20](https://github.com/ > **creator\_thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/comments/CreatorHeart.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CreatorHeart.ts#L8) +Defined in: [src/parser/classes/comments/CreatorHeart.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CreatorHeart.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/comments/CreatorHeart.ts:8](https://github.com/L > **heart\_color**: `object` -Defined in: [src/parser/classes/comments/CreatorHeart.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CreatorHeart.ts#L10) +Defined in: [src/parser/classes/comments/CreatorHeart.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CreatorHeart.ts#L10) #### basic\_color\_palette\_data @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/comments/CreatorHeart.ts:10](https://github.com/ > `optional` **heart\_icon\_type**: `string` -Defined in: [src/parser/classes/comments/CreatorHeart.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CreatorHeart.ts#L9) +Defined in: [src/parser/classes/comments/CreatorHeart.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CreatorHeart.ts#L9) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/comments/CreatorHeart.ts:9](https://github.com/L > **hearted\_tooltip**: `string` -Defined in: [src/parser/classes/comments/CreatorHeart.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CreatorHeart.ts#L15) +Defined in: [src/parser/classes/comments/CreatorHeart.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CreatorHeart.ts#L15) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/comments/CreatorHeart.ts:15](https://github.com/ > **is\_enabled**: `boolean` -Defined in: [src/parser/classes/comments/CreatorHeart.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CreatorHeart.ts#L17) +Defined in: [src/parser/classes/comments/CreatorHeart.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CreatorHeart.ts#L17) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/comments/CreatorHeart.ts:17](https://github.com/ > **is\_hearted**: `boolean` -Defined in: [src/parser/classes/comments/CreatorHeart.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CreatorHeart.ts#L16) +Defined in: [src/parser/classes/comments/CreatorHeart.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CreatorHeart.ts#L16) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/comments/CreatorHeart.ts:16](https://github.com/ > **kennedy\_heart\_color\_string**: `string` -Defined in: [src/parser/classes/comments/CreatorHeart.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CreatorHeart.ts#L18) +Defined in: [src/parser/classes/comments/CreatorHeart.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CreatorHeart.ts#L18) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/comments/CreatorHeart.ts:18](https://github.com/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -112,7 +112,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'CreatorHeart'` -Defined in: [src/parser/classes/comments/CreatorHeart.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/CreatorHeart.ts#L6) +Defined in: [src/parser/classes/comments/CreatorHeart.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/CreatorHeart.ts#L6) #### Overrides @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/comments/CreatorHeart.ts:6](https://github.com/L > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -166,7 +166,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CreatorHeart & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -204,7 +204,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -242,7 +242,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/CreatorHeartView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/CreatorHeartView.md index d8597448..ed174e55 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/CreatorHeartView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/CreatorHeartView.md @@ -2,7 +2,7 @@ # Class: CreatorHeartView -Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/CreatorHeartView.ts#L5) +Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/CreatorHeartView.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:5](https://gi > **new CreatorHeartView**(`data`): `CreatorHeartView` -Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/CreatorHeartView.ts#L23) +Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/CreatorHeartView.ts#L23) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:23](https://g > **creator\_thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/CreatorHeartView.ts#L8) +Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/CreatorHeartView.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:8](https://gi > **engagement\_state\_key**: `string` -Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/CreatorHeartView.ts#L21) +Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/CreatorHeartView.ts#L21) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:21](https://g > **hearted\_accessibility\_label**: `string` -Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/CreatorHeartView.ts#L19) +Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/CreatorHeartView.ts#L19) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:19](https://g > **hearted\_hover\_text**: `string` -Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/CreatorHeartView.ts#L18) +Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/CreatorHeartView.ts#L18) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:18](https://g > **hearted\_icon\_name**: `string` -Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/CreatorHeartView.ts#L9) +Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/CreatorHeartView.ts#L9) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:9](https://gi > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **unhearted\_accessibility\_label**: `string` -Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/CreatorHeartView.ts#L20) +Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/CreatorHeartView.ts#L20) *** @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:20](https://g > **unhearted\_icon\_name**: `string` -Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/CreatorHeartView.ts#L10) +Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/CreatorHeartView.ts#L10) *** @@ -104,7 +104,7 @@ Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:10](https://g > **unhearted\_icon\_processor**: `object` -Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/CreatorHeartView.ts#L11) +Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/CreatorHeartView.ts#L11) #### border\_image\_processor @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:11](https://g > `static` **type**: `string` = `'CreatorHeartView'` -Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/CreatorHeartView.ts#L6) +Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/CreatorHeartView.ts#L6) #### Overrides @@ -136,7 +136,7 @@ Defined in: [src/parser/classes/livechat/items/CreatorHeartView.ts:6](https://gi > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -178,7 +178,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is CreatorHeartView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -216,7 +216,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -254,7 +254,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/DecoratedAvatarView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/DecoratedAvatarView.md index f1467950..9e90aade 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/DecoratedAvatarView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/DecoratedAvatarView.md @@ -2,7 +2,7 @@ # Class: DecoratedAvatarView -Defined in: [src/parser/classes/DecoratedAvatarView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DecoratedAvatarView.ts#L6) +Defined in: [src/parser/classes/DecoratedAvatarView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DecoratedAvatarView.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/DecoratedAvatarView.ts:6](https://github.com/Lua > **new DecoratedAvatarView**(`data`): `DecoratedAvatarView` -Defined in: [src/parser/classes/DecoratedAvatarView.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DecoratedAvatarView.ts#L13) +Defined in: [src/parser/classes/DecoratedAvatarView.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DecoratedAvatarView.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/DecoratedAvatarView.ts:13](https://github.com/Lu > **a11y\_label**: `string` -Defined in: [src/parser/classes/DecoratedAvatarView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DecoratedAvatarView.ts#L10) +Defined in: [src/parser/classes/DecoratedAvatarView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DecoratedAvatarView.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/DecoratedAvatarView.ts:10](https://github.com/Lu > **avatar**: [`AvatarView`](AvatarView.md) \| `null` -Defined in: [src/parser/classes/DecoratedAvatarView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DecoratedAvatarView.ts#L9) +Defined in: [src/parser/classes/DecoratedAvatarView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DecoratedAvatarView.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/DecoratedAvatarView.ts:9](https://github.com/Lua > **renderer\_context**: [`RendererContext`](../../Misc/classes/RendererContext.md) -Defined in: [src/parser/classes/DecoratedAvatarView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DecoratedAvatarView.ts#L11) +Defined in: [src/parser/classes/DecoratedAvatarView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DecoratedAvatarView.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/DecoratedAvatarView.ts:11](https://github.com/Lu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'DecoratedAvatarView'` -Defined in: [src/parser/classes/DecoratedAvatarView.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DecoratedAvatarView.ts#L7) +Defined in: [src/parser/classes/DecoratedAvatarView.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DecoratedAvatarView.ts#L7) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/DecoratedAvatarView.ts:7](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is DecoratedAvatarView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/DecoratedPlayerBar.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/DecoratedPlayerBar.md index 02911606..2ca6a328 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/DecoratedPlayerBar.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/DecoratedPlayerBar.md @@ -2,7 +2,7 @@ # Class: DecoratedPlayerBar -Defined in: [src/parser/classes/DecoratedPlayerBar.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DecoratedPlayerBar.ts#L7) +Defined in: [src/parser/classes/DecoratedPlayerBar.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DecoratedPlayerBar.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/DecoratedPlayerBar.ts:7](https://github.com/Luan > **new DecoratedPlayerBar**(`data`): `DecoratedPlayerBar` -Defined in: [src/parser/classes/DecoratedPlayerBar.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DecoratedPlayerBar.ts#L13) +Defined in: [src/parser/classes/DecoratedPlayerBar.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DecoratedPlayerBar.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/DecoratedPlayerBar.ts:13](https://github.com/Lua > **player\_bar**: [`MultiMarkersPlayerBar`](MultiMarkersPlayerBar.md) \| `null` -Defined in: [src/parser/classes/DecoratedPlayerBar.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DecoratedPlayerBar.ts#L10) +Defined in: [src/parser/classes/DecoratedPlayerBar.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DecoratedPlayerBar.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/DecoratedPlayerBar.ts:10](https://github.com/Lua > **player\_bar\_action\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/DecoratedPlayerBar.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DecoratedPlayerBar.ts#L11) +Defined in: [src/parser/classes/DecoratedPlayerBar.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DecoratedPlayerBar.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/DecoratedPlayerBar.ts:11](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'DecoratedPlayerBar'` -Defined in: [src/parser/classes/DecoratedPlayerBar.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DecoratedPlayerBar.ts#L8) +Defined in: [src/parser/classes/DecoratedPlayerBar.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DecoratedPlayerBar.ts#L8) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/DecoratedPlayerBar.ts:8](https://github.com/Luan > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is DecoratedPlayerBar & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/DefaultPromoPanel.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/DefaultPromoPanel.md index d70cbf6c..67fe1c17 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/DefaultPromoPanel.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/DefaultPromoPanel.md @@ -2,7 +2,7 @@ # Class: DefaultPromoPanel -Defined in: [src/parser/classes/DefaultPromoPanel.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DefaultPromoPanel.ts#L6) +Defined in: [src/parser/classes/DefaultPromoPanel.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DefaultPromoPanel.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/DefaultPromoPanel.ts:6](https://github.com/LuanR > **new DefaultPromoPanel**(`data`): `DefaultPromoPanel` -Defined in: [src/parser/classes/DefaultPromoPanel.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DefaultPromoPanel.ts#L21) +Defined in: [src/parser/classes/DefaultPromoPanel.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DefaultPromoPanel.ts#L21) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/DefaultPromoPanel.ts:21](https://github.com/Luan > **description**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/DefaultPromoPanel.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DefaultPromoPanel.ts#L10) +Defined in: [src/parser/classes/DefaultPromoPanel.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DefaultPromoPanel.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/DefaultPromoPanel.ts:10](https://github.com/Luan > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/DefaultPromoPanel.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DefaultPromoPanel.ts#L11) +Defined in: [src/parser/classes/DefaultPromoPanel.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DefaultPromoPanel.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/DefaultPromoPanel.ts:11](https://github.com/Luan > **large\_form\_factor\_background\_thumbnail**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/DefaultPromoPanel.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DefaultPromoPanel.ts#L12) +Defined in: [src/parser/classes/DefaultPromoPanel.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DefaultPromoPanel.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/DefaultPromoPanel.ts:12](https://github.com/Luan > **metadata\_order**: `string` -Defined in: [src/parser/classes/DefaultPromoPanel.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DefaultPromoPanel.ts#L18) +Defined in: [src/parser/classes/DefaultPromoPanel.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DefaultPromoPanel.ts#L18) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/DefaultPromoPanel.ts:18](https://github.com/Luan > **min\_panel\_display\_duration\_ms**: `number` -Defined in: [src/parser/classes/DefaultPromoPanel.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DefaultPromoPanel.ts#L15) +Defined in: [src/parser/classes/DefaultPromoPanel.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DefaultPromoPanel.ts#L15) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/DefaultPromoPanel.ts:15](https://github.com/Luan > **min\_video\_play\_duration\_ms**: `number` -Defined in: [src/parser/classes/DefaultPromoPanel.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DefaultPromoPanel.ts#L16) +Defined in: [src/parser/classes/DefaultPromoPanel.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DefaultPromoPanel.ts#L16) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/DefaultPromoPanel.ts:16](https://github.com/Luan > **panel\_layout**: `string` -Defined in: [src/parser/classes/DefaultPromoPanel.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DefaultPromoPanel.ts#L19) +Defined in: [src/parser/classes/DefaultPromoPanel.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DefaultPromoPanel.ts#L19) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/DefaultPromoPanel.ts:19](https://github.com/Luan > **scrim\_color\_values**: `number`[] -Defined in: [src/parser/classes/DefaultPromoPanel.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DefaultPromoPanel.ts#L14) +Defined in: [src/parser/classes/DefaultPromoPanel.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DefaultPromoPanel.ts#L14) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/DefaultPromoPanel.ts:14](https://github.com/Luan > **scrim\_duration**: `number` -Defined in: [src/parser/classes/DefaultPromoPanel.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DefaultPromoPanel.ts#L17) +Defined in: [src/parser/classes/DefaultPromoPanel.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DefaultPromoPanel.ts#L17) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/DefaultPromoPanel.ts:17](https://github.com/Luan > **small\_form\_factor\_background\_thumbnail**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/DefaultPromoPanel.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DefaultPromoPanel.ts#L13) +Defined in: [src/parser/classes/DefaultPromoPanel.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DefaultPromoPanel.ts#L13) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/DefaultPromoPanel.ts:13](https://github.com/Luan > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/DefaultPromoPanel.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DefaultPromoPanel.ts#L9) +Defined in: [src/parser/classes/DefaultPromoPanel.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DefaultPromoPanel.ts#L9) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/DefaultPromoPanel.ts:9](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -136,7 +136,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'DefaultPromoPanel'` -Defined in: [src/parser/classes/DefaultPromoPanel.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DefaultPromoPanel.ts#L7) +Defined in: [src/parser/classes/DefaultPromoPanel.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DefaultPromoPanel.ts#L7) #### Overrides @@ -148,7 +148,7 @@ Defined in: [src/parser/classes/DefaultPromoPanel.ts:7](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -190,7 +190,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is DefaultPromoPanel & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -228,7 +228,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -266,7 +266,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/DeletePlaylistEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/DeletePlaylistEndpoint.md index 887232d2..f3ec864d 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/DeletePlaylistEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/DeletePlaylistEndpoint.md @@ -2,7 +2,7 @@ # Class: DeletePlaylistEndpoint -Defined in: [src/parser/classes/endpoints/DeletePlaylistEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/DeletePlaylistEndpoint.ts#L6) +Defined in: [src/parser/classes/endpoints/DeletePlaylistEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/DeletePlaylistEndpoint.ts#L6) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/parser/classes/endpoints/DeletePlaylistEndpoint.ts:6](https://g > **new DeletePlaylistEndpoint**(`data`): `DeletePlaylistEndpoint` -Defined in: [src/parser/classes/endpoints/DeletePlaylistEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/DeletePlaylistEndpoint.ts#L11) +Defined in: [src/parser/classes/endpoints/DeletePlaylistEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/DeletePlaylistEndpoint.ts#L11) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/endpoints/DeletePlaylistEndpoint.ts:11](https:// > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -52,7 +52,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'DeletePlaylistEndpoint'` -Defined in: [src/parser/classes/endpoints/DeletePlaylistEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/DeletePlaylistEndpoint.ts#L7) +Defined in: [src/parser/classes/endpoints/DeletePlaylistEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/DeletePlaylistEndpoint.ts#L7) #### Overrides @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/endpoints/DeletePlaylistEndpoint.ts:7](https://g > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -106,7 +106,7 @@ If the node is not of the given type > **buildRequest**(): [`DeletePlaylistServiceRequest`](../../../../type-aliases/DeletePlaylistServiceRequest.md) -Defined in: [src/parser/classes/endpoints/DeletePlaylistEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/DeletePlaylistEndpoint.ts#L20) +Defined in: [src/parser/classes/endpoints/DeletePlaylistEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/DeletePlaylistEndpoint.ts#L20) #### Returns @@ -122,7 +122,7 @@ Defined in: [src/parser/classes/endpoints/DeletePlaylistEndpoint.ts:20](https:// > **getApiPath**(): `string` -Defined in: [src/parser/classes/endpoints/DeletePlaylistEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/DeletePlaylistEndpoint.ts#L16) +Defined in: [src/parser/classes/endpoints/DeletePlaylistEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/DeletePlaylistEndpoint.ts#L16) #### Returns @@ -138,7 +138,7 @@ Defined in: [src/parser/classes/endpoints/DeletePlaylistEndpoint.ts:16](https:// > **hasKey**\<`T`, `R`\>(`key`): `this is DeletePlaylistEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -176,7 +176,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -214,7 +214,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/DescriptionPreviewView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/DescriptionPreviewView.md index e5539f7b..09d8fa37 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/DescriptionPreviewView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/DescriptionPreviewView.md @@ -2,7 +2,7 @@ # Class: DescriptionPreviewView -Defined in: [src/parser/classes/DescriptionPreviewView.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DescriptionPreviewView.ts#L7) +Defined in: [src/parser/classes/DescriptionPreviewView.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DescriptionPreviewView.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/DescriptionPreviewView.ts:7](https://github.com/ > **new DescriptionPreviewView**(`data`): `DescriptionPreviewView` -Defined in: [src/parser/classes/DescriptionPreviewView.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DescriptionPreviewView.ts#L26) +Defined in: [src/parser/classes/DescriptionPreviewView.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DescriptionPreviewView.ts#L26) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/DescriptionPreviewView.ts:26](https://github.com > **always\_show\_truncation\_text**: `boolean` -Defined in: [src/parser/classes/DescriptionPreviewView.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DescriptionPreviewView.ts#L13) +Defined in: [src/parser/classes/DescriptionPreviewView.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DescriptionPreviewView.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/DescriptionPreviewView.ts:13](https://github.com > `optional` **description**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/DescriptionPreviewView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DescriptionPreviewView.ts#L10) +Defined in: [src/parser/classes/DescriptionPreviewView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DescriptionPreviewView.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/DescriptionPreviewView.ts:10](https://github.com > `optional` **max\_lines**: `number` -Defined in: [src/parser/classes/DescriptionPreviewView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DescriptionPreviewView.ts#L11) +Defined in: [src/parser/classes/DescriptionPreviewView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DescriptionPreviewView.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/DescriptionPreviewView.ts:11](https://github.com > `optional` **more\_endpoint**: `object` -Defined in: [src/parser/classes/DescriptionPreviewView.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DescriptionPreviewView.ts#L14) +Defined in: [src/parser/classes/DescriptionPreviewView.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DescriptionPreviewView.ts#L14) #### show\_engagement\_panel\_endpoint @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/DescriptionPreviewView.ts:14](https://github.com > **renderer\_context**: [`RendererContext`](../../Misc/classes/RendererContext.md) -Defined in: [src/parser/classes/DescriptionPreviewView.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DescriptionPreviewView.ts#L24) +Defined in: [src/parser/classes/DescriptionPreviewView.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DescriptionPreviewView.ts#L24) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/DescriptionPreviewView.ts:24](https://github.com > `optional` **truncation\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/DescriptionPreviewView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DescriptionPreviewView.ts#L12) +Defined in: [src/parser/classes/DescriptionPreviewView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DescriptionPreviewView.ts#L12) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/DescriptionPreviewView.ts:12](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -120,7 +120,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'DescriptionPreviewView'` -Defined in: [src/parser/classes/DescriptionPreviewView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DescriptionPreviewView.ts#L8) +Defined in: [src/parser/classes/DescriptionPreviewView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DescriptionPreviewView.ts#L8) #### Overrides @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/DescriptionPreviewView.ts:8](https://github.com/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -174,7 +174,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is DescriptionPreviewView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -212,7 +212,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -250,7 +250,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/DialogHeaderView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/DialogHeaderView.md index f5fb4311..7b8acdc3 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/DialogHeaderView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/DialogHeaderView.md @@ -2,7 +2,7 @@ # Class: DialogHeaderView -Defined in: [src/parser/classes/DialogHeaderView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DialogHeaderView.ts#L5) +Defined in: [src/parser/classes/DialogHeaderView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DialogHeaderView.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/DialogHeaderView.ts:5](https://github.com/LuanRT > **new DialogHeaderView**(`data`): `DialogHeaderView` -Defined in: [src/parser/classes/DialogHeaderView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DialogHeaderView.ts#L10) +Defined in: [src/parser/classes/DialogHeaderView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DialogHeaderView.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/DialogHeaderView.ts:10](https://github.com/LuanR > **headline**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/DialogHeaderView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DialogHeaderView.ts#L8) +Defined in: [src/parser/classes/DialogHeaderView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DialogHeaderView.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/DialogHeaderView.ts:8](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'DialogHeaderView'` -Defined in: [src/parser/classes/DialogHeaderView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DialogHeaderView.ts#L6) +Defined in: [src/parser/classes/DialogHeaderView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DialogHeaderView.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/DialogHeaderView.ts:6](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is DialogHeaderView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/DialogView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/DialogView.md index dd614ba3..4a3c21d8 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/DialogView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/DialogView.md @@ -2,7 +2,7 @@ # Class: DialogView -Defined in: [src/parser/classes/DialogView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DialogView.ts#L9) +Defined in: [src/parser/classes/DialogView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DialogView.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/DialogView.ts:9](https://github.com/LuanRT/YouTu > **new DialogView**(`data`): `DialogView` -Defined in: [src/parser/classes/DialogView.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DialogView.ts#L16) +Defined in: [src/parser/classes/DialogView.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DialogView.ts#L16) #### Parameters @@ -34,9 +34,9 @@ Defined in: [src/parser/classes/DialogView.ts:16](https://github.com/LuanRT/YouT ### custom\_content -> **custom\_content**: [`CreatePlaylistDialogFormView`](CreatePlaylistDialogFormView.md) \| [`ListView`](ListView.md) \| `null` +> **custom\_content**: [`ListView`](ListView.md) \| [`CreatePlaylistDialogFormView`](CreatePlaylistDialogFormView.md) \| `null` -Defined in: [src/parser/classes/DialogView.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DialogView.ts#L14) +Defined in: [src/parser/classes/DialogView.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DialogView.ts#L14) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/DialogView.ts:14](https://github.com/LuanRT/YouT > **footer**: [`PanelFooterView`](PanelFooterView.md) \| [`FormFooterView`](FormFooterView.md) \| `null` -Defined in: [src/parser/classes/DialogView.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DialogView.ts#L13) +Defined in: [src/parser/classes/DialogView.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DialogView.ts#L13) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/DialogView.ts:13](https://github.com/LuanRT/YouT > **header**: [`DialogHeaderView`](DialogHeaderView.md) \| `null` -Defined in: [src/parser/classes/DialogView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DialogView.ts#L12) +Defined in: [src/parser/classes/DialogView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DialogView.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/DialogView.ts:12](https://github.com/LuanRT/YouT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'DialogView'` -Defined in: [src/parser/classes/DialogView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DialogView.ts#L10) +Defined in: [src/parser/classes/DialogView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DialogView.ts#L10) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/DialogView.ts:10](https://github.com/LuanRT/YouT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is DialogView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/DidYouMean.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/DidYouMean.md index 0b91b208..a45fe300 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/DidYouMean.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/DidYouMean.md @@ -2,7 +2,7 @@ # Class: DidYouMean -Defined in: [src/parser/classes/DidYouMean.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DidYouMean.ts#L6) +Defined in: [src/parser/classes/DidYouMean.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DidYouMean.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/DidYouMean.ts:6](https://github.com/LuanRT/YouTu > **new DidYouMean**(`data`): `DidYouMean` -Defined in: [src/parser/classes/DidYouMean.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DidYouMean.ts#L13) +Defined in: [src/parser/classes/DidYouMean.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DidYouMean.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/DidYouMean.ts:13](https://github.com/LuanRT/YouT > **corrected\_query**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/DidYouMean.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DidYouMean.ts#L10) +Defined in: [src/parser/classes/DidYouMean.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DidYouMean.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/DidYouMean.ts:10](https://github.com/LuanRT/YouT > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/DidYouMean.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DidYouMean.ts#L11) +Defined in: [src/parser/classes/DidYouMean.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DidYouMean.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/DidYouMean.ts:11](https://github.com/LuanRT/YouT > **text**: `string` -Defined in: [src/parser/classes/DidYouMean.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DidYouMean.ts#L9) +Defined in: [src/parser/classes/DidYouMean.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DidYouMean.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/DidYouMean.ts:9](https://github.com/LuanRT/YouTu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'DidYouMean'` -Defined in: [src/parser/classes/DidYouMean.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DidYouMean.ts#L7) +Defined in: [src/parser/classes/DidYouMean.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DidYouMean.ts#L7) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/DidYouMean.ts:7](https://github.com/LuanRT/YouTu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is DidYouMean & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/DimChatItemAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/DimChatItemAction.md index becd9699..c984f5b9 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/DimChatItemAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/DimChatItemAction.md @@ -2,7 +2,7 @@ # Class: DimChatItemAction -Defined in: [src/parser/classes/livechat/DimChatItemAction.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/DimChatItemAction.ts#L4) +Defined in: [src/parser/classes/livechat/DimChatItemAction.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/DimChatItemAction.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/DimChatItemAction.ts:4](https://github. > **new DimChatItemAction**(`data`): `DimChatItemAction` -Defined in: [src/parser/classes/livechat/DimChatItemAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/DimChatItemAction.ts#L9) +Defined in: [src/parser/classes/livechat/DimChatItemAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/DimChatItemAction.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/DimChatItemAction.ts:9](https://github. > **client\_assigned\_id**: `string` -Defined in: [src/parser/classes/livechat/DimChatItemAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/DimChatItemAction.ts#L7) +Defined in: [src/parser/classes/livechat/DimChatItemAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/DimChatItemAction.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/DimChatItemAction.ts:7](https://github. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'DimChatItemAction'` -Defined in: [src/parser/classes/livechat/DimChatItemAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/DimChatItemAction.ts#L5) +Defined in: [src/parser/classes/livechat/DimChatItemAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/DimChatItemAction.ts#L5) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/DimChatItemAction.ts:5](https://github. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is DimChatItemAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/DislikeButtonView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/DislikeButtonView.md index e0719695..14beb612 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/DislikeButtonView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/DislikeButtonView.md @@ -2,7 +2,7 @@ # Class: DislikeButtonView -Defined in: [src/parser/classes/DislikeButtonView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DislikeButtonView.ts#L5) +Defined in: [src/parser/classes/DislikeButtonView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DislikeButtonView.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/DislikeButtonView.ts:5](https://github.com/LuanR > **new DislikeButtonView**(`data`): `DislikeButtonView` -Defined in: [src/parser/classes/DislikeButtonView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DislikeButtonView.ts#L11) +Defined in: [src/parser/classes/DislikeButtonView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DislikeButtonView.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/DislikeButtonView.ts:11](https://github.com/Luan > **dislike\_entity\_key**: `string` -Defined in: [src/parser/classes/DislikeButtonView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DislikeButtonView.ts#L9) +Defined in: [src/parser/classes/DislikeButtonView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DislikeButtonView.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/DislikeButtonView.ts:9](https://github.com/LuanR > **toggle\_button**: [`ToggleButtonView`](ToggleButtonView.md) \| `null` -Defined in: [src/parser/classes/DislikeButtonView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DislikeButtonView.ts#L8) +Defined in: [src/parser/classes/DislikeButtonView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DislikeButtonView.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/DislikeButtonView.ts:8](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'DislikeButtonView'` -Defined in: [src/parser/classes/DislikeButtonView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DislikeButtonView.ts#L6) +Defined in: [src/parser/classes/DislikeButtonView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DislikeButtonView.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/DislikeButtonView.ts:6](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is DislikeButtonView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/DismissableDialog.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/DismissableDialog.md index 59faa3fa..be9011cd 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/DismissableDialog.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/DismissableDialog.md @@ -2,7 +2,7 @@ # Class: DismissableDialog -Defined in: [src/parser/classes/DismissableDialog.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DismissableDialog.ts#L5) +Defined in: [src/parser/classes/DismissableDialog.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DismissableDialog.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/DismissableDialog.ts:5](https://github.com/LuanR > **new DismissableDialog**(`data`): `DismissableDialog` -Defined in: [src/parser/classes/DismissableDialog.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DismissableDialog.ts#L13) +Defined in: [src/parser/classes/DismissableDialog.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DismissableDialog.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/DismissableDialog.ts:13](https://github.com/Luan > **display\_style**: `string` -Defined in: [src/parser/classes/DismissableDialog.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DismissableDialog.ts#L11) +Defined in: [src/parser/classes/DismissableDialog.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DismissableDialog.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/DismissableDialog.ts:11](https://github.com/Luan > **metadata**: [`YTNode`](../../Helpers/classes/YTNode.md) \| `null` -Defined in: [src/parser/classes/DismissableDialog.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DismissableDialog.ts#L10) +Defined in: [src/parser/classes/DismissableDialog.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DismissableDialog.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/DismissableDialog.ts:10](https://github.com/Luan > **sections**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`DismissableDialogContentSection`](DismissableDialogContentSection.md)\> -Defined in: [src/parser/classes/DismissableDialog.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DismissableDialog.ts#L9) +Defined in: [src/parser/classes/DismissableDialog.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DismissableDialog.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/DismissableDialog.ts:9](https://github.com/LuanR > **title**: `string` -Defined in: [src/parser/classes/DismissableDialog.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DismissableDialog.ts#L8) +Defined in: [src/parser/classes/DismissableDialog.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DismissableDialog.ts#L8) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/DismissableDialog.ts:8](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'DismissableDialog'` -Defined in: [src/parser/classes/DismissableDialog.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DismissableDialog.ts#L6) +Defined in: [src/parser/classes/DismissableDialog.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DismissableDialog.ts#L6) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/DismissableDialog.ts:6](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is DismissableDialog & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/DismissableDialogContentSection.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/DismissableDialogContentSection.md index 6f30691b..1d1b7e26 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/DismissableDialogContentSection.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/DismissableDialogContentSection.md @@ -2,7 +2,7 @@ # Class: DismissableDialogContentSection -Defined in: [src/parser/classes/DismissableDialogContentSection.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DismissableDialogContentSection.ts#L5) +Defined in: [src/parser/classes/DismissableDialogContentSection.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DismissableDialogContentSection.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/DismissableDialogContentSection.ts:5](https://gi > **new DismissableDialogContentSection**(`data`): `DismissableDialogContentSection` -Defined in: [src/parser/classes/DismissableDialogContentSection.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DismissableDialogContentSection.ts#L11) +Defined in: [src/parser/classes/DismissableDialogContentSection.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DismissableDialogContentSection.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/DismissableDialogContentSection.ts:11](https://g > **subtitle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/DismissableDialogContentSection.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DismissableDialogContentSection.ts#L9) +Defined in: [src/parser/classes/DismissableDialogContentSection.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DismissableDialogContentSection.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/DismissableDialogContentSection.ts:9](https://gi > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/DismissableDialogContentSection.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DismissableDialogContentSection.ts#L8) +Defined in: [src/parser/classes/DismissableDialogContentSection.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DismissableDialogContentSection.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/DismissableDialogContentSection.ts:8](https://gi > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'DismissableDialogContentSection'` -Defined in: [src/parser/classes/DismissableDialogContentSection.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DismissableDialogContentSection.ts#L6) +Defined in: [src/parser/classes/DismissableDialogContentSection.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DismissableDialogContentSection.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/DismissableDialogContentSection.ts:6](https://gi > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is DismissableDialogContentSection & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/DownloadButton.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/DownloadButton.md index 95919036..032d176f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/DownloadButton.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/DownloadButton.md @@ -2,7 +2,7 @@ # Class: DownloadButton -Defined in: [src/parser/classes/DownloadButton.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DownloadButton.ts#L5) +Defined in: [src/parser/classes/DownloadButton.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DownloadButton.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/DownloadButton.ts:5](https://github.com/LuanRT/Y > **new DownloadButton**(`data`): `DownloadButton` -Defined in: [src/parser/classes/DownloadButton.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DownloadButton.ts#L13) +Defined in: [src/parser/classes/DownloadButton.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DownloadButton.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/DownloadButton.ts:13](https://github.com/LuanRT/ > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/DownloadButton.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DownloadButton.ts#L10) +Defined in: [src/parser/classes/DownloadButton.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DownloadButton.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/DownloadButton.ts:10](https://github.com/LuanRT/ > **size**: `string` -Defined in: [src/parser/classes/DownloadButton.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DownloadButton.ts#L9) +Defined in: [src/parser/classes/DownloadButton.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DownloadButton.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/DownloadButton.ts:9](https://github.com/LuanRT/Y > **style**: `string` -Defined in: [src/parser/classes/DownloadButton.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DownloadButton.ts#L8) +Defined in: [src/parser/classes/DownloadButton.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DownloadButton.ts#L8) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/DownloadButton.ts:8](https://github.com/LuanRT/Y > **target\_id**: `string` -Defined in: [src/parser/classes/DownloadButton.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DownloadButton.ts#L11) +Defined in: [src/parser/classes/DownloadButton.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DownloadButton.ts#L11) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/DownloadButton.ts:11](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'DownloadButton'` -Defined in: [src/parser/classes/DownloadButton.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DownloadButton.ts#L6) +Defined in: [src/parser/classes/DownloadButton.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DownloadButton.ts#L6) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/DownloadButton.ts:6](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is DownloadButton & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/DownloadListItemView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/DownloadListItemView.md new file mode 100644 index 00000000..2a3ed15b --- /dev/null +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/DownloadListItemView.md @@ -0,0 +1,223 @@ +[youtubei.js](../../../../README.md) / [YTNodes](../README.md) / DownloadListItemView + +# Class: DownloadListItemView + +Defined in: [src/parser/classes/DownloadListItemView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DownloadListItemView.ts#L5) + +## Extends + +- [`YTNode`](../../Helpers/classes/YTNode.md) + +## Constructors + +### Constructor + +> **new DownloadListItemView**(`data`): `DownloadListItemView` + +Defined in: [src/parser/classes/DownloadListItemView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DownloadListItemView.ts#L10) + +#### Parameters + +##### data + +[`RawNode`](../../../../type-aliases/RawNode.md) + +#### Returns + +`DownloadListItemView` + +#### Overrides + +[`YTNode`](../../Helpers/classes/YTNode.md).[`constructor`](../../Helpers/classes/YTNode.md#constructor) + +## Properties + +### renderer\_context? + +> `optional` **renderer\_context**: [`RendererContext`](../../Misc/classes/RendererContext.md) + +Defined in: [src/parser/classes/DownloadListItemView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DownloadListItemView.ts#L8) + +*** + +### type + +> `readonly` **type**: `string` + +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`type`](../../Helpers/classes/YTNode.md#type) + +*** + +### type + +> `static` **type**: `string` = `'DownloadListItemView'` + +Defined in: [src/parser/classes/DownloadListItemView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DownloadListItemView.ts#L6) + +#### Overrides + +[`YTNode`](../../Helpers/classes/YTNode.md).[`type`](../../Helpers/classes/YTNode.md#type-1) + +## Methods + +### as() + +> **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> + +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) + +Cast to one of the given types. + +#### Type Parameters + +##### T + +`T` *extends* [`YTNode`](../../Helpers/classes/YTNode.md) + +##### K + +`K` *extends* [`YTNodeConstructor`](../../Helpers/interfaces/YTNodeConstructor.md)\<`T`\>[] + +#### Parameters + +##### types + +...`K` + +The types to cast to + +#### Returns + +`InstanceType`\<`K`\[`number`\]\> + +The node cast to one of the given types + +#### Throws + +If the node is not of the given type + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`as`](../../Helpers/classes/YTNode.md#as) + +*** + +### hasKey() + +> **hasKey**\<`T`, `R`\>(`key`): `this is DownloadListItemView & { [k in string]: R }` + +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) + +Check for a key without asserting the type. + +#### Type Parameters + +##### T + +`T` *extends* `string` + +##### R + +`R` = `any` + +#### Parameters + +##### key + +`T` + +The key to check + +#### Returns + +`this is DownloadListItemView & { [k in string]: R }` + +Whether the node has the key + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`hasKey`](../../Helpers/classes/YTNode.md#haskey) + +*** + +### is() + +> **is**\<`T`, `K`\>(...`types`): `this is InstanceType` + +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) + +Check if the node is of the given type. + +#### Type Parameters + +##### T + +`T` *extends* [`YTNode`](../../Helpers/classes/YTNode.md) + +##### K + +`K` *extends* [`YTNodeConstructor`](../../Helpers/interfaces/YTNodeConstructor.md)\<`T`\>[] + +#### Parameters + +##### types + +...`K` + +The type to check + +#### Returns + +`this is InstanceType` + +whether the node is of the given type + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`is`](../../Helpers/classes/YTNode.md#is) + +*** + +### key() + +> **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) + +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) + +Assert that the node has the given key and return it. + +#### Type Parameters + +##### T + +`T` *extends* `string` + +##### R + +`R` = `any` + +#### Parameters + +##### key + +`T` + +The key to check + +#### Returns + +[`Maybe`](../../Helpers/classes/Maybe.md) + +The value of the key wrapped in a Maybe + +#### Throws + +If the node does not have the key + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`key`](../../Helpers/classes/YTNode.md#key) diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Dropdown.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Dropdown.md index 6f54b5fb..84bbd742 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Dropdown.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Dropdown.md @@ -2,7 +2,7 @@ # Class: Dropdown -Defined in: [src/parser/classes/Dropdown.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Dropdown.ts#L5) +Defined in: [src/parser/classes/Dropdown.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Dropdown.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/Dropdown.ts:5](https://github.com/LuanRT/YouTube > **new Dropdown**(`data`): `Dropdown` -Defined in: [src/parser/classes/Dropdown.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Dropdown.ts#L11) +Defined in: [src/parser/classes/Dropdown.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Dropdown.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/Dropdown.ts:11](https://github.com/LuanRT/YouTub > **entries**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`DropdownItem`](DropdownItem.md)\> -Defined in: [src/parser/classes/Dropdown.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Dropdown.ts#L9) +Defined in: [src/parser/classes/Dropdown.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Dropdown.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/Dropdown.ts:9](https://github.com/LuanRT/YouTube > **label**: `string` -Defined in: [src/parser/classes/Dropdown.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Dropdown.ts#L8) +Defined in: [src/parser/classes/Dropdown.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Dropdown.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/Dropdown.ts:8](https://github.com/LuanRT/YouTube > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'Dropdown'` -Defined in: [src/parser/classes/Dropdown.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Dropdown.ts#L6) +Defined in: [src/parser/classes/Dropdown.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Dropdown.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/Dropdown.ts:6](https://github.com/LuanRT/YouTube > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Dropdown & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/DropdownItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/DropdownItem.md index 539ffc41..a2930789 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/DropdownItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/DropdownItem.md @@ -2,7 +2,7 @@ # Class: DropdownItem -Defined in: [src/parser/classes/DropdownItem.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownItem.ts#L6) +Defined in: [src/parser/classes/DropdownItem.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownItem.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/DropdownItem.ts:6](https://github.com/LuanRT/You > **new DropdownItem**(`data`): `DropdownItem` -Defined in: [src/parser/classes/DropdownItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownItem.ts#L16) +Defined in: [src/parser/classes/DropdownItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownItem.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/DropdownItem.ts:16](https://github.com/LuanRT/Yo > `optional` **description**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/DropdownItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownItem.ts#L13) +Defined in: [src/parser/classes/DropdownItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownItem.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/DropdownItem.ts:13](https://github.com/LuanRT/Yo > `optional` **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/DropdownItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownItem.ts#L14) +Defined in: [src/parser/classes/DropdownItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownItem.ts#L14) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/DropdownItem.ts:14](https://github.com/LuanRT/Yo > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/DropdownItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownItem.ts#L12) +Defined in: [src/parser/classes/DropdownItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownItem.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/DropdownItem.ts:12](https://github.com/LuanRT/Yo > **label**: `string` -Defined in: [src/parser/classes/DropdownItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownItem.ts#L9) +Defined in: [src/parser/classes/DropdownItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownItem.ts#L9) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/DropdownItem.ts:9](https://github.com/LuanRT/You > **selected**: `boolean` -Defined in: [src/parser/classes/DropdownItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownItem.ts#L10) +Defined in: [src/parser/classes/DropdownItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownItem.ts#L10) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/DropdownItem.ts:10](https://github.com/LuanRT/Yo > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **value**: `string` \| `number` -Defined in: [src/parser/classes/DropdownItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownItem.ts#L11) +Defined in: [src/parser/classes/DropdownItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownItem.ts#L11) *** @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/DropdownItem.ts:11](https://github.com/LuanRT/Yo > `static` **type**: `string` = `'DropdownItem'` -Defined in: [src/parser/classes/DropdownItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownItem.ts#L7) +Defined in: [src/parser/classes/DropdownItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownItem.ts#L7) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/DropdownItem.ts:7](https://github.com/LuanRT/You > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is DropdownItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/DropdownView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/DropdownView.md index d545595c..3d118886 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/DropdownView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/DropdownView.md @@ -2,7 +2,7 @@ # Class: DropdownView -Defined in: [src/parser/classes/DropdownView.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownView.ts#L17) +Defined in: [src/parser/classes/DropdownView.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownView.ts#L17) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/DropdownView.ts:17](https://github.com/LuanRT/Yo > **new DropdownView**(`data`): `DropdownView` -Defined in: [src/parser/classes/DropdownView.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownView.ts#L27) +Defined in: [src/parser/classes/DropdownView.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownView.ts#L27) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/DropdownView.ts:27](https://github.com/LuanRT/Yo > **disabled**: `boolean` -Defined in: [src/parser/classes/DropdownView.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownView.ts#L22) +Defined in: [src/parser/classes/DropdownView.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownView.ts#L22) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/DropdownView.ts:22](https://github.com/LuanRT/Yo > **dropdown\_type**: `string` -Defined in: [src/parser/classes/DropdownView.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownView.ts#L24) +Defined in: [src/parser/classes/DropdownView.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownView.ts#L24) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/DropdownView.ts:24](https://github.com/LuanRT/Yo > **id**: `string` -Defined in: [src/parser/classes/DropdownView.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownView.ts#L25) +Defined in: [src/parser/classes/DropdownView.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownView.ts#L25) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/DropdownView.ts:25](https://github.com/LuanRT/Yo > **label**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/DropdownView.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownView.ts#L20) +Defined in: [src/parser/classes/DropdownView.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownView.ts#L20) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/DropdownView.ts:20](https://github.com/LuanRT/Yo > `optional` **options**: `Option`[] -Defined in: [src/parser/classes/DropdownView.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownView.ts#L23) +Defined in: [src/parser/classes/DropdownView.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownView.ts#L23) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/DropdownView.ts:23](https://github.com/LuanRT/Yo > **placeholder\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/DropdownView.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownView.ts#L21) +Defined in: [src/parser/classes/DropdownView.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownView.ts#L21) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/DropdownView.ts:21](https://github.com/LuanRT/Yo > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'DropdownView'` -Defined in: [src/parser/classes/DropdownView.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DropdownView.ts#L18) +Defined in: [src/parser/classes/DropdownView.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DropdownView.ts#L18) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/DropdownView.ts:18](https://github.com/LuanRT/Yo > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is DropdownView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/DynamicTextView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/DynamicTextView.md index afa20a0a..fee8d519 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/DynamicTextView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/DynamicTextView.md @@ -2,7 +2,7 @@ # Class: DynamicTextView -Defined in: [src/parser/classes/DynamicTextView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DynamicTextView.ts#L5) +Defined in: [src/parser/classes/DynamicTextView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DynamicTextView.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/DynamicTextView.ts:5](https://github.com/LuanRT/ > **new DynamicTextView**(`data`): `DynamicTextView` -Defined in: [src/parser/classes/DynamicTextView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DynamicTextView.ts#L11) +Defined in: [src/parser/classes/DynamicTextView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DynamicTextView.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/DynamicTextView.ts:11](https://github.com/LuanRT > **max\_lines**: `number` -Defined in: [src/parser/classes/DynamicTextView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DynamicTextView.ts#L9) +Defined in: [src/parser/classes/DynamicTextView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DynamicTextView.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/DynamicTextView.ts:9](https://github.com/LuanRT/ > **text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/DynamicTextView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DynamicTextView.ts#L8) +Defined in: [src/parser/classes/DynamicTextView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DynamicTextView.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/DynamicTextView.ts:8](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'DynamicTextView'` -Defined in: [src/parser/classes/DynamicTextView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/DynamicTextView.ts#L6) +Defined in: [src/parser/classes/DynamicTextView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/DynamicTextView.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/DynamicTextView.ts:6](https://github.com/LuanRT/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is DynamicTextView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Element.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Element.md index 1c86f485..e2ce21b4 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Element.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Element.md @@ -2,7 +2,7 @@ # Class: Element -Defined in: [src/parser/classes/Element.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Element.ts#L5) +Defined in: [src/parser/classes/Element.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Element.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/Element.ts:5](https://github.com/LuanRT/YouTube. > **new Element**(`data`): `Element` -Defined in: [src/parser/classes/Element.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Element.ts#L11) +Defined in: [src/parser/classes/Element.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Element.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/Element.ts:11](https://github.com/LuanRT/YouTube > `optional` **child\_elements**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ChildElement`](../../Misc/classes/ChildElement.md)\> -Defined in: [src/parser/classes/Element.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Element.ts#L9) +Defined in: [src/parser/classes/Element.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Element.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/Element.ts:9](https://github.com/LuanRT/YouTube. > `optional` **model**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/Element.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Element.ts#L8) +Defined in: [src/parser/classes/Element.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Element.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/Element.ts:8](https://github.com/LuanRT/YouTube. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'Element'` -Defined in: [src/parser/classes/Element.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Element.ts#L6) +Defined in: [src/parser/classes/Element.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Element.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/Element.ts:6](https://github.com/LuanRT/YouTube. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Element & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/EmergencyOnebox.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/EmergencyOnebox.md index 1b68acda..8146cdc4 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/EmergencyOnebox.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/EmergencyOnebox.md @@ -2,7 +2,7 @@ # Class: EmergencyOnebox -Defined in: [src/parser/classes/EmergencyOnebox.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmergencyOnebox.ts#L6) +Defined in: [src/parser/classes/EmergencyOnebox.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmergencyOnebox.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/EmergencyOnebox.ts:6](https://github.com/LuanRT/ > **new EmergencyOnebox**(`data`): `EmergencyOnebox` -Defined in: [src/parser/classes/EmergencyOnebox.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmergencyOnebox.ts#L13) +Defined in: [src/parser/classes/EmergencyOnebox.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmergencyOnebox.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/EmergencyOnebox.ts:13](https://github.com/LuanRT > **first\_option**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/EmergencyOnebox.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmergencyOnebox.ts#L10) +Defined in: [src/parser/classes/EmergencyOnebox.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmergencyOnebox.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/EmergencyOnebox.ts:10](https://github.com/LuanRT > **menu**: [`Menu`](Menu.md) \| `null` -Defined in: [src/parser/classes/EmergencyOnebox.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmergencyOnebox.ts#L11) +Defined in: [src/parser/classes/EmergencyOnebox.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmergencyOnebox.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/EmergencyOnebox.ts:11](https://github.com/LuanRT > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/EmergencyOnebox.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmergencyOnebox.ts#L9) +Defined in: [src/parser/classes/EmergencyOnebox.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmergencyOnebox.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/EmergencyOnebox.ts:9](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'EmergencyOnebox'` -Defined in: [src/parser/classes/EmergencyOnebox.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmergencyOnebox.ts#L7) +Defined in: [src/parser/classes/EmergencyOnebox.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmergencyOnebox.ts#L7) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/EmergencyOnebox.ts:7](https://github.com/LuanRT/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is EmergencyOnebox & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/EmojiPicker.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/EmojiPicker.md index 50ebc10b..f269fcf4 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/EmojiPicker.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/EmojiPicker.md @@ -2,7 +2,7 @@ # Class: EmojiPicker -Defined in: [src/parser/classes/comments/EmojiPicker.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/EmojiPicker.ts#L6) +Defined in: [src/parser/classes/comments/EmojiPicker.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/EmojiPicker.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/comments/EmojiPicker.ts:6](https://github.com/Lu > **new EmojiPicker**(`data`): `EmojiPicker` -Defined in: [src/parser/classes/comments/EmojiPicker.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/EmojiPicker.ts#L23) +Defined in: [src/parser/classes/comments/EmojiPicker.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/EmojiPicker.ts#L23) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/comments/EmojiPicker.ts:23](https://github.com/L > **categories**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/comments/EmojiPicker.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/EmojiPicker.ts#L10) +Defined in: [src/parser/classes/comments/EmojiPicker.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/EmojiPicker.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/comments/EmojiPicker.ts:10](https://github.com/L > **category\_buttons**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/comments/EmojiPicker.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/EmojiPicker.ts#L11) +Defined in: [src/parser/classes/comments/EmojiPicker.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/EmojiPicker.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/comments/EmojiPicker.ts:11](https://github.com/L > **clear\_search\_label**: `string` -Defined in: [src/parser/classes/comments/EmojiPicker.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/EmojiPicker.ts#L15) +Defined in: [src/parser/classes/comments/EmojiPicker.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/EmojiPicker.ts#L15) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/comments/EmojiPicker.ts:15](https://github.com/L > **id**: `string` -Defined in: [src/parser/classes/comments/EmojiPicker.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/EmojiPicker.ts#L9) +Defined in: [src/parser/classes/comments/EmojiPicker.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/EmojiPicker.ts#L9) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/comments/EmojiPicker.ts:9](https://github.com/Lu > **pick\_skin\_tone**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/comments/EmojiPicker.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/EmojiPicker.ts#L14) +Defined in: [src/parser/classes/comments/EmojiPicker.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/EmojiPicker.ts#L14) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/comments/EmojiPicker.ts:14](https://github.com/L > **search\_no\_results**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/comments/EmojiPicker.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/EmojiPicker.ts#L13) +Defined in: [src/parser/classes/comments/EmojiPicker.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/EmojiPicker.ts#L13) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/comments/EmojiPicker.ts:13](https://github.com/L > **search\_placeholder**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/comments/EmojiPicker.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/EmojiPicker.ts#L12) +Defined in: [src/parser/classes/comments/EmojiPicker.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/EmojiPicker.ts#L12) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/comments/EmojiPicker.ts:12](https://github.com/L > **skin\_tone\_dark\_label**: `string` -Defined in: [src/parser/classes/comments/EmojiPicker.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/EmojiPicker.ts#L21) +Defined in: [src/parser/classes/comments/EmojiPicker.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/EmojiPicker.ts#L21) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/comments/EmojiPicker.ts:21](https://github.com/L > **skin\_tone\_generic\_label**: `string` -Defined in: [src/parser/classes/comments/EmojiPicker.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/EmojiPicker.ts#L16) +Defined in: [src/parser/classes/comments/EmojiPicker.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/EmojiPicker.ts#L16) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/comments/EmojiPicker.ts:16](https://github.com/L > **skin\_tone\_light\_label**: `string` -Defined in: [src/parser/classes/comments/EmojiPicker.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/EmojiPicker.ts#L17) +Defined in: [src/parser/classes/comments/EmojiPicker.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/EmojiPicker.ts#L17) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/comments/EmojiPicker.ts:17](https://github.com/L > **skin\_tone\_medium\_dark\_label**: `string` -Defined in: [src/parser/classes/comments/EmojiPicker.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/EmojiPicker.ts#L20) +Defined in: [src/parser/classes/comments/EmojiPicker.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/EmojiPicker.ts#L20) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/comments/EmojiPicker.ts:20](https://github.com/L > **skin\_tone\_medium\_label**: `string` -Defined in: [src/parser/classes/comments/EmojiPicker.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/EmojiPicker.ts#L19) +Defined in: [src/parser/classes/comments/EmojiPicker.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/EmojiPicker.ts#L19) *** @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/comments/EmojiPicker.ts:19](https://github.com/L > **skin\_tone\_medium\_light\_label**: `string` -Defined in: [src/parser/classes/comments/EmojiPicker.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/EmojiPicker.ts#L18) +Defined in: [src/parser/classes/comments/EmojiPicker.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/EmojiPicker.ts#L18) *** @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/comments/EmojiPicker.ts:18](https://github.com/L > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -152,7 +152,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'EmojiPicker'` -Defined in: [src/parser/classes/comments/EmojiPicker.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/EmojiPicker.ts#L7) +Defined in: [src/parser/classes/comments/EmojiPicker.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/EmojiPicker.ts#L7) #### Overrides @@ -164,7 +164,7 @@ Defined in: [src/parser/classes/comments/EmojiPicker.ts:7](https://github.com/Lu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -206,7 +206,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is EmojiPicker & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -244,7 +244,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -282,7 +282,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/EmojiPickerCategory.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/EmojiPickerCategory.md index e4bb1dce..0359d7b5 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/EmojiPickerCategory.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/EmojiPickerCategory.md @@ -2,7 +2,7 @@ # Class: EmojiPickerCategory -Defined in: [src/parser/classes/EmojiPickerCategory.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmojiPickerCategory.ts#L5) +Defined in: [src/parser/classes/EmojiPickerCategory.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmojiPickerCategory.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/EmojiPickerCategory.ts:5](https://github.com/Lua > **new EmojiPickerCategory**(`data`): `EmojiPickerCategory` -Defined in: [src/parser/classes/EmojiPickerCategory.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmojiPickerCategory.ts#L14) +Defined in: [src/parser/classes/EmojiPickerCategory.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmojiPickerCategory.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/EmojiPickerCategory.ts:14](https://github.com/Lu > **category\_id**: `string` -Defined in: [src/parser/classes/EmojiPickerCategory.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmojiPickerCategory.ts#L8) +Defined in: [src/parser/classes/EmojiPickerCategory.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmojiPickerCategory.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/EmojiPickerCategory.ts:8](https://github.com/Lua > **category\_type**: `string` -Defined in: [src/parser/classes/EmojiPickerCategory.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmojiPickerCategory.ts#L12) +Defined in: [src/parser/classes/EmojiPickerCategory.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmojiPickerCategory.ts#L12) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/EmojiPickerCategory.ts:12](https://github.com/Lu > **emoji\_ids**: `string`[] -Defined in: [src/parser/classes/EmojiPickerCategory.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmojiPickerCategory.ts#L10) +Defined in: [src/parser/classes/EmojiPickerCategory.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmojiPickerCategory.ts#L10) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/EmojiPickerCategory.ts:10](https://github.com/Lu > **image\_loading\_lazy**: `boolean` -Defined in: [src/parser/classes/EmojiPickerCategory.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmojiPickerCategory.ts#L11) +Defined in: [src/parser/classes/EmojiPickerCategory.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmojiPickerCategory.ts#L11) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/EmojiPickerCategory.ts:11](https://github.com/Lu > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/EmojiPickerCategory.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmojiPickerCategory.ts#L9) +Defined in: [src/parser/classes/EmojiPickerCategory.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmojiPickerCategory.ts#L9) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/EmojiPickerCategory.ts:9](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'EmojiPickerCategory'` -Defined in: [src/parser/classes/EmojiPickerCategory.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmojiPickerCategory.ts#L6) +Defined in: [src/parser/classes/EmojiPickerCategory.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmojiPickerCategory.ts#L6) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/EmojiPickerCategory.ts:6](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is EmojiPickerCategory & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/EmojiPickerCategoryButton.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/EmojiPickerCategoryButton.md index 9e3ed625..acdb2760 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/EmojiPickerCategoryButton.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/EmojiPickerCategoryButton.md @@ -2,7 +2,7 @@ # Class: EmojiPickerCategoryButton -Defined in: [src/parser/classes/EmojiPickerCategoryButton.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmojiPickerCategoryButton.ts#L4) +Defined in: [src/parser/classes/EmojiPickerCategoryButton.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmojiPickerCategoryButton.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/EmojiPickerCategoryButton.ts:4](https://github.c > **new EmojiPickerCategoryButton**(`data`): `EmojiPickerCategoryButton` -Defined in: [src/parser/classes/EmojiPickerCategoryButton.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmojiPickerCategoryButton.ts#L11) +Defined in: [src/parser/classes/EmojiPickerCategoryButton.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmojiPickerCategoryButton.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/EmojiPickerCategoryButton.ts:11](https://github. > **category\_id**: `string` -Defined in: [src/parser/classes/EmojiPickerCategoryButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmojiPickerCategoryButton.ts#L7) +Defined in: [src/parser/classes/EmojiPickerCategoryButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmojiPickerCategoryButton.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/EmojiPickerCategoryButton.ts:7](https://github.c > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/EmojiPickerCategoryButton.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmojiPickerCategoryButton.ts#L8) +Defined in: [src/parser/classes/EmojiPickerCategoryButton.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmojiPickerCategoryButton.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/EmojiPickerCategoryButton.ts:8](https://github.c > **tooltip**: `string` -Defined in: [src/parser/classes/EmojiPickerCategoryButton.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmojiPickerCategoryButton.ts#L9) +Defined in: [src/parser/classes/EmojiPickerCategoryButton.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmojiPickerCategoryButton.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/EmojiPickerCategoryButton.ts:9](https://github.c > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'EmojiPickerCategoryButton'` -Defined in: [src/parser/classes/EmojiPickerCategoryButton.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmojiPickerCategoryButton.ts#L5) +Defined in: [src/parser/classes/EmojiPickerCategoryButton.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmojiPickerCategoryButton.ts#L5) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/EmojiPickerCategoryButton.ts:5](https://github.c > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is EmojiPickerCategoryButton & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/EmojiPickerUpsellCategory.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/EmojiPickerUpsellCategory.md index 16408f7f..0bef71eb 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/EmojiPickerUpsellCategory.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/EmojiPickerUpsellCategory.md @@ -2,7 +2,7 @@ # Class: EmojiPickerUpsellCategory -Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmojiPickerUpsellCategory.ts#L6) +Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmojiPickerUpsellCategory.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:6](https://github.c > **new EmojiPickerUpsellCategory**(`data`): `EmojiPickerUpsellCategory` -Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmojiPickerUpsellCategory.ts#L16) +Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmojiPickerUpsellCategory.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:16](https://github. > **category\_id**: `string` -Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmojiPickerUpsellCategory.ts#L9) +Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmojiPickerUpsellCategory.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:9](https://github.c > **emoji\_ids**: `string`[] -Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmojiPickerUpsellCategory.ts#L14) +Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmojiPickerUpsellCategory.ts#L14) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:14](https://github. > **emoji\_tooltip**: `string` -Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmojiPickerUpsellCategory.ts#L12) +Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmojiPickerUpsellCategory.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:12](https://github. > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmojiPickerUpsellCategory.ts#L13) +Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmojiPickerUpsellCategory.ts#L13) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:13](https://github. > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmojiPickerUpsellCategory.ts#L10) +Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmojiPickerUpsellCategory.ts#L10) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:10](https://github. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **upsell**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmojiPickerUpsellCategory.ts#L11) +Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmojiPickerUpsellCategory.ts#L11) *** @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:11](https://github. > `static` **type**: `string` = `'EmojiPickerUpsellCategory'` -Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EmojiPickerUpsellCategory.ts#L7) +Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EmojiPickerUpsellCategory.ts#L7) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/EmojiPickerUpsellCategory.ts:7](https://github.c > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is EmojiPickerUpsellCategory & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/EndScreenPlaylist.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/EndScreenPlaylist.md index 5acf1662..7855488d 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/EndScreenPlaylist.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/EndScreenPlaylist.md @@ -2,7 +2,7 @@ # Class: EndScreenPlaylist -Defined in: [src/parser/classes/EndScreenPlaylist.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndScreenPlaylist.ts#L7) +Defined in: [src/parser/classes/EndScreenPlaylist.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndScreenPlaylist.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/EndScreenPlaylist.ts:7](https://github.com/LuanR > **new EndScreenPlaylist**(`data`): `EndScreenPlaylist` -Defined in: [src/parser/classes/EndScreenPlaylist.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndScreenPlaylist.ts#L17) +Defined in: [src/parser/classes/EndScreenPlaylist.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndScreenPlaylist.ts#L17) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/EndScreenPlaylist.ts:17](https://github.com/Luan > **author**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/EndScreenPlaylist.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndScreenPlaylist.ts#L12) +Defined in: [src/parser/classes/EndScreenPlaylist.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndScreenPlaylist.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/EndScreenPlaylist.ts:12](https://github.com/Luan > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/EndScreenPlaylist.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndScreenPlaylist.ts#L13) +Defined in: [src/parser/classes/EndScreenPlaylist.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndScreenPlaylist.ts#L13) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/EndScreenPlaylist.ts:13](https://github.com/Luan > **id**: `string` -Defined in: [src/parser/classes/EndScreenPlaylist.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndScreenPlaylist.ts#L10) +Defined in: [src/parser/classes/EndScreenPlaylist.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndScreenPlaylist.ts#L10) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/EndScreenPlaylist.ts:10](https://github.com/Luan > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/EndScreenPlaylist.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndScreenPlaylist.ts#L14) +Defined in: [src/parser/classes/EndScreenPlaylist.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndScreenPlaylist.ts#L14) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/EndScreenPlaylist.ts:14](https://github.com/Luan > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/EndScreenPlaylist.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndScreenPlaylist.ts#L11) +Defined in: [src/parser/classes/EndScreenPlaylist.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndScreenPlaylist.ts#L11) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/EndScreenPlaylist.ts:11](https://github.com/Luan > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/EndScreenPlaylist.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndScreenPlaylist.ts#L15) +Defined in: [src/parser/classes/EndScreenPlaylist.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndScreenPlaylist.ts#L15) *** @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/EndScreenPlaylist.ts:15](https://github.com/Luan > `static` **type**: `string` = `'EndScreenPlaylist'` -Defined in: [src/parser/classes/EndScreenPlaylist.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndScreenPlaylist.ts#L8) +Defined in: [src/parser/classes/EndScreenPlaylist.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndScreenPlaylist.ts#L8) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/EndScreenPlaylist.ts:8](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is EndScreenPlaylist & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/EndScreenVideo.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/EndScreenVideo.md index 41769821..2884fa0b 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/EndScreenVideo.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/EndScreenVideo.md @@ -2,7 +2,7 @@ # Class: EndScreenVideo -Defined in: [src/parser/classes/EndScreenVideo.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndScreenVideo.ts#L8) +Defined in: [src/parser/classes/EndScreenVideo.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndScreenVideo.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/EndScreenVideo.ts:8](https://github.com/LuanRT/Y > **new EndScreenVideo**(`data`): `EndScreenVideo` -Defined in: [src/parser/classes/EndScreenVideo.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndScreenVideo.ts#L24) +Defined in: [src/parser/classes/EndScreenVideo.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndScreenVideo.ts#L24) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/EndScreenVideo.ts:24](https://github.com/LuanRT/ > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/EndScreenVideo.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndScreenVideo.ts#L15) +Defined in: [src/parser/classes/EndScreenVideo.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndScreenVideo.ts#L15) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/EndScreenVideo.ts:15](https://github.com/LuanRT/ > **badges**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/EndScreenVideo.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndScreenVideo.ts#L18) +Defined in: [src/parser/classes/EndScreenVideo.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndScreenVideo.ts#L18) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/EndScreenVideo.ts:18](https://github.com/LuanRT/ > **duration**: `object` -Defined in: [src/parser/classes/EndScreenVideo.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndScreenVideo.ts#L19) +Defined in: [src/parser/classes/EndScreenVideo.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndScreenVideo.ts#L19) #### seconds @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/EndScreenVideo.ts:19](https://github.com/LuanRT/ > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/EndScreenVideo.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndScreenVideo.ts#L16) +Defined in: [src/parser/classes/EndScreenVideo.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndScreenVideo.ts#L16) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/EndScreenVideo.ts:16](https://github.com/LuanRT/ > **id**: `string` -Defined in: [src/parser/classes/EndScreenVideo.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndScreenVideo.ts#L11) +Defined in: [src/parser/classes/EndScreenVideo.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndScreenVideo.ts#L11) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/EndScreenVideo.ts:11](https://github.com/LuanRT/ > **short\_view\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/EndScreenVideo.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndScreenVideo.ts#L17) +Defined in: [src/parser/classes/EndScreenVideo.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndScreenVideo.ts#L17) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/EndScreenVideo.ts:17](https://github.com/LuanRT/ > **thumbnail\_overlays**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/EndScreenVideo.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndScreenVideo.ts#L14) +Defined in: [src/parser/classes/EndScreenVideo.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndScreenVideo.ts#L14) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/EndScreenVideo.ts:14](https://github.com/LuanRT/ > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/EndScreenVideo.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndScreenVideo.ts#L13) +Defined in: [src/parser/classes/EndScreenVideo.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndScreenVideo.ts#L13) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/EndScreenVideo.ts:13](https://github.com/LuanRT/ > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/EndScreenVideo.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndScreenVideo.ts#L12) +Defined in: [src/parser/classes/EndScreenVideo.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndScreenVideo.ts#L12) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/EndScreenVideo.ts:12](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -128,7 +128,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'EndScreenVideo'` -Defined in: [src/parser/classes/EndScreenVideo.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndScreenVideo.ts#L9) +Defined in: [src/parser/classes/EndScreenVideo.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndScreenVideo.ts#L9) #### Overrides @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/EndScreenVideo.ts:9](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -182,7 +182,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is EndScreenVideo & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -220,7 +220,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -258,7 +258,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Endscreen.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Endscreen.md index 09c11bf4..8eee220f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Endscreen.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Endscreen.md @@ -2,7 +2,7 @@ # Class: Endscreen -Defined in: [src/parser/classes/Endscreen.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Endscreen.ts#L4) +Defined in: [src/parser/classes/Endscreen.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Endscreen.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/Endscreen.ts:4](https://github.com/LuanRT/YouTub > **new Endscreen**(`data`): `Endscreen` -Defined in: [src/parser/classes/Endscreen.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Endscreen.ts#L10) +Defined in: [src/parser/classes/Endscreen.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Endscreen.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/Endscreen.ts:10](https://github.com/LuanRT/YouTu > **elements**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/Endscreen.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Endscreen.ts#L7) +Defined in: [src/parser/classes/Endscreen.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Endscreen.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/Endscreen.ts:7](https://github.com/LuanRT/YouTub > **start\_ms**: `string` -Defined in: [src/parser/classes/Endscreen.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Endscreen.ts#L8) +Defined in: [src/parser/classes/Endscreen.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Endscreen.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/Endscreen.ts:8](https://github.com/LuanRT/YouTub > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'Endscreen'` -Defined in: [src/parser/classes/Endscreen.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Endscreen.ts#L5) +Defined in: [src/parser/classes/Endscreen.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Endscreen.ts#L5) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/Endscreen.ts:5](https://github.com/LuanRT/YouTub > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Endscreen & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/EndscreenElement.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/EndscreenElement.md index 0ddc9bb7..f8cf6528 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/EndscreenElement.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/EndscreenElement.md @@ -2,7 +2,7 @@ # Class: EndscreenElement -Defined in: [src/parser/classes/EndscreenElement.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndscreenElement.ts#L7) +Defined in: [src/parser/classes/EndscreenElement.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndscreenElement.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/EndscreenElement.ts:7](https://github.com/LuanRT > **new EndscreenElement**(`data`): `EndscreenElement` -Defined in: [src/parser/classes/EndscreenElement.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndscreenElement.ts#L29) +Defined in: [src/parser/classes/EndscreenElement.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndscreenElement.ts#L29) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/EndscreenElement.ts:29](https://github.com/LuanR > **aspect\_ratio**: `number` -Defined in: [src/parser/classes/EndscreenElement.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndscreenElement.ts#L24) +Defined in: [src/parser/classes/EndscreenElement.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndscreenElement.ts#L24) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/EndscreenElement.ts:24](https://github.com/LuanR > `optional` **call\_to\_action**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/EndscreenElement.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndscreenElement.ts#L16) +Defined in: [src/parser/classes/EndscreenElement.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndscreenElement.ts#L16) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/EndscreenElement.ts:16](https://github.com/LuanR > **end\_ms**: `number` -Defined in: [src/parser/classes/EndscreenElement.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndscreenElement.ts#L26) +Defined in: [src/parser/classes/EndscreenElement.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndscreenElement.ts#L26) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/EndscreenElement.ts:26](https://github.com/LuanR > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/EndscreenElement.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndscreenElement.ts#L12) +Defined in: [src/parser/classes/EndscreenElement.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndscreenElement.ts#L12) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/EndscreenElement.ts:12](https://github.com/LuanR > `optional` **hovercard\_button**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/EndscreenElement.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndscreenElement.ts#L17) +Defined in: [src/parser/classes/EndscreenElement.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndscreenElement.ts#L17) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/EndscreenElement.ts:17](https://github.com/LuanR > `optional` **icon**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/EndscreenElement.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndscreenElement.ts#L14) +Defined in: [src/parser/classes/EndscreenElement.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndscreenElement.ts#L14) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/EndscreenElement.ts:14](https://github.com/LuanR > **id**: `string` -Defined in: [src/parser/classes/EndscreenElement.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndscreenElement.ts#L27) +Defined in: [src/parser/classes/EndscreenElement.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndscreenElement.ts#L27) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/EndscreenElement.ts:27](https://github.com/LuanR > `optional` **image**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/EndscreenElement.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndscreenElement.ts#L13) +Defined in: [src/parser/classes/EndscreenElement.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndscreenElement.ts#L13) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/EndscreenElement.ts:13](https://github.com/LuanR > `optional` **is\_subscribe**: `boolean` -Defined in: [src/parser/classes/EndscreenElement.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndscreenElement.ts#L18) +Defined in: [src/parser/classes/EndscreenElement.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndscreenElement.ts#L18) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/EndscreenElement.ts:18](https://github.com/LuanR > **left**: `number` -Defined in: [src/parser/classes/EndscreenElement.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndscreenElement.ts#L21) +Defined in: [src/parser/classes/EndscreenElement.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndscreenElement.ts#L21) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/EndscreenElement.ts:21](https://github.com/LuanR > `optional` **metadata**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/EndscreenElement.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndscreenElement.ts#L15) +Defined in: [src/parser/classes/EndscreenElement.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndscreenElement.ts#L15) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/EndscreenElement.ts:15](https://github.com/LuanR > `optional` **playlist\_length**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/EndscreenElement.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndscreenElement.ts#L19) +Defined in: [src/parser/classes/EndscreenElement.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndscreenElement.ts#L19) *** @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/EndscreenElement.ts:19](https://github.com/LuanR > **start\_ms**: `number` -Defined in: [src/parser/classes/EndscreenElement.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndscreenElement.ts#L25) +Defined in: [src/parser/classes/EndscreenElement.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndscreenElement.ts#L25) *** @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/EndscreenElement.ts:25](https://github.com/LuanR > **style**: `string` -Defined in: [src/parser/classes/EndscreenElement.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndscreenElement.ts#L10) +Defined in: [src/parser/classes/EndscreenElement.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndscreenElement.ts#L10) *** @@ -148,7 +148,7 @@ Defined in: [src/parser/classes/EndscreenElement.ts:10](https://github.com/LuanR > `optional` **thumbnail\_overlays**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/EndscreenElement.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndscreenElement.ts#L20) +Defined in: [src/parser/classes/EndscreenElement.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndscreenElement.ts#L20) *** @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/EndscreenElement.ts:20](https://github.com/LuanR > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/EndscreenElement.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndscreenElement.ts#L11) +Defined in: [src/parser/classes/EndscreenElement.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndscreenElement.ts#L11) *** @@ -164,7 +164,7 @@ Defined in: [src/parser/classes/EndscreenElement.ts:11](https://github.com/LuanR > **top**: `number` -Defined in: [src/parser/classes/EndscreenElement.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndscreenElement.ts#L22) +Defined in: [src/parser/classes/EndscreenElement.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndscreenElement.ts#L22) *** @@ -172,7 +172,7 @@ Defined in: [src/parser/classes/EndscreenElement.ts:22](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -184,7 +184,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **width**: `number` -Defined in: [src/parser/classes/EndscreenElement.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndscreenElement.ts#L23) +Defined in: [src/parser/classes/EndscreenElement.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndscreenElement.ts#L23) *** @@ -192,7 +192,7 @@ Defined in: [src/parser/classes/EndscreenElement.ts:23](https://github.com/LuanR > `static` **type**: `string` = `'EndscreenElement'` -Defined in: [src/parser/classes/EndscreenElement.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EndscreenElement.ts#L8) +Defined in: [src/parser/classes/EndscreenElement.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EndscreenElement.ts#L8) #### Overrides @@ -204,7 +204,7 @@ Defined in: [src/parser/classes/EndscreenElement.ts:8](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -246,7 +246,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is EndscreenElement & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -284,7 +284,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -322,7 +322,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/EngagementPanelSectionList.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/EngagementPanelSectionList.md index 95ff4e23..1b3444a5 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/EngagementPanelSectionList.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/EngagementPanelSectionList.md @@ -2,7 +2,7 @@ # Class: EngagementPanelSectionList -Defined in: [src/parser/classes/EngagementPanelSectionList.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EngagementPanelSectionList.ts#L12) +Defined in: [src/parser/classes/EngagementPanelSectionList.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EngagementPanelSectionList.ts#L12) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/EngagementPanelSectionList.ts:12](https://github > **new EngagementPanelSectionList**(`data`): `EngagementPanelSectionList` -Defined in: [src/parser/classes/EngagementPanelSectionList.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EngagementPanelSectionList.ts#L25) +Defined in: [src/parser/classes/EngagementPanelSectionList.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EngagementPanelSectionList.ts#L25) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/EngagementPanelSectionList.ts:25](https://github > **content**: [`SectionList`](SectionList.md) \| [`VideoAttributeView`](VideoAttributeView.md) \| [`ContinuationItem`](ContinuationItem.md) \| [`ClipSection`](ClipSection.md) \| [`MacroMarkersList`](MacroMarkersList.md) \| [`ProductList`](ProductList.md) \| [`StructuredDescriptionContent`](StructuredDescriptionContent.md) \| `null` -Defined in: [src/parser/classes/EngagementPanelSectionList.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EngagementPanelSectionList.ts#L16) +Defined in: [src/parser/classes/EngagementPanelSectionList.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EngagementPanelSectionList.ts#L16) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/EngagementPanelSectionList.ts:16](https://github > **header**: [`EngagementPanelTitleHeader`](EngagementPanelTitleHeader.md) \| `null` -Defined in: [src/parser/classes/EngagementPanelSectionList.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EngagementPanelSectionList.ts#L15) +Defined in: [src/parser/classes/EngagementPanelSectionList.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EngagementPanelSectionList.ts#L15) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/EngagementPanelSectionList.ts:15](https://github > `optional` **identifier**: `object` -Defined in: [src/parser/classes/EngagementPanelSectionList.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EngagementPanelSectionList.ts#L19) +Defined in: [src/parser/classes/EngagementPanelSectionList.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EngagementPanelSectionList.ts#L19) #### surface @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/EngagementPanelSectionList.ts:19](https://github > `optional` **panel\_identifier**: `string` -Defined in: [src/parser/classes/EngagementPanelSectionList.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EngagementPanelSectionList.ts#L18) +Defined in: [src/parser/classes/EngagementPanelSectionList.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EngagementPanelSectionList.ts#L18) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/EngagementPanelSectionList.ts:18](https://github > `optional` **target\_id**: `string` -Defined in: [src/parser/classes/EngagementPanelSectionList.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EngagementPanelSectionList.ts#L17) +Defined in: [src/parser/classes/EngagementPanelSectionList.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EngagementPanelSectionList.ts#L17) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/EngagementPanelSectionList.ts:17](https://github > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **visibility**: `string` -Defined in: [src/parser/classes/EngagementPanelSectionList.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EngagementPanelSectionList.ts#L23) +Defined in: [src/parser/classes/EngagementPanelSectionList.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EngagementPanelSectionList.ts#L23) *** @@ -104,7 +104,7 @@ Defined in: [src/parser/classes/EngagementPanelSectionList.ts:23](https://github > `static` **type**: `string` = `'EngagementPanelSectionList'` -Defined in: [src/parser/classes/EngagementPanelSectionList.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EngagementPanelSectionList.ts#L13) +Defined in: [src/parser/classes/EngagementPanelSectionList.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EngagementPanelSectionList.ts#L13) #### Overrides @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/EngagementPanelSectionList.ts:13](https://github > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -158,7 +158,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is EngagementPanelSectionList & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -196,7 +196,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -234,7 +234,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/EngagementPanelTitleHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/EngagementPanelTitleHeader.md index 4fb1a03d..f76bf071 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/EngagementPanelTitleHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/EngagementPanelTitleHeader.md @@ -2,7 +2,7 @@ # Class: EngagementPanelTitleHeader -Defined in: [src/parser/classes/EngagementPanelTitleHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EngagementPanelTitleHeader.ts#L6) +Defined in: [src/parser/classes/EngagementPanelTitleHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EngagementPanelTitleHeader.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/EngagementPanelTitleHeader.ts:6](https://github. > **new EngagementPanelTitleHeader**(`data`): `EngagementPanelTitleHeader` -Defined in: [src/parser/classes/EngagementPanelTitleHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EngagementPanelTitleHeader.ts#L14) +Defined in: [src/parser/classes/EngagementPanelTitleHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EngagementPanelTitleHeader.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/EngagementPanelTitleHeader.ts:14](https://github > `optional` **contextual\_info**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/EngagementPanelTitleHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EngagementPanelTitleHeader.ts#L11) +Defined in: [src/parser/classes/EngagementPanelTitleHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EngagementPanelTitleHeader.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/EngagementPanelTitleHeader.ts:11](https://github > **menu**: [`YTNode`](../../Helpers/classes/YTNode.md) \| `null` -Defined in: [src/parser/classes/EngagementPanelTitleHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EngagementPanelTitleHeader.ts#L12) +Defined in: [src/parser/classes/EngagementPanelTitleHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EngagementPanelTitleHeader.ts#L12) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/EngagementPanelTitleHeader.ts:12](https://github > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/EngagementPanelTitleHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EngagementPanelTitleHeader.ts#L9) +Defined in: [src/parser/classes/EngagementPanelTitleHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EngagementPanelTitleHeader.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/EngagementPanelTitleHeader.ts:9](https://github. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **visibility\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/EngagementPanelTitleHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EngagementPanelTitleHeader.ts#L10) +Defined in: [src/parser/classes/EngagementPanelTitleHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EngagementPanelTitleHeader.ts#L10) *** @@ -80,7 +80,7 @@ Defined in: [src/parser/classes/EngagementPanelTitleHeader.ts:10](https://github > `static` **type**: `string` = `'EngagementPanelTitleHeader'` -Defined in: [src/parser/classes/EngagementPanelTitleHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EngagementPanelTitleHeader.ts#L7) +Defined in: [src/parser/classes/EngagementPanelTitleHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EngagementPanelTitleHeader.ts#L7) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/EngagementPanelTitleHeader.ts:7](https://github. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is EngagementPanelTitleHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/EomSettingsDisclaimer.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/EomSettingsDisclaimer.md index 5c8ca4f7..fec2552d 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/EomSettingsDisclaimer.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/EomSettingsDisclaimer.md @@ -2,7 +2,7 @@ # Class: EomSettingsDisclaimer -Defined in: [src/parser/classes/EomSettingsDisclaimer.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EomSettingsDisclaimer.ts#L5) +Defined in: [src/parser/classes/EomSettingsDisclaimer.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EomSettingsDisclaimer.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/EomSettingsDisclaimer.ts:5](https://github.com/L > **new EomSettingsDisclaimer**(`data`): `EomSettingsDisclaimer` -Defined in: [src/parser/classes/EomSettingsDisclaimer.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EomSettingsDisclaimer.ts#L14) +Defined in: [src/parser/classes/EomSettingsDisclaimer.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EomSettingsDisclaimer.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/EomSettingsDisclaimer.ts:14](https://github.com/ > **disclaimer**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/EomSettingsDisclaimer.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EomSettingsDisclaimer.ts#L8) +Defined in: [src/parser/classes/EomSettingsDisclaimer.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EomSettingsDisclaimer.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/EomSettingsDisclaimer.ts:8](https://github.com/L > **info\_icon**: `object` -Defined in: [src/parser/classes/EomSettingsDisclaimer.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EomSettingsDisclaimer.ts#L9) +Defined in: [src/parser/classes/EomSettingsDisclaimer.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EomSettingsDisclaimer.ts#L9) #### icon\_type @@ -56,7 +56,7 @@ Defined in: [src/parser/classes/EomSettingsDisclaimer.ts:9](https://github.com/L > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -68,7 +68,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **usage\_scenario**: `string` -Defined in: [src/parser/classes/EomSettingsDisclaimer.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EomSettingsDisclaimer.ts#L12) +Defined in: [src/parser/classes/EomSettingsDisclaimer.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EomSettingsDisclaimer.ts#L12) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/EomSettingsDisclaimer.ts:12](https://github.com/ > `static` **type**: `string` = `'EomSettingsDisclaimer'` -Defined in: [src/parser/classes/EomSettingsDisclaimer.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/EomSettingsDisclaimer.ts#L6) +Defined in: [src/parser/classes/EomSettingsDisclaimer.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/EomSettingsDisclaimer.ts#L6) #### Overrides @@ -88,7 +88,7 @@ Defined in: [src/parser/classes/EomSettingsDisclaimer.ts:6](https://github.com/L > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -130,7 +130,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is EomSettingsDisclaimer & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -168,7 +168,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -206,7 +206,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ExpandableMetadata.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ExpandableMetadata.md index fcdd380c..a70a08ad 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ExpandableMetadata.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ExpandableMetadata.md @@ -2,7 +2,7 @@ # Class: ExpandableMetadata -Defined in: [src/parser/classes/ExpandableMetadata.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ExpandableMetadata.ts#L9) +Defined in: [src/parser/classes/ExpandableMetadata.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ExpandableMetadata.ts#L10) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ExpandableMetadata.ts:9](https://github.com/Luan > **new ExpandableMetadata**(`data`): `ExpandableMetadata` -Defined in: [src/parser/classes/ExpandableMetadata.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ExpandableMetadata.ts#L23) +Defined in: [src/parser/classes/ExpandableMetadata.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ExpandableMetadata.ts#L24) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ExpandableMetadata.ts:23](https://github.com/Lua > **collapse\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/ExpandableMetadata.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ExpandableMetadata.ts#L21) +Defined in: [src/parser/classes/ExpandableMetadata.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ExpandableMetadata.ts#L22) *** @@ -44,15 +44,15 @@ Defined in: [src/parser/classes/ExpandableMetadata.ts:21](https://github.com/Lua > **expand\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/ExpandableMetadata.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ExpandableMetadata.ts#L20) +Defined in: [src/parser/classes/ExpandableMetadata.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ExpandableMetadata.ts#L21) *** ### expanded\_content -> **expanded\_content**: [`HorizontalCardList`](HorizontalCardList.md) \| [`HorizontalList`](HorizontalList.md) \| `null` +> **expanded\_content**: [`HorizontalCardList`](HorizontalCardList.md) \| [`HorizontalList`](HorizontalList.md) \| [`VideoSummaryContentView`](VideoSummaryContentView.md) \| `null` -Defined in: [src/parser/classes/ExpandableMetadata.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ExpandableMetadata.ts#L19) +Defined in: [src/parser/classes/ExpandableMetadata.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ExpandableMetadata.ts#L20) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ExpandableMetadata.ts:19](https://github.com/Lua > `optional` **header**: `object` -Defined in: [src/parser/classes/ExpandableMetadata.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ExpandableMetadata.ts#L12) +Defined in: [src/parser/classes/ExpandableMetadata.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ExpandableMetadata.ts#L13) #### collapsed\_label @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ExpandableMetadata.ts:12](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ExpandableMetadata'` -Defined in: [src/parser/classes/ExpandableMetadata.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ExpandableMetadata.ts#L10) +Defined in: [src/parser/classes/ExpandableMetadata.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ExpandableMetadata.ts#L11) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/ExpandableMetadata.ts:10](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ExpandableMetadata & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ExpandableTab.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ExpandableTab.md index 47208197..5ba64d6d 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ExpandableTab.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ExpandableTab.md @@ -2,7 +2,7 @@ # Class: ExpandableTab -Defined in: [src/parser/classes/ExpandableTab.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ExpandableTab.ts#L5) +Defined in: [src/parser/classes/ExpandableTab.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ExpandableTab.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ExpandableTab.ts:5](https://github.com/LuanRT/Yo > **new ExpandableTab**(`data`): `ExpandableTab` -Defined in: [src/parser/classes/ExpandableTab.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ExpandableTab.ts#L13) +Defined in: [src/parser/classes/ExpandableTab.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ExpandableTab.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ExpandableTab.ts:13](https://github.com/LuanRT/Y > **content**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/ExpandableTab.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ExpandableTab.ts#L11) +Defined in: [src/parser/classes/ExpandableTab.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ExpandableTab.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ExpandableTab.ts:11](https://github.com/LuanRT/Y > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ExpandableTab.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ExpandableTab.ts#L9) +Defined in: [src/parser/classes/ExpandableTab.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ExpandableTab.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ExpandableTab.ts:9](https://github.com/LuanRT/Yo > **selected**: `boolean` -Defined in: [src/parser/classes/ExpandableTab.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ExpandableTab.ts#L10) +Defined in: [src/parser/classes/ExpandableTab.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ExpandableTab.ts#L10) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ExpandableTab.ts:10](https://github.com/LuanRT/Y > **title**: `string` -Defined in: [src/parser/classes/ExpandableTab.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ExpandableTab.ts#L8) +Defined in: [src/parser/classes/ExpandableTab.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ExpandableTab.ts#L8) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ExpandableTab.ts:8](https://github.com/LuanRT/Yo > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ExpandableTab'` -Defined in: [src/parser/classes/ExpandableTab.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ExpandableTab.ts#L6) +Defined in: [src/parser/classes/ExpandableTab.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ExpandableTab.ts#L6) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/ExpandableTab.ts:6](https://github.com/LuanRT/Yo > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ExpandableTab & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ExpandableVideoDescriptionBody.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ExpandableVideoDescriptionBody.md index c18d141a..3851c700 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ExpandableVideoDescriptionBody.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ExpandableVideoDescriptionBody.md @@ -2,7 +2,7 @@ # Class: ExpandableVideoDescriptionBody -Defined in: [src/parser/classes/ExpandableVideoDescriptionBody.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ExpandableVideoDescriptionBody.ts#L6) +Defined in: [src/parser/classes/ExpandableVideoDescriptionBody.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ExpandableVideoDescriptionBody.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ExpandableVideoDescriptionBody.ts:6](https://git > **new ExpandableVideoDescriptionBody**(`data`): `ExpandableVideoDescriptionBody` -Defined in: [src/parser/classes/ExpandableVideoDescriptionBody.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ExpandableVideoDescriptionBody.ts#L13) +Defined in: [src/parser/classes/ExpandableVideoDescriptionBody.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ExpandableVideoDescriptionBody.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ExpandableVideoDescriptionBody.ts:13](https://gi > `optional` **attributed\_description\_body\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ExpandableVideoDescriptionBody.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ExpandableVideoDescriptionBody.ts#L11) +Defined in: [src/parser/classes/ExpandableVideoDescriptionBody.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ExpandableVideoDescriptionBody.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ExpandableVideoDescriptionBody.ts:11](https://gi > **show\_less\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ExpandableVideoDescriptionBody.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ExpandableVideoDescriptionBody.ts#L10) +Defined in: [src/parser/classes/ExpandableVideoDescriptionBody.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ExpandableVideoDescriptionBody.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ExpandableVideoDescriptionBody.ts:10](https://gi > **show\_more\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ExpandableVideoDescriptionBody.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ExpandableVideoDescriptionBody.ts#L9) +Defined in: [src/parser/classes/ExpandableVideoDescriptionBody.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ExpandableVideoDescriptionBody.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ExpandableVideoDescriptionBody.ts:9](https://git > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ExpandableVideoDescriptionBody'` -Defined in: [src/parser/classes/ExpandableVideoDescriptionBody.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ExpandableVideoDescriptionBody.ts#L7) +Defined in: [src/parser/classes/ExpandableVideoDescriptionBody.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ExpandableVideoDescriptionBody.ts#L7) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ExpandableVideoDescriptionBody.ts:7](https://git > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ExpandableVideoDescriptionBody & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ExpandedShelfContents.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ExpandedShelfContents.md index 37cd7c25..552d2fd2 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ExpandedShelfContents.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ExpandedShelfContents.md @@ -2,7 +2,7 @@ # Class: ExpandedShelfContents -Defined in: [src/parser/classes/ExpandedShelfContents.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ExpandedShelfContents.ts#L4) +Defined in: [src/parser/classes/ExpandedShelfContents.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ExpandedShelfContents.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ExpandedShelfContents.ts:4](https://github.com/L > **new ExpandedShelfContents**(`data`): `ExpandedShelfContents` -Defined in: [src/parser/classes/ExpandedShelfContents.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ExpandedShelfContents.ts#L9) +Defined in: [src/parser/classes/ExpandedShelfContents.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ExpandedShelfContents.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ExpandedShelfContents.ts:9](https://github.com/L > **items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/ExpandedShelfContents.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ExpandedShelfContents.ts#L7) +Defined in: [src/parser/classes/ExpandedShelfContents.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ExpandedShelfContents.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ExpandedShelfContents.ts:7](https://github.com/L > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ExpandedShelfContents'` -Defined in: [src/parser/classes/ExpandedShelfContents.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ExpandedShelfContents.ts#L5) +Defined in: [src/parser/classes/ExpandedShelfContents.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ExpandedShelfContents.ts#L5) #### Overrides @@ -70,7 +70,7 @@ Defined in: [src/parser/classes/ExpandedShelfContents.ts:5](https://github.com/L > **get** **contents**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/ExpandedShelfContents.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ExpandedShelfContents.ts#L15) +Defined in: [src/parser/classes/ExpandedShelfContents.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ExpandedShelfContents.ts#L15) ##### Returns @@ -82,7 +82,7 @@ Defined in: [src/parser/classes/ExpandedShelfContents.ts:15](https://github.com/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -124,7 +124,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ExpandedShelfContents & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -162,7 +162,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -200,7 +200,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Factoid.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Factoid.md index bd9d846b..0dfe8511 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Factoid.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Factoid.md @@ -2,7 +2,7 @@ # Class: Factoid -Defined in: [src/parser/classes/Factoid.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Factoid.ts#L5) +Defined in: [src/parser/classes/Factoid.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Factoid.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/Factoid.ts:5](https://github.com/LuanRT/YouTube. > **new Factoid**(`data`): `Factoid` -Defined in: [src/parser/classes/Factoid.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Factoid.ts#L12) +Defined in: [src/parser/classes/Factoid.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Factoid.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/Factoid.ts:12](https://github.com/LuanRT/YouTube > **accessibility\_text**: `string` -Defined in: [src/parser/classes/Factoid.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Factoid.ts#L10) +Defined in: [src/parser/classes/Factoid.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Factoid.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/Factoid.ts:10](https://github.com/LuanRT/YouTube > **label**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Factoid.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Factoid.ts#L8) +Defined in: [src/parser/classes/Factoid.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Factoid.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/Factoid.ts:8](https://github.com/LuanRT/YouTube. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **value**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Factoid.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Factoid.ts#L9) +Defined in: [src/parser/classes/Factoid.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Factoid.ts#L9) *** @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/Factoid.ts:9](https://github.com/LuanRT/YouTube. > `static` **type**: `string` = `'Factoid'` -Defined in: [src/parser/classes/Factoid.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Factoid.ts#L6) +Defined in: [src/parser/classes/Factoid.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Factoid.ts#L6) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/Factoid.ts:6](https://github.com/LuanRT/YouTube. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Factoid & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/FancyDismissibleDialog.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/FancyDismissibleDialog.md index a9d0337e..c6c67a69 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/FancyDismissibleDialog.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/FancyDismissibleDialog.md @@ -2,7 +2,7 @@ # Class: FancyDismissibleDialog -Defined in: [src/parser/classes/FancyDismissibleDialog.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FancyDismissibleDialog.ts#L5) +Defined in: [src/parser/classes/FancyDismissibleDialog.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FancyDismissibleDialog.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/FancyDismissibleDialog.ts:5](https://github.com/ > **new FancyDismissibleDialog**(`data`): `FancyDismissibleDialog` -Defined in: [src/parser/classes/FancyDismissibleDialog.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FancyDismissibleDialog.ts#L11) +Defined in: [src/parser/classes/FancyDismissibleDialog.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FancyDismissibleDialog.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/FancyDismissibleDialog.ts:11](https://github.com > **confirm\_label**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/FancyDismissibleDialog.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FancyDismissibleDialog.ts#L9) +Defined in: [src/parser/classes/FancyDismissibleDialog.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FancyDismissibleDialog.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/FancyDismissibleDialog.ts:9](https://github.com/ > **dialog\_message**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/FancyDismissibleDialog.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FancyDismissibleDialog.ts#L8) +Defined in: [src/parser/classes/FancyDismissibleDialog.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FancyDismissibleDialog.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/FancyDismissibleDialog.ts:8](https://github.com/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'FancyDismissibleDialog'` -Defined in: [src/parser/classes/FancyDismissibleDialog.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FancyDismissibleDialog.ts#L6) +Defined in: [src/parser/classes/FancyDismissibleDialog.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FancyDismissibleDialog.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/FancyDismissibleDialog.ts:6](https://github.com/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is FancyDismissibleDialog & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/FeedFilterChipBar.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/FeedFilterChipBar.md index 0a0ac1f2..163dcc41 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/FeedFilterChipBar.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/FeedFilterChipBar.md @@ -2,7 +2,7 @@ # Class: FeedFilterChipBar -Defined in: [src/parser/classes/FeedFilterChipBar.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FeedFilterChipBar.ts#L5) +Defined in: [src/parser/classes/FeedFilterChipBar.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FeedFilterChipBar.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/FeedFilterChipBar.ts:5](https://github.com/LuanR > **new FeedFilterChipBar**(`data`): `FeedFilterChipBar` -Defined in: [src/parser/classes/FeedFilterChipBar.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FeedFilterChipBar.ts#L10) +Defined in: [src/parser/classes/FeedFilterChipBar.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FeedFilterChipBar.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/FeedFilterChipBar.ts:10](https://github.com/Luan > **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ChipCloudChip`](ChipCloudChip.md)\> -Defined in: [src/parser/classes/FeedFilterChipBar.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FeedFilterChipBar.ts#L8) +Defined in: [src/parser/classes/FeedFilterChipBar.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FeedFilterChipBar.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/FeedFilterChipBar.ts:8](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'FeedFilterChipBar'` -Defined in: [src/parser/classes/FeedFilterChipBar.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FeedFilterChipBar.ts#L6) +Defined in: [src/parser/classes/FeedFilterChipBar.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FeedFilterChipBar.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/FeedFilterChipBar.ts:6](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is FeedFilterChipBar & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/FeedNudge.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/FeedNudge.md index cc0644f4..a2a19bd5 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/FeedNudge.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/FeedNudge.md @@ -2,7 +2,7 @@ # Class: FeedNudge -Defined in: [src/parser/classes/FeedNudge.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FeedNudge.ts#L7) +Defined in: [src/parser/classes/FeedNudge.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FeedNudge.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/FeedNudge.ts:7](https://github.com/LuanRT/YouTub > **new FeedNudge**(`data`): `FeedNudge` -Defined in: [src/parser/classes/FeedNudge.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FeedNudge.ts#L17) +Defined in: [src/parser/classes/FeedNudge.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FeedNudge.ts#L17) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/FeedNudge.ts:17](https://github.com/LuanRT/YouTu > **apply\_modernized\_style**: `boolean` -Defined in: [src/parser/classes/FeedNudge.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FeedNudge.ts#L13) +Defined in: [src/parser/classes/FeedNudge.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FeedNudge.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/FeedNudge.ts:13](https://github.com/LuanRT/YouTu > **background\_style**: `string` -Defined in: [src/parser/classes/FeedNudge.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FeedNudge.ts#L15) +Defined in: [src/parser/classes/FeedNudge.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FeedNudge.ts#L15) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/FeedNudge.ts:15](https://github.com/LuanRT/YouTu > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/FeedNudge.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FeedNudge.ts#L12) +Defined in: [src/parser/classes/FeedNudge.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FeedNudge.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/FeedNudge.ts:12](https://github.com/LuanRT/YouTu > **subtitle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/FeedNudge.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FeedNudge.ts#L11) +Defined in: [src/parser/classes/FeedNudge.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FeedNudge.ts#L11) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/FeedNudge.ts:11](https://github.com/LuanRT/YouTu > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/FeedNudge.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FeedNudge.ts#L10) +Defined in: [src/parser/classes/FeedNudge.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FeedNudge.ts#L10) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/FeedNudge.ts:10](https://github.com/LuanRT/YouTu > **trim\_style**: `string` -Defined in: [src/parser/classes/FeedNudge.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FeedNudge.ts#L14) +Defined in: [src/parser/classes/FeedNudge.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FeedNudge.ts#L14) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/FeedNudge.ts:14](https://github.com/LuanRT/YouTu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'FeedNudge'` -Defined in: [src/parser/classes/FeedNudge.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FeedNudge.ts#L8) +Defined in: [src/parser/classes/FeedNudge.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FeedNudge.ts#L8) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/FeedNudge.ts:8](https://github.com/LuanRT/YouTub > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is FeedNudge & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/FeedTabbedHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/FeedTabbedHeader.md index 44c8c75f..1439435d 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/FeedTabbedHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/FeedTabbedHeader.md @@ -2,7 +2,7 @@ # Class: FeedTabbedHeader -Defined in: [src/parser/classes/FeedTabbedHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FeedTabbedHeader.ts#L5) +Defined in: [src/parser/classes/FeedTabbedHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FeedTabbedHeader.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/FeedTabbedHeader.ts:5](https://github.com/LuanRT > **new FeedTabbedHeader**(`data`): `FeedTabbedHeader` -Defined in: [src/parser/classes/FeedTabbedHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FeedTabbedHeader.ts#L10) +Defined in: [src/parser/classes/FeedTabbedHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FeedTabbedHeader.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/FeedTabbedHeader.ts:10](https://github.com/LuanR > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/FeedTabbedHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FeedTabbedHeader.ts#L8) +Defined in: [src/parser/classes/FeedTabbedHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FeedTabbedHeader.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/FeedTabbedHeader.ts:8](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'FeedTabbedHeader'` -Defined in: [src/parser/classes/FeedTabbedHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FeedTabbedHeader.ts#L6) +Defined in: [src/parser/classes/FeedTabbedHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FeedTabbedHeader.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/FeedTabbedHeader.ts:6](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is FeedTabbedHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/FeedbackEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/FeedbackEndpoint.md index 741ad246..9d6426a3 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/FeedbackEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/FeedbackEndpoint.md @@ -2,7 +2,7 @@ # Class: FeedbackEndpoint -Defined in: [src/parser/classes/endpoints/FeedbackEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/FeedbackEndpoint.ts#L6) +Defined in: [src/parser/classes/endpoints/FeedbackEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/FeedbackEndpoint.ts#L6) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/parser/classes/endpoints/FeedbackEndpoint.ts:6](https://github. > **new FeedbackEndpoint**(`data`): `FeedbackEndpoint` -Defined in: [src/parser/classes/endpoints/FeedbackEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/FeedbackEndpoint.ts#L11) +Defined in: [src/parser/classes/endpoints/FeedbackEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/FeedbackEndpoint.ts#L11) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/endpoints/FeedbackEndpoint.ts:11](https://github > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -52,7 +52,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'FeedbackEndpoint'` -Defined in: [src/parser/classes/endpoints/FeedbackEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/FeedbackEndpoint.ts#L7) +Defined in: [src/parser/classes/endpoints/FeedbackEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/FeedbackEndpoint.ts#L7) #### Overrides @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/endpoints/FeedbackEndpoint.ts:7](https://github. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -106,7 +106,7 @@ If the node is not of the given type > **buildRequest**(): [`FeedbackRequest`](../../../../type-aliases/FeedbackRequest.md) -Defined in: [src/parser/classes/endpoints/FeedbackEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/FeedbackEndpoint.ts#L20) +Defined in: [src/parser/classes/endpoints/FeedbackEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/FeedbackEndpoint.ts#L20) #### Returns @@ -122,7 +122,7 @@ Defined in: [src/parser/classes/endpoints/FeedbackEndpoint.ts:20](https://github > **getApiPath**(): `string` -Defined in: [src/parser/classes/endpoints/FeedbackEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/FeedbackEndpoint.ts#L16) +Defined in: [src/parser/classes/endpoints/FeedbackEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/FeedbackEndpoint.ts#L16) #### Returns @@ -138,7 +138,7 @@ Defined in: [src/parser/classes/endpoints/FeedbackEndpoint.ts:16](https://github > **hasKey**\<`T`, `R`\>(`key`): `this is FeedbackEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -176,7 +176,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -214,7 +214,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/FlexibleActionsView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/FlexibleActionsView.md index 08e745b3..07d38e24 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/FlexibleActionsView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/FlexibleActionsView.md @@ -2,7 +2,7 @@ # Class: FlexibleActionsView -Defined in: [src/parser/classes/FlexibleActionsView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FlexibleActionsView.ts#L10) +Defined in: [src/parser/classes/FlexibleActionsView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FlexibleActionsView.ts#L11) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/FlexibleActionsView.ts:10](https://github.com/Lu > **new FlexibleActionsView**(`data`): `FlexibleActionsView` -Defined in: [src/parser/classes/FlexibleActionsView.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FlexibleActionsView.ts#L16) +Defined in: [src/parser/classes/FlexibleActionsView.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FlexibleActionsView.ts#L17) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/FlexibleActionsView.ts:16](https://github.com/Lu > **actions\_rows**: `ActionRow`[] -Defined in: [src/parser/classes/FlexibleActionsView.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FlexibleActionsView.ts#L13) +Defined in: [src/parser/classes/FlexibleActionsView.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FlexibleActionsView.ts#L14) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/FlexibleActionsView.ts:13](https://github.com/Lu > **style**: `string` -Defined in: [src/parser/classes/FlexibleActionsView.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FlexibleActionsView.ts#L14) +Defined in: [src/parser/classes/FlexibleActionsView.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FlexibleActionsView.ts#L15) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/FlexibleActionsView.ts:14](https://github.com/Lu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'FlexibleActionsView'` -Defined in: [src/parser/classes/FlexibleActionsView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FlexibleActionsView.ts#L11) +Defined in: [src/parser/classes/FlexibleActionsView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FlexibleActionsView.ts#L12) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/FlexibleActionsView.ts:11](https://github.com/Lu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is FlexibleActionsView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Form.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Form.md index b141461f..45685ea7 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Form.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Form.md @@ -2,7 +2,7 @@ # Class: Form -Defined in: [src/parser/classes/Form.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Form.ts#L6) +Defined in: [src/parser/classes/Form.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Form.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/Form.ts:6](https://github.com/LuanRT/YouTube.js/ > **new Form**(`data`): `Form` -Defined in: [src/parser/classes/Form.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Form.ts#L11) +Defined in: [src/parser/classes/Form.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Form.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/Form.ts:11](https://github.com/LuanRT/YouTube.js > **fields**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ToggleFormField`](ToggleFormField.md)\> -Defined in: [src/parser/classes/Form.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Form.ts#L9) +Defined in: [src/parser/classes/Form.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Form.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/Form.ts:9](https://github.com/LuanRT/YouTube.js/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'Form'` -Defined in: [src/parser/classes/Form.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Form.ts#L7) +Defined in: [src/parser/classes/Form.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Form.ts#L7) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/Form.ts:7](https://github.com/LuanRT/YouTube.js/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Form & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/FormFooterView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/FormFooterView.md index 03720f45..07aebb6e 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/FormFooterView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/FormFooterView.md @@ -2,7 +2,7 @@ # Class: FormFooterView -Defined in: [src/parser/classes/FormFooterView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FormFooterView.ts#L5) +Defined in: [src/parser/classes/FormFooterView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FormFooterView.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/FormFooterView.ts:5](https://github.com/LuanRT/Y > **new FormFooterView**(`data`): `FormFooterView` -Defined in: [src/parser/classes/FormFooterView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FormFooterView.ts#L12) +Defined in: [src/parser/classes/FormFooterView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FormFooterView.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/FormFooterView.ts:12](https://github.com/LuanRT/ > **container\_type**: `string` -Defined in: [src/parser/classes/FormFooterView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FormFooterView.ts#L10) +Defined in: [src/parser/classes/FormFooterView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FormFooterView.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/FormFooterView.ts:10](https://github.com/LuanRT/ > **form\_id**: `string` -Defined in: [src/parser/classes/FormFooterView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FormFooterView.ts#L9) +Defined in: [src/parser/classes/FormFooterView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FormFooterView.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/FormFooterView.ts:9](https://github.com/LuanRT/Y > **panel\_footer**: [`PanelFooterView`](PanelFooterView.md) \| `null` -Defined in: [src/parser/classes/FormFooterView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FormFooterView.ts#L8) +Defined in: [src/parser/classes/FormFooterView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FormFooterView.ts#L8) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/FormFooterView.ts:8](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'FormFooterView'` -Defined in: [src/parser/classes/FormFooterView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FormFooterView.ts#L6) +Defined in: [src/parser/classes/FormFooterView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FormFooterView.ts#L6) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/FormFooterView.ts:6](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is FormFooterView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/FormPopup.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/FormPopup.md index c8194e12..8769a374 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/FormPopup.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/FormPopup.md @@ -2,7 +2,7 @@ # Class: FormPopup -Defined in: [src/parser/classes/FormPopup.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FormPopup.ts#L8) +Defined in: [src/parser/classes/FormPopup.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FormPopup.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/FormPopup.ts:8](https://github.com/LuanRT/YouTub > **new FormPopup**(`data`): `FormPopup` -Defined in: [src/parser/classes/FormPopup.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FormPopup.ts#L15) +Defined in: [src/parser/classes/FormPopup.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FormPopup.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/FormPopup.ts:15](https://github.com/LuanRT/YouTu > **buttons**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Button`](Button.md)\> -Defined in: [src/parser/classes/FormPopup.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FormPopup.ts#L13) +Defined in: [src/parser/classes/FormPopup.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FormPopup.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/FormPopup.ts:13](https://github.com/LuanRT/YouTu > **form**: [`Form`](Form.md) \| `null` -Defined in: [src/parser/classes/FormPopup.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FormPopup.ts#L12) +Defined in: [src/parser/classes/FormPopup.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FormPopup.ts#L12) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/FormPopup.ts:12](https://github.com/LuanRT/YouTu > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/FormPopup.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FormPopup.ts#L11) +Defined in: [src/parser/classes/FormPopup.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FormPopup.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/FormPopup.ts:11](https://github.com/LuanRT/YouTu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'FormPopup'` -Defined in: [src/parser/classes/FormPopup.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/FormPopup.ts#L9) +Defined in: [src/parser/classes/FormPopup.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/FormPopup.ts#L9) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/FormPopup.ts:9](https://github.com/LuanRT/YouTub > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is FormPopup & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/GameCard.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/GameCard.md index fcbfc2c3..00728008 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/GameCard.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/GameCard.md @@ -2,7 +2,7 @@ # Class: GameCard -Defined in: [src/parser/classes/GameCard.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GameCard.ts#L4) +Defined in: [src/parser/classes/GameCard.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GameCard.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/GameCard.ts:4](https://github.com/LuanRT/YouTube > **new GameCard**(`data`): `GameCard` -Defined in: [src/parser/classes/GameCard.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GameCard.ts#L9) +Defined in: [src/parser/classes/GameCard.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GameCard.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/GameCard.ts:9](https://github.com/LuanRT/YouTube > **game**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/GameCard.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GameCard.ts#L7) +Defined in: [src/parser/classes/GameCard.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GameCard.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/GameCard.ts:7](https://github.com/LuanRT/YouTube > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'GameCard'` -Defined in: [src/parser/classes/GameCard.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GameCard.ts#L5) +Defined in: [src/parser/classes/GameCard.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GameCard.ts#L5) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/GameCard.ts:5](https://github.com/LuanRT/YouTube > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is GameCard & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/GameDetails.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/GameDetails.md index 9ee7b612..19893263 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/GameDetails.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/GameDetails.md @@ -2,7 +2,7 @@ # Class: GameDetails -Defined in: [src/parser/classes/GameDetails.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GameDetails.ts#L7) +Defined in: [src/parser/classes/GameDetails.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GameDetails.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/GameDetails.ts:7](https://github.com/LuanRT/YouT > **new GameDetails**(`data`): `GameDetails` -Defined in: [src/parser/classes/GameDetails.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GameDetails.ts#L16) +Defined in: [src/parser/classes/GameDetails.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GameDetails.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/GameDetails.ts:16](https://github.com/LuanRT/You > **box\_art**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/GameDetails.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GameDetails.ts#L11) +Defined in: [src/parser/classes/GameDetails.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GameDetails.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/GameDetails.ts:11](https://github.com/LuanRT/You > **box\_art\_overlay\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/GameDetails.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GameDetails.ts#L12) +Defined in: [src/parser/classes/GameDetails.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GameDetails.ts#L12) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/GameDetails.ts:12](https://github.com/LuanRT/You > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/GameDetails.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GameDetails.ts#L13) +Defined in: [src/parser/classes/GameDetails.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GameDetails.ts#L13) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/GameDetails.ts:13](https://github.com/LuanRT/You > **is\_official\_box\_art**: `boolean` -Defined in: [src/parser/classes/GameDetails.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GameDetails.ts#L14) +Defined in: [src/parser/classes/GameDetails.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GameDetails.ts#L14) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/GameDetails.ts:14](https://github.com/LuanRT/You > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/GameDetails.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GameDetails.ts#L10) +Defined in: [src/parser/classes/GameDetails.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GameDetails.ts#L10) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/GameDetails.ts:10](https://github.com/LuanRT/You > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'GameDetails'` -Defined in: [src/parser/classes/GameDetails.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GameDetails.ts#L8) +Defined in: [src/parser/classes/GameDetails.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GameDetails.ts#L8) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/GameDetails.ts:8](https://github.com/LuanRT/YouT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is GameDetails & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/GetAccountsListInnertubeEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/GetAccountsListInnertubeEndpoint.md index 40ce51d4..7da00011 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/GetAccountsListInnertubeEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/GetAccountsListInnertubeEndpoint.md @@ -2,7 +2,7 @@ # Class: GetAccountsListInnertubeEndpoint -Defined in: [src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts#L6) +Defined in: [src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts#L6) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts:6] > **new GetAccountsListInnertubeEndpoint**(`data`): `GetAccountsListInnertubeEndpoint` -Defined in: [src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts#L11) +Defined in: [src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts#L11) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts:11 > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -52,7 +52,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'GetAccountsListInnertubeEndpoint'` -Defined in: [src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts#L7) +Defined in: [src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts#L7) #### Overrides @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts:7] > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -106,7 +106,7 @@ If the node is not of the given type > **buildRequest**(): [`GetAccountsListInnertubeRequest`](../../../../type-aliases/GetAccountsListInnertubeRequest.md) -Defined in: [src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts#L20) +Defined in: [src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts#L20) #### Returns @@ -122,7 +122,7 @@ Defined in: [src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts:20 > **getApiPath**(): `string` -Defined in: [src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts#L16) +Defined in: [src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts#L16) #### Returns @@ -138,7 +138,7 @@ Defined in: [src/parser/classes/endpoints/GetAccountsListInnertubeEndpoint.ts:16 > **hasKey**\<`T`, `R`\>(`key`): `this is GetAccountsListInnertubeEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -176,7 +176,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -214,7 +214,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/GetKidsBlocklistPickerCommand.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/GetKidsBlocklistPickerCommand.md index e4aa7f24..d1f68372 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/GetKidsBlocklistPickerCommand.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/GetKidsBlocklistPickerCommand.md @@ -2,7 +2,7 @@ # Class: GetKidsBlocklistPickerCommand -Defined in: [src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts#L6) +Defined in: [src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts#L6) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts:6](htt > **new GetKidsBlocklistPickerCommand**(`data`): `GetKidsBlocklistPickerCommand` -Defined in: [src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts#L11) +Defined in: [src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts#L11) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts:11](ht > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -52,7 +52,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'GetKidsBlocklistPickerCommand'` -Defined in: [src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts#L7) +Defined in: [src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts#L7) #### Overrides @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts:7](htt > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -106,7 +106,7 @@ If the node is not of the given type > **buildRequest**(): [`GetKidsBlocklistPickerRequest`](../../../../type-aliases/GetKidsBlocklistPickerRequest.md) -Defined in: [src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts#L20) +Defined in: [src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts#L20) #### Returns @@ -122,7 +122,7 @@ Defined in: [src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts:20](ht > **getApiPath**(): `string` -Defined in: [src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts#L16) +Defined in: [src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts#L16) #### Returns @@ -138,7 +138,7 @@ Defined in: [src/parser/classes/commands/GetKidsBlocklistPickerCommand.ts:16](ht > **hasKey**\<`T`, `R`\>(`key`): `this is GetKidsBlocklistPickerCommand & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -176,7 +176,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -214,7 +214,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/GetMultiPageMenuAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/GetMultiPageMenuAction.md index d7d81acc..d3c0c188 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/GetMultiPageMenuAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/GetMultiPageMenuAction.md @@ -2,7 +2,7 @@ # Class: GetMultiPageMenuAction -Defined in: [src/parser/classes/actions/GetMultiPageMenuAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/GetMultiPageMenuAction.ts#L6) +Defined in: [src/parser/classes/actions/GetMultiPageMenuAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/GetMultiPageMenuAction.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/actions/GetMultiPageMenuAction.ts:6](https://git > **new GetMultiPageMenuAction**(`data`): `GetMultiPageMenuAction` -Defined in: [src/parser/classes/actions/GetMultiPageMenuAction.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/GetMultiPageMenuAction.ts#L11) +Defined in: [src/parser/classes/actions/GetMultiPageMenuAction.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/GetMultiPageMenuAction.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/actions/GetMultiPageMenuAction.ts:11](https://gi > **menu**: [`MultiPageMenu`](MultiPageMenu.md) \| `null` -Defined in: [src/parser/classes/actions/GetMultiPageMenuAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/GetMultiPageMenuAction.ts#L9) +Defined in: [src/parser/classes/actions/GetMultiPageMenuAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/GetMultiPageMenuAction.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/actions/GetMultiPageMenuAction.ts:9](https://git > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'GetMultiPageMenuAction'` -Defined in: [src/parser/classes/actions/GetMultiPageMenuAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/GetMultiPageMenuAction.ts#L7) +Defined in: [src/parser/classes/actions/GetMultiPageMenuAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/GetMultiPageMenuAction.ts#L7) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/actions/GetMultiPageMenuAction.ts:7](https://git > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is GetMultiPageMenuAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Grid.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Grid.md index 99c7d28e..fb519cd6 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Grid.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Grid.md @@ -2,7 +2,7 @@ # Class: Grid -Defined in: [src/parser/classes/Grid.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Grid.ts#L4) +Defined in: [src/parser/classes/Grid.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Grid.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/Grid.ts:4](https://github.com/LuanRT/YouTube.js/ > **new Grid**(`data`): `Grid` -Defined in: [src/parser/classes/Grid.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Grid.ts#L14) +Defined in: [src/parser/classes/Grid.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Grid.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/Grid.ts:14](https://github.com/LuanRT/YouTube.js > **continuation**: `string` \| `null` -Defined in: [src/parser/classes/Grid.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Grid.ts#L11) +Defined in: [src/parser/classes/Grid.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Grid.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/Grid.ts:11](https://github.com/LuanRT/YouTube.js > `optional` **header**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/Grid.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Grid.ts#L12) +Defined in: [src/parser/classes/Grid.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Grid.ts#L12) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/Grid.ts:12](https://github.com/LuanRT/YouTube.js > `optional` **is\_collapsible**: `boolean` -Defined in: [src/parser/classes/Grid.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Grid.ts#L8) +Defined in: [src/parser/classes/Grid.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Grid.ts#L8) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/Grid.ts:8](https://github.com/LuanRT/YouTube.js/ > **items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/Grid.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Grid.ts#L7) +Defined in: [src/parser/classes/Grid.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Grid.ts#L7) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/Grid.ts:7](https://github.com/LuanRT/YouTube.js/ > `optional` **target\_id**: `string` -Defined in: [src/parser/classes/Grid.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Grid.ts#L10) +Defined in: [src/parser/classes/Grid.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Grid.ts#L10) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/Grid.ts:10](https://github.com/LuanRT/YouTube.js > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **visible\_row\_count**: `string` -Defined in: [src/parser/classes/Grid.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Grid.ts#L9) +Defined in: [src/parser/classes/Grid.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Grid.ts#L9) *** @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/Grid.ts:9](https://github.com/LuanRT/YouTube.js/ > `static` **type**: `string` = `'Grid'` -Defined in: [src/parser/classes/Grid.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Grid.ts#L5) +Defined in: [src/parser/classes/Grid.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Grid.ts#L5) #### Overrides @@ -110,7 +110,7 @@ Defined in: [src/parser/classes/Grid.ts:5](https://github.com/LuanRT/YouTube.js/ > **get** **contents**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/Grid.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Grid.ts#L39) +Defined in: [src/parser/classes/Grid.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Grid.ts#L39) ##### Returns @@ -122,7 +122,7 @@ Defined in: [src/parser/classes/Grid.ts:39](https://github.com/LuanRT/YouTube.js > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -164,7 +164,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Grid & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -202,7 +202,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -240,7 +240,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/GridChannel.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/GridChannel.md index ba14a6b3..fc6782d2 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/GridChannel.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/GridChannel.md @@ -2,7 +2,7 @@ # Class: GridChannel -Defined in: [src/parser/classes/GridChannel.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridChannel.ts#L7) +Defined in: [src/parser/classes/GridChannel.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridChannel.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/GridChannel.ts:7](https://github.com/LuanRT/YouT > **new GridChannel**(`data`): `GridChannel` -Defined in: [src/parser/classes/GridChannel.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridChannel.ts#L17) +Defined in: [src/parser/classes/GridChannel.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridChannel.ts#L17) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/GridChannel.ts:17](https://github.com/LuanRT/You > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/GridChannel.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridChannel.ts#L11) +Defined in: [src/parser/classes/GridChannel.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridChannel.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/GridChannel.ts:11](https://github.com/LuanRT/You > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/GridChannel.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridChannel.ts#L14) +Defined in: [src/parser/classes/GridChannel.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridChannel.ts#L14) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/GridChannel.ts:14](https://github.com/LuanRT/You > **id**: `string` -Defined in: [src/parser/classes/GridChannel.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridChannel.ts#L10) +Defined in: [src/parser/classes/GridChannel.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridChannel.ts#L10) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/GridChannel.ts:10](https://github.com/LuanRT/You > **subscribe\_button**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/GridChannel.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridChannel.ts#L15) +Defined in: [src/parser/classes/GridChannel.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridChannel.ts#L15) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/GridChannel.ts:15](https://github.com/LuanRT/You > **subscribers**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/GridChannel.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridChannel.ts#L12) +Defined in: [src/parser/classes/GridChannel.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridChannel.ts#L12) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/GridChannel.ts:12](https://github.com/LuanRT/You > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/GridChannel.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridChannel.ts#L13) +Defined in: [src/parser/classes/GridChannel.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridChannel.ts#L13) *** @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/GridChannel.ts:13](https://github.com/LuanRT/You > `static` **type**: `string` = `'GridChannel'` -Defined in: [src/parser/classes/GridChannel.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridChannel.ts#L8) +Defined in: [src/parser/classes/GridChannel.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridChannel.ts#L8) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/GridChannel.ts:8](https://github.com/LuanRT/YouT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is GridChannel & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/GridHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/GridHeader.md index 5a3ea47d..e631bd28 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/GridHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/GridHeader.md @@ -2,7 +2,7 @@ # Class: GridHeader -Defined in: [src/parser/classes/GridHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridHeader.ts#L5) +Defined in: [src/parser/classes/GridHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridHeader.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/GridHeader.ts:5](https://github.com/LuanRT/YouTu > **new GridHeader**(`data`): `GridHeader` -Defined in: [src/parser/classes/GridHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridHeader.ts#L10) +Defined in: [src/parser/classes/GridHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridHeader.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/GridHeader.ts:10](https://github.com/LuanRT/YouT > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/GridHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridHeader.ts#L8) +Defined in: [src/parser/classes/GridHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridHeader.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/GridHeader.ts:8](https://github.com/LuanRT/YouTu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'GridHeader'` -Defined in: [src/parser/classes/GridHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridHeader.ts#L6) +Defined in: [src/parser/classes/GridHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridHeader.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/GridHeader.ts:6](https://github.com/LuanRT/YouTu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is GridHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/GridMix.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/GridMix.md index 40835ae6..55ba6ff0 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/GridMix.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/GridMix.md @@ -2,7 +2,7 @@ # Class: GridMix -Defined in: [src/parser/classes/GridMix.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridMix.ts#L7) +Defined in: [src/parser/classes/GridMix.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridMix.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/GridMix.ts:7](https://github.com/LuanRT/YouTube. > **new GridMix**(`data`): `GridMix` -Defined in: [src/parser/classes/GridMix.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridMix.ts#L20) +Defined in: [src/parser/classes/GridMix.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridMix.ts#L20) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/GridMix.ts:20](https://github.com/LuanRT/YouTube > **author**: [`Text`](../../Misc/classes/Text.md) \| `null` -Defined in: [src/parser/classes/GridMix.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridMix.ts#L12) +Defined in: [src/parser/classes/GridMix.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridMix.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/GridMix.ts:12](https://github.com/LuanRT/YouTube > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/GridMix.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridMix.ts#L16) +Defined in: [src/parser/classes/GridMix.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridMix.ts#L16) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/GridMix.ts:16](https://github.com/LuanRT/YouTube > **id**: `string` -Defined in: [src/parser/classes/GridMix.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridMix.ts#L10) +Defined in: [src/parser/classes/GridMix.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridMix.ts#L10) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/GridMix.ts:10](https://github.com/LuanRT/YouTube > **secondary\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/GridMix.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridMix.ts#L17) +Defined in: [src/parser/classes/GridMix.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridMix.ts#L17) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/GridMix.ts:17](https://github.com/LuanRT/YouTube > **thumbnail\_overlays**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/GridMix.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridMix.ts#L18) +Defined in: [src/parser/classes/GridMix.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridMix.ts#L18) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/GridMix.ts:18](https://github.com/LuanRT/YouTube > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/GridMix.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridMix.ts#L13) +Defined in: [src/parser/classes/GridMix.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridMix.ts#L13) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/GridMix.ts:13](https://github.com/LuanRT/YouTube > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/GridMix.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridMix.ts#L11) +Defined in: [src/parser/classes/GridMix.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridMix.ts#L11) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/GridMix.ts:11](https://github.com/LuanRT/YouTube > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -104,7 +104,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/GridMix.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridMix.ts#L14) +Defined in: [src/parser/classes/GridMix.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridMix.ts#L14) *** @@ -112,7 +112,7 @@ Defined in: [src/parser/classes/GridMix.ts:14](https://github.com/LuanRT/YouTube > **video\_count\_short**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/GridMix.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridMix.ts#L15) +Defined in: [src/parser/classes/GridMix.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridMix.ts#L15) *** @@ -120,7 +120,7 @@ Defined in: [src/parser/classes/GridMix.ts:15](https://github.com/LuanRT/YouTube > `static` **type**: `string` = `'GridMix'` -Defined in: [src/parser/classes/GridMix.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridMix.ts#L8) +Defined in: [src/parser/classes/GridMix.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridMix.ts#L8) #### Overrides @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/GridMix.ts:8](https://github.com/LuanRT/YouTube. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -174,7 +174,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is GridMix & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -212,7 +212,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -250,7 +250,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/GridMovie.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/GridMovie.md index d91d2142..ea769653 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/GridMovie.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/GridMovie.md @@ -2,7 +2,7 @@ # Class: GridMovie -Defined in: [src/parser/classes/GridMovie.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridMovie.ts#L8) +Defined in: [src/parser/classes/GridMovie.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridMovie.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/GridMovie.ts:8](https://github.com/LuanRT/YouTub > **new GridMovie**(`data`): `GridMovie` -Defined in: [src/parser/classes/GridMovie.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridMovie.ts#L20) +Defined in: [src/parser/classes/GridMovie.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridMovie.ts#L20) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/GridMovie.ts:20](https://github.com/LuanRT/YouTu > **badges**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MetadataBadge`](MetadataBadge.md)\> -Defined in: [src/parser/classes/GridMovie.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridMovie.ts#L16) +Defined in: [src/parser/classes/GridMovie.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridMovie.ts#L16) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/GridMovie.ts:16](https://github.com/LuanRT/YouTu > **duration**: [`Text`](../../Misc/classes/Text.md) \| `null` -Defined in: [src/parser/classes/GridMovie.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridMovie.ts#L14) +Defined in: [src/parser/classes/GridMovie.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridMovie.ts#L14) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/GridMovie.ts:14](https://github.com/LuanRT/YouTu > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/GridMovie.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridMovie.ts#L15) +Defined in: [src/parser/classes/GridMovie.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridMovie.ts#L15) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/GridMovie.ts:15](https://github.com/LuanRT/YouTu > **id**: `string` -Defined in: [src/parser/classes/GridMovie.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridMovie.ts#L11) +Defined in: [src/parser/classes/GridMovie.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridMovie.ts#L11) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/GridMovie.ts:11](https://github.com/LuanRT/YouTu > **metadata**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/GridMovie.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridMovie.ts#L17) +Defined in: [src/parser/classes/GridMovie.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridMovie.ts#L17) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/GridMovie.ts:17](https://github.com/LuanRT/YouTu > **thumbnail\_overlays**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/GridMovie.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridMovie.ts#L18) +Defined in: [src/parser/classes/GridMovie.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridMovie.ts#L18) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/GridMovie.ts:18](https://github.com/LuanRT/YouTu > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/GridMovie.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridMovie.ts#L13) +Defined in: [src/parser/classes/GridMovie.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridMovie.ts#L13) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/GridMovie.ts:13](https://github.com/LuanRT/YouTu > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/GridMovie.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridMovie.ts#L12) +Defined in: [src/parser/classes/GridMovie.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridMovie.ts#L12) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/GridMovie.ts:12](https://github.com/LuanRT/YouTu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -112,7 +112,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'GridMovie'` -Defined in: [src/parser/classes/GridMovie.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridMovie.ts#L9) +Defined in: [src/parser/classes/GridMovie.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridMovie.ts#L9) #### Overrides @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/GridMovie.ts:9](https://github.com/LuanRT/YouTub > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -166,7 +166,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is GridMovie & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -204,7 +204,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -242,7 +242,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/GridPlaylist.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/GridPlaylist.md index a4aad263..a76d1700 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/GridPlaylist.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/GridPlaylist.md @@ -2,7 +2,7 @@ # Class: GridPlaylist -Defined in: [src/parser/classes/GridPlaylist.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridPlaylist.ts#L8) +Defined in: [src/parser/classes/GridPlaylist.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridPlaylist.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/GridPlaylist.ts:8](https://github.com/LuanRT/You > **new GridPlaylist**(`data`): `GridPlaylist` -Defined in: [src/parser/classes/GridPlaylist.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridPlaylist.ts#L23) +Defined in: [src/parser/classes/GridPlaylist.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridPlaylist.ts#L23) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/GridPlaylist.ts:23](https://github.com/LuanRT/Yo > `optional` **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/GridPlaylist.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridPlaylist.ts#L13) +Defined in: [src/parser/classes/GridPlaylist.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridPlaylist.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/GridPlaylist.ts:13](https://github.com/LuanRT/Yo > **badges**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/GridPlaylist.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridPlaylist.ts#L14) +Defined in: [src/parser/classes/GridPlaylist.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridPlaylist.ts#L14) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/GridPlaylist.ts:14](https://github.com/LuanRT/Yo > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/GridPlaylist.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridPlaylist.ts#L15) +Defined in: [src/parser/classes/GridPlaylist.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridPlaylist.ts#L15) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/GridPlaylist.ts:15](https://github.com/LuanRT/Yo > **id**: `string` -Defined in: [src/parser/classes/GridPlaylist.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridPlaylist.ts#L11) +Defined in: [src/parser/classes/GridPlaylist.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridPlaylist.ts#L11) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/GridPlaylist.ts:11](https://github.com/LuanRT/Yo > **sidebar\_thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] \| `null` -Defined in: [src/parser/classes/GridPlaylist.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridPlaylist.ts#L19) +Defined in: [src/parser/classes/GridPlaylist.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridPlaylist.ts#L19) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/GridPlaylist.ts:19](https://github.com/LuanRT/Yo > **thumbnail\_renderer**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/GridPlaylist.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridPlaylist.ts#L18) +Defined in: [src/parser/classes/GridPlaylist.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridPlaylist.ts#L18) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/GridPlaylist.ts:18](https://github.com/LuanRT/Yo > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/GridPlaylist.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridPlaylist.ts#L17) +Defined in: [src/parser/classes/GridPlaylist.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridPlaylist.ts#L17) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/GridPlaylist.ts:17](https://github.com/LuanRT/Yo > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/GridPlaylist.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridPlaylist.ts#L12) +Defined in: [src/parser/classes/GridPlaylist.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridPlaylist.ts#L12) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/GridPlaylist.ts:12](https://github.com/LuanRT/Yo > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -112,7 +112,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/GridPlaylist.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridPlaylist.ts#L20) +Defined in: [src/parser/classes/GridPlaylist.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridPlaylist.ts#L20) *** @@ -120,7 +120,7 @@ Defined in: [src/parser/classes/GridPlaylist.ts:20](https://github.com/LuanRT/Yo > **video\_count\_short**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/GridPlaylist.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridPlaylist.ts#L21) +Defined in: [src/parser/classes/GridPlaylist.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridPlaylist.ts#L21) *** @@ -128,7 +128,7 @@ Defined in: [src/parser/classes/GridPlaylist.ts:21](https://github.com/LuanRT/Yo > **view\_playlist**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/GridPlaylist.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridPlaylist.ts#L16) +Defined in: [src/parser/classes/GridPlaylist.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridPlaylist.ts#L16) *** @@ -136,7 +136,7 @@ Defined in: [src/parser/classes/GridPlaylist.ts:16](https://github.com/LuanRT/Yo > `static` **type**: `string` = `'GridPlaylist'` -Defined in: [src/parser/classes/GridPlaylist.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridPlaylist.ts#L9) +Defined in: [src/parser/classes/GridPlaylist.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridPlaylist.ts#L9) #### Overrides @@ -148,7 +148,7 @@ Defined in: [src/parser/classes/GridPlaylist.ts:9](https://github.com/LuanRT/You > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -190,7 +190,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is GridPlaylist & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -228,7 +228,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -266,7 +266,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/GridShelfView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/GridShelfView.md index f8f87ac5..561bffde 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/GridShelfView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/GridShelfView.md @@ -2,7 +2,7 @@ # Class: GridShelfView -Defined in: [src/parser/classes/GridShelfView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridShelfView.ts#L6) +Defined in: [src/parser/classes/GridShelfView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridShelfView.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/GridShelfView.ts:6](https://github.com/LuanRT/Yo > **new GridShelfView**(`data`): `GridShelfView` -Defined in: [src/parser/classes/GridShelfView.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridShelfView.ts#L17) +Defined in: [src/parser/classes/GridShelfView.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridShelfView.ts#L17) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/GridShelfView.ts:17](https://github.com/LuanRT/Y > **content\_aspect\_ratio**: `string` -Defined in: [src/parser/classes/GridShelfView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridShelfView.ts#L11) +Defined in: [src/parser/classes/GridShelfView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridShelfView.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/GridShelfView.ts:11](https://github.com/LuanRT/Y > **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/GridShelfView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridShelfView.ts#L9) +Defined in: [src/parser/classes/GridShelfView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridShelfView.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/GridShelfView.ts:9](https://github.com/LuanRT/Yo > **enable\_vertical\_expansion**: `boolean` -Defined in: [src/parser/classes/GridShelfView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridShelfView.ts#L12) +Defined in: [src/parser/classes/GridShelfView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridShelfView.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/GridShelfView.ts:12](https://github.com/LuanRT/Y > **header**: [`YTNode`](../../Helpers/classes/YTNode.md) \| `null` -Defined in: [src/parser/classes/GridShelfView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridShelfView.ts#L10) +Defined in: [src/parser/classes/GridShelfView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridShelfView.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/GridShelfView.ts:10](https://github.com/LuanRT/Y > **min\_collapsed\_item\_count**: `number` -Defined in: [src/parser/classes/GridShelfView.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridShelfView.ts#L15) +Defined in: [src/parser/classes/GridShelfView.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridShelfView.ts#L15) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/GridShelfView.ts:15](https://github.com/LuanRT/Y > **show\_less\_button**: [`ButtonView`](ButtonView.md) \| `null` -Defined in: [src/parser/classes/GridShelfView.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridShelfView.ts#L14) +Defined in: [src/parser/classes/GridShelfView.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridShelfView.ts#L14) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/GridShelfView.ts:14](https://github.com/LuanRT/Y > **show\_more\_button**: [`ButtonView`](ButtonView.md) \| `null` -Defined in: [src/parser/classes/GridShelfView.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridShelfView.ts#L13) +Defined in: [src/parser/classes/GridShelfView.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridShelfView.ts#L13) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/GridShelfView.ts:13](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -104,7 +104,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'GridShelfView'` -Defined in: [src/parser/classes/GridShelfView.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridShelfView.ts#L7) +Defined in: [src/parser/classes/GridShelfView.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridShelfView.ts#L7) #### Overrides @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/GridShelfView.ts:7](https://github.com/LuanRT/Yo > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -158,7 +158,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is GridShelfView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -196,7 +196,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -234,7 +234,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/GridShow.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/GridShow.md index 4a823bbb..7bf20f5c 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/GridShow.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/GridShow.md @@ -2,7 +2,7 @@ # Class: GridShow -Defined in: [src/parser/classes/GridShow.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridShow.ts#L10) +Defined in: [src/parser/classes/GridShow.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridShow.ts#L10) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/GridShow.ts:10](https://github.com/LuanRT/YouTub > **new GridShow**(`data`): `GridShow` -Defined in: [src/parser/classes/GridShow.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridShow.ts#L20) +Defined in: [src/parser/classes/GridShow.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridShow.ts#L20) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/GridShow.ts:20](https://github.com/LuanRT/YouTub > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/GridShow.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridShow.ts#L18) +Defined in: [src/parser/classes/GridShow.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridShow.ts#L18) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/GridShow.ts:18](https://github.com/LuanRT/YouTub > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/GridShow.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridShow.ts#L15) +Defined in: [src/parser/classes/GridShow.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridShow.ts#L15) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/GridShow.ts:15](https://github.com/LuanRT/YouTub > **long\_byline\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/GridShow.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridShow.ts#L16) +Defined in: [src/parser/classes/GridShow.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridShow.ts#L16) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/GridShow.ts:16](https://github.com/LuanRT/YouTub > **thumbnail\_overlays**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ThumbnailOverlayBottomPanel`](ThumbnailOverlayBottomPanel.md)\> -Defined in: [src/parser/classes/GridShow.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridShow.ts#L17) +Defined in: [src/parser/classes/GridShow.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridShow.ts#L17) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/GridShow.ts:17](https://github.com/LuanRT/YouTub > **thumbnail\_renderer**: [`ShowCustomThumbnail`](ShowCustomThumbnail.md) \| `null` -Defined in: [src/parser/classes/GridShow.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridShow.ts#L14) +Defined in: [src/parser/classes/GridShow.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridShow.ts#L14) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/GridShow.ts:14](https://github.com/LuanRT/YouTub > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/GridShow.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridShow.ts#L13) +Defined in: [src/parser/classes/GridShow.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridShow.ts#L13) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/GridShow.ts:13](https://github.com/LuanRT/YouTub > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'GridShow'` -Defined in: [src/parser/classes/GridShow.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridShow.ts#L11) +Defined in: [src/parser/classes/GridShow.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridShow.ts#L11) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/GridShow.ts:11](https://github.com/LuanRT/YouTub > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is GridShow & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/GridVideo.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/GridVideo.md index 4f9de352..9e7f0868 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/GridVideo.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/GridVideo.md @@ -2,7 +2,7 @@ # Class: GridVideo -Defined in: [src/parser/classes/GridVideo.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridVideo.ts#L9) +Defined in: [src/parser/classes/GridVideo.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridVideo.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/GridVideo.ts:9](https://github.com/LuanRT/YouTub > **new GridVideo**(`data`): `GridVideo` -Defined in: [src/parser/classes/GridVideo.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridVideo.ts#L29) +Defined in: [src/parser/classes/GridVideo.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridVideo.ts#L29) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/GridVideo.ts:29](https://github.com/LuanRT/YouTu > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/GridVideo.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridVideo.ts#L19) +Defined in: [src/parser/classes/GridVideo.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridVideo.ts#L19) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/GridVideo.ts:19](https://github.com/LuanRT/YouTu > `optional` **buttons**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/GridVideo.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridVideo.ts#L24) +Defined in: [src/parser/classes/GridVideo.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridVideo.ts#L24) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/GridVideo.ts:24](https://github.com/LuanRT/YouTu > **duration**: [`Text`](../../Misc/classes/Text.md) \| `null` -Defined in: [src/parser/classes/GridVideo.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridVideo.ts#L18) +Defined in: [src/parser/classes/GridVideo.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridVideo.ts#L18) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/GridVideo.ts:18](https://github.com/LuanRT/YouTu > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/GridVideo.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridVideo.ts#L22) +Defined in: [src/parser/classes/GridVideo.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridVideo.ts#L22) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/GridVideo.ts:22](https://github.com/LuanRT/YouTu > `optional` **is\_reminder\_set**: `boolean` -Defined in: [src/parser/classes/GridVideo.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridVideo.ts#L27) +Defined in: [src/parser/classes/GridVideo.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridVideo.ts#L27) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/GridVideo.ts:27](https://github.com/LuanRT/YouTu > **menu**: [`Menu`](Menu.md) \| `null` -Defined in: [src/parser/classes/GridVideo.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridVideo.ts#L23) +Defined in: [src/parser/classes/GridVideo.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridVideo.ts#L23) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/GridVideo.ts:23](https://github.com/LuanRT/YouTu > **published**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/GridVideo.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridVideo.ts#L17) +Defined in: [src/parser/classes/GridVideo.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridVideo.ts#L17) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/GridVideo.ts:17](https://github.com/LuanRT/YouTu > **rich\_thumbnail**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/GridVideo.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridVideo.ts#L16) +Defined in: [src/parser/classes/GridVideo.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridVideo.ts#L16) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/GridVideo.ts:16](https://github.com/LuanRT/YouTu > **short\_view\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/GridVideo.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridVideo.ts#L21) +Defined in: [src/parser/classes/GridVideo.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridVideo.ts#L21) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/GridVideo.ts:21](https://github.com/LuanRT/YouTu > **thumbnail\_overlays**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/GridVideo.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridVideo.ts#L15) +Defined in: [src/parser/classes/GridVideo.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridVideo.ts#L15) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/GridVideo.ts:15](https://github.com/LuanRT/YouTu > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/GridVideo.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridVideo.ts#L14) +Defined in: [src/parser/classes/GridVideo.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridVideo.ts#L14) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/GridVideo.ts:14](https://github.com/LuanRT/YouTu > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/GridVideo.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridVideo.ts#L13) +Defined in: [src/parser/classes/GridVideo.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridVideo.ts#L13) *** @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/GridVideo.ts:13](https://github.com/LuanRT/YouTu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -144,7 +144,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **upcoming**: `Date` -Defined in: [src/parser/classes/GridVideo.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridVideo.ts#L25) +Defined in: [src/parser/classes/GridVideo.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridVideo.ts#L25) *** @@ -152,7 +152,7 @@ Defined in: [src/parser/classes/GridVideo.ts:25](https://github.com/LuanRT/YouTu > `optional` **upcoming\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/GridVideo.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridVideo.ts#L26) +Defined in: [src/parser/classes/GridVideo.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridVideo.ts#L26) *** @@ -160,7 +160,7 @@ Defined in: [src/parser/classes/GridVideo.ts:26](https://github.com/LuanRT/YouTu > **video\_id**: `string` -Defined in: [src/parser/classes/GridVideo.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridVideo.ts#L12) +Defined in: [src/parser/classes/GridVideo.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridVideo.ts#L12) *** @@ -168,7 +168,7 @@ Defined in: [src/parser/classes/GridVideo.ts:12](https://github.com/LuanRT/YouTu > **views**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/GridVideo.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridVideo.ts#L20) +Defined in: [src/parser/classes/GridVideo.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridVideo.ts#L20) *** @@ -176,7 +176,7 @@ Defined in: [src/parser/classes/GridVideo.ts:20](https://github.com/LuanRT/YouTu > `static` **type**: `string` = `'GridVideo'` -Defined in: [src/parser/classes/GridVideo.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridVideo.ts#L10) +Defined in: [src/parser/classes/GridVideo.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridVideo.ts#L10) #### Overrides @@ -190,7 +190,7 @@ Defined in: [src/parser/classes/GridVideo.ts:10](https://github.com/LuanRT/YouTu > **get** **id**(): `string` -Defined in: [src/parser/classes/GridVideo.ts:60](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridVideo.ts#L60) +Defined in: [src/parser/classes/GridVideo.ts:60](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridVideo.ts#L60) ##### Deprecated @@ -208,7 +208,7 @@ Use [`video_id`](#video_id) instead. > **get** **is\_upcoming**(): `boolean` -Defined in: [src/parser/classes/GridVideo.ts:64](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GridVideo.ts#L64) +Defined in: [src/parser/classes/GridVideo.ts:64](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GridVideo.ts#L64) ##### Returns @@ -220,7 +220,7 @@ Defined in: [src/parser/classes/GridVideo.ts:64](https://github.com/LuanRT/YouTu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -262,7 +262,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is GridVideo & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -300,7 +300,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -338,7 +338,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/GuideCollapsibleEntry.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/GuideCollapsibleEntry.md index a1836928..5518dfbd 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/GuideCollapsibleEntry.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/GuideCollapsibleEntry.md @@ -2,7 +2,7 @@ # Class: GuideCollapsibleEntry -Defined in: [src/parser/classes/GuideCollapsibleEntry.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideCollapsibleEntry.ts#L6) +Defined in: [src/parser/classes/GuideCollapsibleEntry.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideCollapsibleEntry.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/GuideCollapsibleEntry.ts:6](https://github.com/L > **new GuideCollapsibleEntry**(`data`): `GuideCollapsibleEntry` -Defined in: [src/parser/classes/GuideCollapsibleEntry.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideCollapsibleEntry.ts#L13) +Defined in: [src/parser/classes/GuideCollapsibleEntry.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideCollapsibleEntry.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/GuideCollapsibleEntry.ts:13](https://github.com/ > **collapser\_item**: [`GuideEntry`](GuideEntry.md) \| `null` -Defined in: [src/parser/classes/GuideCollapsibleEntry.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideCollapsibleEntry.ts#L10) +Defined in: [src/parser/classes/GuideCollapsibleEntry.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideCollapsibleEntry.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/GuideCollapsibleEntry.ts:10](https://github.com/ > **expandable\_items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/GuideCollapsibleEntry.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideCollapsibleEntry.ts#L11) +Defined in: [src/parser/classes/GuideCollapsibleEntry.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideCollapsibleEntry.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/GuideCollapsibleEntry.ts:11](https://github.com/ > **expander\_item**: [`GuideEntry`](GuideEntry.md) \| `null` -Defined in: [src/parser/classes/GuideCollapsibleEntry.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideCollapsibleEntry.ts#L9) +Defined in: [src/parser/classes/GuideCollapsibleEntry.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideCollapsibleEntry.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/GuideCollapsibleEntry.ts:9](https://github.com/L > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'GuideCollapsibleEntry'` -Defined in: [src/parser/classes/GuideCollapsibleEntry.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideCollapsibleEntry.ts#L7) +Defined in: [src/parser/classes/GuideCollapsibleEntry.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideCollapsibleEntry.ts#L7) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/GuideCollapsibleEntry.ts:7](https://github.com/L > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is GuideCollapsibleEntry & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/GuideCollapsibleSectionEntry.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/GuideCollapsibleSectionEntry.md index a953aefb..347f9a36 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/GuideCollapsibleSectionEntry.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/GuideCollapsibleSectionEntry.md @@ -2,7 +2,7 @@ # Class: GuideCollapsibleSectionEntry -Defined in: [src/parser/classes/GuideCollapsibleSectionEntry.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideCollapsibleSectionEntry.ts#L5) +Defined in: [src/parser/classes/GuideCollapsibleSectionEntry.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideCollapsibleSectionEntry.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/GuideCollapsibleSectionEntry.ts:5](https://githu > **new GuideCollapsibleSectionEntry**(`data`): `GuideCollapsibleSectionEntry` -Defined in: [src/parser/classes/GuideCollapsibleSectionEntry.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideCollapsibleSectionEntry.ts#L13) +Defined in: [src/parser/classes/GuideCollapsibleSectionEntry.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideCollapsibleSectionEntry.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/GuideCollapsibleSectionEntry.ts:13](https://gith > **collapser\_icon**: `string` -Defined in: [src/parser/classes/GuideCollapsibleSectionEntry.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideCollapsibleSectionEntry.ts#L10) +Defined in: [src/parser/classes/GuideCollapsibleSectionEntry.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideCollapsibleSectionEntry.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/GuideCollapsibleSectionEntry.ts:10](https://gith > **expander\_icon**: `string` -Defined in: [src/parser/classes/GuideCollapsibleSectionEntry.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideCollapsibleSectionEntry.ts#L9) +Defined in: [src/parser/classes/GuideCollapsibleSectionEntry.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideCollapsibleSectionEntry.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/GuideCollapsibleSectionEntry.ts:9](https://githu > **header\_entry**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/GuideCollapsibleSectionEntry.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideCollapsibleSectionEntry.ts#L8) +Defined in: [src/parser/classes/GuideCollapsibleSectionEntry.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideCollapsibleSectionEntry.ts#L8) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/GuideCollapsibleSectionEntry.ts:8](https://githu > **section\_items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/GuideCollapsibleSectionEntry.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideCollapsibleSectionEntry.ts#L11) +Defined in: [src/parser/classes/GuideCollapsibleSectionEntry.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideCollapsibleSectionEntry.ts#L11) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/GuideCollapsibleSectionEntry.ts:11](https://gith > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'GuideCollapsibleSectionEntry'` -Defined in: [src/parser/classes/GuideCollapsibleSectionEntry.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideCollapsibleSectionEntry.ts#L6) +Defined in: [src/parser/classes/GuideCollapsibleSectionEntry.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideCollapsibleSectionEntry.ts#L6) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/GuideCollapsibleSectionEntry.ts:6](https://githu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is GuideCollapsibleSectionEntry & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/GuideDownloadsEntry.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/GuideDownloadsEntry.md index 32831eff..bdfd4fa5 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/GuideDownloadsEntry.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/GuideDownloadsEntry.md @@ -2,7 +2,7 @@ # Class: GuideDownloadsEntry -Defined in: [src/parser/classes/GuideDownloadsEntry.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideDownloadsEntry.ts#L4) +Defined in: [src/parser/classes/GuideDownloadsEntry.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideDownloadsEntry.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/GuideDownloadsEntry.ts:4](https://github.com/Lua > **new GuideDownloadsEntry**(`data`): `GuideDownloadsEntry` -Defined in: [src/parser/classes/GuideDownloadsEntry.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideDownloadsEntry.ts#L9) +Defined in: [src/parser/classes/GuideDownloadsEntry.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideDownloadsEntry.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/GuideDownloadsEntry.ts:9](https://github.com/Lua > **always\_show**: `boolean` -Defined in: [src/parser/classes/GuideDownloadsEntry.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideDownloadsEntry.ts#L7) +Defined in: [src/parser/classes/GuideDownloadsEntry.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideDownloadsEntry.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/GuideDownloadsEntry.ts:7](https://github.com/Lua > `optional` **badges**: `any` -Defined in: [src/parser/classes/GuideEntry.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideEntry.ts#L14) +Defined in: [src/parser/classes/GuideEntry.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideEntry.ts#L14) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/classes/GuideEntry.ts:14](https://github.com/LuanRT/YouT > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/GuideEntry.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideEntry.ts#L11) +Defined in: [src/parser/classes/GuideEntry.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideEntry.ts#L11) #### Inherited from @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/GuideEntry.ts:11](https://github.com/LuanRT/YouT > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/GuideEntry.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideEntry.ts#L12) +Defined in: [src/parser/classes/GuideEntry.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideEntry.ts#L12) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/classes/GuideEntry.ts:12](https://github.com/LuanRT/YouT > **is\_primary**: `boolean` -Defined in: [src/parser/classes/GuideEntry.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideEntry.ts#L15) +Defined in: [src/parser/classes/GuideEntry.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideEntry.ts#L15) #### Inherited from @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/GuideEntry.ts:15](https://github.com/LuanRT/YouT > `optional` **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/GuideEntry.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideEntry.ts#L13) +Defined in: [src/parser/classes/GuideEntry.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideEntry.ts#L13) #### Inherited from @@ -104,7 +104,7 @@ Defined in: [src/parser/classes/GuideEntry.ts:13](https://github.com/LuanRT/YouT > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/GuideEntry.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideEntry.ts#L10) +Defined in: [src/parser/classes/GuideEntry.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideEntry.ts#L10) #### Inherited from @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/GuideEntry.ts:10](https://github.com/LuanRT/YouT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -128,7 +128,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'GuideDownloadsEntry'` -Defined in: [src/parser/classes/GuideDownloadsEntry.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideDownloadsEntry.ts#L5) +Defined in: [src/parser/classes/GuideDownloadsEntry.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideDownloadsEntry.ts#L5) #### Overrides @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/GuideDownloadsEntry.ts:5](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -182,7 +182,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is GuideDownloadsEntry & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -220,7 +220,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -258,7 +258,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/GuideEntry.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/GuideEntry.md index cf6df546..0cc5c9bc 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/GuideEntry.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/GuideEntry.md @@ -2,7 +2,7 @@ # Class: GuideEntry -Defined in: [src/parser/classes/GuideEntry.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideEntry.ts#L7) +Defined in: [src/parser/classes/GuideEntry.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideEntry.ts#L7) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/parser/classes/GuideEntry.ts:7](https://github.com/LuanRT/YouTu > **new GuideEntry**(`data`): `GuideEntry` -Defined in: [src/parser/classes/GuideEntry.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideEntry.ts#L17) +Defined in: [src/parser/classes/GuideEntry.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideEntry.ts#L17) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/GuideEntry.ts:17](https://github.com/LuanRT/YouT > `optional` **badges**: `any` -Defined in: [src/parser/classes/GuideEntry.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideEntry.ts#L14) +Defined in: [src/parser/classes/GuideEntry.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideEntry.ts#L14) *** @@ -48,7 +48,7 @@ Defined in: [src/parser/classes/GuideEntry.ts:14](https://github.com/LuanRT/YouT > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/GuideEntry.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideEntry.ts#L11) +Defined in: [src/parser/classes/GuideEntry.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideEntry.ts#L11) *** @@ -56,7 +56,7 @@ Defined in: [src/parser/classes/GuideEntry.ts:11](https://github.com/LuanRT/YouT > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/GuideEntry.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideEntry.ts#L12) +Defined in: [src/parser/classes/GuideEntry.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideEntry.ts#L12) *** @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/GuideEntry.ts:12](https://github.com/LuanRT/YouT > **is\_primary**: `boolean` -Defined in: [src/parser/classes/GuideEntry.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideEntry.ts#L15) +Defined in: [src/parser/classes/GuideEntry.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideEntry.ts#L15) *** @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/GuideEntry.ts:15](https://github.com/LuanRT/YouT > `optional` **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/GuideEntry.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideEntry.ts#L13) +Defined in: [src/parser/classes/GuideEntry.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideEntry.ts#L13) *** @@ -80,7 +80,7 @@ Defined in: [src/parser/classes/GuideEntry.ts:13](https://github.com/LuanRT/YouT > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/GuideEntry.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideEntry.ts#L10) +Defined in: [src/parser/classes/GuideEntry.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideEntry.ts#L10) *** @@ -88,7 +88,7 @@ Defined in: [src/parser/classes/GuideEntry.ts:10](https://github.com/LuanRT/YouT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -100,7 +100,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'GuideEntry'` -Defined in: [src/parser/classes/GuideEntry.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideEntry.ts#L8) +Defined in: [src/parser/classes/GuideEntry.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideEntry.ts#L8) #### Overrides @@ -112,7 +112,7 @@ Defined in: [src/parser/classes/GuideEntry.ts:8](https://github.com/LuanRT/YouTu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -154,7 +154,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is GuideEntry & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -192,7 +192,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -230,7 +230,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/GuideSection.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/GuideSection.md index 9f6e25f2..91812810 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/GuideSection.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/GuideSection.md @@ -2,7 +2,7 @@ # Class: GuideSection -Defined in: [src/parser/classes/GuideSection.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideSection.ts#L6) +Defined in: [src/parser/classes/GuideSection.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideSection.ts#L6) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/parser/classes/GuideSection.ts:6](https://github.com/LuanRT/You > **new GuideSection**(`data`): `GuideSection` -Defined in: [src/parser/classes/GuideSection.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideSection.ts#L12) +Defined in: [src/parser/classes/GuideSection.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideSection.ts#L12) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/GuideSection.ts:12](https://github.com/LuanRT/Yo > **items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/GuideSection.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideSection.ts#L10) +Defined in: [src/parser/classes/GuideSection.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideSection.ts#L10) *** @@ -48,7 +48,7 @@ Defined in: [src/parser/classes/GuideSection.ts:10](https://github.com/LuanRT/Yo > `optional` **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/GuideSection.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideSection.ts#L9) +Defined in: [src/parser/classes/GuideSection.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideSection.ts#L9) *** @@ -56,7 +56,7 @@ Defined in: [src/parser/classes/GuideSection.ts:9](https://github.com/LuanRT/You > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -68,7 +68,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'GuideSection'` -Defined in: [src/parser/classes/GuideSection.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideSection.ts#L7) +Defined in: [src/parser/classes/GuideSection.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideSection.ts#L7) #### Overrides @@ -80,7 +80,7 @@ Defined in: [src/parser/classes/GuideSection.ts:7](https://github.com/LuanRT/You > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -122,7 +122,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is GuideSection & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -160,7 +160,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -198,7 +198,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/GuideSubscriptionsSection.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/GuideSubscriptionsSection.md index e09abfb2..1282d6cb 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/GuideSubscriptionsSection.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/GuideSubscriptionsSection.md @@ -2,7 +2,7 @@ # Class: GuideSubscriptionsSection -Defined in: [src/parser/classes/GuideSubscriptionsSection.ts:3](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideSubscriptionsSection.ts#L3) +Defined in: [src/parser/classes/GuideSubscriptionsSection.ts:3](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideSubscriptionsSection.ts#L3) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/GuideSubscriptionsSection.ts:3](https://github.c > **new GuideSubscriptionsSection**(`data`): `GuideSubscriptionsSection` -Defined in: [src/parser/classes/GuideSection.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideSection.ts#L12) +Defined in: [src/parser/classes/GuideSection.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideSection.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/GuideSection.ts:12](https://github.com/LuanRT/Yo > **items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/GuideSection.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideSection.ts#L10) +Defined in: [src/parser/classes/GuideSection.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideSection.ts#L10) #### Inherited from @@ -48,7 +48,7 @@ Defined in: [src/parser/classes/GuideSection.ts:10](https://github.com/LuanRT/Yo > `optional` **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/GuideSection.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideSection.ts#L9) +Defined in: [src/parser/classes/GuideSection.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideSection.ts#L9) #### Inherited from @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/GuideSection.ts:9](https://github.com/LuanRT/You > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'GuideSubscriptionsSection'` -Defined in: [src/parser/classes/GuideSubscriptionsSection.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/GuideSubscriptionsSection.ts#L4) +Defined in: [src/parser/classes/GuideSubscriptionsSection.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/GuideSubscriptionsSection.ts#L4) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/GuideSubscriptionsSection.ts:4](https://github.c > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is GuideSubscriptionsSection & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/HashtagHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/HashtagHeader.md index 598442e4..3cfa8ea4 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/HashtagHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/HashtagHeader.md @@ -2,7 +2,7 @@ # Class: HashtagHeader -Defined in: [src/parser/classes/HashtagHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HashtagHeader.ts#L5) +Defined in: [src/parser/classes/HashtagHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HashtagHeader.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/HashtagHeader.ts:5](https://github.com/LuanRT/Yo > **new HashtagHeader**(`data`): `HashtagHeader` -Defined in: [src/parser/classes/HashtagHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HashtagHeader.ts#L11) +Defined in: [src/parser/classes/HashtagHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HashtagHeader.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/HashtagHeader.ts:11](https://github.com/LuanRT/Y > **hashtag**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/HashtagHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HashtagHeader.ts#L8) +Defined in: [src/parser/classes/HashtagHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HashtagHeader.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/HashtagHeader.ts:8](https://github.com/LuanRT/Yo > **hashtag\_info**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/HashtagHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HashtagHeader.ts#L9) +Defined in: [src/parser/classes/HashtagHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HashtagHeader.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/HashtagHeader.ts:9](https://github.com/LuanRT/Yo > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'HashtagHeader'` -Defined in: [src/parser/classes/HashtagHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HashtagHeader.ts#L6) +Defined in: [src/parser/classes/HashtagHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HashtagHeader.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/HashtagHeader.ts:6](https://github.com/LuanRT/Yo > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is HashtagHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/HashtagTile.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/HashtagTile.md index 0dc94373..527178a6 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/HashtagTile.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/HashtagTile.md @@ -2,7 +2,7 @@ # Class: HashtagTile -Defined in: [src/parser/classes/HashtagTile.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HashtagTile.ts#L7) +Defined in: [src/parser/classes/HashtagTile.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HashtagTile.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/HashtagTile.ts:7](https://github.com/LuanRT/YouT > **new HashtagTile**(`data`): `HashtagTile` -Defined in: [src/parser/classes/HashtagTile.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HashtagTile.ts#L18) +Defined in: [src/parser/classes/HashtagTile.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HashtagTile.ts#L18) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/HashtagTile.ts:18](https://github.com/LuanRT/You > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/HashtagTile.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HashtagTile.ts#L13) +Defined in: [src/parser/classes/HashtagTile.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HashtagTile.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/HashtagTile.ts:13](https://github.com/LuanRT/You > **hashtag**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/HashtagTile.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HashtagTile.ts#L10) +Defined in: [src/parser/classes/HashtagTile.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HashtagTile.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/HashtagTile.ts:10](https://github.com/LuanRT/You > **hashtag\_background\_color**: `number` -Defined in: [src/parser/classes/HashtagTile.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HashtagTile.ts#L14) +Defined in: [src/parser/classes/HashtagTile.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HashtagTile.ts#L14) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/HashtagTile.ts:14](https://github.com/LuanRT/You > **hashtag\_channel\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/HashtagTile.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HashtagTile.ts#L16) +Defined in: [src/parser/classes/HashtagTile.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HashtagTile.ts#L16) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/HashtagTile.ts:16](https://github.com/LuanRT/You > **hashtag\_info\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/HashtagTile.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HashtagTile.ts#L11) +Defined in: [src/parser/classes/HashtagTile.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HashtagTile.ts#L11) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/HashtagTile.ts:11](https://github.com/LuanRT/You > **hashtag\_thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/HashtagTile.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HashtagTile.ts#L12) +Defined in: [src/parser/classes/HashtagTile.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HashtagTile.ts#L12) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/HashtagTile.ts:12](https://github.com/LuanRT/You > **hashtag\_video\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/HashtagTile.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HashtagTile.ts#L15) +Defined in: [src/parser/classes/HashtagTile.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HashtagTile.ts#L15) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/HashtagTile.ts:15](https://github.com/LuanRT/You > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -104,7 +104,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'HashtagTile'` -Defined in: [src/parser/classes/HashtagTile.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HashtagTile.ts#L8) +Defined in: [src/parser/classes/HashtagTile.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HashtagTile.ts#L8) #### Overrides @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/HashtagTile.ts:8](https://github.com/LuanRT/YouT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -158,7 +158,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is HashtagTile & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -196,7 +196,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -234,7 +234,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/HeatMarker.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/HeatMarker.md index c8e7003a..cb909237 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/HeatMarker.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/HeatMarker.md @@ -2,7 +2,7 @@ # Class: HeatMarker -Defined in: [src/parser/classes/HeatMarker.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HeatMarker.ts#L4) +Defined in: [src/parser/classes/HeatMarker.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HeatMarker.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/HeatMarker.ts:4](https://github.com/LuanRT/YouTu > **new HeatMarker**(`data`): `HeatMarker` -Defined in: [src/parser/classes/HeatMarker.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HeatMarker.ts#L11) +Defined in: [src/parser/classes/HeatMarker.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HeatMarker.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/HeatMarker.ts:11](https://github.com/LuanRT/YouT > **heat\_marker\_intensity\_score\_normalized**: `number` -Defined in: [src/parser/classes/HeatMarker.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HeatMarker.ts#L9) +Defined in: [src/parser/classes/HeatMarker.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HeatMarker.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/HeatMarker.ts:9](https://github.com/LuanRT/YouTu > **marker\_duration\_millis**: `number` -Defined in: [src/parser/classes/HeatMarker.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HeatMarker.ts#L8) +Defined in: [src/parser/classes/HeatMarker.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HeatMarker.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/HeatMarker.ts:8](https://github.com/LuanRT/YouTu > **time\_range\_start\_millis**: `number` -Defined in: [src/parser/classes/HeatMarker.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HeatMarker.ts#L7) +Defined in: [src/parser/classes/HeatMarker.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HeatMarker.ts#L7) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/HeatMarker.ts:7](https://github.com/LuanRT/YouTu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'HeatMarker'` -Defined in: [src/parser/classes/HeatMarker.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HeatMarker.ts#L5) +Defined in: [src/parser/classes/HeatMarker.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HeatMarker.ts#L5) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/HeatMarker.ts:5](https://github.com/LuanRT/YouTu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is HeatMarker & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Heatmap.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Heatmap.md index 4811c308..cf17b6d8 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Heatmap.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Heatmap.md @@ -2,7 +2,7 @@ # Class: Heatmap -Defined in: [src/parser/classes/Heatmap.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Heatmap.ts#L6) +Defined in: [src/parser/classes/Heatmap.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Heatmap.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/Heatmap.ts:6](https://github.com/LuanRT/YouTube. > **new Heatmap**(`data`): `Heatmap` -Defined in: [src/parser/classes/Heatmap.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Heatmap.ts#L15) +Defined in: [src/parser/classes/Heatmap.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Heatmap.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/Heatmap.ts:15](https://github.com/LuanRT/YouTube > **heat\_markers**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`HeatMarker`](HeatMarker.md)\> -Defined in: [src/parser/classes/Heatmap.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Heatmap.ts#L12) +Defined in: [src/parser/classes/Heatmap.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Heatmap.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/Heatmap.ts:12](https://github.com/LuanRT/YouTube > **heat\_markers\_decorations**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/Heatmap.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Heatmap.ts#L13) +Defined in: [src/parser/classes/Heatmap.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Heatmap.ts#L13) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/Heatmap.ts:13](https://github.com/LuanRT/YouTube > **max\_height\_dp**: `number` -Defined in: [src/parser/classes/Heatmap.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Heatmap.ts#L9) +Defined in: [src/parser/classes/Heatmap.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Heatmap.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/Heatmap.ts:9](https://github.com/LuanRT/YouTube. > **min\_height\_dp**: `number` -Defined in: [src/parser/classes/Heatmap.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Heatmap.ts#L10) +Defined in: [src/parser/classes/Heatmap.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Heatmap.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/Heatmap.ts:10](https://github.com/LuanRT/YouTube > **show\_hide\_animation\_duration\_millis**: `number` -Defined in: [src/parser/classes/Heatmap.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Heatmap.ts#L11) +Defined in: [src/parser/classes/Heatmap.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Heatmap.ts#L11) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/Heatmap.ts:11](https://github.com/LuanRT/YouTube > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'Heatmap'` -Defined in: [src/parser/classes/Heatmap.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Heatmap.ts#L7) +Defined in: [src/parser/classes/Heatmap.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Heatmap.ts#L7) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/Heatmap.ts:7](https://github.com/LuanRT/YouTube. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Heatmap & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/HeroPlaylistThumbnail.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/HeroPlaylistThumbnail.md index 88a2d1c4..17067920 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/HeroPlaylistThumbnail.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/HeroPlaylistThumbnail.md @@ -2,7 +2,7 @@ # Class: HeroPlaylistThumbnail -Defined in: [src/parser/classes/HeroPlaylistThumbnail.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HeroPlaylistThumbnail.ts#L6) +Defined in: [src/parser/classes/HeroPlaylistThumbnail.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HeroPlaylistThumbnail.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/HeroPlaylistThumbnail.ts:6](https://github.com/L > **new HeroPlaylistThumbnail**(`data`): `HeroPlaylistThumbnail` -Defined in: [src/parser/classes/HeroPlaylistThumbnail.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HeroPlaylistThumbnail.ts#L12) +Defined in: [src/parser/classes/HeroPlaylistThumbnail.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HeroPlaylistThumbnail.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/HeroPlaylistThumbnail.ts:12](https://github.com/ > **on\_tap\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/HeroPlaylistThumbnail.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HeroPlaylistThumbnail.ts#L10) +Defined in: [src/parser/classes/HeroPlaylistThumbnail.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HeroPlaylistThumbnail.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/HeroPlaylistThumbnail.ts:10](https://github.com/ > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/HeroPlaylistThumbnail.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HeroPlaylistThumbnail.ts#L9) +Defined in: [src/parser/classes/HeroPlaylistThumbnail.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HeroPlaylistThumbnail.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/HeroPlaylistThumbnail.ts:9](https://github.com/L > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'HeroPlaylistThumbnail'` -Defined in: [src/parser/classes/HeroPlaylistThumbnail.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HeroPlaylistThumbnail.ts#L7) +Defined in: [src/parser/classes/HeroPlaylistThumbnail.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HeroPlaylistThumbnail.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/HeroPlaylistThumbnail.ts:7](https://github.com/L > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is HeroPlaylistThumbnail & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/HideEngagementPanelEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/HideEngagementPanelEndpoint.md index af5679b2..173792f0 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/HideEngagementPanelEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/HideEngagementPanelEndpoint.md @@ -2,7 +2,7 @@ # Class: HideEngagementPanelEndpoint -Defined in: [src/parser/classes/endpoints/HideEngagementPanelEndpoint.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/HideEngagementPanelEndpoint.ts#L4) +Defined in: [src/parser/classes/endpoints/HideEngagementPanelEndpoint.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/HideEngagementPanelEndpoint.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/endpoints/HideEngagementPanelEndpoint.ts:4](http > **new HideEngagementPanelEndpoint**(`data`): `HideEngagementPanelEndpoint` -Defined in: [src/parser/classes/endpoints/HideEngagementPanelEndpoint.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/HideEngagementPanelEndpoint.ts#L9) +Defined in: [src/parser/classes/endpoints/HideEngagementPanelEndpoint.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/HideEngagementPanelEndpoint.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/endpoints/HideEngagementPanelEndpoint.ts:9](http > **panel\_identifier**: `string` -Defined in: [src/parser/classes/endpoints/HideEngagementPanelEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/HideEngagementPanelEndpoint.ts#L7) +Defined in: [src/parser/classes/endpoints/HideEngagementPanelEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/HideEngagementPanelEndpoint.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/endpoints/HideEngagementPanelEndpoint.ts:7](http > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'HideEngagementPanelEndpoint'` -Defined in: [src/parser/classes/endpoints/HideEngagementPanelEndpoint.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/HideEngagementPanelEndpoint.ts#L5) +Defined in: [src/parser/classes/endpoints/HideEngagementPanelEndpoint.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/HideEngagementPanelEndpoint.ts#L5) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/endpoints/HideEngagementPanelEndpoint.ts:5](http > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is HideEngagementPanelEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/HighlightsCarousel.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/HighlightsCarousel.md index 70490962..0420acec 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/HighlightsCarousel.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/HighlightsCarousel.md @@ -2,7 +2,7 @@ # Class: HighlightsCarousel -Defined in: [src/parser/classes/HighlightsCarousel.ts:69](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HighlightsCarousel.ts#L69) +Defined in: [src/parser/classes/HighlightsCarousel.ts:69](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HighlightsCarousel.ts#L69) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/HighlightsCarousel.ts:69](https://github.com/Lua > **new HighlightsCarousel**(`data`): `HighlightsCarousel` -Defined in: [src/parser/classes/HighlightsCarousel.ts:74](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HighlightsCarousel.ts#L74) +Defined in: [src/parser/classes/HighlightsCarousel.ts:74](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HighlightsCarousel.ts#L74) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/HighlightsCarousel.ts:74](https://github.com/Lua > **panels**: `Panel`[] -Defined in: [src/parser/classes/HighlightsCarousel.ts:72](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HighlightsCarousel.ts#L72) +Defined in: [src/parser/classes/HighlightsCarousel.ts:72](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HighlightsCarousel.ts#L72) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/HighlightsCarousel.ts:72](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'HighlightsCarousel'` -Defined in: [src/parser/classes/HighlightsCarousel.ts:70](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HighlightsCarousel.ts#L70) +Defined in: [src/parser/classes/HighlightsCarousel.ts:70](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HighlightsCarousel.ts#L70) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/HighlightsCarousel.ts:70](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is HighlightsCarousel & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/HistorySuggestion.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/HistorySuggestion.md index 03dc8076..8c1206c1 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/HistorySuggestion.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/HistorySuggestion.md @@ -2,7 +2,7 @@ # Class: HistorySuggestion -Defined in: [src/parser/classes/HistorySuggestion.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HistorySuggestion.ts#L4) +Defined in: [src/parser/classes/HistorySuggestion.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HistorySuggestion.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/HistorySuggestion.ts:4](https://github.com/LuanR > **new HistorySuggestion**(`data`): `HistorySuggestion` -Defined in: [src/parser/classes/HistorySuggestion.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HistorySuggestion.ts#L7) +Defined in: [src/parser/classes/HistorySuggestion.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HistorySuggestion.ts#L7) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/HistorySuggestion.ts:7](https://github.com/LuanR > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/SearchSuggestion.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchSuggestion.ts#L10) +Defined in: [src/parser/classes/SearchSuggestion.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchSuggestion.ts#L10) #### Inherited from @@ -48,7 +48,7 @@ Defined in: [src/parser/classes/SearchSuggestion.ts:10](https://github.com/LuanR > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/SearchSuggestion.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchSuggestion.ts#L11) +Defined in: [src/parser/classes/SearchSuggestion.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchSuggestion.ts#L11) #### Inherited from @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/SearchSuggestion.ts:11](https://github.com/LuanR > `optional` **service\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/SearchSuggestion.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchSuggestion.ts#L12) +Defined in: [src/parser/classes/SearchSuggestion.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchSuggestion.ts#L12) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/SearchSuggestion.ts:12](https://github.com/LuanR > **suggestion**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SearchSuggestion.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchSuggestion.ts#L9) +Defined in: [src/parser/classes/SearchSuggestion.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchSuggestion.ts#L9) #### Inherited from @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/SearchSuggestion.ts:9](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'HistorySuggestion'` -Defined in: [src/parser/classes/HistorySuggestion.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HistorySuggestion.ts#L5) +Defined in: [src/parser/classes/HistorySuggestion.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HistorySuggestion.ts#L5) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/HistorySuggestion.ts:5](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is HistorySuggestion & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/HorizontalCardList.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/HorizontalCardList.md index 29994479..f4c927de 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/HorizontalCardList.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/HorizontalCardList.md @@ -2,7 +2,7 @@ # Class: HorizontalCardList -Defined in: [src/parser/classes/HorizontalCardList.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HorizontalCardList.ts#L10) +Defined in: [src/parser/classes/HorizontalCardList.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HorizontalCardList.ts#L10) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/HorizontalCardList.ts:10](https://github.com/Lua > **new HorizontalCardList**(`data`): `HorizontalCardList` -Defined in: [src/parser/classes/HorizontalCardList.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HorizontalCardList.ts#L18) +Defined in: [src/parser/classes/HorizontalCardList.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HorizontalCardList.ts#L18) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/HorizontalCardList.ts:18](https://github.com/Lua > **cards**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`SearchRefinementCard`](SearchRefinementCard.md) \| [`MacroMarkersListItem`](MacroMarkersListItem.md) \| [`GameCard`](GameCard.md) \| [`VideoCard`](VideoCard.md) \| [`VideoAttributeView`](VideoAttributeView.md)\> -Defined in: [src/parser/classes/HorizontalCardList.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HorizontalCardList.ts#L13) +Defined in: [src/parser/classes/HorizontalCardList.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HorizontalCardList.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/HorizontalCardList.ts:13](https://github.com/Lua > **header**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/HorizontalCardList.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HorizontalCardList.ts#L14) +Defined in: [src/parser/classes/HorizontalCardList.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HorizontalCardList.ts#L14) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/HorizontalCardList.ts:14](https://github.com/Lua > **next\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/HorizontalCardList.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HorizontalCardList.ts#L16) +Defined in: [src/parser/classes/HorizontalCardList.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HorizontalCardList.ts#L16) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/HorizontalCardList.ts:16](https://github.com/Lua > **previous\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/HorizontalCardList.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HorizontalCardList.ts#L15) +Defined in: [src/parser/classes/HorizontalCardList.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HorizontalCardList.ts#L15) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/HorizontalCardList.ts:15](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'HorizontalCardList'` -Defined in: [src/parser/classes/HorizontalCardList.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HorizontalCardList.ts#L11) +Defined in: [src/parser/classes/HorizontalCardList.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HorizontalCardList.ts#L11) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/HorizontalCardList.ts:11](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is HorizontalCardList & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/HorizontalList.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/HorizontalList.md index 5af99552..4c62dda9 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/HorizontalList.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/HorizontalList.md @@ -2,7 +2,7 @@ # Class: HorizontalList -Defined in: [src/parser/classes/HorizontalList.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HorizontalList.ts#L4) +Defined in: [src/parser/classes/HorizontalList.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HorizontalList.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/HorizontalList.ts:4](https://github.com/LuanRT/Y > **new HorizontalList**(`data`): `HorizontalList` -Defined in: [src/parser/classes/HorizontalList.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HorizontalList.ts#L10) +Defined in: [src/parser/classes/HorizontalList.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HorizontalList.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/HorizontalList.ts:10](https://github.com/LuanRT/ > **items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/HorizontalList.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HorizontalList.ts#L8) +Defined in: [src/parser/classes/HorizontalList.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HorizontalList.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/HorizontalList.ts:8](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **visible\_item\_count**: `string` -Defined in: [src/parser/classes/HorizontalList.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HorizontalList.ts#L7) +Defined in: [src/parser/classes/HorizontalList.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HorizontalList.ts#L7) *** @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/HorizontalList.ts:7](https://github.com/LuanRT/Y > `static` **type**: `string` = `'HorizontalList'` -Defined in: [src/parser/classes/HorizontalList.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HorizontalList.ts#L5) +Defined in: [src/parser/classes/HorizontalList.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HorizontalList.ts#L5) #### Overrides @@ -78,7 +78,7 @@ Defined in: [src/parser/classes/HorizontalList.ts:5](https://github.com/LuanRT/Y > **get** **contents**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/HorizontalList.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HorizontalList.ts#L17) +Defined in: [src/parser/classes/HorizontalList.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HorizontalList.ts#L17) ##### Returns @@ -90,7 +90,7 @@ Defined in: [src/parser/classes/HorizontalList.ts:17](https://github.com/LuanRT/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -132,7 +132,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is HorizontalList & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -170,7 +170,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -208,7 +208,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/HorizontalMovieList.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/HorizontalMovieList.md index 7b907ec9..f28f275e 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/HorizontalMovieList.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/HorizontalMovieList.md @@ -2,7 +2,7 @@ # Class: HorizontalMovieList -Defined in: [src/parser/classes/HorizontalMovieList.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HorizontalMovieList.ts#L5) +Defined in: [src/parser/classes/HorizontalMovieList.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HorizontalMovieList.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/HorizontalMovieList.ts:5](https://github.com/Lua > **new HorizontalMovieList**(`data`): `HorizontalMovieList` -Defined in: [src/parser/classes/HorizontalMovieList.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HorizontalMovieList.ts#L12) +Defined in: [src/parser/classes/HorizontalMovieList.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HorizontalMovieList.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/HorizontalMovieList.ts:12](https://github.com/Lu > **items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/HorizontalMovieList.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HorizontalMovieList.ts#L8) +Defined in: [src/parser/classes/HorizontalMovieList.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HorizontalMovieList.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/HorizontalMovieList.ts:8](https://github.com/Lua > **next\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/HorizontalMovieList.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HorizontalMovieList.ts#L10) +Defined in: [src/parser/classes/HorizontalMovieList.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HorizontalMovieList.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/HorizontalMovieList.ts:10](https://github.com/Lu > **previous\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/HorizontalMovieList.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HorizontalMovieList.ts#L9) +Defined in: [src/parser/classes/HorizontalMovieList.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HorizontalMovieList.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/HorizontalMovieList.ts:9](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'HorizontalMovieList'` -Defined in: [src/parser/classes/HorizontalMovieList.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HorizontalMovieList.ts#L6) +Defined in: [src/parser/classes/HorizontalMovieList.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HorizontalMovieList.ts#L6) #### Overrides @@ -86,7 +86,7 @@ Defined in: [src/parser/classes/HorizontalMovieList.ts:6](https://github.com/Lua > **get** **contents**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/HorizontalMovieList.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HorizontalMovieList.ts#L20) +Defined in: [src/parser/classes/HorizontalMovieList.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HorizontalMovieList.ts#L20) ##### Returns @@ -98,7 +98,7 @@ Defined in: [src/parser/classes/HorizontalMovieList.ts:20](https://github.com/Lu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -140,7 +140,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is HorizontalMovieList & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -178,7 +178,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -216,7 +216,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/HowThisWasMadeSectionView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/HowThisWasMadeSectionView.md index f25360e0..20719195 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/HowThisWasMadeSectionView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/HowThisWasMadeSectionView.md @@ -2,7 +2,7 @@ # Class: HowThisWasMadeSectionView -Defined in: [src/parser/classes/HowThisWasMadeSectionView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HowThisWasMadeSectionView.ts#L5) +Defined in: [src/parser/classes/HowThisWasMadeSectionView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HowThisWasMadeSectionView.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/HowThisWasMadeSectionView.ts:5](https://github.c > **new HowThisWasMadeSectionView**(`data`): `HowThisWasMadeSectionView` -Defined in: [src/parser/classes/HowThisWasMadeSectionView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HowThisWasMadeSectionView.ts#L12) +Defined in: [src/parser/classes/HowThisWasMadeSectionView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HowThisWasMadeSectionView.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/HowThisWasMadeSectionView.ts:12](https://github. > `optional` **body\_header**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/HowThisWasMadeSectionView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HowThisWasMadeSectionView.ts#L10) +Defined in: [src/parser/classes/HowThisWasMadeSectionView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HowThisWasMadeSectionView.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/HowThisWasMadeSectionView.ts:10](https://github. > `optional` **body\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/HowThisWasMadeSectionView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HowThisWasMadeSectionView.ts#L9) +Defined in: [src/parser/classes/HowThisWasMadeSectionView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HowThisWasMadeSectionView.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/HowThisWasMadeSectionView.ts:9](https://github.c > `optional` **section\_title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/HowThisWasMadeSectionView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HowThisWasMadeSectionView.ts#L8) +Defined in: [src/parser/classes/HowThisWasMadeSectionView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HowThisWasMadeSectionView.ts#L8) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/HowThisWasMadeSectionView.ts:8](https://github.c > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'HowThisWasMadeSectionView'` -Defined in: [src/parser/classes/HowThisWasMadeSectionView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HowThisWasMadeSectionView.ts#L6) +Defined in: [src/parser/classes/HowThisWasMadeSectionView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HowThisWasMadeSectionView.ts#L6) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/HowThisWasMadeSectionView.ts:6](https://github.c > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is HowThisWasMadeSectionView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/HypePointsFactoid.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/HypePointsFactoid.md index ca0c78d9..217c5adb 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/HypePointsFactoid.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/HypePointsFactoid.md @@ -2,7 +2,7 @@ # Class: HypePointsFactoid -Defined in: [src/parser/classes/HypePointsFactoid.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HypePointsFactoid.ts#L5) +Defined in: [src/parser/classes/HypePointsFactoid.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HypePointsFactoid.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/HypePointsFactoid.ts:5](https://github.com/LuanR > **new HypePointsFactoid**(`data`): `HypePointsFactoid` -Defined in: [src/parser/classes/HypePointsFactoid.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HypePointsFactoid.ts#L10) +Defined in: [src/parser/classes/HypePointsFactoid.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HypePointsFactoid.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/HypePointsFactoid.ts:10](https://github.com/Luan > **factoid**: [`Factoid`](Factoid.md) \| `null` -Defined in: [src/parser/classes/HypePointsFactoid.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HypePointsFactoid.ts#L8) +Defined in: [src/parser/classes/HypePointsFactoid.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HypePointsFactoid.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/HypePointsFactoid.ts:8](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'HypePointsFactoid'` -Defined in: [src/parser/classes/HypePointsFactoid.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/HypePointsFactoid.ts#L6) +Defined in: [src/parser/classes/HypePointsFactoid.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/HypePointsFactoid.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/HypePointsFactoid.ts:6](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is HypePointsFactoid & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/IconLink.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/IconLink.md index 64477826..8d448ce7 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/IconLink.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/IconLink.md @@ -2,7 +2,7 @@ # Class: IconLink -Defined in: [src/parser/classes/IconLink.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/IconLink.ts#L6) +Defined in: [src/parser/classes/IconLink.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/IconLink.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/IconLink.ts:6](https://github.com/LuanRT/YouTube > **new IconLink**(`data`): `IconLink` -Defined in: [src/parser/classes/IconLink.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/IconLink.ts#L13) +Defined in: [src/parser/classes/IconLink.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/IconLink.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/IconLink.ts:13](https://github.com/LuanRT/YouTub > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/IconLink.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/IconLink.ts#L11) +Defined in: [src/parser/classes/IconLink.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/IconLink.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/IconLink.ts:11](https://github.com/LuanRT/YouTub > **icon\_type**: `string` -Defined in: [src/parser/classes/IconLink.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/IconLink.ts#L9) +Defined in: [src/parser/classes/IconLink.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/IconLink.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/IconLink.ts:9](https://github.com/LuanRT/YouTube > `optional` **tooltip**: `string` -Defined in: [src/parser/classes/IconLink.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/IconLink.ts#L10) +Defined in: [src/parser/classes/IconLink.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/IconLink.ts#L10) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/IconLink.ts:10](https://github.com/LuanRT/YouTub > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'IconLink'` -Defined in: [src/parser/classes/IconLink.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/IconLink.ts#L7) +Defined in: [src/parser/classes/IconLink.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/IconLink.ts#L7) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/IconLink.ts:7](https://github.com/LuanRT/YouTube > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is IconLink & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ImageBannerView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ImageBannerView.md index 094232d7..c42e2c67 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ImageBannerView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ImageBannerView.md @@ -2,7 +2,7 @@ # Class: ImageBannerView -Defined in: [src/parser/classes/ImageBannerView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ImageBannerView.ts#L5) +Defined in: [src/parser/classes/ImageBannerView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ImageBannerView.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ImageBannerView.ts:5](https://github.com/LuanRT/ > **new ImageBannerView**(`data`): `ImageBannerView` -Defined in: [src/parser/classes/ImageBannerView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ImageBannerView.ts#L11) +Defined in: [src/parser/classes/ImageBannerView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ImageBannerView.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ImageBannerView.ts:11](https://github.com/LuanRT > **image**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/ImageBannerView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ImageBannerView.ts#L8) +Defined in: [src/parser/classes/ImageBannerView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ImageBannerView.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ImageBannerView.ts:8](https://github.com/LuanRT/ > **style**: `string` -Defined in: [src/parser/classes/ImageBannerView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ImageBannerView.ts#L9) +Defined in: [src/parser/classes/ImageBannerView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ImageBannerView.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ImageBannerView.ts:9](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ImageBannerView'` -Defined in: [src/parser/classes/ImageBannerView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ImageBannerView.ts#L6) +Defined in: [src/parser/classes/ImageBannerView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ImageBannerView.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ImageBannerView.ts:6](https://github.com/LuanRT/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ImageBannerView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/IncludingResultsFor.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/IncludingResultsFor.md index f80db7f8..0f79c4f4 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/IncludingResultsFor.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/IncludingResultsFor.md @@ -2,7 +2,7 @@ # Class: IncludingResultsFor -Defined in: [src/parser/classes/IncludingResultsFor.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/IncludingResultsFor.ts#L6) +Defined in: [src/parser/classes/IncludingResultsFor.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/IncludingResultsFor.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/IncludingResultsFor.ts:6](https://github.com/Lua > **new IncludingResultsFor**(`data`): `IncludingResultsFor` -Defined in: [src/parser/classes/IncludingResultsFor.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/IncludingResultsFor.ts#L16) +Defined in: [src/parser/classes/IncludingResultsFor.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/IncludingResultsFor.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/IncludingResultsFor.ts:16](https://github.com/Lu > **corrected\_query**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/IncludingResultsFor.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/IncludingResultsFor.ts#L10) +Defined in: [src/parser/classes/IncludingResultsFor.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/IncludingResultsFor.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/IncludingResultsFor.ts:10](https://github.com/Lu > **corrected\_query\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/IncludingResultsFor.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/IncludingResultsFor.ts#L11) +Defined in: [src/parser/classes/IncludingResultsFor.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/IncludingResultsFor.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/IncludingResultsFor.ts:11](https://github.com/Lu > **including\_results\_for**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/IncludingResultsFor.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/IncludingResultsFor.ts#L9) +Defined in: [src/parser/classes/IncludingResultsFor.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/IncludingResultsFor.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/IncludingResultsFor.ts:9](https://github.com/Lua > `optional` **original\_query**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/IncludingResultsFor.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/IncludingResultsFor.ts#L13) +Defined in: [src/parser/classes/IncludingResultsFor.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/IncludingResultsFor.ts#L13) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/IncludingResultsFor.ts:13](https://github.com/Lu > `optional` **original\_query\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/IncludingResultsFor.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/IncludingResultsFor.ts#L14) +Defined in: [src/parser/classes/IncludingResultsFor.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/IncludingResultsFor.ts#L14) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/IncludingResultsFor.ts:14](https://github.com/Lu > `optional` **search\_only\_for**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/IncludingResultsFor.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/IncludingResultsFor.ts#L12) +Defined in: [src/parser/classes/IncludingResultsFor.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/IncludingResultsFor.ts#L12) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/IncludingResultsFor.ts:12](https://github.com/Lu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'IncludingResultsFor'` -Defined in: [src/parser/classes/IncludingResultsFor.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/IncludingResultsFor.ts#L7) +Defined in: [src/parser/classes/IncludingResultsFor.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/IncludingResultsFor.ts#L7) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/IncludingResultsFor.ts:7](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is IncludingResultsFor & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/InfoPanelContainer.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/InfoPanelContainer.md index 547cee52..22d2e61a 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/InfoPanelContainer.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/InfoPanelContainer.md @@ -2,7 +2,7 @@ # Class: InfoPanelContainer -Defined in: [src/parser/classes/InfoPanelContainer.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoPanelContainer.ts#L8) +Defined in: [src/parser/classes/InfoPanelContainer.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoPanelContainer.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/InfoPanelContainer.ts:8](https://github.com/Luan > **new InfoPanelContainer**(`data`): `InfoPanelContainer` -Defined in: [src/parser/classes/InfoPanelContainer.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoPanelContainer.ts#L19) +Defined in: [src/parser/classes/InfoPanelContainer.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoPanelContainer.ts#L19) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/InfoPanelContainer.ts:19](https://github.com/Lua > **background**: `string` -Defined in: [src/parser/classes/InfoPanelContainer.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoPanelContainer.ts#L15) +Defined in: [src/parser/classes/InfoPanelContainer.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoPanelContainer.ts#L15) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/InfoPanelContainer.ts:15](https://github.com/Lua > **content**: [`InfoPanelContent`](InfoPanelContent.md) \| `null` -Defined in: [src/parser/classes/InfoPanelContainer.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoPanelContainer.ts#L13) +Defined in: [src/parser/classes/InfoPanelContainer.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoPanelContainer.ts#L13) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/InfoPanelContainer.ts:13](https://github.com/Lua > `optional` **header\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/InfoPanelContainer.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoPanelContainer.ts#L14) +Defined in: [src/parser/classes/InfoPanelContainer.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoPanelContainer.ts#L14) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/InfoPanelContainer.ts:14](https://github.com/Lua > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/InfoPanelContainer.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoPanelContainer.ts#L17) +Defined in: [src/parser/classes/InfoPanelContainer.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoPanelContainer.ts#L17) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/InfoPanelContainer.ts:17](https://github.com/Lua > **menu**: [`Menu`](Menu.md) \| `null` -Defined in: [src/parser/classes/InfoPanelContainer.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoPanelContainer.ts#L12) +Defined in: [src/parser/classes/InfoPanelContainer.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoPanelContainer.ts#L12) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/InfoPanelContainer.ts:12](https://github.com/Lua > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/InfoPanelContainer.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoPanelContainer.ts#L11) +Defined in: [src/parser/classes/InfoPanelContainer.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoPanelContainer.ts#L11) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/InfoPanelContainer.ts:11](https://github.com/Lua > `optional` **title\_style**: `string` -Defined in: [src/parser/classes/InfoPanelContainer.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoPanelContainer.ts#L16) +Defined in: [src/parser/classes/InfoPanelContainer.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoPanelContainer.ts#L16) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/InfoPanelContainer.ts:16](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -104,7 +104,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'InfoPanelContainer'` -Defined in: [src/parser/classes/InfoPanelContainer.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoPanelContainer.ts#L9) +Defined in: [src/parser/classes/InfoPanelContainer.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoPanelContainer.ts#L9) #### Overrides @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/InfoPanelContainer.ts:9](https://github.com/Luan > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -158,7 +158,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is InfoPanelContainer & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -196,7 +196,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -234,7 +234,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/InfoPanelContent.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/InfoPanelContent.md index 163bf463..5f87156b 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/InfoPanelContent.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/InfoPanelContent.md @@ -2,7 +2,7 @@ # Class: InfoPanelContent -Defined in: [src/parser/classes/InfoPanelContent.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoPanelContent.ts#L8) +Defined in: [src/parser/classes/InfoPanelContent.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoPanelContent.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/InfoPanelContent.ts:8](https://github.com/LuanRT > **new InfoPanelContent**(`data`): `InfoPanelContent` -Defined in: [src/parser/classes/InfoPanelContent.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoPanelContent.ts#L21) +Defined in: [src/parser/classes/InfoPanelContent.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoPanelContent.ts#L21) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/InfoPanelContent.ts:21](https://github.com/LuanR > `optional` **attributed\_paragraphs**: [`Text`](../../Misc/classes/Text.md)[] -Defined in: [src/parser/classes/InfoPanelContent.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoPanelContent.ts#L14) +Defined in: [src/parser/classes/InfoPanelContent.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoPanelContent.ts#L14) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/InfoPanelContent.ts:14](https://github.com/LuanR > **background**: `string` -Defined in: [src/parser/classes/InfoPanelContent.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoPanelContent.ts#L18) +Defined in: [src/parser/classes/InfoPanelContent.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoPanelContent.ts#L18) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/InfoPanelContent.ts:18](https://github.com/LuanR > `optional` **inline\_link\_icon\_type**: `string` -Defined in: [src/parser/classes/InfoPanelContent.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoPanelContent.ts#L19) +Defined in: [src/parser/classes/InfoPanelContent.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoPanelContent.ts#L19) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/InfoPanelContent.ts:19](https://github.com/LuanR > `optional` **paragraphs**: [`Text`](../../Misc/classes/Text.md)[] -Defined in: [src/parser/classes/InfoPanelContent.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoPanelContent.ts#L13) +Defined in: [src/parser/classes/InfoPanelContent.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoPanelContent.ts#L13) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/InfoPanelContent.ts:13](https://github.com/LuanR > **source**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/InfoPanelContent.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoPanelContent.ts#L12) +Defined in: [src/parser/classes/InfoPanelContent.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoPanelContent.ts#L12) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/InfoPanelContent.ts:12](https://github.com/LuanR > **source\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/InfoPanelContent.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoPanelContent.ts#L16) +Defined in: [src/parser/classes/InfoPanelContent.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoPanelContent.ts#L16) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/InfoPanelContent.ts:16](https://github.com/LuanR > **thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/InfoPanelContent.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoPanelContent.ts#L15) +Defined in: [src/parser/classes/InfoPanelContent.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoPanelContent.ts#L15) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/InfoPanelContent.ts:15](https://github.com/LuanR > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/InfoPanelContent.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoPanelContent.ts#L11) +Defined in: [src/parser/classes/InfoPanelContent.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoPanelContent.ts#L11) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/InfoPanelContent.ts:11](https://github.com/LuanR > **truncate\_paragraphs**: `boolean` -Defined in: [src/parser/classes/InfoPanelContent.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoPanelContent.ts#L17) +Defined in: [src/parser/classes/InfoPanelContent.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoPanelContent.ts#L17) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/InfoPanelContent.ts:17](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -120,7 +120,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'InfoPanelContent'` -Defined in: [src/parser/classes/InfoPanelContent.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoPanelContent.ts#L9) +Defined in: [src/parser/classes/InfoPanelContent.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoPanelContent.ts#L9) #### Overrides @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/InfoPanelContent.ts:9](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -174,7 +174,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is InfoPanelContent & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -212,7 +212,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -250,7 +250,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/InfoRow.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/InfoRow.md index a265b7c4..63f81263 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/InfoRow.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/InfoRow.md @@ -2,7 +2,7 @@ # Class: InfoRow -Defined in: [src/parser/classes/InfoRow.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoRow.ts#L5) +Defined in: [src/parser/classes/InfoRow.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoRow.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/InfoRow.ts:5](https://github.com/LuanRT/YouTube. > **new InfoRow**(`data`): `InfoRow` -Defined in: [src/parser/classes/InfoRow.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoRow.ts#L13) +Defined in: [src/parser/classes/InfoRow.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoRow.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/InfoRow.ts:13](https://github.com/LuanRT/YouTube > `optional` **default\_metadata**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/InfoRow.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoRow.ts#L9) +Defined in: [src/parser/classes/InfoRow.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoRow.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/InfoRow.ts:9](https://github.com/LuanRT/YouTube. > `optional` **expanded\_metadata**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/InfoRow.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoRow.ts#L10) +Defined in: [src/parser/classes/InfoRow.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoRow.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/InfoRow.ts:10](https://github.com/LuanRT/YouTube > `optional` **info\_row\_expand\_status\_key**: `string` -Defined in: [src/parser/classes/InfoRow.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoRow.ts#L11) +Defined in: [src/parser/classes/InfoRow.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoRow.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/InfoRow.ts:11](https://github.com/LuanRT/YouTube > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/InfoRow.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoRow.ts#L8) +Defined in: [src/parser/classes/InfoRow.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoRow.ts#L8) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/InfoRow.ts:8](https://github.com/LuanRT/YouTube. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'InfoRow'` -Defined in: [src/parser/classes/InfoRow.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InfoRow.ts#L6) +Defined in: [src/parser/classes/InfoRow.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InfoRow.ts#L6) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/InfoRow.ts:6](https://github.com/LuanRT/YouTube. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is InfoRow & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/InteractiveTabbedHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/InteractiveTabbedHeader.md index a8b67584..be6947a1 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/InteractiveTabbedHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/InteractiveTabbedHeader.md @@ -2,7 +2,7 @@ # Class: InteractiveTabbedHeader -Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InteractiveTabbedHeader.ts#L10) +Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InteractiveTabbedHeader.ts#L10) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:10](https://github.co > **new InteractiveTabbedHeader**(`data`): `InteractiveTabbedHeader` -Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InteractiveTabbedHeader.ts#L23) +Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InteractiveTabbedHeader.ts#L23) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:23](https://github.co > **auto\_generated**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InteractiveTabbedHeader.ts#L21) +Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InteractiveTabbedHeader.ts#L21) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:21](https://github.co > **badges**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MetadataBadge`](MetadataBadge.md)\> -Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InteractiveTabbedHeader.ts#L17) +Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InteractiveTabbedHeader.ts#L17) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:17](https://github.co > **banner**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InteractiveTabbedHeader.ts#L19) +Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InteractiveTabbedHeader.ts#L19) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:19](https://github.co > **box\_art**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InteractiveTabbedHeader.ts#L18) +Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InteractiveTabbedHeader.ts#L18) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:18](https://github.co > **buttons**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Button`](Button.md) \| [`SubscribeButton`](SubscribeButton.md)\> -Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InteractiveTabbedHeader.ts#L20) +Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InteractiveTabbedHeader.ts#L20) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:20](https://github.co > **description**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InteractiveTabbedHeader.ts#L15) +Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InteractiveTabbedHeader.ts#L15) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:15](https://github.co > **header\_type**: `string` -Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InteractiveTabbedHeader.ts#L13) +Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InteractiveTabbedHeader.ts#L13) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:13](https://github.co > **metadata**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InteractiveTabbedHeader.ts#L16) +Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InteractiveTabbedHeader.ts#L16) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:16](https://github.co > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InteractiveTabbedHeader.ts#L14) +Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InteractiveTabbedHeader.ts#L14) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:14](https://github.co > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -120,7 +120,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'InteractiveTabbedHeader'` -Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/InteractiveTabbedHeader.ts#L11) +Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/InteractiveTabbedHeader.ts#L11) #### Overrides @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/InteractiveTabbedHeader.ts:11](https://github.co > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -174,7 +174,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is InteractiveTabbedHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -212,7 +212,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -250,7 +250,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ItemSection.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ItemSection.md index d506f8e3..cb14cbf0 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ItemSection.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ItemSection.md @@ -2,7 +2,7 @@ # Class: ItemSection -Defined in: [src/parser/classes/ItemSection.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ItemSection.ts#L9) +Defined in: [src/parser/classes/ItemSection.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ItemSection.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ItemSection.ts:9](https://github.com/LuanRT/YouT > **new ItemSection**(`data`): `ItemSection` -Defined in: [src/parser/classes/ItemSection.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ItemSection.ts#L17) +Defined in: [src/parser/classes/ItemSection.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ItemSection.ts#L17) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ItemSection.ts:17](https://github.com/LuanRT/You > **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/ItemSection.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ItemSection.ts#L13) +Defined in: [src/parser/classes/ItemSection.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ItemSection.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ItemSection.ts:13](https://github.com/LuanRT/You > `optional` **continuation**: `string` -Defined in: [src/parser/classes/ItemSection.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ItemSection.ts#L15) +Defined in: [src/parser/classes/ItemSection.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ItemSection.ts#L15) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ItemSection.ts:15](https://github.com/LuanRT/You > **header**: [`ItemSectionHeader`](ItemSectionHeader.md) \| [`ItemSectionTabbedHeader`](ItemSectionTabbedHeader.md) \| [`CommentsHeader`](CommentsHeader.md) \| [`SortFilterHeader`](SortFilterHeader.md) \| [`FeedFilterChipBar`](FeedFilterChipBar.md) \| `null` -Defined in: [src/parser/classes/ItemSection.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ItemSection.ts#L12) +Defined in: [src/parser/classes/ItemSection.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ItemSection.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ItemSection.ts:12](https://github.com/LuanRT/You > `optional` **target\_id**: `string` -Defined in: [src/parser/classes/ItemSection.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ItemSection.ts#L14) +Defined in: [src/parser/classes/ItemSection.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ItemSection.ts#L14) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ItemSection.ts:14](https://github.com/LuanRT/You > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ItemSection'` -Defined in: [src/parser/classes/ItemSection.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ItemSection.ts#L10) +Defined in: [src/parser/classes/ItemSection.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ItemSection.ts#L10) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/ItemSection.ts:10](https://github.com/LuanRT/You > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ItemSection & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ItemSectionHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ItemSectionHeader.md index b5c03459..ebec2997 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ItemSectionHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ItemSectionHeader.md @@ -2,7 +2,7 @@ # Class: ItemSectionHeader -Defined in: [src/parser/classes/ItemSectionHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ItemSectionHeader.ts#L5) +Defined in: [src/parser/classes/ItemSectionHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ItemSectionHeader.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ItemSectionHeader.ts:5](https://github.com/LuanR > **new ItemSectionHeader**(`data`): `ItemSectionHeader` -Defined in: [src/parser/classes/ItemSectionHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ItemSectionHeader.ts#L10) +Defined in: [src/parser/classes/ItemSectionHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ItemSectionHeader.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ItemSectionHeader.ts:10](https://github.com/Luan > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ItemSectionHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ItemSectionHeader.ts#L8) +Defined in: [src/parser/classes/ItemSectionHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ItemSectionHeader.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ItemSectionHeader.ts:8](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ItemSectionHeader'` -Defined in: [src/parser/classes/ItemSectionHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ItemSectionHeader.ts#L6) +Defined in: [src/parser/classes/ItemSectionHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ItemSectionHeader.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ItemSectionHeader.ts:6](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ItemSectionHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ItemSectionTab.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ItemSectionTab.md index 1e20fc11..eb8b5171 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ItemSectionTab.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ItemSectionTab.md @@ -2,7 +2,7 @@ # Class: ItemSectionTab -Defined in: [src/parser/classes/ItemSectionTab.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ItemSectionTab.ts#L6) +Defined in: [src/parser/classes/ItemSectionTab.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ItemSectionTab.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ItemSectionTab.ts:6](https://github.com/LuanRT/Y > **new ItemSectionTab**(`data`): `ItemSectionTab` -Defined in: [src/parser/classes/ItemSectionTab.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ItemSectionTab.ts#L13) +Defined in: [src/parser/classes/ItemSectionTab.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ItemSectionTab.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ItemSectionTab.ts:13](https://github.com/LuanRT/ > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ItemSectionTab.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ItemSectionTab.ts#L11) +Defined in: [src/parser/classes/ItemSectionTab.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ItemSectionTab.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ItemSectionTab.ts:11](https://github.com/LuanRT/ > **selected**: `boolean` -Defined in: [src/parser/classes/ItemSectionTab.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ItemSectionTab.ts#L10) +Defined in: [src/parser/classes/ItemSectionTab.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ItemSectionTab.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ItemSectionTab.ts:10](https://github.com/LuanRT/ > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ItemSectionTab.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ItemSectionTab.ts#L9) +Defined in: [src/parser/classes/ItemSectionTab.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ItemSectionTab.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ItemSectionTab.ts:9](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'Tab'` -Defined in: [src/parser/classes/ItemSectionTab.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ItemSectionTab.ts#L7) +Defined in: [src/parser/classes/ItemSectionTab.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ItemSectionTab.ts#L7) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ItemSectionTab.ts:7](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ItemSectionTab & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ItemSectionTabbedHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ItemSectionTabbedHeader.md index a03cd0d3..c820919e 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ItemSectionTabbedHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ItemSectionTabbedHeader.md @@ -2,7 +2,7 @@ # Class: ItemSectionTabbedHeader -Defined in: [src/parser/classes/ItemSectionTabbedHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ItemSectionTabbedHeader.ts#L6) +Defined in: [src/parser/classes/ItemSectionTabbedHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ItemSectionTabbedHeader.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ItemSectionTabbedHeader.ts:6](https://github.com > **new ItemSectionTabbedHeader**(`data`): `ItemSectionTabbedHeader` -Defined in: [src/parser/classes/ItemSectionTabbedHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ItemSectionTabbedHeader.ts#L13) +Defined in: [src/parser/classes/ItemSectionTabbedHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ItemSectionTabbedHeader.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ItemSectionTabbedHeader.ts:13](https://github.co > `optional` **end\_items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/ItemSectionTabbedHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ItemSectionTabbedHeader.ts#L11) +Defined in: [src/parser/classes/ItemSectionTabbedHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ItemSectionTabbedHeader.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ItemSectionTabbedHeader.ts:11](https://github.co > **tabs**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ItemSectionTab`](ItemSectionTab.md)\> -Defined in: [src/parser/classes/ItemSectionTabbedHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ItemSectionTabbedHeader.ts#L10) +Defined in: [src/parser/classes/ItemSectionTabbedHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ItemSectionTabbedHeader.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ItemSectionTabbedHeader.ts:10](https://github.co > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ItemSectionTabbedHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ItemSectionTabbedHeader.ts#L9) +Defined in: [src/parser/classes/ItemSectionTabbedHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ItemSectionTabbedHeader.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ItemSectionTabbedHeader.ts:9](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ItemSectionTabbedHeader'` -Defined in: [src/parser/classes/ItemSectionTabbedHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ItemSectionTabbedHeader.ts#L7) +Defined in: [src/parser/classes/ItemSectionTabbedHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ItemSectionTabbedHeader.ts#L7) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ItemSectionTabbedHeader.ts:7](https://github.com > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ItemSectionTabbedHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/KidsBlocklistPicker.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/KidsBlocklistPicker.md index 78982dc2..db291612 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/KidsBlocklistPicker.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/KidsBlocklistPicker.md @@ -2,7 +2,7 @@ # Class: KidsBlocklistPicker -Defined in: [src/parser/classes/ytkids/KidsBlocklistPicker.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsBlocklistPicker.ts#L7) +Defined in: [src/parser/classes/ytkids/KidsBlocklistPicker.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsBlocklistPicker.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ytkids/KidsBlocklistPicker.ts:7](https://github. > **new KidsBlocklistPicker**(`data`): `KidsBlocklistPicker` -Defined in: [src/parser/classes/ytkids/KidsBlocklistPicker.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsBlocklistPicker.ts#L15) +Defined in: [src/parser/classes/ytkids/KidsBlocklistPicker.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsBlocklistPicker.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ytkids/KidsBlocklistPicker.ts:15](https://github > **child\_rows**: [`KidsBlocklistPickerItem`](KidsBlocklistPickerItem.md)[] \| `null` -Defined in: [src/parser/classes/ytkids/KidsBlocklistPicker.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsBlocklistPicker.ts#L11) +Defined in: [src/parser/classes/ytkids/KidsBlocklistPicker.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsBlocklistPicker.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ytkids/KidsBlocklistPicker.ts:11](https://github > **done\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/ytkids/KidsBlocklistPicker.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsBlocklistPicker.ts#L12) +Defined in: [src/parser/classes/ytkids/KidsBlocklistPicker.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsBlocklistPicker.ts#L12) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ytkids/KidsBlocklistPicker.ts:12](https://github > **successful\_toast\_action\_message**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ytkids/KidsBlocklistPicker.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsBlocklistPicker.ts#L13) +Defined in: [src/parser/classes/ytkids/KidsBlocklistPicker.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsBlocklistPicker.ts#L13) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ytkids/KidsBlocklistPicker.ts:13](https://github > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ytkids/KidsBlocklistPicker.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsBlocklistPicker.ts#L10) +Defined in: [src/parser/classes/ytkids/KidsBlocklistPicker.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsBlocklistPicker.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ytkids/KidsBlocklistPicker.ts:10](https://github > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'KidsBlocklistPicker'` -Defined in: [src/parser/classes/ytkids/KidsBlocklistPicker.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsBlocklistPicker.ts#L8) +Defined in: [src/parser/classes/ytkids/KidsBlocklistPicker.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsBlocklistPicker.ts#L8) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/ytkids/KidsBlocklistPicker.ts:8](https://github. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is KidsBlocklistPicker & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/KidsBlocklistPickerItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/KidsBlocklistPickerItem.md index 2fd47573..65844e84 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/KidsBlocklistPickerItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/KidsBlocklistPickerItem.md @@ -2,7 +2,7 @@ # Class: KidsBlocklistPickerItem -Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsBlocklistPickerItem.ts#L10) +Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsBlocklistPickerItem.ts#L10) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:10](https://gi > **new KidsBlocklistPickerItem**(`data`): `KidsBlocklistPickerItem` -Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsBlocklistPickerItem.ts#L21) +Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsBlocklistPickerItem.ts#L21) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:21](https://gi > **avatar**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsBlocklistPickerItem.ts#L17) +Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsBlocklistPickerItem.ts#L17) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:17](https://gi > **block\_button**: [`ToggleButton`](ToggleButton.md) \| `null` -Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsBlocklistPickerItem.ts#L18) +Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsBlocklistPickerItem.ts#L18) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:18](https://gi > **blocked\_entity\_key**: `string` -Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsBlocklistPickerItem.ts#L19) +Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsBlocklistPickerItem.ts#L19) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:19](https://gi > **child\_account\_description**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsBlocklistPickerItem.ts#L16) +Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsBlocklistPickerItem.ts#L16) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:16](https://gi > **child\_display\_name**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsBlocklistPickerItem.ts#L15) +Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsBlocklistPickerItem.ts#L15) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:15](https://gi > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'KidsBlocklistPickerItem'` -Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsBlocklistPickerItem.ts#L11) +Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsBlocklistPickerItem.ts#L11) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:11](https://gi > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **blockChannel**(): `Promise`\<[`ApiResponse`](../../../../interfaces/ApiResponse.md)\> -Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsBlocklistPickerItem.ts#L30) +Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsBlocklistPickerItem.ts#L30) #### Returns @@ -154,7 +154,7 @@ Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:30](https://gi > **hasKey**\<`T`, `R`\>(`key`): `this is KidsBlocklistPickerItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -192,7 +192,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -230,7 +230,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. @@ -272,7 +272,7 @@ If the node does not have the key > **setActions**(`actions`): `void` -Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:46](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsBlocklistPickerItem.ts#L46) +Defined in: [src/parser/classes/ytkids/KidsBlocklistPickerItem.ts:46](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsBlocklistPickerItem.ts#L46) #### Parameters diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/KidsCategoriesHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/KidsCategoriesHeader.md index 9f025f7b..0c2cf5d8 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/KidsCategoriesHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/KidsCategoriesHeader.md @@ -2,7 +2,7 @@ # Class: KidsCategoriesHeader -Defined in: [src/parser/classes/ytkids/KidsCategoriesHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsCategoriesHeader.ts#L7) +Defined in: [src/parser/classes/ytkids/KidsCategoriesHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsCategoriesHeader.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ytkids/KidsCategoriesHeader.ts:7](https://github > **new KidsCategoriesHeader**(`data`): `KidsCategoriesHeader` -Defined in: [src/parser/classes/ytkids/KidsCategoriesHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsCategoriesHeader.ts#L13) +Defined in: [src/parser/classes/ytkids/KidsCategoriesHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsCategoriesHeader.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ytkids/KidsCategoriesHeader.ts:13](https://githu > **category\_tabs**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`KidsCategoryTab`](KidsCategoryTab.md)\> -Defined in: [src/parser/classes/ytkids/KidsCategoriesHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsCategoriesHeader.ts#L10) +Defined in: [src/parser/classes/ytkids/KidsCategoriesHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsCategoriesHeader.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ytkids/KidsCategoriesHeader.ts:10](https://githu > **privacy\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/ytkids/KidsCategoriesHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsCategoriesHeader.ts#L11) +Defined in: [src/parser/classes/ytkids/KidsCategoriesHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsCategoriesHeader.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ytkids/KidsCategoriesHeader.ts:11](https://githu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'kidsCategoriesHeader'` -Defined in: [src/parser/classes/ytkids/KidsCategoriesHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsCategoriesHeader.ts#L8) +Defined in: [src/parser/classes/ytkids/KidsCategoriesHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsCategoriesHeader.ts#L8) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ytkids/KidsCategoriesHeader.ts:8](https://github > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is KidsCategoriesHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/KidsCategoryTab.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/KidsCategoryTab.md index 09a680d0..1032bd42 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/KidsCategoryTab.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/KidsCategoryTab.md @@ -2,7 +2,7 @@ # Class: KidsCategoryTab -Defined in: [src/parser/classes/ytkids/KidsCategoryTab.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsCategoryTab.ts#L6) +Defined in: [src/parser/classes/ytkids/KidsCategoryTab.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsCategoryTab.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ytkids/KidsCategoryTab.ts:6](https://github.com/ > **new KidsCategoryTab**(`data`): `KidsCategoryTab` -Defined in: [src/parser/classes/ytkids/KidsCategoryTab.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsCategoryTab.ts#L17) +Defined in: [src/parser/classes/ytkids/KidsCategoryTab.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsCategoryTab.ts#L17) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ytkids/KidsCategoryTab.ts:17](https://github.com > **category\_assets**: `object` -Defined in: [src/parser/classes/ytkids/KidsCategoryTab.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsCategoryTab.ts#L10) +Defined in: [src/parser/classes/ytkids/KidsCategoryTab.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsCategoryTab.ts#L10) #### asset\_key @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ytkids/KidsCategoryTab.ts:10](https://github.com > **category\_type**: `string` -Defined in: [src/parser/classes/ytkids/KidsCategoryTab.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsCategoryTab.ts#L14) +Defined in: [src/parser/classes/ytkids/KidsCategoryTab.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsCategoryTab.ts#L14) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ytkids/KidsCategoryTab.ts:14](https://github.com > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ytkids/KidsCategoryTab.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsCategoryTab.ts#L15) +Defined in: [src/parser/classes/ytkids/KidsCategoryTab.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsCategoryTab.ts#L15) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ytkids/KidsCategoryTab.ts:15](https://github.com > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ytkids/KidsCategoryTab.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsCategoryTab.ts#L9) +Defined in: [src/parser/classes/ytkids/KidsCategoryTab.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsCategoryTab.ts#L9) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ytkids/KidsCategoryTab.ts:9](https://github.com/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'KidsCategoryTab'` -Defined in: [src/parser/classes/ytkids/KidsCategoryTab.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsCategoryTab.ts#L7) +Defined in: [src/parser/classes/ytkids/KidsCategoryTab.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsCategoryTab.ts#L7) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/ytkids/KidsCategoryTab.ts:7](https://github.com/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is KidsCategoryTab & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/KidsHomeScreen.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/KidsHomeScreen.md index 222ee366..cc9186c1 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/KidsHomeScreen.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/KidsHomeScreen.md @@ -2,7 +2,7 @@ # Class: KidsHomeScreen -Defined in: [src/parser/classes/ytkids/KidsHomeScreen.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsHomeScreen.ts#L6) +Defined in: [src/parser/classes/ytkids/KidsHomeScreen.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsHomeScreen.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ytkids/KidsHomeScreen.ts:6](https://github.com/L > **new KidsHomeScreen**(`data`): `KidsHomeScreen` -Defined in: [src/parser/classes/ytkids/KidsHomeScreen.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsHomeScreen.ts#L11) +Defined in: [src/parser/classes/ytkids/KidsHomeScreen.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsHomeScreen.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ytkids/KidsHomeScreen.ts:11](https://github.com/ > **anchors**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`AnchoredSection`](AnchoredSection.md)\> -Defined in: [src/parser/classes/ytkids/KidsHomeScreen.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsHomeScreen.ts#L9) +Defined in: [src/parser/classes/ytkids/KidsHomeScreen.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsHomeScreen.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ytkids/KidsHomeScreen.ts:9](https://github.com/L > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'kidsHomeScreen'` -Defined in: [src/parser/classes/ytkids/KidsHomeScreen.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ytkids/KidsHomeScreen.ts#L7) +Defined in: [src/parser/classes/ytkids/KidsHomeScreen.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ytkids/KidsHomeScreen.ts#L7) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ytkids/KidsHomeScreen.ts:7](https://github.com/L > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is KidsHomeScreen & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LikeButton.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LikeButton.md index 1eb1c6ef..b90db617 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LikeButton.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LikeButton.md @@ -2,7 +2,7 @@ # Class: LikeButton -Defined in: [src/parser/classes/LikeButton.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LikeButton.ts#L5) +Defined in: [src/parser/classes/LikeButton.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LikeButton.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/LikeButton.ts:5](https://github.com/LuanRT/YouTu > **new LikeButton**(`data`): `LikeButton` -Defined in: [src/parser/classes/LikeButton.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LikeButton.ts#L16) +Defined in: [src/parser/classes/LikeButton.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LikeButton.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/LikeButton.ts:16](https://github.com/LuanRT/YouT > `optional` **endpoints**: [`NavigationEndpoint`](NavigationEndpoint.md)[] -Defined in: [src/parser/classes/LikeButton.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LikeButton.ts#L14) +Defined in: [src/parser/classes/LikeButton.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LikeButton.ts#L14) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/LikeButton.ts:14](https://github.com/LuanRT/YouT > **like\_status**: `string` -Defined in: [src/parser/classes/LikeButton.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LikeButton.ts#L12) +Defined in: [src/parser/classes/LikeButton.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LikeButton.ts#L12) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/LikeButton.ts:12](https://github.com/LuanRT/YouT > **likes\_allowed**: `string` -Defined in: [src/parser/classes/LikeButton.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LikeButton.ts#L13) +Defined in: [src/parser/classes/LikeButton.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LikeButton.ts#L13) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/LikeButton.ts:13](https://github.com/LuanRT/YouT > **target**: `object` -Defined in: [src/parser/classes/LikeButton.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LikeButton.ts#L8) +Defined in: [src/parser/classes/LikeButton.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LikeButton.ts#L8) #### video\_id @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/LikeButton.ts:8](https://github.com/LuanRT/YouTu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -84,7 +84,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LikeButton'` -Defined in: [src/parser/classes/LikeButton.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LikeButton.ts#L6) +Defined in: [src/parser/classes/LikeButton.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LikeButton.ts#L6) #### Overrides @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/LikeButton.ts:6](https://github.com/LuanRT/YouTu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -138,7 +138,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LikeButton & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -176,7 +176,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -214,7 +214,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LikeButtonView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LikeButtonView.md index 428e0c73..e17437bd 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LikeButtonView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LikeButtonView.md @@ -2,7 +2,7 @@ # Class: LikeButtonView -Defined in: [src/parser/classes/LikeButtonView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LikeButtonView.ts#L5) +Defined in: [src/parser/classes/LikeButtonView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LikeButtonView.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/LikeButtonView.ts:5](https://github.com/LuanRT/Y > **new LikeButtonView**(`data`): `LikeButtonView` -Defined in: [src/parser/classes/LikeButtonView.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LikeButtonView.ts#L15) +Defined in: [src/parser/classes/LikeButtonView.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LikeButtonView.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/LikeButtonView.ts:15](https://github.com/LuanRT/ > **like\_status\_entity**: `object` -Defined in: [src/parser/classes/LikeButtonView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LikeButtonView.ts#L10) +Defined in: [src/parser/classes/LikeButtonView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LikeButtonView.ts#L10) #### key @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/LikeButtonView.ts:10](https://github.com/LuanRT/ > **like\_status\_entity\_key**: `string` -Defined in: [src/parser/classes/LikeButtonView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LikeButtonView.ts#L9) +Defined in: [src/parser/classes/LikeButtonView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LikeButtonView.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/LikeButtonView.ts:9](https://github.com/LuanRT/Y > **toggle\_button**: [`ToggleButtonView`](ToggleButtonView.md) \| `null` -Defined in: [src/parser/classes/LikeButtonView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LikeButtonView.ts#L8) +Defined in: [src/parser/classes/LikeButtonView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LikeButtonView.ts#L8) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/LikeButtonView.ts:8](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LikeButtonView'` -Defined in: [src/parser/classes/LikeButtonView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LikeButtonView.ts#L6) +Defined in: [src/parser/classes/LikeButtonView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LikeButtonView.ts#L6) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/LikeButtonView.ts:6](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LikeButtonView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LikeEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LikeEndpoint.md index 39db3b41..d7d3e6cf 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LikeEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LikeEndpoint.md @@ -2,7 +2,7 @@ # Class: LikeEndpoint -Defined in: [src/parser/classes/endpoints/LikeEndpoint.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/LikeEndpoint.ts#L8) +Defined in: [src/parser/classes/endpoints/LikeEndpoint.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/LikeEndpoint.ts#L8) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/parser/classes/endpoints/LikeEndpoint.ts:8](https://github.com/ > **new LikeEndpoint**(`data`): `LikeEndpoint` -Defined in: [src/parser/classes/endpoints/LikeEndpoint.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/LikeEndpoint.ts#L13) +Defined in: [src/parser/classes/endpoints/LikeEndpoint.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/LikeEndpoint.ts#L13) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/endpoints/LikeEndpoint.ts:13](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -52,7 +52,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LikeEndpoint'` -Defined in: [src/parser/classes/endpoints/LikeEndpoint.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/LikeEndpoint.ts#L9) +Defined in: [src/parser/classes/endpoints/LikeEndpoint.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/LikeEndpoint.ts#L9) #### Overrides @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/endpoints/LikeEndpoint.ts:9](https://github.com/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -106,7 +106,7 @@ If the node is not of the given type > **buildRequest**(): [`LikeRequest`](../../../../type-aliases/LikeRequest.md) -Defined in: [src/parser/classes/endpoints/LikeEndpoint.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/LikeEndpoint.ts#L24) +Defined in: [src/parser/classes/endpoints/LikeEndpoint.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/LikeEndpoint.ts#L24) #### Returns @@ -122,7 +122,7 @@ Defined in: [src/parser/classes/endpoints/LikeEndpoint.ts:24](https://github.com > **getApiPath**(): `string` -Defined in: [src/parser/classes/endpoints/LikeEndpoint.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/LikeEndpoint.ts#L18) +Defined in: [src/parser/classes/endpoints/LikeEndpoint.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/LikeEndpoint.ts#L18) #### Returns @@ -138,7 +138,7 @@ Defined in: [src/parser/classes/endpoints/LikeEndpoint.ts:18](https://github.com > **getParams**(): `string` \| `undefined` -Defined in: [src/parser/classes/endpoints/LikeEndpoint.ts:37](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/LikeEndpoint.ts#L37) +Defined in: [src/parser/classes/endpoints/LikeEndpoint.ts:37](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/LikeEndpoint.ts#L37) #### Returns @@ -150,7 +150,7 @@ Defined in: [src/parser/classes/endpoints/LikeEndpoint.ts:37](https://github.com > **hasKey**\<`T`, `R`\>(`key`): `this is LikeEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ListItemView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ListItemView.md index 37b2bac8..78be3a4c 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ListItemView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ListItemView.md @@ -2,7 +2,7 @@ # Class: ListItemView -Defined in: [src/parser/classes/ListItemView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ListItemView.ts#L11) +Defined in: [src/parser/classes/ListItemView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ListItemView.ts#L11) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ListItemView.ts:11](https://github.com/LuanRT/Yo > **new ListItemView**(`data`): `ListItemView` -Defined in: [src/parser/classes/ListItemView.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ListItemView.ts#L20) +Defined in: [src/parser/classes/ListItemView.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ListItemView.ts#L33) #### Parameters @@ -32,43 +32,99 @@ Defined in: [src/parser/classes/ListItemView.ts:20](https://github.com/LuanRT/Yo ## Properties +### background\_color? + +> `optional` **background\_color**: `number` + +Defined in: [src/parser/classes/ListItemView.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ListItemView.ts#L23) + +*** + +### has\_divider\_below + +> **has\_divider\_below**: `boolean` + +Defined in: [src/parser/classes/ListItemView.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ListItemView.ts#L30) + +*** + +### is\_disabled + +> **is\_disabled**: `boolean` + +Defined in: [src/parser/classes/ListItemView.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ListItemView.ts#L28) + +*** + +### is\_selected + +> **is\_selected**: `boolean` + +Defined in: [src/parser/classes/ListItemView.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ListItemView.ts#L29) + +*** + ### leading\_accessory > **leading\_accessory**: [`AvatarView`](AvatarView.md) \| `null` -Defined in: [src/parser/classes/ListItemView.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ListItemView.ts#L16) +Defined in: [src/parser/classes/ListItemView.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ListItemView.ts#L25) *** -### renderer\_context +### renderer\_context? -> **renderer\_context**: [`RendererContext`](../../Misc/classes/RendererContext.md) +> `optional` **renderer\_context**: [`RendererContext`](../../Misc/classes/RendererContext.md) -Defined in: [src/parser/classes/ListItemView.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ListItemView.ts#L17) +Defined in: [src/parser/classes/ListItemView.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ListItemView.ts#L31) *** -### subtitle +### selection\_style? -> **subtitle**: [`Text`](../../Misc/classes/Text.md) +> `optional` **selection\_style**: `"LIST_ITEM_SELECTION_STYLE_UNSPECIFIED"` \| `"LIST_ITEM_SELECTION_STYLE_DEFAULT"` \| `"LIST_ITEM_SELECTION_STYLE_CHECKBOX"` \| `"LIST_ITEM_SELECTION_STYLE_RADIO"` \| `"LIST_ITEM_SELECTION_STYLE_TOGGLE"` -Defined in: [src/parser/classes/ListItemView.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ListItemView.ts#L15) +Defined in: [src/parser/classes/ListItemView.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ListItemView.ts#L17) *** -### title +### selection\_text? -> **title**: [`Text`](../../Misc/classes/Text.md) +> `optional` **selection\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ListItemView.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ListItemView.ts#L14) +Defined in: [src/parser/classes/ListItemView.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ListItemView.ts#L16) *** -### trailing\_buttons? +### subtitle? -> `optional` **trailing\_buttons**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`SubscribeButtonView`](SubscribeButtonView.md)\> +> `optional` **subtitle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ListItemView.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ListItemView.ts#L18) +Defined in: [src/parser/classes/ListItemView.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ListItemView.ts#L15) + +*** + +### title? + +> `optional` **title**: [`Text`](../../Misc/classes/Text.md) + +Defined in: [src/parser/classes/ListItemView.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ListItemView.ts#L14) + +*** + +### trailing\_button + +> **trailing\_button**: [`YTNode`](../../Helpers/classes/YTNode.md) \| `null` + +Defined in: [src/parser/classes/ListItemView.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ListItemView.ts#L26) + +*** + +### trailing\_buttons + +> **trailing\_buttons**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`SubscribeButtonView`](SubscribeButtonView.md)\> + +Defined in: [src/parser/classes/ListItemView.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ListItemView.ts#L27) *** @@ -76,7 +132,7 @@ Defined in: [src/parser/classes/ListItemView.ts:18](https://github.com/LuanRT/Yo > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +144,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ListItemView'` -Defined in: [src/parser/classes/ListItemView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ListItemView.ts#L12) +Defined in: [src/parser/classes/ListItemView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ListItemView.ts#L12) #### Overrides @@ -100,7 +156,7 @@ Defined in: [src/parser/classes/ListItemView.ts:12](https://github.com/LuanRT/Yo > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +198,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ListItemView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +236,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +274,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ListView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ListView.md index 030f4237..6b4f3d29 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ListView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ListView.md @@ -2,7 +2,7 @@ # Class: ListView -Defined in: [src/parser/classes/ListView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ListView.ts#L8) +Defined in: [src/parser/classes/ListView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ListView.ts#L10) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ListView.ts:8](https://github.com/LuanRT/YouTube > **new ListView**(`data`): `ListView` -Defined in: [src/parser/classes/ListView.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ListView.ts#L13) +Defined in: [src/parser/classes/ListView.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ListView.ts#L16) #### Parameters @@ -34,9 +34,17 @@ Defined in: [src/parser/classes/ListView.ts:13](https://github.com/LuanRT/YouTub ### items -> **items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ListItemView`](ListItemView.md)\> +> **items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ListItemView`](ListItemView.md) \| [`DownloadListItemView`](DownloadListItemView.md)\> -Defined in: [src/parser/classes/ListView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ListView.ts#L11) +Defined in: [src/parser/classes/ListView.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ListView.ts#L13) + +*** + +### renderer\_context? + +> `optional` **renderer\_context**: [`RendererContext`](../../Misc/classes/RendererContext.md) + +Defined in: [src/parser/classes/ListView.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ListView.ts#L14) *** @@ -44,7 +52,7 @@ Defined in: [src/parser/classes/ListView.ts:11](https://github.com/LuanRT/YouTub > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ListView'` -Defined in: [src/parser/classes/ListView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ListView.ts#L9) +Defined in: [src/parser/classes/ListView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ListView.ts#L11) #### Overrides @@ -68,7 +76,7 @@ Defined in: [src/parser/classes/ListView.ts:9](https://github.com/LuanRT/YouTube > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ListView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChat.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChat.md index 5f8afbfa..793eab81 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChat.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChat.md @@ -2,7 +2,7 @@ # Class: LiveChat -Defined in: [src/parser/classes/LiveChat.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChat.ts#L5) +Defined in: [src/parser/classes/LiveChat.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChat.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/LiveChat.ts:5](https://github.com/LuanRT/YouTube > **new LiveChat**(`data`): `LiveChat` -Defined in: [src/parser/classes/LiveChat.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChat.ts#L22) +Defined in: [src/parser/classes/LiveChat.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChat.ts#L22) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/LiveChat.ts:22](https://github.com/LuanRT/YouTub > **client\_messages**: `object` -Defined in: [src/parser/classes/LiveChat.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChat.ts#L12) +Defined in: [src/parser/classes/LiveChat.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChat.ts#L12) #### fatal\_error @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/LiveChat.ts:12](https://github.com/LuanRT/YouTub > **continuation**: `string` -Defined in: [src/parser/classes/LiveChat.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChat.ts#L10) +Defined in: [src/parser/classes/LiveChat.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChat.ts#L10) *** @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/LiveChat.ts:10](https://github.com/LuanRT/YouTub > **header**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/LiveChat.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChat.ts#L8) +Defined in: [src/parser/classes/LiveChat.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChat.ts#L8) *** @@ -80,7 +80,7 @@ Defined in: [src/parser/classes/LiveChat.ts:8](https://github.com/LuanRT/YouTube > **initial\_display\_state**: `string` -Defined in: [src/parser/classes/LiveChat.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChat.ts#L9) +Defined in: [src/parser/classes/LiveChat.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChat.ts#L9) *** @@ -88,7 +88,7 @@ Defined in: [src/parser/classes/LiveChat.ts:9](https://github.com/LuanRT/YouTube > **is\_replay**: `boolean` -Defined in: [src/parser/classes/LiveChat.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChat.ts#L20) +Defined in: [src/parser/classes/LiveChat.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChat.ts#L20) *** @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/LiveChat.ts:20](https://github.com/LuanRT/YouTub > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -108,7 +108,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChat'` -Defined in: [src/parser/classes/LiveChat.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChat.ts#L6) +Defined in: [src/parser/classes/LiveChat.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChat.ts#L6) #### Overrides @@ -120,7 +120,7 @@ Defined in: [src/parser/classes/LiveChat.ts:6](https://github.com/LuanRT/YouTube > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -162,7 +162,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChat & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -200,7 +200,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -238,7 +238,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatActionPanel.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatActionPanel.md index df0447aa..0cd6621f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatActionPanel.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatActionPanel.md @@ -2,7 +2,7 @@ # Class: LiveChatActionPanel -Defined in: [src/parser/classes/livechat/LiveChatActionPanel.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/LiveChatActionPanel.ts#L5) +Defined in: [src/parser/classes/livechat/LiveChatActionPanel.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/LiveChatActionPanel.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/LiveChatActionPanel.ts:5](https://githu > **new LiveChatActionPanel**(`data`): `LiveChatActionPanel` -Defined in: [src/parser/classes/livechat/LiveChatActionPanel.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/LiveChatActionPanel.ts#L12) +Defined in: [src/parser/classes/livechat/LiveChatActionPanel.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/LiveChatActionPanel.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/LiveChatActionPanel.ts:12](https://gith > **contents**: [`SuperParsedResult`](../../Helpers/classes/SuperParsedResult.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/livechat/LiveChatActionPanel.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/LiveChatActionPanel.ts#L9) +Defined in: [src/parser/classes/livechat/LiveChatActionPanel.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/LiveChatActionPanel.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/LiveChatActionPanel.ts:9](https://githu > **id**: `string` -Defined in: [src/parser/classes/livechat/LiveChatActionPanel.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/LiveChatActionPanel.ts#L8) +Defined in: [src/parser/classes/livechat/LiveChatActionPanel.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/LiveChatActionPanel.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/LiveChatActionPanel.ts:8](https://githu > **target\_id**: `string` -Defined in: [src/parser/classes/livechat/LiveChatActionPanel.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/LiveChatActionPanel.ts#L10) +Defined in: [src/parser/classes/livechat/LiveChatActionPanel.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/LiveChatActionPanel.ts#L10) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/livechat/LiveChatActionPanel.ts:10](https://gith > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatActionPanel'` -Defined in: [src/parser/classes/livechat/LiveChatActionPanel.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/LiveChatActionPanel.ts#L6) +Defined in: [src/parser/classes/livechat/LiveChatActionPanel.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/LiveChatActionPanel.ts#L6) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/livechat/LiveChatActionPanel.ts:6](https://githu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatActionPanel & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatAuthorBadge.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatAuthorBadge.md index 807aa680..b01a3fab 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatAuthorBadge.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatAuthorBadge.md @@ -2,7 +2,7 @@ # Class: LiveChatAuthorBadge -Defined in: [src/parser/classes/LiveChatAuthorBadge.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatAuthorBadge.ts#L5) +Defined in: [src/parser/classes/LiveChatAuthorBadge.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatAuthorBadge.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/LiveChatAuthorBadge.ts:5](https://github.com/Lua > **new LiveChatAuthorBadge**(`data`): `LiveChatAuthorBadge` -Defined in: [src/parser/classes/LiveChatAuthorBadge.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatAuthorBadge.ts#L10) +Defined in: [src/parser/classes/LiveChatAuthorBadge.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatAuthorBadge.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/LiveChatAuthorBadge.ts:10](https://github.com/Lu > **custom\_thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/LiveChatAuthorBadge.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatAuthorBadge.ts#L8) +Defined in: [src/parser/classes/LiveChatAuthorBadge.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatAuthorBadge.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/LiveChatAuthorBadge.ts:8](https://github.com/Lua > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/MetadataBadge.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataBadge.ts#L7) +Defined in: [src/parser/classes/MetadataBadge.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataBadge.ts#L7) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/classes/MetadataBadge.ts:7](https://github.com/LuanRT/Yo > `optional` **label**: `string` -Defined in: [src/parser/classes/MetadataBadge.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataBadge.ts#L9) +Defined in: [src/parser/classes/MetadataBadge.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataBadge.ts#L9) #### Inherited from @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/MetadataBadge.ts:9](https://github.com/LuanRT/Yo > `optional` **style**: `string` -Defined in: [src/parser/classes/MetadataBadge.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataBadge.ts#L8) +Defined in: [src/parser/classes/MetadataBadge.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataBadge.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/classes/MetadataBadge.ts:8](https://github.com/LuanRT/Yo > `optional` **tooltip**: `string` -Defined in: [src/parser/classes/MetadataBadge.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataBadge.ts#L10) +Defined in: [src/parser/classes/MetadataBadge.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataBadge.ts#L10) #### Inherited from @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/MetadataBadge.ts:10](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -104,7 +104,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatAuthorBadge'` -Defined in: [src/parser/classes/LiveChatAuthorBadge.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatAuthorBadge.ts#L6) +Defined in: [src/parser/classes/LiveChatAuthorBadge.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatAuthorBadge.ts#L6) #### Overrides @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/LiveChatAuthorBadge.ts:6](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -158,7 +158,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatAuthorBadge & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -196,7 +196,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -234,7 +234,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatAutoModMessage.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatAutoModMessage.md index a3d257d5..08258be4 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatAutoModMessage.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatAutoModMessage.md @@ -2,7 +2,7 @@ # Class: LiveChatAutoModMessage -Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatAutoModMessage.ts#L9) +Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatAutoModMessage.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:9](http > **new LiveChatAutoModMessage**(`data`): `LiveChatAutoModMessage` -Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatAutoModMessage.ts#L19) +Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatAutoModMessage.ts#L19) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:19](htt > **auto\_moderated\_item**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatAutoModMessage.ts#L14) +Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatAutoModMessage.ts#L14) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:14](htt > **header\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatAutoModMessage.ts#L15) +Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatAutoModMessage.ts#L15) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:15](htt > **id**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatAutoModMessage.ts#L17) +Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatAutoModMessage.ts#L17) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:17](htt > `optional` **menu\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatAutoModMessage.ts#L12) +Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatAutoModMessage.ts#L12) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:12](htt > **moderation\_buttons**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Button`](Button.md)\> -Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatAutoModMessage.ts#L13) +Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatAutoModMessage.ts#L13) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:13](htt > **timestamp**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatAutoModMessage.ts#L16) +Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatAutoModMessage.ts#L16) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:16](htt > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatAutoModMessage'` -Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatAutoModMessage.ts#L10) +Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatAutoModMessage.ts#L10) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatAutoModMessage.ts:10](htt > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatAutoModMessage & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatBanner.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatBanner.md index 0aad6e66..f3f184a0 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatBanner.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatBanner.md @@ -2,7 +2,7 @@ # Class: LiveChatBanner -Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBanner.ts#L6) +Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBanner.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:6](https://gith > **new LiveChatBanner**(`data`): `LiveChatBanner` -Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBanner.ts#L20) +Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBanner.ts#L20) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:20](https://git > **action\_id**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBanner.ts#L11) +Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBanner.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:11](https://git > `optional` **background\_type**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBanner.ts#L15) +Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBanner.ts#L15) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:15](https://git > `optional` **banner\_properties\_auto\_collapse\_delay\_seconds**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBanner.ts#L18) +Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBanner.ts#L18) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:18](https://git > `optional` **banner\_properties\_is\_ephemeral**: `boolean` -Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBanner.ts#L17) +Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBanner.ts#L17) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:17](https://git > **banner\_type**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBanner.ts#L16) +Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBanner.ts#L16) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:16](https://git > **contents**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBanner.ts#L10) +Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBanner.ts#L10) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:10](https://git > **header**: [`LiveChatBannerHeader`](LiveChatBannerHeader.md) \| `null` -Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBanner.ts#L9) +Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBanner.ts#L9) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:9](https://gith > **is\_stackable**: `boolean` -Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBanner.ts#L14) +Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBanner.ts#L14) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:14](https://git > **target\_id**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBanner.ts#L13) +Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBanner.ts#L13) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:13](https://git > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -120,7 +120,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **viewer\_is\_creator**: `boolean` -Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBanner.ts#L12) +Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBanner.ts#L12) *** @@ -128,7 +128,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:12](https://git > `static` **type**: `string` = `'LiveChatBanner'` -Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBanner.ts#L7) +Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBanner.ts#L7) #### Overrides @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBanner.ts:7](https://gith > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -182,7 +182,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatBanner & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -220,7 +220,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -258,7 +258,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatBannerChatSummary.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatBannerChatSummary.md index 68a97604..f46777e9 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatBannerChatSummary.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatBannerChatSummary.md @@ -2,7 +2,7 @@ # Class: LiveChatBannerChatSummary -Defined in: [src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts#L6) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts:6](h > **new LiveChatBannerChatSummary**(`data`): `LiveChatBannerChatSummary` -Defined in: [src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts#L15) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts:15]( > **chat\_summary**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts#L10) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts:10]( > **dislike\_feedback\_button**: [`ToggleButtonView`](ToggleButtonView.md) \| `null` -Defined in: [src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts#L13) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts#L13) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts:13]( > **icon\_type**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts#L11) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts:11]( > **id**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts#L9) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts#L9) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts:9](h > **like\_feedback\_button**: [`ToggleButtonView`](ToggleButtonView.md) \| `null` -Defined in: [src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts#L12) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts#L12) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts:12]( > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatBannerChatSummary'` -Defined in: [src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts#L7) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts#L7) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerChatSummary.ts:7](h > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatBannerChatSummary & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatBannerHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatBannerHeader.md index 85cfbd2e..c11d1e87 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatBannerHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatBannerHeader.md @@ -2,7 +2,7 @@ # Class: LiveChatBannerHeader -Defined in: [src/parser/classes/livechat/items/LiveChatBannerHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerHeader.ts#L7) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerHeader.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerHeader.ts:7](https: > **new LiveChatBannerHeader**(`data`): `LiveChatBannerHeader` -Defined in: [src/parser/classes/livechat/items/LiveChatBannerHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerHeader.ts#L14) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerHeader.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerHeader.ts:14](https > **context\_menu\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/livechat/items/LiveChatBannerHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerHeader.ts#L12) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerHeader.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerHeader.ts:12](https > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatBannerHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerHeader.ts#L11) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerHeader.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerHeader.ts:11](https > **text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/LiveChatBannerHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerHeader.ts#L10) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerHeader.ts#L10) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerHeader.ts:10](https > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatBannerHeader'` -Defined in: [src/parser/classes/livechat/items/LiveChatBannerHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerHeader.ts#L8) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerHeader.ts#L8) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerHeader.ts:8](https: > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatBannerHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatBannerPoll.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatBannerPoll.md index 0b2b5220..dd348009 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatBannerPoll.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatBannerPoll.md @@ -2,7 +2,7 @@ # Class: LiveChatBannerPoll -Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerPoll.ts#L8) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerPoll.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:8](https:// > **new LiveChatBannerPoll**(`data`): `LiveChatBannerPoll` -Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerPoll.ts#L23) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerPoll.ts#L23) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:23](https:/ > **author\_photo**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerPoll.ts#L12) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerPoll.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:12](https:/ > **choices**: `object`[] -Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerPoll.ts#L14) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerPoll.ts#L14) #### option\_id @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:14](https:/ > **collapsed\_state\_entity\_key**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerPoll.ts#L19) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerPoll.ts#L19) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:19](https:/ > **context\_menu\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerPoll.ts#L21) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerPoll.ts#L21) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:21](https:/ > **live\_chat\_poll\_state\_entity\_key**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerPoll.ts#L20) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerPoll.ts#L20) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:20](https:/ > **poll\_question**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerPoll.ts#L11) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerPoll.ts#L11) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:11](https:/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -104,7 +104,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatBannerPoll'` -Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerPoll.ts#L9) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerPoll.ts#L9) #### Overrides @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerPoll.ts:9](https:// > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -158,7 +158,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatBannerPoll & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -196,7 +196,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -234,7 +234,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatBannerRedirect.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatBannerRedirect.md index 64b120aa..a76c59ba 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatBannerRedirect.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatBannerRedirect.md @@ -2,7 +2,7 @@ # Class: LiveChatBannerRedirect -Defined in: [src/parser/classes/livechat/items/LiveChatBannerRedirect.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerRedirect.ts#L8) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerRedirect.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerRedirect.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerRedirect.ts:8](http > **new LiveChatBannerRedirect**(`data`): `LiveChatBannerRedirect` -Defined in: [src/parser/classes/livechat/items/LiveChatBannerRedirect.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerRedirect.ts#L16) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerRedirect.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerRedirect.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerRedirect.ts:16](htt > **author\_photo**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/livechat/items/LiveChatBannerRedirect.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerRedirect.ts#L12) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerRedirect.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerRedirect.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerRedirect.ts:12](htt > **banner\_message**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/LiveChatBannerRedirect.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerRedirect.ts#L11) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerRedirect.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerRedirect.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerRedirect.ts:11](htt > **context\_menu\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/livechat/items/LiveChatBannerRedirect.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerRedirect.ts#L14) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerRedirect.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerRedirect.ts#L14) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerRedirect.ts:14](htt > **inline\_action\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/livechat/items/LiveChatBannerRedirect.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerRedirect.ts#L13) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerRedirect.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerRedirect.ts#L13) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerRedirect.ts:13](htt > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatBannerRedirect'` -Defined in: [src/parser/classes/livechat/items/LiveChatBannerRedirect.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatBannerRedirect.ts#L9) +Defined in: [src/parser/classes/livechat/items/LiveChatBannerRedirect.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatBannerRedirect.ts#L9) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatBannerRedirect.ts:9](http > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatBannerRedirect & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatDialog.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatDialog.md index a9a3392a..6d1156d7 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatDialog.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatDialog.md @@ -2,7 +2,7 @@ # Class: LiveChatDialog -Defined in: [src/parser/classes/LiveChatDialog.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatDialog.ts#L6) +Defined in: [src/parser/classes/LiveChatDialog.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatDialog.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/LiveChatDialog.ts:6](https://github.com/LuanRT/Y > **new LiveChatDialog**(`data`): `LiveChatDialog` -Defined in: [src/parser/classes/LiveChatDialog.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatDialog.ts#L12) +Defined in: [src/parser/classes/LiveChatDialog.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatDialog.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/LiveChatDialog.ts:12](https://github.com/LuanRT/ > **confirm\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/LiveChatDialog.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatDialog.ts#L9) +Defined in: [src/parser/classes/LiveChatDialog.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatDialog.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/LiveChatDialog.ts:9](https://github.com/LuanRT/Y > **dialog\_messages**: [`Text`](../../Misc/classes/Text.md)[] -Defined in: [src/parser/classes/LiveChatDialog.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatDialog.ts#L10) +Defined in: [src/parser/classes/LiveChatDialog.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatDialog.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/LiveChatDialog.ts:10](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatDialog'` -Defined in: [src/parser/classes/LiveChatDialog.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatDialog.ts#L7) +Defined in: [src/parser/classes/LiveChatDialog.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatDialog.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/LiveChatDialog.ts:7](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatDialog & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatHeader.md index 48c04271..c25443e6 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatHeader.md @@ -2,7 +2,7 @@ # Class: LiveChatHeader -Defined in: [src/parser/classes/LiveChatHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatHeader.ts#L7) +Defined in: [src/parser/classes/LiveChatHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatHeader.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/LiveChatHeader.ts:7](https://github.com/LuanRT/Y > **new LiveChatHeader**(`data`): `LiveChatHeader` -Defined in: [src/parser/classes/LiveChatHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatHeader.ts#L14) +Defined in: [src/parser/classes/LiveChatHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatHeader.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/LiveChatHeader.ts:14](https://github.com/LuanRT/ > **collapse\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/LiveChatHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatHeader.ts#L11) +Defined in: [src/parser/classes/LiveChatHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatHeader.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/LiveChatHeader.ts:11](https://github.com/LuanRT/ > **overflow\_menu**: [`Menu`](Menu.md) \| `null` -Defined in: [src/parser/classes/LiveChatHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatHeader.ts#L10) +Defined in: [src/parser/classes/LiveChatHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatHeader.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/LiveChatHeader.ts:10](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **view\_selector**: [`SortFilterSubMenu`](SortFilterSubMenu.md) \| `null` -Defined in: [src/parser/classes/LiveChatHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatHeader.ts#L12) +Defined in: [src/parser/classes/LiveChatHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatHeader.ts#L12) *** @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/LiveChatHeader.ts:12](https://github.com/LuanRT/ > `static` **type**: `string` = `'LiveChatHeader'` -Defined in: [src/parser/classes/LiveChatHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatHeader.ts#L8) +Defined in: [src/parser/classes/LiveChatHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatHeader.ts#L8) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/LiveChatHeader.ts:8](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatItemBumperView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatItemBumperView.md index d075a7a4..7243e51e 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatItemBumperView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatItemBumperView.md @@ -2,7 +2,7 @@ # Class: LiveChatItemBumperView -Defined in: [src/parser/classes/livechat/items/LiveChatItemBumperView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatItemBumperView.ts#L5) +Defined in: [src/parser/classes/livechat/items/LiveChatItemBumperView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatItemBumperView.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatItemBumperView.ts:5](http > **new LiveChatItemBumperView**(`data`): `LiveChatItemBumperView` -Defined in: [src/parser/classes/livechat/items/LiveChatItemBumperView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatItemBumperView.ts#L10) +Defined in: [src/parser/classes/livechat/items/LiveChatItemBumperView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatItemBumperView.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatItemBumperView.ts:10](htt > **content**: [`BumperUserEduContentView`](BumperUserEduContentView.md) \| `null` -Defined in: [src/parser/classes/livechat/items/LiveChatItemBumperView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatItemBumperView.ts#L8) +Defined in: [src/parser/classes/livechat/items/LiveChatItemBumperView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatItemBumperView.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatItemBumperView.ts:8](http > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatItemBumperView'` -Defined in: [src/parser/classes/livechat/items/LiveChatItemBumperView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatItemBumperView.ts#L6) +Defined in: [src/parser/classes/livechat/items/LiveChatItemBumperView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatItemBumperView.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatItemBumperView.ts:6](http > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatItemBumperView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatItemContextMenuEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatItemContextMenuEndpoint.md index cae41a12..85330289 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatItemContextMenuEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatItemContextMenuEndpoint.md @@ -2,7 +2,7 @@ # Class: LiveChatItemContextMenuEndpoint -Defined in: [src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts#L6) +Defined in: [src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts#L6) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts:6]( > **new LiveChatItemContextMenuEndpoint**(`data`): `LiveChatItemContextMenuEndpoint` -Defined in: [src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts#L11) +Defined in: [src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts#L11) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts:11] > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -52,7 +52,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatItemContextMenuEndpoint'` -Defined in: [src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts#L7) +Defined in: [src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts#L7) #### Overrides @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts:7]( > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -106,7 +106,7 @@ If the node is not of the given type > **buildRequest**(): [`LiveChatItemContextMenuRequest`](../../../../type-aliases/LiveChatItemContextMenuRequest.md) -Defined in: [src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts#L20) +Defined in: [src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts#L20) #### Returns @@ -122,7 +122,7 @@ Defined in: [src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts:20] > **getApiPath**(): `string` -Defined in: [src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts#L16) +Defined in: [src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts#L16) #### Returns @@ -138,7 +138,7 @@ Defined in: [src/parser/classes/endpoints/LiveChatItemContextMenuEndpoint.ts:16] > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatItemContextMenuEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -176,7 +176,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -214,7 +214,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatItemList.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatItemList.md index fa49c7a5..55cbb418 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatItemList.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatItemList.md @@ -2,7 +2,7 @@ # Class: LiveChatItemList -Defined in: [src/parser/classes/LiveChatItemList.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatItemList.ts#L5) +Defined in: [src/parser/classes/LiveChatItemList.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatItemList.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/LiveChatItemList.ts:5](https://github.com/LuanRT > **new LiveChatItemList**(`data`): `LiveChatItemList` -Defined in: [src/parser/classes/LiveChatItemList.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatItemList.ts#L11) +Defined in: [src/parser/classes/LiveChatItemList.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatItemList.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/LiveChatItemList.ts:11](https://github.com/LuanR > **max\_items\_to\_display**: `string` -Defined in: [src/parser/classes/LiveChatItemList.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatItemList.ts#L8) +Defined in: [src/parser/classes/LiveChatItemList.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatItemList.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/LiveChatItemList.ts:8](https://github.com/LuanRT > **more\_comments\_below\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/LiveChatItemList.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatItemList.ts#L9) +Defined in: [src/parser/classes/LiveChatItemList.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatItemList.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/LiveChatItemList.ts:9](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatItemList'` -Defined in: [src/parser/classes/LiveChatItemList.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatItemList.ts#L6) +Defined in: [src/parser/classes/LiveChatItemList.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatItemList.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/LiveChatItemList.ts:6](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatItemList & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatMembershipItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatMembershipItem.md index 5c57ef8d..bada43be 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatMembershipItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatMembershipItem.md @@ -2,7 +2,7 @@ # Class: LiveChatMembershipItem -Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L7) +Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:7](http > **new LiveChatMembershipItem**(`data`): `LiveChatMembershipItem` -Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L21) +Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L21) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:21](htt > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L17) +Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L17) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:17](htt > **context\_menu\_accessibility\_label**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L19) +Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L19) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:19](htt > `optional` **header\_primary\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L14) +Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L14) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:14](htt > **header\_subtext**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L15) +Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L15) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:15](htt > **id**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L10) +Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L10) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:10](htt > **menu\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L18) +Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L18) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:18](htt > `optional` **message**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L16) +Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L16) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:16](htt > **timestamp**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L11) +Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L11) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:11](htt > `optional` **timestamp\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L13) +Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L13) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:13](htt > **timestamp\_usec**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L12) +Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L12) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:12](htt > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -128,7 +128,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatMembershipItem'` -Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L8) +Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatMembershipItem.ts#L8) #### Overrides @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatMembershipItem.ts:8](http > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -182,7 +182,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatMembershipItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -220,7 +220,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -258,7 +258,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatMessageInput.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatMessageInput.md index 518c8d3a..3caf3e01 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatMessageInput.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatMessageInput.md @@ -2,7 +2,7 @@ # Class: LiveChatMessageInput -Defined in: [src/parser/classes/LiveChatMessageInput.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatMessageInput.ts#L7) +Defined in: [src/parser/classes/LiveChatMessageInput.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatMessageInput.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/LiveChatMessageInput.ts:7](https://github.com/Lu > **new LiveChatMessageInput**(`data`): `LiveChatMessageInput` -Defined in: [src/parser/classes/LiveChatMessageInput.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatMessageInput.ts#L15) +Defined in: [src/parser/classes/LiveChatMessageInput.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatMessageInput.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/LiveChatMessageInput.ts:15](https://github.com/L > **author\_name**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/LiveChatMessageInput.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatMessageInput.ts#L10) +Defined in: [src/parser/classes/LiveChatMessageInput.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatMessageInput.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/LiveChatMessageInput.ts:10](https://github.com/L > **author\_photo**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/LiveChatMessageInput.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatMessageInput.ts#L11) +Defined in: [src/parser/classes/LiveChatMessageInput.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatMessageInput.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/LiveChatMessageInput.ts:11](https://github.com/L > **send\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/LiveChatMessageInput.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatMessageInput.ts#L12) +Defined in: [src/parser/classes/LiveChatMessageInput.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatMessageInput.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/LiveChatMessageInput.ts:12](https://github.com/L > **target\_id**: `string` -Defined in: [src/parser/classes/LiveChatMessageInput.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatMessageInput.ts#L13) +Defined in: [src/parser/classes/LiveChatMessageInput.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatMessageInput.ts#L13) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/LiveChatMessageInput.ts:13](https://github.com/L > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatMessageInput'` -Defined in: [src/parser/classes/LiveChatMessageInput.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatMessageInput.ts#L8) +Defined in: [src/parser/classes/LiveChatMessageInput.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatMessageInput.ts#L8) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/LiveChatMessageInput.ts:8](https://github.com/Lu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatMessageInput & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatModeChangeMessage.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatModeChangeMessage.md index b20aea37..4bc185f8 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatModeChangeMessage.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatModeChangeMessage.md @@ -2,7 +2,7 @@ # Class: LiveChatModeChangeMessage -Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts#L5) +Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:5](h > **new LiveChatModeChangeMessage**(`data`): `LiveChatModeChangeMessage` -Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts#L16) +Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:16]( > **icon\_type**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts#L9) +Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:9](h > **id**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts#L8) +Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:8](h > **subtext**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts#L11) +Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:11]( > **text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts#L10) +Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:10]( > **timestamp**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts#L12) +Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts#L12) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:12]( > **timestamp\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts#L14) +Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts#L14) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:14]( > **timestamp\_usec**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts#L13) +Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts#L13) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:13]( > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -104,7 +104,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatModeChangeMessage'` -Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts#L6) +Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts#L6) #### Overrides @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatModeChangeMessage.ts:6](h > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -158,7 +158,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatModeChangeMessage & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -196,7 +196,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -234,7 +234,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatPaidMessage.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatPaidMessage.md index 9ac3b8e6..6c833ed0 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatPaidMessage.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatPaidMessage.md @@ -2,7 +2,7 @@ # Class: LiveChatPaidMessage -Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L11) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L11) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:11](https: > **new LiveChatPaidMessage**(`data`): `LiveChatPaidMessage` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:36](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L36) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:36](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L36) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:36](https: > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L16) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L16) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:16](https: > **author\_name\_text\_color**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L17) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L17) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:17](https: > **body\_background\_color**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L20) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L20) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:20](https: > **body\_text\_color**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L21) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L21) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:21](https: > **context\_menu\_accessibility\_label**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L24) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L24) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:24](https: > **creator\_heart\_button**: [`CreatorHeartView`](CreatorHeartView.md) \| `null` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:32](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L32) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:32](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L32) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:32](https: > **header\_background\_color**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L18) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L18) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:18](https: > `optional` **header\_overlay\_image**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L29) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L29) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:29](https: > **header\_text\_color**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L19) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L19) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:19](https: > **id**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L14) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L14) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:14](https: > **is\_v2\_style**: `boolean` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:33](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L33) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L33) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:33](https: > **lower\_bumper**: [`LiveChatItemBumperView`](LiveChatItemBumperView.md) \| `null` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:31](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L31) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L31) *** @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:31](https: > **menu\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L23) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L23) *** @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:23](https: > **message**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L15) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L15) *** @@ -148,7 +148,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:15](https: > **purchase\_amount**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L22) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L22) *** @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:22](https: > **reply\_button**: [`PdgReplyButtonView`](PdgReplyButtonView.md) \| `null` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:34](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L34) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:34](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L34) *** @@ -164,7 +164,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:34](https: > **text\_input\_background\_color**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L30) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L30) *** @@ -172,7 +172,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:30](https: > **timestamp**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L25) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L25) *** @@ -180,7 +180,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:25](https: > **timestamp\_color**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L28) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L28) *** @@ -188,7 +188,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:28](https: > `optional` **timestamp\_text**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L27) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L27) *** @@ -196,7 +196,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:27](https: > **timestamp\_usec**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L26) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L26) *** @@ -204,7 +204,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:26](https: > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -216,7 +216,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatPaidMessage'` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L12) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidMessage.ts#L12) #### Overrides @@ -228,7 +228,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidMessage.ts:12](https: > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -270,7 +270,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatPaidMessage & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -308,7 +308,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -346,7 +346,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatPaidSticker.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatPaidSticker.md index 356ea7b4..2a869d23 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatPaidSticker.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatPaidSticker.md @@ -2,7 +2,7 @@ # Class: LiveChatPaidSticker -Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L8) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:8](https:/ > **new LiveChatPaidSticker**(`data`): `LiveChatPaidSticker` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L29) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L29) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:29](https: > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L12) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:12](https: > **author\_name\_text\_color**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L16) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L16) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:16](https: > **background\_color**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L15) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L15) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:15](https: > **context\_menu**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L23) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L23) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:23](https: > **context\_menu\_accessibility\_label**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L24) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L24) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:24](https: > **id**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L11) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L11) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:11](https: > **is\_v2\_style**: `boolean` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L27) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L27) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:27](https: > **menu\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L22) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L22) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:22](https: > **money\_chip\_background\_color**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L13) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L13) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:13](https: > **money\_chip\_text\_color**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L14) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L14) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:14](https: > **purchase\_amount**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L21) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L21) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:21](https: > **sticker**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L17) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L17) *** @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:17](https: > **sticker\_accessibility\_label**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L18) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L18) *** @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:18](https: > **sticker\_display\_height**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L20) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L20) *** @@ -148,7 +148,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:20](https: > **sticker\_display\_width**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L19) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L19) *** @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:19](https: > **timestamp**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L25) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L25) *** @@ -164,7 +164,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:25](https: > **timestamp\_usec**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L26) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L26) *** @@ -172,7 +172,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:26](https: > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -184,7 +184,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatPaidSticker'` -Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L9) +Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPaidSticker.ts#L9) #### Overrides @@ -196,7 +196,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPaidSticker.ts:9](https:/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -238,7 +238,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatPaidSticker & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -276,7 +276,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -314,7 +314,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatParticipant.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatParticipant.md index 9312e58c..1748aa54 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatParticipant.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatParticipant.md @@ -2,7 +2,7 @@ # Class: LiveChatParticipant -Defined in: [src/parser/classes/LiveChatParticipant.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatParticipant.ts#L6) +Defined in: [src/parser/classes/LiveChatParticipant.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatParticipant.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/LiveChatParticipant.ts:6](https://github.com/Lua > **new LiveChatParticipant**(`data`): `LiveChatParticipant` -Defined in: [src/parser/classes/LiveChatParticipant.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatParticipant.ts#L13) +Defined in: [src/parser/classes/LiveChatParticipant.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatParticipant.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/LiveChatParticipant.ts:13](https://github.com/Lu > **badges**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/LiveChatParticipant.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatParticipant.ts#L11) +Defined in: [src/parser/classes/LiveChatParticipant.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatParticipant.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/LiveChatParticipant.ts:11](https://github.com/Lu > **name**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/LiveChatParticipant.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatParticipant.ts#L9) +Defined in: [src/parser/classes/LiveChatParticipant.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatParticipant.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/LiveChatParticipant.ts:9](https://github.com/Lua > **photo**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/LiveChatParticipant.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatParticipant.ts#L10) +Defined in: [src/parser/classes/LiveChatParticipant.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatParticipant.ts#L10) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/LiveChatParticipant.ts:10](https://github.com/Lu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatParticipant'` -Defined in: [src/parser/classes/LiveChatParticipant.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatParticipant.ts#L7) +Defined in: [src/parser/classes/LiveChatParticipant.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatParticipant.ts#L7) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/LiveChatParticipant.ts:7](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatParticipant & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatParticipantsList.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatParticipantsList.md index 3210614d..21eafcb8 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatParticipantsList.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatParticipantsList.md @@ -2,7 +2,7 @@ # Class: LiveChatParticipantsList -Defined in: [src/parser/classes/LiveChatParticipantsList.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatParticipantsList.ts#L6) +Defined in: [src/parser/classes/LiveChatParticipantsList.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatParticipantsList.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/LiveChatParticipantsList.ts:6](https://github.co > **new LiveChatParticipantsList**(`data`): `LiveChatParticipantsList` -Defined in: [src/parser/classes/LiveChatParticipantsList.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatParticipantsList.ts#L12) +Defined in: [src/parser/classes/LiveChatParticipantsList.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatParticipantsList.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/LiveChatParticipantsList.ts:12](https://github.c > **participants**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`LiveChatParticipant`](LiveChatParticipant.md)\> -Defined in: [src/parser/classes/LiveChatParticipantsList.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatParticipantsList.ts#L10) +Defined in: [src/parser/classes/LiveChatParticipantsList.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatParticipantsList.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/LiveChatParticipantsList.ts:10](https://github.c > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/LiveChatParticipantsList.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatParticipantsList.ts#L9) +Defined in: [src/parser/classes/LiveChatParticipantsList.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatParticipantsList.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/LiveChatParticipantsList.ts:9](https://github.co > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatParticipantsList'` -Defined in: [src/parser/classes/LiveChatParticipantsList.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LiveChatParticipantsList.ts#L7) +Defined in: [src/parser/classes/LiveChatParticipantsList.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LiveChatParticipantsList.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/LiveChatParticipantsList.ts:7](https://github.co > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatParticipantsList & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatPlaceholderItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatPlaceholderItem.md index 5b6a2c8c..745a2bda 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatPlaceholderItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatPlaceholderItem.md @@ -2,7 +2,7 @@ # Class: LiveChatPlaceholderItem -Defined in: [src/parser/classes/livechat/items/LiveChatPlaceholderItem.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPlaceholderItem.ts#L4) +Defined in: [src/parser/classes/livechat/items/LiveChatPlaceholderItem.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPlaceholderItem.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPlaceholderItem.ts:4](htt > **new LiveChatPlaceholderItem**(`data`): `LiveChatPlaceholderItem` -Defined in: [src/parser/classes/livechat/items/LiveChatPlaceholderItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPlaceholderItem.ts#L10) +Defined in: [src/parser/classes/livechat/items/LiveChatPlaceholderItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPlaceholderItem.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPlaceholderItem.ts:10](ht > **id**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatPlaceholderItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPlaceholderItem.ts#L7) +Defined in: [src/parser/classes/livechat/items/LiveChatPlaceholderItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPlaceholderItem.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPlaceholderItem.ts:7](htt > **timestamp**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatPlaceholderItem.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPlaceholderItem.ts#L8) +Defined in: [src/parser/classes/livechat/items/LiveChatPlaceholderItem.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPlaceholderItem.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPlaceholderItem.ts:8](htt > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatPlaceholderItem'` -Defined in: [src/parser/classes/livechat/items/LiveChatPlaceholderItem.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatPlaceholderItem.ts#L5) +Defined in: [src/parser/classes/livechat/items/LiveChatPlaceholderItem.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatPlaceholderItem.ts#L5) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatPlaceholderItem.ts:5](htt > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatPlaceholderItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatProductItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatProductItem.md index 1f4f4ef4..2a87d610 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatProductItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatProductItem.md @@ -2,7 +2,7 @@ # Class: LiveChatProductItem -Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatProductItem.ts#L9) +Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatProductItem.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:9](https:/ > **new LiveChatProductItem**(`data`): `LiveChatProductItem` -Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatProductItem.ts#L27) +Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatProductItem.ts#L27) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:27](https: > **accessibility\_title**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatProductItem.ts#L13) +Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatProductItem.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:13](https: > **author\_photo**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatProductItem.ts#L22) +Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatProductItem.ts#L22) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:22](https: > **creator\_custom\_message**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatProductItem.ts#L25) +Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatProductItem.ts#L25) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:25](https: > **creator\_message**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatProductItem.ts#L20) +Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatProductItem.ts#L20) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:20](https: > **creator\_name**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatProductItem.ts#L21) +Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatProductItem.ts#L21) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:21](https: > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatProductItem.ts#L19) +Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatProductItem.ts#L19) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:19](https: > **from\_vendor\_text**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatProductItem.ts#L17) +Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatProductItem.ts#L17) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:17](https: > **information\_button**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatProductItem.ts#L18) +Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatProductItem.ts#L18) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:18](https: > **information\_dialog**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatProductItem.ts#L23) +Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatProductItem.ts#L23) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:23](https: > **is\_verified**: `boolean` -Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatProductItem.ts#L24) +Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatProductItem.ts#L24) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:24](https: > **price**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatProductItem.ts#L15) +Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatProductItem.ts#L15) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:15](https: > **thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatProductItem.ts#L14) +Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatProductItem.ts#L14) *** @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:14](https: > **title**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatProductItem.ts#L12) +Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatProductItem.ts#L12) *** @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:12](https: > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -152,7 +152,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **vendor\_name**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatProductItem.ts#L16) +Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatProductItem.ts#L16) *** @@ -160,7 +160,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:16](https: > `static` **type**: `string` = `'LiveChatProductItem'` -Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatProductItem.ts#L10) +Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatProductItem.ts#L10) #### Overrides @@ -172,7 +172,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatProductItem.ts:10](https: > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -214,7 +214,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatProductItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -252,7 +252,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -290,7 +290,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatRestrictedParticipation.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatRestrictedParticipation.md index 827d21b2..49c7aa4d 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatRestrictedParticipation.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatRestrictedParticipation.md @@ -2,7 +2,7 @@ # Class: LiveChatRestrictedParticipation -Defined in: [src/parser/classes/livechat/items/LiveChatRestrictedParticipation.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatRestrictedParticipation.ts#L5) +Defined in: [src/parser/classes/livechat/items/LiveChatRestrictedParticipation.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatRestrictedParticipation.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatRestrictedParticipation.t > **new LiveChatRestrictedParticipation**(`data`): `LiveChatRestrictedParticipation` -Defined in: [src/parser/classes/livechat/items/LiveChatRestrictedParticipation.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatRestrictedParticipation.ts#L11) +Defined in: [src/parser/classes/livechat/items/LiveChatRestrictedParticipation.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatRestrictedParticipation.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatRestrictedParticipation.t > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatRestrictedParticipation.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatRestrictedParticipation.ts#L9) +Defined in: [src/parser/classes/livechat/items/LiveChatRestrictedParticipation.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatRestrictedParticipation.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatRestrictedParticipation.t > **message**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/LiveChatRestrictedParticipation.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatRestrictedParticipation.ts#L8) +Defined in: [src/parser/classes/livechat/items/LiveChatRestrictedParticipation.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatRestrictedParticipation.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatRestrictedParticipation.t > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatRestrictedParticipation'` -Defined in: [src/parser/classes/livechat/items/LiveChatRestrictedParticipation.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatRestrictedParticipation.ts#L6) +Defined in: [src/parser/classes/livechat/items/LiveChatRestrictedParticipation.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatRestrictedParticipation.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatRestrictedParticipation.t > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatRestrictedParticipation & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatSponsorshipsGiftPurchaseAnnouncement.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatSponsorshipsGiftPurchaseAnnouncement.md index f7f11662..71e3a473 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatSponsorshipsGiftPurchaseAnnouncement.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatSponsorshipsGiftPurchaseAnnouncement.md @@ -2,7 +2,7 @@ # Class: LiveChatSponsorshipsGiftPurchaseAnnouncement -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts#L5) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseA > **new LiveChatSponsorshipsGiftPurchaseAnnouncement**(`data`): `LiveChatSponsorshipsGiftPurchaseAnnouncement` -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts#L13) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseA > **author\_external\_channel\_id**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts#L10) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseA > **header**: [`LiveChatSponsorshipsHeader`](LiveChatSponsorshipsHeader.md) \| `null` -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts#L11) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseA > **id**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts#L8) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts#L8) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseA > **timestamp\_usec**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts#L9) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts#L9) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseA > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatSponsorshipsGiftPurchaseAnnouncement'` -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts#L6) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseAnnouncement.ts#L6) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftPurchaseA > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatSponsorshipsGiftPurchaseAnnouncement & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatSponsorshipsGiftRedemptionAnnouncement.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatSponsorshipsGiftRedemptionAnnouncement.md index 0925bb9b..a89ec653 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatSponsorshipsGiftRedemptionAnnouncement.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatSponsorshipsGiftRedemptionAnnouncement.md @@ -2,7 +2,7 @@ # Class: LiveChatSponsorshipsGiftRedemptionAnnouncement -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts#L7) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptio > **new LiveChatSponsorshipsGiftRedemptionAnnouncement**(`data`): `LiveChatSponsorshipsGiftRedemptionAnnouncement` -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts#L18) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts#L18) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptio > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts#L13) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptio > **context\_menu\_accessibility\_label**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts#L16) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts#L16) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptio > **id**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts#L10) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts#L10) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptio > **menu\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts#L15) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts#L15) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptio > **message**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts#L14) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts#L14) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptio > **timestamp\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts#L12) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts#L12) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptio > **timestamp\_usec**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts#L11) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts#L11) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptio > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -104,7 +104,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatSponsorshipsGiftRedemptionAnnouncement'` -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts#L8) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptionAnnouncement.ts#L8) #### Overrides @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsGiftRedemptio > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -158,7 +158,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatSponsorshipsGiftRedemptionAnnouncement & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -196,7 +196,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -234,7 +234,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatSponsorshipsHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatSponsorshipsHeader.md index 5edd444a..8fdad3df 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatSponsorshipsHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatSponsorshipsHeader.md @@ -2,7 +2,7 @@ # Class: LiveChatSponsorshipsHeader -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts#L10) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts#L10) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:10] > **new LiveChatSponsorshipsHeader**(`data`): `LiveChatSponsorshipsHeader` -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts#L21) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts#L21) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:21] > **author\_badges**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`LiveChatAuthorBadge`](LiveChatAuthorBadge.md)\> -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts#L15) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts#L15) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:15] > **author\_name**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts#L13) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts#L13) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:13] > **author\_photo**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts#L14) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts#L14) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:14] > **context\_menu\_accessibility\_label**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts#L18) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts#L18) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:18] > **image**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts#L19) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts#L19) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:19] > **menu\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts#L17) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts#L17) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:17] > **primary\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts#L16) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts#L16) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:16] > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -104,7 +104,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatSponsorshipsHeader'` -Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts#L11) +Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts#L11) #### Overrides @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatSponsorshipsHeader.ts:11] > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -158,7 +158,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatSponsorshipsHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -196,7 +196,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -234,7 +234,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatTextMessage.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatTextMessage.md index ca78ba0b..7813dbda 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatTextMessage.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatTextMessage.md @@ -2,7 +2,7 @@ # Class: LiveChatTextMessage -Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L10) +Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L10) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:10](https: > **new LiveChatTextMessage**(`data`): `LiveChatTextMessage` -Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L24) +Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L24) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:24](https: > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L19) +Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L19) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:19](https: > **before\_content\_buttons**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ButtonView`](ButtonView.md)\> -Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L22) +Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L22) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:22](https: > `optional` **context\_menu\_accessibility\_label**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L21) +Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L21) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:21](https: > **id**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L13) +Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L13) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:13](https: > **inline\_action\_buttons**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Button`](Button.md)\> -Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L15) +Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L15) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:15](https: > `optional` **menu\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L20) +Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L20) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:20](https: > **message**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L14) +Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L14) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:14](https: > **timestamp**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L16) +Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L16) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:16](https: > `optional` **timestamp\_text**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L18) +Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L18) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:18](https: > **timestamp\_usec**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L17) +Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L17) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:17](https: > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -128,7 +128,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatTextMessage'` -Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L11) +Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTextMessage.ts#L11) #### Overrides @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTextMessage.ts:11](https: > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -182,7 +182,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatTextMessage & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -220,7 +220,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -258,7 +258,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatTickerPaidMessageItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatTickerPaidMessageItem.md index be2cdfaf..45453f3d 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatTickerPaidMessageItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatTickerPaidMessageItem.md @@ -2,7 +2,7 @@ # Class: LiveChatTickerPaidMessageItem -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L9) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts: > **new LiveChatTickerPaidMessageItem**(`data`): `LiveChatTickerPaidMessageItem` -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L25) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L25) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts: > `optional` **amount**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L14) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L14) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts: > **amount\_text\_color**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L15) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L15) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts: > **animation\_origin**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L22) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L22) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts: > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L13) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L13) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts: > **duration\_sec**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L18) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L18) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts: > **end\_background\_color**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L17) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L17) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts: > **full\_duration\_sec**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L19) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L19) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts: > **id**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L12) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L12) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts: > **open\_engagement\_panel\_command**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L23) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L23) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts: > **show\_item**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L20) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L20) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts: > **show\_item\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L21) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L21) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts: > **start\_background\_color**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L16) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L16) *** @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts: > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -144,7 +144,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatTickerPaidMessageItem'` -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L10) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts#L10) #### Overrides @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidMessageItem.ts: > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -198,7 +198,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatTickerPaidMessageItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -236,7 +236,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -274,7 +274,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatTickerPaidStickerItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatTickerPaidStickerItem.md index af99f7ec..49f9362f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatTickerPaidStickerItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatTickerPaidStickerItem.md @@ -2,7 +2,7 @@ # Class: LiveChatTickerPaidStickerItem -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L6) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts: > **new LiveChatTickerPaidStickerItem**(`data`): `LiveChatTickerPaidStickerItem` -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L23) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L23) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts: > **author\_external\_channel\_id**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L10) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts: > **author\_photo**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L11) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts: > **duration\_sec**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L14) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L14) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts: > **end\_background\_color**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L13) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L13) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts: > **full\_duration\_sec**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L15) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L15) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts: > **id**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L9) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L9) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts: > **show\_item**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L16) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L16) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts: > **show\_item\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L17) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L17) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts: > **start\_background\_color**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L12) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L12) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts: > **ticker\_thumbnails**: `object`[] -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L18) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L18) #### label? @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts: > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -136,7 +136,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatTickerPaidStickerItem'` -Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L7) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts#L7) #### Overrides @@ -148,7 +148,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerPaidStickerItem.ts: > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -190,7 +190,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatTickerPaidStickerItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -228,7 +228,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -266,7 +266,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatTickerSponsorItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatTickerSponsorItem.md index e6915ff2..64d73a00 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatTickerSponsorItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatTickerSponsorItem.md @@ -2,7 +2,7 @@ # Class: LiveChatTickerSponsorItem -Defined in: [src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts#L6) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts:6](h > **new LiveChatTickerSponsorItem**(`data`): `LiveChatTickerSponsorItem` -Defined in: [src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts#L14) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts:14]( > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts#L11) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts:11]( > **detail**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts#L10) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts:10]( > **duration\_sec**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts#L12) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts:12]( > **id**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts#L9) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts#L9) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts:9](h > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatTickerSponsorItem'` -Defined in: [src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts#L7) +Defined in: [src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts#L7) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatTickerSponsorItem.ts:7](h > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatTickerSponsorItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatViewerEngagementMessage.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatViewerEngagementMessage.md index 4780ba23..3d71f6bf 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatViewerEngagementMessage.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LiveChatViewerEngagementMessage.md @@ -2,7 +2,7 @@ # Class: LiveChatViewerEngagementMessage -Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts#L7) +Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.t > **new LiveChatViewerEngagementMessage**(`data`): `LiveChatViewerEngagementMessage` -Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts#L19) +Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts#L19) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.t > **action\_button**: [`YTNode`](../../Helpers/classes/YTNode.md) \| `null` -Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts#L15) +Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts#L15) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.t > `optional` **context\_menu\_accessibility\_label**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts#L17) +Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts#L17) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.t > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts#L13) +Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts#L13) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.t > **id**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts#L10) +Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.t > `optional` **menu\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts#L16) +Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts#L16) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.t > **message**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts#L14) +Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts#L14) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.t > `optional` **timestamp**: `number` -Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts#L11) +Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts#L11) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.t > `optional` **timestamp\_usec**: `string` -Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts#L12) +Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts#L12) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.t > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -112,7 +112,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LiveChatViewerEngagementMessage'` -Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts#L8) +Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.ts#L8) #### Overrides @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/livechat/items/LiveChatViewerEngagementMessage.t > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -166,7 +166,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LiveChatViewerEngagementMessage & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -204,7 +204,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -242,7 +242,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LockupMetadataView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LockupMetadataView.md index 6b9e3555..64e7e0a8 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LockupMetadataView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LockupMetadataView.md @@ -2,7 +2,7 @@ # Class: LockupMetadataView -Defined in: [src/parser/classes/LockupMetadataView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LockupMetadataView.ts#L9) +Defined in: [src/parser/classes/LockupMetadataView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LockupMetadataView.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/LockupMetadataView.ts:9](https://github.com/Luan > **new LockupMetadataView**(`data`): `LockupMetadataView` -Defined in: [src/parser/classes/LockupMetadataView.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LockupMetadataView.ts#L17) +Defined in: [src/parser/classes/LockupMetadataView.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LockupMetadataView.ts#L17) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/LockupMetadataView.ts:17](https://github.com/Lua > **image**: [`AvatarStackView`](AvatarStackView.md) \| [`DecoratedAvatarView`](DecoratedAvatarView.md) \| `null` -Defined in: [src/parser/classes/LockupMetadataView.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LockupMetadataView.ts#L14) +Defined in: [src/parser/classes/LockupMetadataView.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LockupMetadataView.ts#L14) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/LockupMetadataView.ts:14](https://github.com/Lua > **menu\_button**: [`ButtonView`](ButtonView.md) \| `null` -Defined in: [src/parser/classes/LockupMetadataView.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LockupMetadataView.ts#L15) +Defined in: [src/parser/classes/LockupMetadataView.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LockupMetadataView.ts#L15) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/LockupMetadataView.ts:15](https://github.com/Lua > **metadata**: [`ContentMetadataView`](ContentMetadataView.md) \| `null` -Defined in: [src/parser/classes/LockupMetadataView.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LockupMetadataView.ts#L13) +Defined in: [src/parser/classes/LockupMetadataView.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LockupMetadataView.ts#L13) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/LockupMetadataView.ts:13](https://github.com/Lua > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/LockupMetadataView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LockupMetadataView.ts#L12) +Defined in: [src/parser/classes/LockupMetadataView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LockupMetadataView.ts#L12) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/LockupMetadataView.ts:12](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LockupMetadataView'` -Defined in: [src/parser/classes/LockupMetadataView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LockupMetadataView.ts#L10) +Defined in: [src/parser/classes/LockupMetadataView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LockupMetadataView.ts#L10) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/LockupMetadataView.ts:10](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LockupMetadataView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/LockupView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/LockupView.md index 25ac1f42..c3dcd943 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/LockupView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/LockupView.md @@ -2,7 +2,7 @@ # Class: LockupView -Defined in: [src/parser/classes/LockupView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LockupView.ts#L8) +Defined in: [src/parser/classes/LockupView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LockupView.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/LockupView.ts:8](https://github.com/LuanRT/YouTu > **new LockupView**(`data`): `LockupView` -Defined in: [src/parser/classes/LockupView.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LockupView.ts#L17) +Defined in: [src/parser/classes/LockupView.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LockupView.ts#L17) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/LockupView.ts:17](https://github.com/LuanRT/YouT > **content\_id**: `string` -Defined in: [src/parser/classes/LockupView.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LockupView.ts#L13) +Defined in: [src/parser/classes/LockupView.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LockupView.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/LockupView.ts:13](https://github.com/LuanRT/YouT > **content\_image**: [`ThumbnailView`](ThumbnailView.md) \| [`CollectionThumbnailView`](CollectionThumbnailView.md) \| `null` -Defined in: [src/parser/classes/LockupView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LockupView.ts#L11) +Defined in: [src/parser/classes/LockupView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LockupView.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/LockupView.ts:11](https://github.com/LuanRT/YouT > **content\_type**: `"UNSPECIFIED"` \| `"VIDEO"` \| `"PLAYLIST"` \| `"SHORT"` \| `"CHANNEL"` \| `"ALBUM"` \| `"PRODUCT"` \| `"GAME"` \| `"CLIP"` \| `"PODCAST"` \| `"SOURCE"` \| `"SHOPPING_COLLECTION"` \| `"MOVIE"` -Defined in: [src/parser/classes/LockupView.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LockupView.ts#L14) +Defined in: [src/parser/classes/LockupView.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LockupView.ts#L14) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/LockupView.ts:14](https://github.com/LuanRT/YouT > **metadata**: [`LockupMetadataView`](LockupMetadataView.md) \| `null` -Defined in: [src/parser/classes/LockupView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LockupView.ts#L12) +Defined in: [src/parser/classes/LockupView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LockupView.ts#L12) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/LockupView.ts:12](https://github.com/LuanRT/YouT > **renderer\_context**: [`RendererContext`](../../Misc/classes/RendererContext.md) -Defined in: [src/parser/classes/LockupView.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LockupView.ts#L15) +Defined in: [src/parser/classes/LockupView.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LockupView.ts#L15) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/LockupView.ts:15](https://github.com/LuanRT/YouT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'LockupView'` -Defined in: [src/parser/classes/LockupView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/LockupView.ts#L9) +Defined in: [src/parser/classes/LockupView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/LockupView.ts#L9) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/LockupView.ts:9](https://github.com/LuanRT/YouTu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is LockupView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MacroMarkersInfoItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MacroMarkersInfoItem.md index bf7c32ca..76c0d84f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MacroMarkersInfoItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MacroMarkersInfoItem.md @@ -2,7 +2,7 @@ # Class: MacroMarkersInfoItem -Defined in: [src/parser/classes/MacroMarkersInfoItem.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersInfoItem.ts#L6) +Defined in: [src/parser/classes/MacroMarkersInfoItem.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersInfoItem.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MacroMarkersInfoItem.ts:6](https://github.com/Lu > **new MacroMarkersInfoItem**(`data`): `MacroMarkersInfoItem` -Defined in: [src/parser/classes/MacroMarkersInfoItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersInfoItem.ts#L12) +Defined in: [src/parser/classes/MacroMarkersInfoItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersInfoItem.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MacroMarkersInfoItem.ts:12](https://github.com/L > **info\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MacroMarkersInfoItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersInfoItem.ts#L9) +Defined in: [src/parser/classes/MacroMarkersInfoItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersInfoItem.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MacroMarkersInfoItem.ts:9](https://github.com/Lu > **menu**: [`Menu`](Menu.md) \| `null` -Defined in: [src/parser/classes/MacroMarkersInfoItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersInfoItem.ts#L10) +Defined in: [src/parser/classes/MacroMarkersInfoItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersInfoItem.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MacroMarkersInfoItem.ts:10](https://github.com/L > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MacroMarkersInfoItem'` -Defined in: [src/parser/classes/MacroMarkersInfoItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersInfoItem.ts#L7) +Defined in: [src/parser/classes/MacroMarkersInfoItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersInfoItem.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MacroMarkersInfoItem.ts:7](https://github.com/Lu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MacroMarkersInfoItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MacroMarkersList.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MacroMarkersList.md index 9c347d78..9616e64b 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MacroMarkersList.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MacroMarkersList.md @@ -2,7 +2,7 @@ # Class: MacroMarkersList -Defined in: [src/parser/classes/MacroMarkersList.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersList.ts#L7) +Defined in: [src/parser/classes/MacroMarkersList.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersList.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MacroMarkersList.ts:7](https://github.com/LuanRT > **new MacroMarkersList**(`data`): `MacroMarkersList` -Defined in: [src/parser/classes/MacroMarkersList.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersList.ts#L13) +Defined in: [src/parser/classes/MacroMarkersList.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersList.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MacroMarkersList.ts:13](https://github.com/LuanR > **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MacroMarkersListItem`](MacroMarkersListItem.md) \| [`MacroMarkersInfoItem`](MacroMarkersInfoItem.md)\> -Defined in: [src/parser/classes/MacroMarkersList.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersList.ts#L10) +Defined in: [src/parser/classes/MacroMarkersList.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersList.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MacroMarkersList.ts:10](https://github.com/LuanR > **sync\_button\_label**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MacroMarkersList.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersList.ts#L11) +Defined in: [src/parser/classes/MacroMarkersList.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersList.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MacroMarkersList.ts:11](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MacroMarkersList'` -Defined in: [src/parser/classes/MacroMarkersList.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersList.ts#L8) +Defined in: [src/parser/classes/MacroMarkersList.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersList.ts#L8) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MacroMarkersList.ts:8](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MacroMarkersList & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MacroMarkersListEntity.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MacroMarkersListEntity.md index 30c88965..402f5d8a 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MacroMarkersListEntity.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MacroMarkersListEntity.md @@ -2,7 +2,7 @@ # Class: MacroMarkersListEntity -Defined in: [src/parser/classes/MacroMarkersListEntity.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersListEntity.ts#L13) +Defined in: [src/parser/classes/MacroMarkersListEntity.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersListEntity.ts#L13) Represents a list of markers for a video. Can contain different types of markers: - MARKER_TYPE_HEATMAP: Heat map markers showing audience engagement data @@ -18,7 +18,7 @@ Represents a list of markers for a video. Can contain different types of markers > **new MacroMarkersListEntity**(`data`): `MacroMarkersListEntity` -Defined in: [src/parser/classes/MacroMarkersListEntity.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersListEntity.ts#L30) +Defined in: [src/parser/classes/MacroMarkersListEntity.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersListEntity.ts#L30) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/MacroMarkersListEntity.ts:30](https://github.com > **external\_video\_id**: `string` -Defined in: [src/parser/classes/MacroMarkersListEntity.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersListEntity.ts#L17) +Defined in: [src/parser/classes/MacroMarkersListEntity.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersListEntity.ts#L17) *** @@ -48,7 +48,7 @@ Defined in: [src/parser/classes/MacroMarkersListEntity.ts:17](https://github.com > **marker\_entity\_key**: `string` -Defined in: [src/parser/classes/MacroMarkersListEntity.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersListEntity.ts#L16) +Defined in: [src/parser/classes/MacroMarkersListEntity.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersListEntity.ts#L16) *** @@ -56,7 +56,7 @@ Defined in: [src/parser/classes/MacroMarkersListEntity.ts:16](https://github.com > **marker\_type**: `string` -Defined in: [src/parser/classes/MacroMarkersListEntity.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersListEntity.ts#L19) +Defined in: [src/parser/classes/MacroMarkersListEntity.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersListEntity.ts#L19) The type of markers in this entity (e.g., 'MARKER_TYPE_HEATMAP') @@ -66,7 +66,7 @@ The type of markers in this entity (e.g., 'MARKER_TYPE_HEATMAP') > **markers**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`HeatMarker`](HeatMarker.md)\> -Defined in: [src/parser/classes/MacroMarkersListEntity.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersListEntity.ts#L20) +Defined in: [src/parser/classes/MacroMarkersListEntity.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersListEntity.ts#L20) *** @@ -74,7 +74,7 @@ Defined in: [src/parser/classes/MacroMarkersListEntity.ts:20](https://github.com > **max\_height\_dp**: `number` -Defined in: [src/parser/classes/MacroMarkersListEntity.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersListEntity.ts#L21) +Defined in: [src/parser/classes/MacroMarkersListEntity.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersListEntity.ts#L21) *** @@ -82,7 +82,7 @@ Defined in: [src/parser/classes/MacroMarkersListEntity.ts:21](https://github.com > **min\_height\_dp**: `number` -Defined in: [src/parser/classes/MacroMarkersListEntity.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersListEntity.ts#L22) +Defined in: [src/parser/classes/MacroMarkersListEntity.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersListEntity.ts#L22) *** @@ -90,7 +90,7 @@ Defined in: [src/parser/classes/MacroMarkersListEntity.ts:22](https://github.com > **show\_hide\_animation\_duration\_millis**: `number` -Defined in: [src/parser/classes/MacroMarkersListEntity.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersListEntity.ts#L23) +Defined in: [src/parser/classes/MacroMarkersListEntity.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersListEntity.ts#L23) *** @@ -98,7 +98,7 @@ Defined in: [src/parser/classes/MacroMarkersListEntity.ts:23](https://github.com > **timed\_marker\_decorations**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`TimedMarkerDecoration`](TimedMarkerDecoration.md)\> -Defined in: [src/parser/classes/MacroMarkersListEntity.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersListEntity.ts#L24) +Defined in: [src/parser/classes/MacroMarkersListEntity.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersListEntity.ts#L24) *** @@ -106,7 +106,7 @@ Defined in: [src/parser/classes/MacroMarkersListEntity.ts:24](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -118,7 +118,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MacroMarkersListEntity'` -Defined in: [src/parser/classes/MacroMarkersListEntity.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersListEntity.ts#L14) +Defined in: [src/parser/classes/MacroMarkersListEntity.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersListEntity.ts#L14) #### Overrides @@ -130,7 +130,7 @@ Defined in: [src/parser/classes/MacroMarkersListEntity.ts:14](https://github.com > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -172,7 +172,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MacroMarkersListEntity & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -210,7 +210,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -248,7 +248,7 @@ whether the node is of the given type > **isHeatmap**(): `boolean` -Defined in: [src/parser/classes/MacroMarkersListEntity.ts:65](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersListEntity.ts#L65) +Defined in: [src/parser/classes/MacroMarkersListEntity.ts:65](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersListEntity.ts#L65) Checks if this MacroMarkersListEntity represents heatmap data. Only heatmap markers can be converted to Heatmap objects. @@ -263,7 +263,7 @@ Only heatmap markers can be converted to Heatmap objects. > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. @@ -305,7 +305,7 @@ If the node does not have the key > **toHeatmap**(): [`Heatmap`](Heatmap.md) \| `null` -Defined in: [src/parser/classes/MacroMarkersListEntity.ts:74](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersListEntity.ts#L74) +Defined in: [src/parser/classes/MacroMarkersListEntity.ts:74](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersListEntity.ts#L74) Converts this MacroMarkersListEntity to a Heatmap object for compatibility with existing code. Only works for heatmap markers. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MacroMarkersListItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MacroMarkersListItem.md index 2d714b77..af88c979 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MacroMarkersListItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MacroMarkersListItem.md @@ -2,7 +2,7 @@ # Class: MacroMarkersListItem -Defined in: [src/parser/classes/MacroMarkersListItem.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersListItem.ts#L8) +Defined in: [src/parser/classes/MacroMarkersListItem.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersListItem.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MacroMarkersListItem.ts:8](https://github.com/Lu > **new MacroMarkersListItem**(`data`): `MacroMarkersListItem` -Defined in: [src/parser/classes/MacroMarkersListItem.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersListItem.ts#L18) +Defined in: [src/parser/classes/MacroMarkersListItem.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersListItem.ts#L18) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MacroMarkersListItem.ts:18](https://github.com/L > **is\_highlighted**: `boolean` -Defined in: [src/parser/classes/MacroMarkersListItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersListItem.ts#L16) +Defined in: [src/parser/classes/MacroMarkersListItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersListItem.ts#L16) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MacroMarkersListItem.ts:16](https://github.com/L > **layout**: `string` -Defined in: [src/parser/classes/MacroMarkersListItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersListItem.ts#L15) +Defined in: [src/parser/classes/MacroMarkersListItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersListItem.ts#L15) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MacroMarkersListItem.ts:15](https://github.com/L > **on\_tap\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/MacroMarkersListItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersListItem.ts#L14) +Defined in: [src/parser/classes/MacroMarkersListItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersListItem.ts#L14) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/MacroMarkersListItem.ts:14](https://github.com/L > **thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/MacroMarkersListItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersListItem.ts#L13) +Defined in: [src/parser/classes/MacroMarkersListItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersListItem.ts#L13) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/MacroMarkersListItem.ts:13](https://github.com/L > **time\_description**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MacroMarkersListItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersListItem.ts#L12) +Defined in: [src/parser/classes/MacroMarkersListItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersListItem.ts#L12) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MacroMarkersListItem.ts:12](https://github.com/L > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MacroMarkersListItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersListItem.ts#L11) +Defined in: [src/parser/classes/MacroMarkersListItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersListItem.ts#L11) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/MacroMarkersListItem.ts:11](https://github.com/L > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MacroMarkersListItem'` -Defined in: [src/parser/classes/MacroMarkersListItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MacroMarkersListItem.ts#L9) +Defined in: [src/parser/classes/MacroMarkersListItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MacroMarkersListItem.ts#L9) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/MacroMarkersListItem.ts:9](https://github.com/Lu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MacroMarkersListItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MarkChatItemAsDeletedAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MarkChatItemAsDeletedAction.md index 9e6740ac..061ef225 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MarkChatItemAsDeletedAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MarkChatItemAsDeletedAction.md @@ -2,7 +2,7 @@ # Class: MarkChatItemAsDeletedAction -Defined in: [src/parser/classes/livechat/MarkChatItemAsDeletedAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/MarkChatItemAsDeletedAction.ts#L5) +Defined in: [src/parser/classes/livechat/MarkChatItemAsDeletedAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/MarkChatItemAsDeletedAction.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/MarkChatItemAsDeletedAction.ts:5](https > **new MarkChatItemAsDeletedAction**(`data`): `MarkChatItemAsDeletedAction` -Defined in: [src/parser/classes/livechat/MarkChatItemAsDeletedAction.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/MarkChatItemAsDeletedAction.ts#L11) +Defined in: [src/parser/classes/livechat/MarkChatItemAsDeletedAction.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/MarkChatItemAsDeletedAction.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/MarkChatItemAsDeletedAction.ts:11](http > **deleted\_state\_message**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/MarkChatItemAsDeletedAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/MarkChatItemAsDeletedAction.ts#L8) +Defined in: [src/parser/classes/livechat/MarkChatItemAsDeletedAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/MarkChatItemAsDeletedAction.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/MarkChatItemAsDeletedAction.ts:8](https > **target\_item\_id**: `string` -Defined in: [src/parser/classes/livechat/MarkChatItemAsDeletedAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/MarkChatItemAsDeletedAction.ts#L9) +Defined in: [src/parser/classes/livechat/MarkChatItemAsDeletedAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/MarkChatItemAsDeletedAction.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/MarkChatItemAsDeletedAction.ts:9](https > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MarkChatItemAsDeletedAction'` -Defined in: [src/parser/classes/livechat/MarkChatItemAsDeletedAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/MarkChatItemAsDeletedAction.ts#L6) +Defined in: [src/parser/classes/livechat/MarkChatItemAsDeletedAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/MarkChatItemAsDeletedAction.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/MarkChatItemAsDeletedAction.ts:6](https > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MarkChatItemAsDeletedAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MarkChatItemsByAuthorAsDeletedAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MarkChatItemsByAuthorAsDeletedAction.md index b8ef7b57..13167b5c 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MarkChatItemsByAuthorAsDeletedAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MarkChatItemsByAuthorAsDeletedAction.md @@ -2,7 +2,7 @@ # Class: MarkChatItemsByAuthorAsDeletedAction -Defined in: [src/parser/classes/livechat/MarkChatItemsByAuthorAsDeletedAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/MarkChatItemsByAuthorAsDeletedAction.ts#L5) +Defined in: [src/parser/classes/livechat/MarkChatItemsByAuthorAsDeletedAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/MarkChatItemsByAuthorAsDeletedAction.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/MarkChatItemsByAuthorAsDeletedAction.ts > **new MarkChatItemsByAuthorAsDeletedAction**(`data`): `MarkChatItemsByAuthorAsDeletedAction` -Defined in: [src/parser/classes/livechat/MarkChatItemsByAuthorAsDeletedAction.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/MarkChatItemsByAuthorAsDeletedAction.ts#L11) +Defined in: [src/parser/classes/livechat/MarkChatItemsByAuthorAsDeletedAction.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/MarkChatItemsByAuthorAsDeletedAction.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/MarkChatItemsByAuthorAsDeletedAction.ts > **deleted\_state\_message**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/MarkChatItemsByAuthorAsDeletedAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/MarkChatItemsByAuthorAsDeletedAction.ts#L8) +Defined in: [src/parser/classes/livechat/MarkChatItemsByAuthorAsDeletedAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/MarkChatItemsByAuthorAsDeletedAction.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/MarkChatItemsByAuthorAsDeletedAction.ts > **external\_channel\_id**: `string` -Defined in: [src/parser/classes/livechat/MarkChatItemsByAuthorAsDeletedAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/MarkChatItemsByAuthorAsDeletedAction.ts#L9) +Defined in: [src/parser/classes/livechat/MarkChatItemsByAuthorAsDeletedAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/MarkChatItemsByAuthorAsDeletedAction.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/MarkChatItemsByAuthorAsDeletedAction.ts > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MarkChatItemsByAuthorAsDeletedAction'` -Defined in: [src/parser/classes/livechat/MarkChatItemsByAuthorAsDeletedAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/MarkChatItemsByAuthorAsDeletedAction.ts#L6) +Defined in: [src/parser/classes/livechat/MarkChatItemsByAuthorAsDeletedAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/MarkChatItemsByAuthorAsDeletedAction.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/MarkChatItemsByAuthorAsDeletedAction.ts > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MarkChatItemsByAuthorAsDeletedAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Menu.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Menu.md index ce0f901c..17ac28de 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Menu.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Menu.md @@ -2,7 +2,7 @@ # Class: Menu -Defined in: [src/parser/classes/menus/Menu.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/Menu.ts#L14) +Defined in: [src/parser/classes/menus/Menu.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/Menu.ts#L14) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/menus/Menu.ts:14](https://github.com/LuanRT/YouT > **new Menu**(`data`): `Menu` -Defined in: [src/parser/classes/menus/Menu.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/Menu.ts#L22) +Defined in: [src/parser/classes/menus/Menu.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/Menu.ts#L22) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/menus/Menu.ts:22](https://github.com/LuanRT/YouT > `optional` **accessibility**: `AccessibilitySupportedDatas` -Defined in: [src/parser/classes/menus/Menu.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/Menu.ts#L20) +Defined in: [src/parser/classes/menus/Menu.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/Menu.ts#L20) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/menus/Menu.ts:20](https://github.com/LuanRT/YouT > **flexible\_items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MenuFlexibleItem`](MenuFlexibleItem.md)\> -Defined in: [src/parser/classes/menus/Menu.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/Menu.ts#L18) +Defined in: [src/parser/classes/menus/Menu.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/Menu.ts#L18) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/menus/Menu.ts:18](https://github.com/LuanRT/YouT > **items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/menus/Menu.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/Menu.ts#L17) +Defined in: [src/parser/classes/menus/Menu.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/Menu.ts#L17) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/menus/Menu.ts:17](https://github.com/LuanRT/YouT > **top\_level\_buttons**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Button`](Button.md) \| [`ToggleButton`](ToggleButton.md) \| [`ButtonView`](ButtonView.md) \| [`SegmentedLikeDislikeButtonView`](SegmentedLikeDislikeButtonView.md) \| [`LikeButton`](LikeButton.md) \| [`FlexibleActionsView`](FlexibleActionsView.md)\> -Defined in: [src/parser/classes/menus/Menu.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/Menu.ts#L19) +Defined in: [src/parser/classes/menus/Menu.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/Menu.ts#L19) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/menus/Menu.ts:19](https://github.com/LuanRT/YouT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'Menu'` -Defined in: [src/parser/classes/menus/Menu.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/Menu.ts#L15) +Defined in: [src/parser/classes/menus/Menu.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/Menu.ts#L15) #### Overrides @@ -94,7 +94,7 @@ Defined in: [src/parser/classes/menus/Menu.ts:15](https://github.com/LuanRT/YouT > **get** **contents**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/menus/Menu.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/Menu.ts#L41) +Defined in: [src/parser/classes/menus/Menu.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/Menu.ts#L41) ##### Returns @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/menus/Menu.ts:41](https://github.com/LuanRT/YouT > **get** **label**(): `string` \| `undefined` -Defined in: [src/parser/classes/menus/Menu.ts:36](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/Menu.ts#L36) +Defined in: [src/parser/classes/menus/Menu.ts:36](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/Menu.ts#L36) ##### Returns @@ -120,7 +120,7 @@ Defined in: [src/parser/classes/menus/Menu.ts:36](https://github.com/LuanRT/YouT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -162,7 +162,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Menu & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -200,7 +200,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -238,7 +238,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MenuFlexibleItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MenuFlexibleItem.md index 27e30caf..be7dd179 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MenuFlexibleItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MenuFlexibleItem.md @@ -2,7 +2,7 @@ # Class: MenuFlexibleItem -Defined in: [src/parser/classes/menus/MenuFlexibleItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MenuFlexibleItem.ts#L11) +Defined in: [src/parser/classes/menus/MenuFlexibleItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MenuFlexibleItem.ts#L12) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/menus/MenuFlexibleItem.ts:11](https://github.com > **new MenuFlexibleItem**(`data`): `MenuFlexibleItem` -Defined in: [src/parser/classes/menus/MenuFlexibleItem.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MenuFlexibleItem.ts#L17) +Defined in: [src/parser/classes/menus/MenuFlexibleItem.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MenuFlexibleItem.ts#L18) #### Parameters @@ -34,9 +34,9 @@ Defined in: [src/parser/classes/menus/MenuFlexibleItem.ts:17](https://github.com ### menu\_item -> **menu\_item**: [`MenuServiceItem`](MenuServiceItem.md) \| [`MenuServiceItemDownload`](MenuServiceItemDownload.md) \| `null` +> **menu\_item**: [`MenuServiceItem`](MenuServiceItem.md) \| [`MenuServiceItemDownload`](MenuServiceItemDownload.md) \| [`ListItemView`](ListItemView.md) \| `null` -Defined in: [src/parser/classes/menus/MenuFlexibleItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MenuFlexibleItem.ts#L14) +Defined in: [src/parser/classes/menus/MenuFlexibleItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MenuFlexibleItem.ts#L15) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/menus/MenuFlexibleItem.ts:14](https://github.com > **top\_level\_button**: [`Button`](Button.md) \| [`ButtonView`](ButtonView.md) \| [`DownloadButton`](DownloadButton.md) \| `null` -Defined in: [src/parser/classes/menus/MenuFlexibleItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MenuFlexibleItem.ts#L15) +Defined in: [src/parser/classes/menus/MenuFlexibleItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MenuFlexibleItem.ts#L16) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/menus/MenuFlexibleItem.ts:15](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MenuFlexibleItem'` -Defined in: [src/parser/classes/menus/MenuFlexibleItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MenuFlexibleItem.ts#L12) +Defined in: [src/parser/classes/menus/MenuFlexibleItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MenuFlexibleItem.ts#L13) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/menus/MenuFlexibleItem.ts:12](https://github.com > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MenuFlexibleItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MenuNavigationItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MenuNavigationItem.md index 3898c806..1d17d11f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MenuNavigationItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MenuNavigationItem.md @@ -2,7 +2,7 @@ # Class: MenuNavigationItem -Defined in: [src/parser/classes/menus/MenuNavigationItem.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MenuNavigationItem.ts#L4) +Defined in: [src/parser/classes/menus/MenuNavigationItem.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MenuNavigationItem.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/menus/MenuNavigationItem.ts:4](https://github.co > **new MenuNavigationItem**(`data`): `MenuNavigationItem` -Defined in: [src/parser/classes/menus/MenuNavigationItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MenuNavigationItem.ts#L7) +Defined in: [src/parser/classes/menus/MenuNavigationItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MenuNavigationItem.ts#L7) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/menus/MenuNavigationItem.ts:7](https://github.co > `optional` **accessibility**: `AccessibilitySupportedDatas` -Defined in: [src/parser/classes/Button.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L19) +Defined in: [src/parser/classes/Button.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L19) #### Inherited from @@ -48,7 +48,7 @@ Defined in: [src/parser/classes/Button.ts:19](https://github.com/LuanRT/YouTube. > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/Button.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L18) +Defined in: [src/parser/classes/Button.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L18) #### Inherited from @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/Button.ts:18](https://github.com/LuanRT/YouTube. > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/Button.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L15) +Defined in: [src/parser/classes/Button.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L15) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/Button.ts:15](https://github.com/LuanRT/YouTube. > `optional` **is\_disabled**: `boolean` -Defined in: [src/parser/classes/Button.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L16) +Defined in: [src/parser/classes/Button.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L16) #### Inherited from @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/Button.ts:16](https://github.com/LuanRT/YouTube. > `optional` **label**: `string` -Defined in: [src/parser/classes/Button.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L11) +Defined in: [src/parser/classes/Button.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L11) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/Button.ts:11](https://github.com/LuanRT/YouTube. > `optional` **size**: `string` -Defined in: [src/parser/classes/Button.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L14) +Defined in: [src/parser/classes/Button.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L14) #### Inherited from @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/Button.ts:14](https://github.com/LuanRT/YouTube. > `optional` **style**: `string` -Defined in: [src/parser/classes/Button.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L13) +Defined in: [src/parser/classes/Button.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L13) #### Inherited from @@ -120,7 +120,7 @@ Defined in: [src/parser/classes/Button.ts:13](https://github.com/LuanRT/YouTube. > `optional` **target\_id**: `string` -Defined in: [src/parser/classes/Button.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L17) +Defined in: [src/parser/classes/Button.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L17) #### Inherited from @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/Button.ts:17](https://github.com/LuanRT/YouTube. > `optional` **text**: `string` -Defined in: [src/parser/classes/Button.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L10) +Defined in: [src/parser/classes/Button.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L10) #### Inherited from @@ -144,7 +144,7 @@ Defined in: [src/parser/classes/Button.ts:10](https://github.com/LuanRT/YouTube. > `optional` **tooltip**: `string` -Defined in: [src/parser/classes/Button.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L12) +Defined in: [src/parser/classes/Button.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L12) #### Inherited from @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/Button.ts:12](https://github.com/LuanRT/YouTube. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -168,7 +168,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MenuNavigationItem'` -Defined in: [src/parser/classes/menus/MenuNavigationItem.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MenuNavigationItem.ts#L5) +Defined in: [src/parser/classes/menus/MenuNavigationItem.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MenuNavigationItem.ts#L5) #### Overrides @@ -180,7 +180,7 @@ Defined in: [src/parser/classes/menus/MenuNavigationItem.ts:5](https://github.co > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -222,7 +222,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MenuNavigationItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -260,7 +260,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -298,7 +298,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MenuPopup.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MenuPopup.md index 779726ba..79139469 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MenuPopup.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MenuPopup.md @@ -2,7 +2,7 @@ # Class: MenuPopup -Defined in: [src/parser/classes/menus/MenuPopup.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MenuPopup.ts#L8) +Defined in: [src/parser/classes/menus/MenuPopup.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MenuPopup.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/menus/MenuPopup.ts:8](https://github.com/LuanRT/ > **new MenuPopup**(`data`): `MenuPopup` -Defined in: [src/parser/classes/menus/MenuPopup.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MenuPopup.ts#L13) +Defined in: [src/parser/classes/menus/MenuPopup.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MenuPopup.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/menus/MenuPopup.ts:13](https://github.com/LuanRT > **items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MenuServiceItem`](MenuServiceItem.md) \| [`MenuNavigationItem`](MenuNavigationItem.md)\> -Defined in: [src/parser/classes/menus/MenuPopup.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MenuPopup.ts#L11) +Defined in: [src/parser/classes/menus/MenuPopup.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MenuPopup.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/menus/MenuPopup.ts:11](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MenuPopup'` -Defined in: [src/parser/classes/menus/MenuPopup.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MenuPopup.ts#L9) +Defined in: [src/parser/classes/menus/MenuPopup.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MenuPopup.ts#L9) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/menus/MenuPopup.ts:9](https://github.com/LuanRT/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MenuPopup & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MenuServiceItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MenuServiceItem.md index b6473770..c17a111c 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MenuServiceItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MenuServiceItem.md @@ -2,7 +2,7 @@ # Class: MenuServiceItem -Defined in: [src/parser/classes/menus/MenuServiceItem.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MenuServiceItem.ts#L4) +Defined in: [src/parser/classes/menus/MenuServiceItem.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MenuServiceItem.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/menus/MenuServiceItem.ts:4](https://github.com/L > **new MenuServiceItem**(`data`): `MenuServiceItem` -Defined in: [src/parser/classes/menus/MenuServiceItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MenuServiceItem.ts#L7) +Defined in: [src/parser/classes/menus/MenuServiceItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MenuServiceItem.ts#L7) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/menus/MenuServiceItem.ts:7](https://github.com/L > `optional` **accessibility**: `AccessibilitySupportedDatas` -Defined in: [src/parser/classes/Button.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L19) +Defined in: [src/parser/classes/Button.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L19) #### Inherited from @@ -48,7 +48,7 @@ Defined in: [src/parser/classes/Button.ts:19](https://github.com/LuanRT/YouTube. > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/Button.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L18) +Defined in: [src/parser/classes/Button.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L18) #### Inherited from @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/Button.ts:18](https://github.com/LuanRT/YouTube. > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/Button.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L15) +Defined in: [src/parser/classes/Button.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L15) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/Button.ts:15](https://github.com/LuanRT/YouTube. > `optional` **is\_disabled**: `boolean` -Defined in: [src/parser/classes/Button.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L16) +Defined in: [src/parser/classes/Button.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L16) #### Inherited from @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/Button.ts:16](https://github.com/LuanRT/YouTube. > `optional` **label**: `string` -Defined in: [src/parser/classes/Button.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L11) +Defined in: [src/parser/classes/Button.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L11) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/Button.ts:11](https://github.com/LuanRT/YouTube. > `optional` **size**: `string` -Defined in: [src/parser/classes/Button.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L14) +Defined in: [src/parser/classes/Button.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L14) #### Inherited from @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/Button.ts:14](https://github.com/LuanRT/YouTube. > `optional` **style**: `string` -Defined in: [src/parser/classes/Button.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L13) +Defined in: [src/parser/classes/Button.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L13) #### Inherited from @@ -120,7 +120,7 @@ Defined in: [src/parser/classes/Button.ts:13](https://github.com/LuanRT/YouTube. > `optional` **target\_id**: `string` -Defined in: [src/parser/classes/Button.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L17) +Defined in: [src/parser/classes/Button.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L17) #### Inherited from @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/Button.ts:17](https://github.com/LuanRT/YouTube. > `optional` **text**: `string` -Defined in: [src/parser/classes/Button.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L10) +Defined in: [src/parser/classes/Button.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L10) #### Inherited from @@ -144,7 +144,7 @@ Defined in: [src/parser/classes/Button.ts:10](https://github.com/LuanRT/YouTube. > `optional` **tooltip**: `string` -Defined in: [src/parser/classes/Button.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Button.ts#L12) +Defined in: [src/parser/classes/Button.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Button.ts#L12) #### Inherited from @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/Button.ts:12](https://github.com/LuanRT/YouTube. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -168,7 +168,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MenuServiceItem'` -Defined in: [src/parser/classes/menus/MenuServiceItem.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MenuServiceItem.ts#L5) +Defined in: [src/parser/classes/menus/MenuServiceItem.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MenuServiceItem.ts#L5) #### Overrides @@ -180,7 +180,7 @@ Defined in: [src/parser/classes/menus/MenuServiceItem.ts:5](https://github.com/L > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -222,7 +222,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MenuServiceItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -260,7 +260,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -298,7 +298,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MenuServiceItemDownload.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MenuServiceItemDownload.md index b6c11381..fbae97b9 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MenuServiceItemDownload.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MenuServiceItemDownload.md @@ -2,7 +2,7 @@ # Class: MenuServiceItemDownload -Defined in: [src/parser/classes/menus/MenuServiceItemDownload.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MenuServiceItemDownload.ts#L5) +Defined in: [src/parser/classes/menus/MenuServiceItemDownload.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MenuServiceItemDownload.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/menus/MenuServiceItemDownload.ts:5](https://gith > **new MenuServiceItemDownload**(`data`): `MenuServiceItemDownload` -Defined in: [src/parser/classes/menus/MenuServiceItemDownload.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MenuServiceItemDownload.ts#L11) +Defined in: [src/parser/classes/menus/MenuServiceItemDownload.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MenuServiceItemDownload.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/menus/MenuServiceItemDownload.ts:11](https://git > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/menus/MenuServiceItemDownload.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MenuServiceItemDownload.ts#L9) +Defined in: [src/parser/classes/menus/MenuServiceItemDownload.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MenuServiceItemDownload.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/menus/MenuServiceItemDownload.ts:9](https://gith > **has\_separator**: `boolean` -Defined in: [src/parser/classes/menus/MenuServiceItemDownload.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MenuServiceItemDownload.ts#L8) +Defined in: [src/parser/classes/menus/MenuServiceItemDownload.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MenuServiceItemDownload.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/menus/MenuServiceItemDownload.ts:8](https://gith > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MenuServiceItemDownload'` -Defined in: [src/parser/classes/menus/MenuServiceItemDownload.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MenuServiceItemDownload.ts#L6) +Defined in: [src/parser/classes/menus/MenuServiceItemDownload.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MenuServiceItemDownload.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/menus/MenuServiceItemDownload.ts:6](https://gith > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MenuServiceItemDownload & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MenuTitle.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MenuTitle.md index 6ff567a7..96cda61f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MenuTitle.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MenuTitle.md @@ -2,7 +2,7 @@ # Class: MenuTitle -Defined in: [src/parser/classes/MenuTitle.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MenuTitle.ts#L5) +Defined in: [src/parser/classes/MenuTitle.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MenuTitle.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MenuTitle.ts:5](https://github.com/LuanRT/YouTub > **new MenuTitle**(`data`): `MenuTitle` -Defined in: [src/parser/classes/MenuTitle.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MenuTitle.ts#L10) +Defined in: [src/parser/classes/MenuTitle.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MenuTitle.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MenuTitle.ts:10](https://github.com/LuanRT/YouTu > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MenuTitle.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MenuTitle.ts#L8) +Defined in: [src/parser/classes/MenuTitle.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MenuTitle.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MenuTitle.ts:8](https://github.com/LuanRT/YouTub > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MenuTitle'` -Defined in: [src/parser/classes/MenuTitle.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MenuTitle.ts#L6) +Defined in: [src/parser/classes/MenuTitle.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MenuTitle.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/MenuTitle.ts:6](https://github.com/LuanRT/YouTub > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MenuTitle & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MerchandiseItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MerchandiseItem.md index e5151da8..c2cca995 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MerchandiseItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MerchandiseItem.md @@ -2,7 +2,7 @@ # Class: MerchandiseItem -Defined in: [src/parser/classes/MerchandiseItem.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MerchandiseItem.ts#L6) +Defined in: [src/parser/classes/MerchandiseItem.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MerchandiseItem.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MerchandiseItem.ts:6](https://github.com/LuanRT/ > **new MerchandiseItem**(`data`): `MerchandiseItem` -Defined in: [src/parser/classes/MerchandiseItem.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MerchandiseItem.ts#L21) +Defined in: [src/parser/classes/MerchandiseItem.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MerchandiseItem.ts#L21) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MerchandiseItem.ts:21](https://github.com/LuanRT > **additional\_fees\_text**: `string` -Defined in: [src/parser/classes/MerchandiseItem.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MerchandiseItem.ts#L17) +Defined in: [src/parser/classes/MerchandiseItem.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MerchandiseItem.ts#L17) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MerchandiseItem.ts:17](https://github.com/LuanRT > **button\_accessibility\_text**: `string` -Defined in: [src/parser/classes/MerchandiseItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MerchandiseItem.ts#L15) +Defined in: [src/parser/classes/MerchandiseItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MerchandiseItem.ts#L15) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MerchandiseItem.ts:15](https://github.com/LuanRT > **button\_text**: `string` -Defined in: [src/parser/classes/MerchandiseItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MerchandiseItem.ts#L14) +Defined in: [src/parser/classes/MerchandiseItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MerchandiseItem.ts#L14) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/MerchandiseItem.ts:14](https://github.com/LuanRT > **description**: `string` -Defined in: [src/parser/classes/MerchandiseItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MerchandiseItem.ts#L10) +Defined in: [src/parser/classes/MerchandiseItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MerchandiseItem.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/MerchandiseItem.ts:10](https://github.com/LuanRT > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/MerchandiseItem.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MerchandiseItem.ts#L19) +Defined in: [src/parser/classes/MerchandiseItem.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MerchandiseItem.ts#L19) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MerchandiseItem.ts:19](https://github.com/LuanRT > **from\_vendor\_text**: `string` -Defined in: [src/parser/classes/MerchandiseItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MerchandiseItem.ts#L16) +Defined in: [src/parser/classes/MerchandiseItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MerchandiseItem.ts#L16) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/MerchandiseItem.ts:16](https://github.com/LuanRT > **price**: `string` -Defined in: [src/parser/classes/MerchandiseItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MerchandiseItem.ts#L12) +Defined in: [src/parser/classes/MerchandiseItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MerchandiseItem.ts#L12) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/MerchandiseItem.ts:12](https://github.com/LuanRT > **region\_format**: `string` -Defined in: [src/parser/classes/MerchandiseItem.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MerchandiseItem.ts#L18) +Defined in: [src/parser/classes/MerchandiseItem.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MerchandiseItem.ts#L18) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/MerchandiseItem.ts:18](https://github.com/LuanRT > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/MerchandiseItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MerchandiseItem.ts#L11) +Defined in: [src/parser/classes/MerchandiseItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MerchandiseItem.ts#L11) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/MerchandiseItem.ts:11](https://github.com/LuanRT > **title**: `string` -Defined in: [src/parser/classes/MerchandiseItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MerchandiseItem.ts#L9) +Defined in: [src/parser/classes/MerchandiseItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MerchandiseItem.ts#L9) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/MerchandiseItem.ts:9](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -128,7 +128,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **vendor\_name**: `string` -Defined in: [src/parser/classes/MerchandiseItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MerchandiseItem.ts#L13) +Defined in: [src/parser/classes/MerchandiseItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MerchandiseItem.ts#L13) *** @@ -136,7 +136,7 @@ Defined in: [src/parser/classes/MerchandiseItem.ts:13](https://github.com/LuanRT > `static` **type**: `string` = `'MerchandiseItem'` -Defined in: [src/parser/classes/MerchandiseItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MerchandiseItem.ts#L7) +Defined in: [src/parser/classes/MerchandiseItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MerchandiseItem.ts#L7) #### Overrides @@ -148,7 +148,7 @@ Defined in: [src/parser/classes/MerchandiseItem.ts:7](https://github.com/LuanRT/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -190,7 +190,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MerchandiseItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -228,7 +228,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -266,7 +266,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MerchandiseShelf.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MerchandiseShelf.md index 0d6ca129..dc1626c8 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MerchandiseShelf.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MerchandiseShelf.md @@ -2,7 +2,7 @@ # Class: MerchandiseShelf -Defined in: [src/parser/classes/MerchandiseShelf.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MerchandiseShelf.ts#L4) +Defined in: [src/parser/classes/MerchandiseShelf.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MerchandiseShelf.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MerchandiseShelf.ts:4](https://github.com/LuanRT > **new MerchandiseShelf**(`data`): `MerchandiseShelf` -Defined in: [src/parser/classes/MerchandiseShelf.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MerchandiseShelf.ts#L11) +Defined in: [src/parser/classes/MerchandiseShelf.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MerchandiseShelf.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MerchandiseShelf.ts:11](https://github.com/LuanR > **items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/MerchandiseShelf.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MerchandiseShelf.ts#L9) +Defined in: [src/parser/classes/MerchandiseShelf.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MerchandiseShelf.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MerchandiseShelf.ts:9](https://github.com/LuanRT > **menu**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/MerchandiseShelf.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MerchandiseShelf.ts#L8) +Defined in: [src/parser/classes/MerchandiseShelf.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MerchandiseShelf.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MerchandiseShelf.ts:8](https://github.com/LuanRT > **title**: `string` -Defined in: [src/parser/classes/MerchandiseShelf.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MerchandiseShelf.ts#L7) +Defined in: [src/parser/classes/MerchandiseShelf.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MerchandiseShelf.ts#L7) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/MerchandiseShelf.ts:7](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MerchandiseShelf'` -Defined in: [src/parser/classes/MerchandiseShelf.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MerchandiseShelf.ts#L5) +Defined in: [src/parser/classes/MerchandiseShelf.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MerchandiseShelf.ts#L5) #### Overrides @@ -86,7 +86,7 @@ Defined in: [src/parser/classes/MerchandiseShelf.ts:5](https://github.com/LuanRT > **get** **contents**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/MerchandiseShelf.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MerchandiseShelf.ts#L19) +Defined in: [src/parser/classes/MerchandiseShelf.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MerchandiseShelf.ts#L19) ##### Returns @@ -98,7 +98,7 @@ Defined in: [src/parser/classes/MerchandiseShelf.ts:19](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -140,7 +140,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MerchandiseShelf & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -178,7 +178,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -216,7 +216,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Message.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Message.md index c43c9c04..3b5ae478 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Message.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Message.md @@ -2,7 +2,7 @@ # Class: Message -Defined in: [src/parser/classes/Message.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Message.ts#L5) +Defined in: [src/parser/classes/Message.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Message.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/Message.ts:5](https://github.com/LuanRT/YouTube. > **new Message**(`data`): `Message` -Defined in: [src/parser/classes/Message.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Message.ts#L10) +Defined in: [src/parser/classes/Message.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Message.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/Message.ts:10](https://github.com/LuanRT/YouTube > **text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Message.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Message.ts#L8) +Defined in: [src/parser/classes/Message.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Message.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/Message.ts:8](https://github.com/LuanRT/YouTube. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'Message'` -Defined in: [src/parser/classes/Message.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Message.ts#L6) +Defined in: [src/parser/classes/Message.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Message.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/Message.ts:6](https://github.com/LuanRT/YouTube. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Message & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MetadataBadge.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MetadataBadge.md index 94d92bd6..da8b4549 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MetadataBadge.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MetadataBadge.md @@ -2,7 +2,7 @@ # Class: MetadataBadge -Defined in: [src/parser/classes/MetadataBadge.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataBadge.ts#L4) +Defined in: [src/parser/classes/MetadataBadge.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataBadge.ts#L4) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/parser/classes/MetadataBadge.ts:4](https://github.com/LuanRT/Yo > **new MetadataBadge**(`data`): `MetadataBadge` -Defined in: [src/parser/classes/MetadataBadge.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataBadge.ts#L12) +Defined in: [src/parser/classes/MetadataBadge.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataBadge.ts#L12) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/MetadataBadge.ts:12](https://github.com/LuanRT/Y > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/MetadataBadge.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataBadge.ts#L7) +Defined in: [src/parser/classes/MetadataBadge.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataBadge.ts#L7) *** @@ -48,7 +48,7 @@ Defined in: [src/parser/classes/MetadataBadge.ts:7](https://github.com/LuanRT/Yo > `optional` **label**: `string` -Defined in: [src/parser/classes/MetadataBadge.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataBadge.ts#L9) +Defined in: [src/parser/classes/MetadataBadge.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataBadge.ts#L9) *** @@ -56,7 +56,7 @@ Defined in: [src/parser/classes/MetadataBadge.ts:9](https://github.com/LuanRT/Yo > `optional` **style**: `string` -Defined in: [src/parser/classes/MetadataBadge.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataBadge.ts#L8) +Defined in: [src/parser/classes/MetadataBadge.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataBadge.ts#L8) *** @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/MetadataBadge.ts:8](https://github.com/LuanRT/Yo > `optional` **tooltip**: `string` -Defined in: [src/parser/classes/MetadataBadge.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataBadge.ts#L10) +Defined in: [src/parser/classes/MetadataBadge.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataBadge.ts#L10) *** @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/MetadataBadge.ts:10](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -84,7 +84,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MetadataBadge'` -Defined in: [src/parser/classes/MetadataBadge.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataBadge.ts#L5) +Defined in: [src/parser/classes/MetadataBadge.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataBadge.ts#L5) #### Overrides @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/MetadataBadge.ts:5](https://github.com/LuanRT/Yo > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -138,7 +138,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MetadataBadge & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -176,7 +176,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -214,7 +214,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MetadataRow.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MetadataRow.md index d33304ef..633cc255 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MetadataRow.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MetadataRow.md @@ -2,7 +2,7 @@ # Class: MetadataRow -Defined in: [src/parser/classes/MetadataRow.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataRow.ts#L5) +Defined in: [src/parser/classes/MetadataRow.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataRow.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MetadataRow.ts:5](https://github.com/LuanRT/YouT > **new MetadataRow**(`data`): `MetadataRow` -Defined in: [src/parser/classes/MetadataRow.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataRow.ts#L11) +Defined in: [src/parser/classes/MetadataRow.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataRow.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MetadataRow.ts:11](https://github.com/LuanRT/You > **contents**: [`Text`](../../Misc/classes/Text.md)[] -Defined in: [src/parser/classes/MetadataRow.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataRow.ts#L9) +Defined in: [src/parser/classes/MetadataRow.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataRow.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MetadataRow.ts:9](https://github.com/LuanRT/YouT > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MetadataRow.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataRow.ts#L8) +Defined in: [src/parser/classes/MetadataRow.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataRow.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MetadataRow.ts:8](https://github.com/LuanRT/YouT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MetadataRow'` -Defined in: [src/parser/classes/MetadataRow.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataRow.ts#L6) +Defined in: [src/parser/classes/MetadataRow.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataRow.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MetadataRow.ts:6](https://github.com/LuanRT/YouT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MetadataRow & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MetadataRowContainer.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MetadataRowContainer.md index 0a1bc137..1ac6bd51 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MetadataRowContainer.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MetadataRowContainer.md @@ -2,7 +2,7 @@ # Class: MetadataRowContainer -Defined in: [src/parser/classes/MetadataRowContainer.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataRowContainer.ts#L4) +Defined in: [src/parser/classes/MetadataRowContainer.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataRowContainer.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MetadataRowContainer.ts:4](https://github.com/Lu > **new MetadataRowContainer**(`data`): `MetadataRowContainer` -Defined in: [src/parser/classes/MetadataRowContainer.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataRowContainer.ts#L10) +Defined in: [src/parser/classes/MetadataRowContainer.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataRowContainer.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MetadataRowContainer.ts:10](https://github.com/L > **collapsed\_item\_count**: `number` -Defined in: [src/parser/classes/MetadataRowContainer.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataRowContainer.ts#L8) +Defined in: [src/parser/classes/MetadataRowContainer.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataRowContainer.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MetadataRowContainer.ts:8](https://github.com/Lu > **rows**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/MetadataRowContainer.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataRowContainer.ts#L7) +Defined in: [src/parser/classes/MetadataRowContainer.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataRowContainer.ts#L7) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MetadataRowContainer.ts:7](https://github.com/Lu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MetadataRowContainer'` -Defined in: [src/parser/classes/MetadataRowContainer.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataRowContainer.ts#L5) +Defined in: [src/parser/classes/MetadataRowContainer.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataRowContainer.ts#L5) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MetadataRowContainer.ts:5](https://github.com/Lu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MetadataRowContainer & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MetadataRowHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MetadataRowHeader.md index 95e68e81..7b098ac5 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MetadataRowHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MetadataRowHeader.md @@ -2,7 +2,7 @@ # Class: MetadataRowHeader -Defined in: [src/parser/classes/MetadataRowHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataRowHeader.ts#L5) +Defined in: [src/parser/classes/MetadataRowHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataRowHeader.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MetadataRowHeader.ts:5](https://github.com/LuanR > **new MetadataRowHeader**(`data`): `MetadataRowHeader` -Defined in: [src/parser/classes/MetadataRowHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataRowHeader.ts#L11) +Defined in: [src/parser/classes/MetadataRowHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataRowHeader.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MetadataRowHeader.ts:11](https://github.com/Luan > **content**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MetadataRowHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataRowHeader.ts#L8) +Defined in: [src/parser/classes/MetadataRowHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataRowHeader.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MetadataRowHeader.ts:8](https://github.com/LuanR > **has\_divider\_line**: `boolean` -Defined in: [src/parser/classes/MetadataRowHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataRowHeader.ts#L9) +Defined in: [src/parser/classes/MetadataRowHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataRowHeader.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MetadataRowHeader.ts:9](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MetadataRowHeader'` -Defined in: [src/parser/classes/MetadataRowHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataRowHeader.ts#L6) +Defined in: [src/parser/classes/MetadataRowHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataRowHeader.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MetadataRowHeader.ts:6](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MetadataRowHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MetadataScreen.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MetadataScreen.md index 585a7e5a..f19946fe 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MetadataScreen.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MetadataScreen.md @@ -2,7 +2,7 @@ # Class: MetadataScreen -Defined in: [src/parser/classes/MetadataScreen.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataScreen.ts#L4) +Defined in: [src/parser/classes/MetadataScreen.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataScreen.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MetadataScreen.ts:4](https://github.com/LuanRT/Y > **new MetadataScreen**(`data`): `MetadataScreen` -Defined in: [src/parser/classes/MetadataScreen.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataScreen.ts#L9) +Defined in: [src/parser/classes/MetadataScreen.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataScreen.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MetadataScreen.ts:9](https://github.com/LuanRT/Y > **section\_list**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/MetadataScreen.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataScreen.ts#L7) +Defined in: [src/parser/classes/MetadataScreen.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataScreen.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MetadataScreen.ts:7](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MetadataScreen'` -Defined in: [src/parser/classes/MetadataScreen.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MetadataScreen.ts#L5) +Defined in: [src/parser/classes/MetadataScreen.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MetadataScreen.ts#L5) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/MetadataScreen.ts:5](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MetadataScreen & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MicroformatData.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MicroformatData.md index 144a540b..7b777d7c 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MicroformatData.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MicroformatData.md @@ -2,7 +2,7 @@ # Class: MicroformatData -Defined in: [src/parser/classes/MicroformatData.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L5) +Defined in: [src/parser/classes/MicroformatData.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:5](https://github.com/LuanRT/ > **new MicroformatData**(`data`): `MicroformatData` -Defined in: [src/parser/classes/MicroformatData.ts:32](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L32) +Defined in: [src/parser/classes/MicroformatData.ts:32](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L32) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:32](https://github.com/LuanRT > **android\_package**: `string` -Defined in: [src/parser/classes/MicroformatData.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L14) +Defined in: [src/parser/classes/MicroformatData.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L14) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:14](https://github.com/LuanRT > **app\_name**: `string` -Defined in: [src/parser/classes/MicroformatData.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L13) +Defined in: [src/parser/classes/MicroformatData.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L13) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:13](https://github.com/LuanRT > **available\_countries**: `string`[] -Defined in: [src/parser/classes/MicroformatData.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L30) +Defined in: [src/parser/classes/MicroformatData.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L30) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:30](https://github.com/LuanRT > **description**: `string` -Defined in: [src/parser/classes/MicroformatData.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L10) +Defined in: [src/parser/classes/MicroformatData.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:10](https://github.com/LuanRT > **ios\_app\_arguments**: `string` -Defined in: [src/parser/classes/MicroformatData.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L16) +Defined in: [src/parser/classes/MicroformatData.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L16) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:16](https://github.com/LuanRT > **ios\_app\_store\_id**: `string` -Defined in: [src/parser/classes/MicroformatData.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L15) +Defined in: [src/parser/classes/MicroformatData.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L15) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:15](https://github.com/LuanRT > **is\_family\_safe**: `boolean` -Defined in: [src/parser/classes/MicroformatData.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L28) +Defined in: [src/parser/classes/MicroformatData.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L28) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:28](https://github.com/LuanRT > **is\_unlisted**: `boolean` -Defined in: [src/parser/classes/MicroformatData.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L27) +Defined in: [src/parser/classes/MicroformatData.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L27) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:27](https://github.com/LuanRT > **noindex**: `string` -Defined in: [src/parser/classes/MicroformatData.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L26) +Defined in: [src/parser/classes/MicroformatData.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L26) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:26](https://github.com/LuanRT > **og\_type**: `string` -Defined in: [src/parser/classes/MicroformatData.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L17) +Defined in: [src/parser/classes/MicroformatData.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L17) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:17](https://github.com/LuanRT > **schema\_dot\_org\_type**: `string` -Defined in: [src/parser/classes/MicroformatData.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L25) +Defined in: [src/parser/classes/MicroformatData.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L25) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:25](https://github.com/LuanRT > **site\_name**: `string` -Defined in: [src/parser/classes/MicroformatData.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L12) +Defined in: [src/parser/classes/MicroformatData.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L12) *** @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:12](https://github.com/LuanRT > **tags**: `string`[] -Defined in: [src/parser/classes/MicroformatData.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L29) +Defined in: [src/parser/classes/MicroformatData.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L29) *** @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:29](https://github.com/LuanRT > **thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/MicroformatData.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L11) +Defined in: [src/parser/classes/MicroformatData.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L11) *** @@ -148,7 +148,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:11](https://github.com/LuanRT > **title**: `string` -Defined in: [src/parser/classes/MicroformatData.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L9) +Defined in: [src/parser/classes/MicroformatData.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L9) *** @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:9](https://github.com/LuanRT/ > **twitter\_card\_type**: `string` -Defined in: [src/parser/classes/MicroformatData.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L23) +Defined in: [src/parser/classes/MicroformatData.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L23) *** @@ -164,7 +164,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:23](https://github.com/LuanRT > **twitter\_site\_handle**: `string` -Defined in: [src/parser/classes/MicroformatData.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L24) +Defined in: [src/parser/classes/MicroformatData.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L24) *** @@ -172,7 +172,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:24](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -184,7 +184,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **url\_applinks\_android**: `string` -Defined in: [src/parser/classes/MicroformatData.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L20) +Defined in: [src/parser/classes/MicroformatData.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L20) *** @@ -192,7 +192,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:20](https://github.com/LuanRT > **url\_applinks\_ios**: `string` -Defined in: [src/parser/classes/MicroformatData.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L19) +Defined in: [src/parser/classes/MicroformatData.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L19) *** @@ -200,7 +200,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:19](https://github.com/LuanRT > **url\_applinks\_web**: `string` -Defined in: [src/parser/classes/MicroformatData.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L18) +Defined in: [src/parser/classes/MicroformatData.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L18) *** @@ -208,7 +208,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:18](https://github.com/LuanRT > **url\_canonical**: `string` -Defined in: [src/parser/classes/MicroformatData.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L8) +Defined in: [src/parser/classes/MicroformatData.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L8) *** @@ -216,7 +216,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:8](https://github.com/LuanRT/ > **url\_twitter\_android**: `string` -Defined in: [src/parser/classes/MicroformatData.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L22) +Defined in: [src/parser/classes/MicroformatData.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L22) *** @@ -224,7 +224,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:22](https://github.com/LuanRT > **url\_twitter\_ios**: `string` -Defined in: [src/parser/classes/MicroformatData.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L21) +Defined in: [src/parser/classes/MicroformatData.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L21) *** @@ -232,7 +232,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:21](https://github.com/LuanRT > `static` **type**: `string` = `'MicroformatData'` -Defined in: [src/parser/classes/MicroformatData.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MicroformatData.ts#L6) +Defined in: [src/parser/classes/MicroformatData.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MicroformatData.ts#L6) #### Overrides @@ -244,7 +244,7 @@ Defined in: [src/parser/classes/MicroformatData.ts:6](https://github.com/LuanRT/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -286,7 +286,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MicroformatData & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -324,7 +324,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -362,7 +362,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Mix.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Mix.md index 11e4dc2e..59c9ca08 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Mix.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Mix.md @@ -2,7 +2,7 @@ # Class: Mix -Defined in: [src/parser/classes/Mix.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Mix.ts#L4) +Defined in: [src/parser/classes/Mix.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Mix.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/Mix.ts:4](https://github.com/LuanRT/YouTube.js/b > **new Mix**(`data`): `Mix` -Defined in: [src/parser/classes/Mix.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Mix.ts#L7) +Defined in: [src/parser/classes/Mix.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Mix.ts#L7) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/Mix.ts:7](https://github.com/LuanRT/YouTube.js/b > **author**: [`Text`](../../Misc/classes/Text.md) \| [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/Playlist.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L15) +Defined in: [src/parser/classes/Playlist.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L15) #### Inherited from @@ -48,7 +48,7 @@ Defined in: [src/parser/classes/Playlist.ts:15](https://github.com/LuanRT/YouTub > **badges**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/Playlist.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L23) +Defined in: [src/parser/classes/Playlist.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L23) #### Inherited from @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/Playlist.ts:23](https://github.com/LuanRT/YouTub > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/Playlist.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L24) +Defined in: [src/parser/classes/Playlist.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L24) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/Playlist.ts:24](https://github.com/LuanRT/YouTub > **first\_videos**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/Playlist.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L20) +Defined in: [src/parser/classes/Playlist.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L20) #### Inherited from @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/Playlist.ts:20](https://github.com/LuanRT/YouTub > **id**: `string` -Defined in: [src/parser/classes/Playlist.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L13) +Defined in: [src/parser/classes/Playlist.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L13) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/Playlist.ts:13](https://github.com/LuanRT/YouTub > **menu**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/Playlist.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L22) +Defined in: [src/parser/classes/Playlist.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L22) #### Inherited from @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/Playlist.ts:22](https://github.com/LuanRT/YouTub > **share\_url**: `string` \| `null` -Defined in: [src/parser/classes/Playlist.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L21) +Defined in: [src/parser/classes/Playlist.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L21) #### Inherited from @@ -120,7 +120,7 @@ Defined in: [src/parser/classes/Playlist.ts:21](https://github.com/LuanRT/YouTub > **thumbnail\_overlays**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/Playlist.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L25) +Defined in: [src/parser/classes/Playlist.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L25) #### Inherited from @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/Playlist.ts:25](https://github.com/LuanRT/YouTub > `optional` **thumbnail\_renderer**: [`PlaylistCustomThumbnail`](PlaylistCustomThumbnail.md) \| [`PlaylistVideoThumbnail`](PlaylistVideoThumbnail.md) -Defined in: [src/parser/classes/Playlist.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L17) +Defined in: [src/parser/classes/Playlist.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L17) #### Inherited from @@ -144,7 +144,7 @@ Defined in: [src/parser/classes/Playlist.ts:17](https://github.com/LuanRT/YouTub > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/Playlist.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L16) +Defined in: [src/parser/classes/Playlist.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L16) #### Inherited from @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/Playlist.ts:16](https://github.com/LuanRT/YouTub > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Playlist.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L14) +Defined in: [src/parser/classes/Playlist.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L14) #### Inherited from @@ -168,7 +168,7 @@ Defined in: [src/parser/classes/Playlist.ts:14](https://github.com/LuanRT/YouTub > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -180,7 +180,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Playlist.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L18) +Defined in: [src/parser/classes/Playlist.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L18) #### Inherited from @@ -192,7 +192,7 @@ Defined in: [src/parser/classes/Playlist.ts:18](https://github.com/LuanRT/YouTub > **video\_count\_short**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Playlist.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L19) +Defined in: [src/parser/classes/Playlist.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L19) #### Inherited from @@ -204,7 +204,7 @@ Defined in: [src/parser/classes/Playlist.ts:19](https://github.com/LuanRT/YouTub > `optional` **view\_playlist**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Playlist.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L26) +Defined in: [src/parser/classes/Playlist.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L26) #### Inherited from @@ -216,7 +216,7 @@ Defined in: [src/parser/classes/Playlist.ts:26](https://github.com/LuanRT/YouTub > `static` **type**: `string` = `'Mix'` -Defined in: [src/parser/classes/Mix.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Mix.ts#L5) +Defined in: [src/parser/classes/Mix.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Mix.ts#L5) #### Overrides @@ -228,7 +228,7 @@ Defined in: [src/parser/classes/Mix.ts:5](https://github.com/LuanRT/YouTube.js/b > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -270,7 +270,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Mix & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -308,7 +308,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -346,7 +346,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MobileTopbar.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MobileTopbar.md index b4aff123..cae1aaad 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MobileTopbar.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MobileTopbar.md @@ -2,7 +2,7 @@ # Class: MobileTopbar -Defined in: [src/parser/classes/mweb/MobileTopbar.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/MobileTopbar.ts#L6) +Defined in: [src/parser/classes/mweb/MobileTopbar.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/MobileTopbar.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/mweb/MobileTopbar.ts:6](https://github.com/LuanR > **new MobileTopbar**(`data`): `MobileTopbar` -Defined in: [src/parser/classes/mweb/MobileTopbar.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/MobileTopbar.ts#L13) +Defined in: [src/parser/classes/mweb/MobileTopbar.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/MobileTopbar.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/mweb/MobileTopbar.ts:13](https://github.com/Luan > **buttons**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/mweb/MobileTopbar.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/MobileTopbar.ts#L10) +Defined in: [src/parser/classes/mweb/MobileTopbar.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/MobileTopbar.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/mweb/MobileTopbar.ts:10](https://github.com/Luan > `optional` **logo\_type**: `string` -Defined in: [src/parser/classes/mweb/MobileTopbar.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/MobileTopbar.ts#L11) +Defined in: [src/parser/classes/mweb/MobileTopbar.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/MobileTopbar.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/mweb/MobileTopbar.ts:11](https://github.com/Luan > **placeholder\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/mweb/MobileTopbar.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/MobileTopbar.ts#L9) +Defined in: [src/parser/classes/mweb/MobileTopbar.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/MobileTopbar.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/mweb/MobileTopbar.ts:9](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MobileTopbar'` -Defined in: [src/parser/classes/mweb/MobileTopbar.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/MobileTopbar.ts#L7) +Defined in: [src/parser/classes/mweb/MobileTopbar.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/MobileTopbar.ts#L7) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/mweb/MobileTopbar.ts:7](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MobileTopbar & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ModalWithTitleAndButton.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ModalWithTitleAndButton.md index 99b56d4f..7d0f88d5 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ModalWithTitleAndButton.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ModalWithTitleAndButton.md @@ -2,7 +2,7 @@ # Class: ModalWithTitleAndButton -Defined in: [src/parser/classes/ModalWithTitleAndButton.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ModalWithTitleAndButton.ts#L6) +Defined in: [src/parser/classes/ModalWithTitleAndButton.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ModalWithTitleAndButton.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ModalWithTitleAndButton.ts:6](https://github.com > **new ModalWithTitleAndButton**(`data`): `ModalWithTitleAndButton` -Defined in: [src/parser/classes/ModalWithTitleAndButton.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ModalWithTitleAndButton.ts#L13) +Defined in: [src/parser/classes/ModalWithTitleAndButton.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ModalWithTitleAndButton.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ModalWithTitleAndButton.ts:13](https://github.co > **button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/ModalWithTitleAndButton.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ModalWithTitleAndButton.ts#L11) +Defined in: [src/parser/classes/ModalWithTitleAndButton.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ModalWithTitleAndButton.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ModalWithTitleAndButton.ts:11](https://github.co > **content**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ModalWithTitleAndButton.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ModalWithTitleAndButton.ts#L10) +Defined in: [src/parser/classes/ModalWithTitleAndButton.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ModalWithTitleAndButton.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ModalWithTitleAndButton.ts:10](https://github.co > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ModalWithTitleAndButton.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ModalWithTitleAndButton.ts#L9) +Defined in: [src/parser/classes/ModalWithTitleAndButton.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ModalWithTitleAndButton.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ModalWithTitleAndButton.ts:9](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ModalWithTitleAndButton'` -Defined in: [src/parser/classes/ModalWithTitleAndButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ModalWithTitleAndButton.ts#L7) +Defined in: [src/parser/classes/ModalWithTitleAndButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ModalWithTitleAndButton.ts#L7) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ModalWithTitleAndButton.ts:7](https://github.com > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ModalWithTitleAndButton & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ModifyChannelNotificationPreferenceEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ModifyChannelNotificationPreferenceEndpoint.md index c5617840..0f27a55b 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ModifyChannelNotificationPreferenceEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ModifyChannelNotificationPreferenceEndpoint.md @@ -2,7 +2,7 @@ # Class: ModifyChannelNotificationPreferenceEndpoint -Defined in: [src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEndpoint.ts#L6) +Defined in: [src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEndpoint.ts#L6) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEnd > **new ModifyChannelNotificationPreferenceEndpoint**(`data`): `ModifyChannelNotificationPreferenceEndpoint` -Defined in: [src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEndpoint.ts#L11) +Defined in: [src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEndpoint.ts#L11) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEnd > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -52,7 +52,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ModifyChannelNotificationPreferenceEndpoint'` -Defined in: [src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEndpoint.ts#L7) +Defined in: [src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEndpoint.ts#L7) #### Overrides @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEnd > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -106,7 +106,7 @@ If the node is not of the given type > **buildRequest**(): [`ModifyChannelNotificationPreferenceRequest`](../../../../type-aliases/ModifyChannelNotificationPreferenceRequest.md) -Defined in: [src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEndpoint.ts#L20) +Defined in: [src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEndpoint.ts#L20) #### Returns @@ -122,7 +122,7 @@ Defined in: [src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEnd > **getApiPath**(): `string` -Defined in: [src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEndpoint.ts#L16) +Defined in: [src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEndpoint.ts#L16) #### Returns @@ -138,7 +138,7 @@ Defined in: [src/parser/classes/endpoints/ModifyChannelNotificationPreferenceEnd > **hasKey**\<`T`, `R`\>(`key`): `this is ModifyChannelNotificationPreferenceEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -176,7 +176,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -214,7 +214,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Movie.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Movie.md index 3795c58a..af1642c0 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Movie.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Movie.md @@ -2,7 +2,7 @@ # Class: Movie -Defined in: [src/parser/classes/Movie.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Movie.ts#L10) +Defined in: [src/parser/classes/Movie.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Movie.ts#L10) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/Movie.ts:10](https://github.com/LuanRT/YouTube.j > **new Movie**(`data`): `Movie` -Defined in: [src/parser/classes/Movie.ts:32](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Movie.ts#L32) +Defined in: [src/parser/classes/Movie.ts:32](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Movie.ts#L32) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/Movie.ts:32](https://github.com/LuanRT/YouTube.j > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/Movie.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Movie.ts#L19) +Defined in: [src/parser/classes/Movie.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Movie.ts#L19) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/Movie.ts:19](https://github.com/LuanRT/YouTube.j > **badges**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/Movie.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Movie.ts#L27) +Defined in: [src/parser/classes/Movie.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Movie.ts#L27) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/Movie.ts:27](https://github.com/LuanRT/YouTube.j > `optional` **description\_snippet**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Movie.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Movie.ts#L15) +Defined in: [src/parser/classes/Movie.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Movie.ts#L15) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/Movie.ts:15](https://github.com/LuanRT/YouTube.j > **duration**: `object` -Defined in: [src/parser/classes/Movie.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Movie.ts#L21) +Defined in: [src/parser/classes/Movie.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Movie.ts#L21) #### seconds @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/Movie.ts:21](https://github.com/LuanRT/YouTube.j > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/Movie.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Movie.ts#L26) +Defined in: [src/parser/classes/Movie.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Movie.ts#L26) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/Movie.ts:26](https://github.com/LuanRT/YouTube.j > **id**: `string` -Defined in: [src/parser/classes/Movie.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Movie.ts#L13) +Defined in: [src/parser/classes/Movie.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Movie.ts#L13) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/Movie.ts:13](https://github.com/LuanRT/YouTube.j > **menu**: [`Menu`](Menu.md) \| `null` -Defined in: [src/parser/classes/Movie.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Movie.ts#L30) +Defined in: [src/parser/classes/Movie.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Movie.ts#L30) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/Movie.ts:30](https://github.com/LuanRT/YouTube.j > **show\_action\_menu**: `boolean` -Defined in: [src/parser/classes/Movie.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Movie.ts#L29) +Defined in: [src/parser/classes/Movie.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Movie.ts#L29) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/Movie.ts:29](https://github.com/LuanRT/YouTube.j > **thumbnail\_overlays**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/Movie.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Movie.ts#L18) +Defined in: [src/parser/classes/Movie.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Movie.ts#L18) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/Movie.ts:18](https://github.com/LuanRT/YouTube.j > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/Movie.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Movie.ts#L17) +Defined in: [src/parser/classes/Movie.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Movie.ts#L17) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/Movie.ts:17](https://github.com/LuanRT/YouTube.j > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Movie.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Movie.ts#L14) +Defined in: [src/parser/classes/Movie.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Movie.ts#L14) *** @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/Movie.ts:14](https://github.com/LuanRT/YouTube.j > **top\_metadata\_items**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Movie.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Movie.ts#L16) +Defined in: [src/parser/classes/Movie.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Movie.ts#L16) *** @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/Movie.ts:16](https://github.com/LuanRT/YouTube.j > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -152,7 +152,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **use\_vertical\_poster**: `boolean` -Defined in: [src/parser/classes/Movie.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Movie.ts#L28) +Defined in: [src/parser/classes/Movie.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Movie.ts#L28) *** @@ -160,7 +160,7 @@ Defined in: [src/parser/classes/Movie.ts:28](https://github.com/LuanRT/YouTube.j > `static` **type**: `string` = `'Movie'` -Defined in: [src/parser/classes/Movie.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Movie.ts#L11) +Defined in: [src/parser/classes/Movie.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Movie.ts#L11) #### Overrides @@ -172,7 +172,7 @@ Defined in: [src/parser/classes/Movie.ts:11](https://github.com/LuanRT/YouTube.j > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -214,7 +214,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Movie & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -252,7 +252,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -290,7 +290,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MovingThumbnail.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MovingThumbnail.md index d5db9dea..eebfd8be 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MovingThumbnail.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MovingThumbnail.md @@ -2,7 +2,7 @@ # Class: MovingThumbnail -Defined in: [src/parser/classes/MovingThumbnail.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MovingThumbnail.ts#L5) +Defined in: [src/parser/classes/MovingThumbnail.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MovingThumbnail.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MovingThumbnail.ts:5](https://github.com/LuanRT/ > **new MovingThumbnail**(`data`): `MovingThumbnail` -Defined in: [src/parser/classes/MovingThumbnail.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MovingThumbnail.ts#L8) +Defined in: [src/parser/classes/MovingThumbnail.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MovingThumbnail.ts#L8) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MovingThumbnail.ts:8](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -48,7 +48,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MovingThumbnail'` -Defined in: [src/parser/classes/MovingThumbnail.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MovingThumbnail.ts#L6) +Defined in: [src/parser/classes/MovingThumbnail.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MovingThumbnail.ts#L6) #### Overrides @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/MovingThumbnail.ts:6](https://github.com/LuanRT/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -102,7 +102,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MovingThumbnail & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -140,7 +140,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -178,7 +178,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MultiMarkersPlayerBar.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MultiMarkersPlayerBar.md index 79b17e56..23200eb2 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MultiMarkersPlayerBar.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MultiMarkersPlayerBar.md @@ -2,7 +2,7 @@ # Class: MultiMarkersPlayerBar -Defined in: [src/parser/classes/MultiMarkersPlayerBar.ts:34](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MultiMarkersPlayerBar.ts#L34) +Defined in: [src/parser/classes/MultiMarkersPlayerBar.ts:34](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MultiMarkersPlayerBar.ts#L34) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MultiMarkersPlayerBar.ts:34](https://github.com/ > **new MultiMarkersPlayerBar**(`data`): `MultiMarkersPlayerBar` -Defined in: [src/parser/classes/MultiMarkersPlayerBar.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MultiMarkersPlayerBar.ts#L39) +Defined in: [src/parser/classes/MultiMarkersPlayerBar.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MultiMarkersPlayerBar.ts#L39) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MultiMarkersPlayerBar.ts:39](https://github.com/ > **markers\_map**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<`Marker`\> -Defined in: [src/parser/classes/MultiMarkersPlayerBar.ts:37](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MultiMarkersPlayerBar.ts#L37) +Defined in: [src/parser/classes/MultiMarkersPlayerBar.ts:37](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MultiMarkersPlayerBar.ts#L37) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MultiMarkersPlayerBar.ts:37](https://github.com/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MultiMarkersPlayerBar'` -Defined in: [src/parser/classes/MultiMarkersPlayerBar.ts:35](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MultiMarkersPlayerBar.ts#L35) +Defined in: [src/parser/classes/MultiMarkersPlayerBar.ts:35](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MultiMarkersPlayerBar.ts#L35) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/MultiMarkersPlayerBar.ts:35](https://github.com/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MultiMarkersPlayerBar & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MultiPageMenu.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MultiPageMenu.md index 8a2b73bd..c6a71035 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MultiPageMenu.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MultiPageMenu.md @@ -2,7 +2,7 @@ # Class: MultiPageMenu -Defined in: [src/parser/classes/menus/MultiPageMenu.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MultiPageMenu.ts#L6) +Defined in: [src/parser/classes/menus/MultiPageMenu.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MultiPageMenu.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/menus/MultiPageMenu.ts:6](https://github.com/Lua > **new MultiPageMenu**(`data`): `MultiPageMenu` -Defined in: [src/parser/classes/menus/MultiPageMenu.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MultiPageMenu.ts#L13) +Defined in: [src/parser/classes/menus/MultiPageMenu.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MultiPageMenu.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/menus/MultiPageMenu.ts:13](https://github.com/Lu > **header**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/menus/MultiPageMenu.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MultiPageMenu.ts#L9) +Defined in: [src/parser/classes/menus/MultiPageMenu.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MultiPageMenu.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/menus/MultiPageMenu.ts:9](https://github.com/Lua > **sections**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/menus/MultiPageMenu.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MultiPageMenu.ts#L10) +Defined in: [src/parser/classes/menus/MultiPageMenu.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MultiPageMenu.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/menus/MultiPageMenu.ts:10](https://github.com/Lu > **style**: `string` -Defined in: [src/parser/classes/menus/MultiPageMenu.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MultiPageMenu.ts#L11) +Defined in: [src/parser/classes/menus/MultiPageMenu.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MultiPageMenu.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/menus/MultiPageMenu.ts:11](https://github.com/Lu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MultiPageMenu'` -Defined in: [src/parser/classes/menus/MultiPageMenu.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MultiPageMenu.ts#L7) +Defined in: [src/parser/classes/menus/MultiPageMenu.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MultiPageMenu.ts#L7) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/menus/MultiPageMenu.ts:7](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MultiPageMenu & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MultiPageMenuNotificationSection.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MultiPageMenuNotificationSection.md index 935701b4..23ef1290 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MultiPageMenuNotificationSection.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MultiPageMenuNotificationSection.md @@ -2,7 +2,7 @@ # Class: MultiPageMenuNotificationSection -Defined in: [src/parser/classes/menus/MultiPageMenuNotificationSection.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MultiPageMenuNotificationSection.ts#L8) +Defined in: [src/parser/classes/menus/MultiPageMenuNotificationSection.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MultiPageMenuNotificationSection.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/menus/MultiPageMenuNotificationSection.ts:8](htt > **new MultiPageMenuNotificationSection**(`data`): `MultiPageMenuNotificationSection` -Defined in: [src/parser/classes/menus/MultiPageMenuNotificationSection.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MultiPageMenuNotificationSection.ts#L14) +Defined in: [src/parser/classes/menus/MultiPageMenuNotificationSection.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MultiPageMenuNotificationSection.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/menus/MultiPageMenuNotificationSection.ts:14](ht > **items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ContinuationItem`](ContinuationItem.md) \| [`Message`](Message.md) \| [`Notification`](Notification.md)\> -Defined in: [src/parser/classes/menus/MultiPageMenuNotificationSection.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MultiPageMenuNotificationSection.ts#L12) +Defined in: [src/parser/classes/menus/MultiPageMenuNotificationSection.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MultiPageMenuNotificationSection.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/menus/MultiPageMenuNotificationSection.ts:12](ht > `optional` **notification\_section\_title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/menus/MultiPageMenuNotificationSection.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MultiPageMenuNotificationSection.ts#L11) +Defined in: [src/parser/classes/menus/MultiPageMenuNotificationSection.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MultiPageMenuNotificationSection.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/menus/MultiPageMenuNotificationSection.ts:11](ht > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MultiPageMenuNotificationSection'` -Defined in: [src/parser/classes/menus/MultiPageMenuNotificationSection.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MultiPageMenuNotificationSection.ts#L9) +Defined in: [src/parser/classes/menus/MultiPageMenuNotificationSection.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MultiPageMenuNotificationSection.ts#L9) #### Overrides @@ -78,7 +78,7 @@ Defined in: [src/parser/classes/menus/MultiPageMenuNotificationSection.ts:9](htt > **get** **contents**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ContinuationItem`](ContinuationItem.md) \| [`Message`](Message.md) \| [`Notification`](Notification.md)\> -Defined in: [src/parser/classes/menus/MultiPageMenuNotificationSection.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MultiPageMenuNotificationSection.ts#L25) +Defined in: [src/parser/classes/menus/MultiPageMenuNotificationSection.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MultiPageMenuNotificationSection.ts#L25) ##### Returns @@ -90,7 +90,7 @@ Defined in: [src/parser/classes/menus/MultiPageMenuNotificationSection.ts:25](ht > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -132,7 +132,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MultiPageMenuNotificationSection & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -170,7 +170,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -208,7 +208,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MultiPageMenuSection.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MultiPageMenuSection.md index 38cc8596..612bd3db 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MultiPageMenuSection.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MultiPageMenuSection.md @@ -2,7 +2,7 @@ # Class: MultiPageMenuSection -Defined in: [src/parser/classes/mweb/MultiPageMenuSection.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/MultiPageMenuSection.ts#L5) +Defined in: [src/parser/classes/mweb/MultiPageMenuSection.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/MultiPageMenuSection.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/mweb/MultiPageMenuSection.ts:5](https://github.c > **new MultiPageMenuSection**(`data`): `MultiPageMenuSection` -Defined in: [src/parser/classes/mweb/MultiPageMenuSection.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/MultiPageMenuSection.ts#L10) +Defined in: [src/parser/classes/mweb/MultiPageMenuSection.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/MultiPageMenuSection.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/mweb/MultiPageMenuSection.ts:10](https://github. > **items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/mweb/MultiPageMenuSection.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/MultiPageMenuSection.ts#L8) +Defined in: [src/parser/classes/mweb/MultiPageMenuSection.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/MultiPageMenuSection.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/mweb/MultiPageMenuSection.ts:8](https://github.c > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MultiPageMenuSection'` -Defined in: [src/parser/classes/mweb/MultiPageMenuSection.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/MultiPageMenuSection.ts#L6) +Defined in: [src/parser/classes/mweb/MultiPageMenuSection.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/MultiPageMenuSection.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/mweb/MultiPageMenuSection.ts:6](https://github.c > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MultiPageMenuSection & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicCardShelf.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicCardShelf.md index 139b0765..63f80627 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicCardShelf.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicCardShelf.md @@ -2,7 +2,7 @@ # Class: MusicCardShelf -Defined in: [src/parser/classes/MusicCardShelf.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCardShelf.ts#L12) +Defined in: [src/parser/classes/MusicCardShelf.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCardShelf.ts#L12) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicCardShelf.ts:12](https://github.com/LuanRT/ > **new MusicCardShelf**(`data`): `MusicCardShelf` -Defined in: [src/parser/classes/MusicCardShelf.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCardShelf.ts#L27) +Defined in: [src/parser/classes/MusicCardShelf.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCardShelf.ts#L27) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicCardShelf.ts:27](https://github.com/LuanRT/ > **buttons**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Button`](Button.md)\> -Defined in: [src/parser/classes/MusicCardShelf.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCardShelf.ts#L18) +Defined in: [src/parser/classes/MusicCardShelf.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCardShelf.ts#L18) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicCardShelf.ts:18](https://github.com/LuanRT/ > `optional` **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/MusicCardShelf.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCardShelf.ts#L25) +Defined in: [src/parser/classes/MusicCardShelf.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCardShelf.ts#L25) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MusicCardShelf.ts:25](https://github.com/LuanRT/ > `optional` **end\_icon\_type**: `string` -Defined in: [src/parser/classes/MusicCardShelf.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCardShelf.ts#L22) +Defined in: [src/parser/classes/MusicCardShelf.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCardShelf.ts#L22) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/MusicCardShelf.ts:22](https://github.com/LuanRT/ > **header**: [`MusicCardShelfHeaderBasic`](MusicCardShelfHeaderBasic.md) \| `null` -Defined in: [src/parser/classes/MusicCardShelf.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCardShelf.ts#L21) +Defined in: [src/parser/classes/MusicCardShelf.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCardShelf.ts#L21) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/MusicCardShelf.ts:21](https://github.com/LuanRT/ > **menu**: [`Menu`](Menu.md) \| `null` -Defined in: [src/parser/classes/MusicCardShelf.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCardShelf.ts#L19) +Defined in: [src/parser/classes/MusicCardShelf.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCardShelf.ts#L19) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MusicCardShelf.ts:19](https://github.com/LuanRT/ > **on\_tap**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/MusicCardShelf.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCardShelf.ts#L20) +Defined in: [src/parser/classes/MusicCardShelf.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCardShelf.ts#L20) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/MusicCardShelf.ts:20](https://github.com/LuanRT/ > **subtitle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicCardShelf.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCardShelf.ts#L17) +Defined in: [src/parser/classes/MusicCardShelf.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCardShelf.ts#L17) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/MusicCardShelf.ts:17](https://github.com/LuanRT/ > **subtitle\_badges**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MusicInlineBadge`](MusicInlineBadge.md)\> -Defined in: [src/parser/classes/MusicCardShelf.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCardShelf.ts#L23) +Defined in: [src/parser/classes/MusicCardShelf.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCardShelf.ts#L23) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/MusicCardShelf.ts:23](https://github.com/LuanRT/ > **thumbnail**: [`MusicThumbnail`](MusicThumbnail.md) \| `null` -Defined in: [src/parser/classes/MusicCardShelf.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCardShelf.ts#L15) +Defined in: [src/parser/classes/MusicCardShelf.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCardShelf.ts#L15) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/MusicCardShelf.ts:15](https://github.com/LuanRT/ > **thumbnail\_overlay**: [`MusicItemThumbnailOverlay`](MusicItemThumbnailOverlay.md) \| `null` -Defined in: [src/parser/classes/MusicCardShelf.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCardShelf.ts#L24) +Defined in: [src/parser/classes/MusicCardShelf.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCardShelf.ts#L24) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/MusicCardShelf.ts:24](https://github.com/LuanRT/ > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicCardShelf.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCardShelf.ts#L16) +Defined in: [src/parser/classes/MusicCardShelf.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCardShelf.ts#L16) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/MusicCardShelf.ts:16](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -136,7 +136,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicCardShelf'` -Defined in: [src/parser/classes/MusicCardShelf.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCardShelf.ts#L13) +Defined in: [src/parser/classes/MusicCardShelf.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCardShelf.ts#L13) #### Overrides @@ -148,7 +148,7 @@ Defined in: [src/parser/classes/MusicCardShelf.ts:13](https://github.com/LuanRT/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -190,7 +190,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicCardShelf & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -228,7 +228,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -266,7 +266,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicCardShelfHeaderBasic.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicCardShelfHeaderBasic.md index 6552d9f7..628d78f1 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicCardShelfHeaderBasic.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicCardShelfHeaderBasic.md @@ -2,7 +2,7 @@ # Class: MusicCardShelfHeaderBasic -Defined in: [src/parser/classes/MusicCardShelfHeaderBasic.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCardShelfHeaderBasic.ts#L5) +Defined in: [src/parser/classes/MusicCardShelfHeaderBasic.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCardShelfHeaderBasic.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicCardShelfHeaderBasic.ts:5](https://github.c > **new MusicCardShelfHeaderBasic**(`data`): `MusicCardShelfHeaderBasic` -Defined in: [src/parser/classes/MusicCardShelfHeaderBasic.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCardShelfHeaderBasic.ts#L10) +Defined in: [src/parser/classes/MusicCardShelfHeaderBasic.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCardShelfHeaderBasic.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicCardShelfHeaderBasic.ts:10](https://github. > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicCardShelfHeaderBasic.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCardShelfHeaderBasic.ts#L8) +Defined in: [src/parser/classes/MusicCardShelfHeaderBasic.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCardShelfHeaderBasic.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicCardShelfHeaderBasic.ts:8](https://github.c > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicCardShelfHeaderBasic'` -Defined in: [src/parser/classes/MusicCardShelfHeaderBasic.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCardShelfHeaderBasic.ts#L6) +Defined in: [src/parser/classes/MusicCardShelfHeaderBasic.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCardShelfHeaderBasic.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/MusicCardShelfHeaderBasic.ts:6](https://github.c > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicCardShelfHeaderBasic & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicCarouselShelf.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicCarouselShelf.md index 0c9f26ce..3d8e0148 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicCarouselShelf.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicCarouselShelf.md @@ -2,7 +2,7 @@ # Class: MusicCarouselShelf -Defined in: [src/parser/classes/MusicCarouselShelf.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCarouselShelf.ts#L10) +Defined in: [src/parser/classes/MusicCarouselShelf.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCarouselShelf.ts#L10) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicCarouselShelf.ts:10](https://github.com/Lua > **new MusicCarouselShelf**(`data`): `MusicCarouselShelf` -Defined in: [src/parser/classes/MusicCarouselShelf.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCarouselShelf.ts#L17) +Defined in: [src/parser/classes/MusicCarouselShelf.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCarouselShelf.ts#L17) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicCarouselShelf.ts:17](https://github.com/Lua > **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MusicMultiRowListItem`](MusicMultiRowListItem.md) \| [`MusicNavigationButton`](MusicNavigationButton.md) \| [`MusicResponsiveListItem`](MusicResponsiveListItem.md) \| [`MusicTwoRowItem`](MusicTwoRowItem.md)\> -Defined in: [src/parser/classes/MusicCarouselShelf.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCarouselShelf.ts#L14) +Defined in: [src/parser/classes/MusicCarouselShelf.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCarouselShelf.ts#L14) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicCarouselShelf.ts:14](https://github.com/Lua > **header**: [`MusicCarouselShelfBasicHeader`](MusicCarouselShelfBasicHeader.md) \| `null` -Defined in: [src/parser/classes/MusicCarouselShelf.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCarouselShelf.ts#L13) +Defined in: [src/parser/classes/MusicCarouselShelf.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCarouselShelf.ts#L13) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MusicCarouselShelf.ts:13](https://github.com/Lua > `optional` **num\_items\_per\_column**: `number` -Defined in: [src/parser/classes/MusicCarouselShelf.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCarouselShelf.ts#L15) +Defined in: [src/parser/classes/MusicCarouselShelf.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCarouselShelf.ts#L15) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/MusicCarouselShelf.ts:15](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicCarouselShelf'` -Defined in: [src/parser/classes/MusicCarouselShelf.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCarouselShelf.ts#L11) +Defined in: [src/parser/classes/MusicCarouselShelf.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCarouselShelf.ts#L11) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/MusicCarouselShelf.ts:11](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicCarouselShelf & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicCarouselShelfBasicHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicCarouselShelfBasicHeader.md index 1d4b350f..13e6f81b 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicCarouselShelfBasicHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicCarouselShelfBasicHeader.md @@ -2,7 +2,7 @@ # Class: MusicCarouselShelfBasicHeader -Defined in: [src/parser/classes/MusicCarouselShelfBasicHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCarouselShelfBasicHeader.ts#L8) +Defined in: [src/parser/classes/MusicCarouselShelfBasicHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCarouselShelfBasicHeader.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicCarouselShelfBasicHeader.ts:8](https://gith > **new MusicCarouselShelfBasicHeader**(`data`): `MusicCarouselShelfBasicHeader` -Defined in: [src/parser/classes/MusicCarouselShelfBasicHeader.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCarouselShelfBasicHeader.ts#L17) +Defined in: [src/parser/classes/MusicCarouselShelfBasicHeader.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCarouselShelfBasicHeader.ts#L17) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicCarouselShelfBasicHeader.ts:17](https://git > `optional` **end\_icons**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`IconLink`](IconLink.md)\> -Defined in: [src/parser/classes/MusicCarouselShelfBasicHeader.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCarouselShelfBasicHeader.ts#L15) +Defined in: [src/parser/classes/MusicCarouselShelfBasicHeader.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCarouselShelfBasicHeader.ts#L15) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicCarouselShelfBasicHeader.ts:15](https://git > `optional` **more\_content**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/MusicCarouselShelfBasicHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCarouselShelfBasicHeader.ts#L14) +Defined in: [src/parser/classes/MusicCarouselShelfBasicHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCarouselShelfBasicHeader.ts#L14) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MusicCarouselShelfBasicHeader.ts:14](https://git > `optional` **strapline**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicCarouselShelfBasicHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCarouselShelfBasicHeader.ts#L12) +Defined in: [src/parser/classes/MusicCarouselShelfBasicHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCarouselShelfBasicHeader.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/MusicCarouselShelfBasicHeader.ts:12](https://git > `optional` **thumbnail**: [`MusicThumbnail`](MusicThumbnail.md) \| `null` -Defined in: [src/parser/classes/MusicCarouselShelfBasicHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCarouselShelfBasicHeader.ts#L13) +Defined in: [src/parser/classes/MusicCarouselShelfBasicHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCarouselShelfBasicHeader.ts#L13) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/MusicCarouselShelfBasicHeader.ts:13](https://git > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicCarouselShelfBasicHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCarouselShelfBasicHeader.ts#L11) +Defined in: [src/parser/classes/MusicCarouselShelfBasicHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCarouselShelfBasicHeader.ts#L11) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MusicCarouselShelfBasicHeader.ts:11](https://git > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicCarouselShelfBasicHeader'` -Defined in: [src/parser/classes/MusicCarouselShelfBasicHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicCarouselShelfBasicHeader.ts#L9) +Defined in: [src/parser/classes/MusicCarouselShelfBasicHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicCarouselShelfBasicHeader.ts#L9) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/MusicCarouselShelfBasicHeader.ts:9](https://gith > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicCarouselShelfBasicHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicDescriptionShelf.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicDescriptionShelf.md index cdb6d5cf..69d8059a 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicDescriptionShelf.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicDescriptionShelf.md @@ -2,7 +2,7 @@ # Class: MusicDescriptionShelf -Defined in: [src/parser/classes/MusicDescriptionShelf.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDescriptionShelf.ts#L5) +Defined in: [src/parser/classes/MusicDescriptionShelf.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDescriptionShelf.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicDescriptionShelf.ts:5](https://github.com/L > **new MusicDescriptionShelf**(`data`): `MusicDescriptionShelf` -Defined in: [src/parser/classes/MusicDescriptionShelf.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDescriptionShelf.ts#L13) +Defined in: [src/parser/classes/MusicDescriptionShelf.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDescriptionShelf.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicDescriptionShelf.ts:13](https://github.com/ > **description**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicDescriptionShelf.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDescriptionShelf.ts#L8) +Defined in: [src/parser/classes/MusicDescriptionShelf.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDescriptionShelf.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicDescriptionShelf.ts:8](https://github.com/L > **footer**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicDescriptionShelf.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDescriptionShelf.ts#L11) +Defined in: [src/parser/classes/MusicDescriptionShelf.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDescriptionShelf.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MusicDescriptionShelf.ts:11](https://github.com/ > `optional` **max\_collapsed\_lines**: `string` -Defined in: [src/parser/classes/MusicDescriptionShelf.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDescriptionShelf.ts#L9) +Defined in: [src/parser/classes/MusicDescriptionShelf.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDescriptionShelf.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/MusicDescriptionShelf.ts:9](https://github.com/L > `optional` **max\_expanded\_lines**: `string` -Defined in: [src/parser/classes/MusicDescriptionShelf.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDescriptionShelf.ts#L10) +Defined in: [src/parser/classes/MusicDescriptionShelf.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDescriptionShelf.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/MusicDescriptionShelf.ts:10](https://github.com/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicDescriptionShelf'` -Defined in: [src/parser/classes/MusicDescriptionShelf.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDescriptionShelf.ts#L6) +Defined in: [src/parser/classes/MusicDescriptionShelf.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDescriptionShelf.ts#L6) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/MusicDescriptionShelf.ts:6](https://github.com/L > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicDescriptionShelf & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicDetailHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicDetailHeader.md index 658a02bf..5d256e30 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicDetailHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicDetailHeader.md @@ -2,7 +2,7 @@ # Class: MusicDetailHeader -Defined in: [src/parser/classes/MusicDetailHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDetailHeader.ts#L8) +Defined in: [src/parser/classes/MusicDetailHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDetailHeader.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicDetailHeader.ts:8](https://github.com/LuanR > **new MusicDetailHeader**(`data`): `MusicDetailHeader` -Defined in: [src/parser/classes/MusicDetailHeader.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDetailHeader.ts#L27) +Defined in: [src/parser/classes/MusicDetailHeader.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDetailHeader.ts#L27) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicDetailHeader.ts:27](https://github.com/Luan > `optional` **author**: `object` -Defined in: [src/parser/classes/MusicDetailHeader.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDetailHeader.ts#L20) +Defined in: [src/parser/classes/MusicDetailHeader.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDetailHeader.ts#L20) #### channel\_id @@ -56,7 +56,7 @@ Defined in: [src/parser/classes/MusicDetailHeader.ts:20](https://github.com/Luan > **badges**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/MusicDetailHeader.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDetailHeader.ts#L19) +Defined in: [src/parser/classes/MusicDetailHeader.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDetailHeader.ts#L19) *** @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/MusicDetailHeader.ts:19](https://github.com/Luan > **description**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicDetailHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDetailHeader.ts#L12) +Defined in: [src/parser/classes/MusicDetailHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDetailHeader.ts#L12) *** @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/MusicDetailHeader.ts:12](https://github.com/Luan > **menu**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/MusicDetailHeader.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDetailHeader.ts#L25) +Defined in: [src/parser/classes/MusicDetailHeader.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDetailHeader.ts#L25) *** @@ -80,7 +80,7 @@ Defined in: [src/parser/classes/MusicDetailHeader.ts:25](https://github.com/Luan > **second\_subtitle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicDetailHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDetailHeader.ts#L14) +Defined in: [src/parser/classes/MusicDetailHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDetailHeader.ts#L14) *** @@ -88,7 +88,7 @@ Defined in: [src/parser/classes/MusicDetailHeader.ts:14](https://github.com/Luan > **song\_count**: `string` -Defined in: [src/parser/classes/MusicDetailHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDetailHeader.ts#L16) +Defined in: [src/parser/classes/MusicDetailHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDetailHeader.ts#L16) *** @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/MusicDetailHeader.ts:16](https://github.com/Luan > **subtitle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicDetailHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDetailHeader.ts#L13) +Defined in: [src/parser/classes/MusicDetailHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDetailHeader.ts#L13) *** @@ -104,7 +104,7 @@ Defined in: [src/parser/classes/MusicDetailHeader.ts:13](https://github.com/Luan > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/MusicDetailHeader.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDetailHeader.ts#L18) +Defined in: [src/parser/classes/MusicDetailHeader.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDetailHeader.ts#L18) *** @@ -112,7 +112,7 @@ Defined in: [src/parser/classes/MusicDetailHeader.ts:18](https://github.com/Luan > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicDetailHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDetailHeader.ts#L11) +Defined in: [src/parser/classes/MusicDetailHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDetailHeader.ts#L11) *** @@ -120,7 +120,7 @@ Defined in: [src/parser/classes/MusicDetailHeader.ts:11](https://github.com/Luan > **total\_duration**: `string` -Defined in: [src/parser/classes/MusicDetailHeader.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDetailHeader.ts#L17) +Defined in: [src/parser/classes/MusicDetailHeader.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDetailHeader.ts#L17) *** @@ -128,7 +128,7 @@ Defined in: [src/parser/classes/MusicDetailHeader.ts:17](https://github.com/Luan > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -140,7 +140,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **year**: `string` -Defined in: [src/parser/classes/MusicDetailHeader.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDetailHeader.ts#L15) +Defined in: [src/parser/classes/MusicDetailHeader.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDetailHeader.ts#L15) *** @@ -148,7 +148,7 @@ Defined in: [src/parser/classes/MusicDetailHeader.ts:15](https://github.com/Luan > `static` **type**: `string` = `'MusicDetailHeader'` -Defined in: [src/parser/classes/MusicDetailHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDetailHeader.ts#L9) +Defined in: [src/parser/classes/MusicDetailHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDetailHeader.ts#L9) #### Overrides @@ -160,7 +160,7 @@ Defined in: [src/parser/classes/MusicDetailHeader.ts:9](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -202,7 +202,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicDetailHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -240,7 +240,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -278,7 +278,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicDownloadStateBadge.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicDownloadStateBadge.md index 16520559..8affa533 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicDownloadStateBadge.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicDownloadStateBadge.md @@ -2,7 +2,7 @@ # Class: MusicDownloadStateBadge -Defined in: [src/parser/classes/MusicDownloadStateBadge.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDownloadStateBadge.ts#L4) +Defined in: [src/parser/classes/MusicDownloadStateBadge.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDownloadStateBadge.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicDownloadStateBadge.ts:4](https://github.com > **new MusicDownloadStateBadge**(`data`): `MusicDownloadStateBadge` -Defined in: [src/parser/classes/MusicDownloadStateBadge.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDownloadStateBadge.ts#L10) +Defined in: [src/parser/classes/MusicDownloadStateBadge.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDownloadStateBadge.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicDownloadStateBadge.ts:10](https://github.co > **playlist\_id**: `string` -Defined in: [src/parser/classes/MusicDownloadStateBadge.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDownloadStateBadge.ts#L7) +Defined in: [src/parser/classes/MusicDownloadStateBadge.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDownloadStateBadge.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicDownloadStateBadge.ts:7](https://github.com > **supported\_download\_states**: `string`[] -Defined in: [src/parser/classes/MusicDownloadStateBadge.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDownloadStateBadge.ts#L8) +Defined in: [src/parser/classes/MusicDownloadStateBadge.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDownloadStateBadge.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MusicDownloadStateBadge.ts:8](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicDownloadStateBadge'` -Defined in: [src/parser/classes/MusicDownloadStateBadge.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicDownloadStateBadge.ts#L5) +Defined in: [src/parser/classes/MusicDownloadStateBadge.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicDownloadStateBadge.ts#L5) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MusicDownloadStateBadge.ts:5](https://github.com > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicDownloadStateBadge & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicEditablePlaylistDetailHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicEditablePlaylistDetailHeader.md index 203fddee..988b8b75 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicEditablePlaylistDetailHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicEditablePlaylistDetailHeader.md @@ -2,7 +2,7 @@ # Class: MusicEditablePlaylistDetailHeader -Defined in: [src/parser/classes/MusicEditablePlaylistDetailHeader.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicEditablePlaylistDetailHeader.ts#L4) +Defined in: [src/parser/classes/MusicEditablePlaylistDetailHeader.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicEditablePlaylistDetailHeader.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicEditablePlaylistDetailHeader.ts:4](https:// > **new MusicEditablePlaylistDetailHeader**(`data`): `MusicEditablePlaylistDetailHeader` -Defined in: [src/parser/classes/MusicEditablePlaylistDetailHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicEditablePlaylistDetailHeader.ts#L11) +Defined in: [src/parser/classes/MusicEditablePlaylistDetailHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicEditablePlaylistDetailHeader.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicEditablePlaylistDetailHeader.ts:11](https:/ > **edit\_header**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/MusicEditablePlaylistDetailHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicEditablePlaylistDetailHeader.ts#L8) +Defined in: [src/parser/classes/MusicEditablePlaylistDetailHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicEditablePlaylistDetailHeader.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicEditablePlaylistDetailHeader.ts:8](https:// > **header**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/MusicEditablePlaylistDetailHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicEditablePlaylistDetailHeader.ts#L7) +Defined in: [src/parser/classes/MusicEditablePlaylistDetailHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicEditablePlaylistDetailHeader.ts#L7) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MusicEditablePlaylistDetailHeader.ts:7](https:// > **playlist\_id**: `string` -Defined in: [src/parser/classes/MusicEditablePlaylistDetailHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicEditablePlaylistDetailHeader.ts#L9) +Defined in: [src/parser/classes/MusicEditablePlaylistDetailHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicEditablePlaylistDetailHeader.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/MusicEditablePlaylistDetailHeader.ts:9](https:// > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicEditablePlaylistDetailHeader'` -Defined in: [src/parser/classes/MusicEditablePlaylistDetailHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicEditablePlaylistDetailHeader.ts#L5) +Defined in: [src/parser/classes/MusicEditablePlaylistDetailHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicEditablePlaylistDetailHeader.ts#L5) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/MusicEditablePlaylistDetailHeader.ts:5](https:// > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicEditablePlaylistDetailHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicElementHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicElementHeader.md index 222d164d..9f7faa2a 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicElementHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicElementHeader.md @@ -2,7 +2,7 @@ # Class: MusicElementHeader -Defined in: [src/parser/classes/MusicElementHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicElementHeader.ts#L5) +Defined in: [src/parser/classes/MusicElementHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicElementHeader.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicElementHeader.ts:5](https://github.com/Luan > **new MusicElementHeader**(`data`): `MusicElementHeader` -Defined in: [src/parser/classes/MusicElementHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicElementHeader.ts#L10) +Defined in: [src/parser/classes/MusicElementHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicElementHeader.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicElementHeader.ts:10](https://github.com/Lua > **element**: [`Element`](Element.md) \| `null` -Defined in: [src/parser/classes/MusicElementHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicElementHeader.ts#L8) +Defined in: [src/parser/classes/MusicElementHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicElementHeader.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicElementHeader.ts:8](https://github.com/Luan > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicElementHeader'` -Defined in: [src/parser/classes/MusicElementHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicElementHeader.ts#L6) +Defined in: [src/parser/classes/MusicElementHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicElementHeader.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/MusicElementHeader.ts:6](https://github.com/Luan > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicElementHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicHeader.md index 59657734..b7e9a01e 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicHeader.md @@ -2,7 +2,7 @@ # Class: MusicHeader -Defined in: [src/parser/classes/MusicHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicHeader.ts#L5) +Defined in: [src/parser/classes/MusicHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicHeader.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicHeader.ts:5](https://github.com/LuanRT/YouT > **new MusicHeader**(`data`): `MusicHeader` -Defined in: [src/parser/classes/MusicHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicHeader.ts#L11) +Defined in: [src/parser/classes/MusicHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicHeader.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicHeader.ts:11](https://github.com/LuanRT/You > `optional` **header**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/MusicHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicHeader.ts#L8) +Defined in: [src/parser/classes/MusicHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicHeader.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicHeader.ts:8](https://github.com/LuanRT/YouT > `optional` **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicHeader.ts#L9) +Defined in: [src/parser/classes/MusicHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicHeader.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MusicHeader.ts:9](https://github.com/LuanRT/YouT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicHeader'` -Defined in: [src/parser/classes/MusicHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicHeader.ts#L6) +Defined in: [src/parser/classes/MusicHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicHeader.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MusicHeader.ts:6](https://github.com/LuanRT/YouT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicImmersiveHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicImmersiveHeader.md index cd345369..b40af0ca 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicImmersiveHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicImmersiveHeader.md @@ -2,7 +2,7 @@ # Class: MusicImmersiveHeader -Defined in: [src/parser/classes/MusicImmersiveHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicImmersiveHeader.ts#L13) +Defined in: [src/parser/classes/MusicImmersiveHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicImmersiveHeader.ts#L13) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicImmersiveHeader.ts:13](https://github.com/L > **new MusicImmersiveHeader**(`data`): `MusicImmersiveHeader` -Defined in: [src/parser/classes/MusicImmersiveHeader.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicImmersiveHeader.ts#L26) +Defined in: [src/parser/classes/MusicImmersiveHeader.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicImmersiveHeader.ts#L26) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicImmersiveHeader.ts:26](https://github.com/L > **description**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicImmersiveHeader.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicImmersiveHeader.ts#L23) +Defined in: [src/parser/classes/MusicImmersiveHeader.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicImmersiveHeader.ts#L23) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicImmersiveHeader.ts:23](https://github.com/L > **menu**: [`Menu`](Menu.md) \| `null` -Defined in: [src/parser/classes/MusicImmersiveHeader.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicImmersiveHeader.ts#L17) +Defined in: [src/parser/classes/MusicImmersiveHeader.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicImmersiveHeader.ts#L17) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MusicImmersiveHeader.ts:17](https://github.com/L > **more\_button**: [`ToggleButton`](ToggleButton.md) \| `null` -Defined in: [src/parser/classes/MusicImmersiveHeader.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicImmersiveHeader.ts#L18) +Defined in: [src/parser/classes/MusicImmersiveHeader.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicImmersiveHeader.ts#L18) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/MusicImmersiveHeader.ts:18](https://github.com/L > **play\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/MusicImmersiveHeader.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicImmersiveHeader.ts#L19) +Defined in: [src/parser/classes/MusicImmersiveHeader.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicImmersiveHeader.ts#L19) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/MusicImmersiveHeader.ts:19](https://github.com/L > `optional` **share\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/MusicImmersiveHeader.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicImmersiveHeader.ts#L20) +Defined in: [src/parser/classes/MusicImmersiveHeader.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicImmersiveHeader.ts#L20) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MusicImmersiveHeader.ts:20](https://github.com/L > **start\_radio\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/MusicImmersiveHeader.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicImmersiveHeader.ts#L21) +Defined in: [src/parser/classes/MusicImmersiveHeader.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicImmersiveHeader.ts#L21) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/MusicImmersiveHeader.ts:21](https://github.com/L > **subscription\_button**: [`SubscribeButton`](SubscribeButton.md) \| `null` -Defined in: [src/parser/classes/MusicImmersiveHeader.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicImmersiveHeader.ts#L22) +Defined in: [src/parser/classes/MusicImmersiveHeader.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicImmersiveHeader.ts#L22) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/MusicImmersiveHeader.ts:22](https://github.com/L > **thumbnail**: [`MusicThumbnail`](MusicThumbnail.md) \| `null` -Defined in: [src/parser/classes/MusicImmersiveHeader.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicImmersiveHeader.ts#L24) +Defined in: [src/parser/classes/MusicImmersiveHeader.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicImmersiveHeader.ts#L24) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/MusicImmersiveHeader.ts:24](https://github.com/L > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicImmersiveHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicImmersiveHeader.ts#L16) +Defined in: [src/parser/classes/MusicImmersiveHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicImmersiveHeader.ts#L16) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/MusicImmersiveHeader.ts:16](https://github.com/L > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -120,7 +120,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicImmersiveHeader'` -Defined in: [src/parser/classes/MusicImmersiveHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicImmersiveHeader.ts#L14) +Defined in: [src/parser/classes/MusicImmersiveHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicImmersiveHeader.ts#L14) #### Overrides @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/MusicImmersiveHeader.ts:14](https://github.com/L > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -174,7 +174,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicImmersiveHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -212,7 +212,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -250,7 +250,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicInlineBadge.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicInlineBadge.md index fe693842..e59f822a 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicInlineBadge.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicInlineBadge.md @@ -2,7 +2,7 @@ # Class: MusicInlineBadge -Defined in: [src/parser/classes/MusicInlineBadge.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicInlineBadge.ts#L5) +Defined in: [src/parser/classes/MusicInlineBadge.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicInlineBadge.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicInlineBadge.ts:5](https://github.com/LuanRT > **new MusicInlineBadge**(`data`): `MusicInlineBadge` -Defined in: [src/parser/classes/MusicInlineBadge.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicInlineBadge.ts#L11) +Defined in: [src/parser/classes/MusicInlineBadge.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicInlineBadge.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicInlineBadge.ts:11](https://github.com/LuanR > `optional` **accessibility**: `AccessibilitySupportedDatas` -Defined in: [src/parser/classes/MusicInlineBadge.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicInlineBadge.ts#L9) +Defined in: [src/parser/classes/MusicInlineBadge.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicInlineBadge.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicInlineBadge.ts:9](https://github.com/LuanRT > **icon\_type**: `string` -Defined in: [src/parser/classes/MusicInlineBadge.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicInlineBadge.ts#L8) +Defined in: [src/parser/classes/MusicInlineBadge.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicInlineBadge.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MusicInlineBadge.ts:8](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicInlineBadge'` -Defined in: [src/parser/classes/MusicInlineBadge.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicInlineBadge.ts#L6) +Defined in: [src/parser/classes/MusicInlineBadge.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicInlineBadge.ts#L6) #### Overrides @@ -78,7 +78,7 @@ Defined in: [src/parser/classes/MusicInlineBadge.ts:6](https://github.com/LuanRT > **get** **label**(): `string` \| `undefined` -Defined in: [src/parser/classes/MusicInlineBadge.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicInlineBadge.ts#L23) +Defined in: [src/parser/classes/MusicInlineBadge.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicInlineBadge.ts#L23) ##### Returns @@ -90,7 +90,7 @@ Defined in: [src/parser/classes/MusicInlineBadge.ts:23](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -132,7 +132,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicInlineBadge & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -170,7 +170,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -208,7 +208,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicItemThumbnailOverlay.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicItemThumbnailOverlay.md index 7f738dfb..4a3d4f33 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicItemThumbnailOverlay.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicItemThumbnailOverlay.md @@ -2,7 +2,7 @@ # Class: MusicItemThumbnailOverlay -Defined in: [src/parser/classes/MusicItemThumbnailOverlay.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicItemThumbnailOverlay.ts#L5) +Defined in: [src/parser/classes/MusicItemThumbnailOverlay.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicItemThumbnailOverlay.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicItemThumbnailOverlay.ts:5](https://github.c > **new MusicItemThumbnailOverlay**(`data`): `MusicItemThumbnailOverlay` -Defined in: [src/parser/classes/MusicItemThumbnailOverlay.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicItemThumbnailOverlay.ts#L12) +Defined in: [src/parser/classes/MusicItemThumbnailOverlay.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicItemThumbnailOverlay.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicItemThumbnailOverlay.ts:12](https://github. > **content**: [`MusicPlayButton`](MusicPlayButton.md) \| `null` -Defined in: [src/parser/classes/MusicItemThumbnailOverlay.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicItemThumbnailOverlay.ts#L8) +Defined in: [src/parser/classes/MusicItemThumbnailOverlay.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicItemThumbnailOverlay.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicItemThumbnailOverlay.ts:8](https://github.c > **content\_position**: `string` -Defined in: [src/parser/classes/MusicItemThumbnailOverlay.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicItemThumbnailOverlay.ts#L9) +Defined in: [src/parser/classes/MusicItemThumbnailOverlay.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicItemThumbnailOverlay.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MusicItemThumbnailOverlay.ts:9](https://github.c > **display\_style**: `string` -Defined in: [src/parser/classes/MusicItemThumbnailOverlay.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicItemThumbnailOverlay.ts#L10) +Defined in: [src/parser/classes/MusicItemThumbnailOverlay.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicItemThumbnailOverlay.ts#L10) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/MusicItemThumbnailOverlay.ts:10](https://github. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicItemThumbnailOverlay'` -Defined in: [src/parser/classes/MusicItemThumbnailOverlay.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicItemThumbnailOverlay.ts#L6) +Defined in: [src/parser/classes/MusicItemThumbnailOverlay.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicItemThumbnailOverlay.ts#L6) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/MusicItemThumbnailOverlay.ts:6](https://github.c > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicItemThumbnailOverlay & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicLargeCardItemCarousel.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicLargeCardItemCarousel.md index 3f4d771a..f2c7a1d0 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicLargeCardItemCarousel.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicLargeCardItemCarousel.md @@ -2,7 +2,7 @@ # Class: MusicLargeCardItemCarousel -Defined in: [src/parser/classes/MusicLargeCardItemCarousel.ts:43](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicLargeCardItemCarousel.ts#L43) +Defined in: [src/parser/classes/MusicLargeCardItemCarousel.ts:43](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicLargeCardItemCarousel.ts#L43) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicLargeCardItemCarousel.ts:43](https://github > **new MusicLargeCardItemCarousel**(`data`): `MusicLargeCardItemCarousel` -Defined in: [src/parser/classes/MusicLargeCardItemCarousel.ts:49](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicLargeCardItemCarousel.ts#L49) +Defined in: [src/parser/classes/MusicLargeCardItemCarousel.ts:49](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicLargeCardItemCarousel.ts#L49) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicLargeCardItemCarousel.ts:49](https://github > **header**: `any` -Defined in: [src/parser/classes/MusicLargeCardItemCarousel.ts:47](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicLargeCardItemCarousel.ts#L47) +Defined in: [src/parser/classes/MusicLargeCardItemCarousel.ts:47](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicLargeCardItemCarousel.ts#L47) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicLargeCardItemCarousel.ts:47](https://github > **panels**: `Panel`[] -Defined in: [src/parser/classes/MusicLargeCardItemCarousel.ts:46](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicLargeCardItemCarousel.ts#L46) +Defined in: [src/parser/classes/MusicLargeCardItemCarousel.ts:46](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicLargeCardItemCarousel.ts#L46) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MusicLargeCardItemCarousel.ts:46](https://github > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicLargeCardItemCarousel'` -Defined in: [src/parser/classes/MusicLargeCardItemCarousel.ts:44](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicLargeCardItemCarousel.ts#L44) +Defined in: [src/parser/classes/MusicLargeCardItemCarousel.ts:44](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicLargeCardItemCarousel.ts#L44) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MusicLargeCardItemCarousel.ts:44](https://github > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicLargeCardItemCarousel & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicMenuItemDivider.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicMenuItemDivider.md index 2ffe4c68..0348e192 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicMenuItemDivider.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicMenuItemDivider.md @@ -2,7 +2,7 @@ # Class: MusicMenuItemDivider -Defined in: [src/parser/classes/menus/MusicMenuItemDivider.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MusicMenuItemDivider.ts#L4) +Defined in: [src/parser/classes/menus/MusicMenuItemDivider.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MusicMenuItemDivider.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/menus/MusicMenuItemDivider.ts:4](https://github. > **new MusicMenuItemDivider**(`_data`): `MusicMenuItemDivider` -Defined in: [src/parser/classes/menus/MusicMenuItemDivider.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MusicMenuItemDivider.ts#L8) +Defined in: [src/parser/classes/menus/MusicMenuItemDivider.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MusicMenuItemDivider.ts#L7) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/menus/MusicMenuItemDivider.ts:8](https://github. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -48,7 +48,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicMenuItemDivider'` -Defined in: [src/parser/classes/menus/MusicMenuItemDivider.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MusicMenuItemDivider.ts#L5) +Defined in: [src/parser/classes/menus/MusicMenuItemDivider.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MusicMenuItemDivider.ts#L5) #### Overrides @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/menus/MusicMenuItemDivider.ts:5](https://github. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -102,7 +102,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicMenuItemDivider & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -140,7 +140,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -178,7 +178,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicMultiRowListItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicMultiRowListItem.md index 34100cb5..91e1d46e 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicMultiRowListItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicMultiRowListItem.md @@ -2,7 +2,7 @@ # Class: MusicMultiRowListItem -Defined in: [src/parser/classes/MusicMultiRowListItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicMultiRowListItem.ts#L10) +Defined in: [src/parser/classes/MusicMultiRowListItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicMultiRowListItem.ts#L10) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicMultiRowListItem.ts:10](https://github.com/ > **new MusicMultiRowListItem**(`data`): `MusicMultiRowListItem` -Defined in: [src/parser/classes/MusicMultiRowListItem.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicMultiRowListItem.ts#L23) +Defined in: [src/parser/classes/MusicMultiRowListItem.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicMultiRowListItem.ts#L23) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicMultiRowListItem.ts:23](https://github.com/ > `optional` **description**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicMultiRowListItem.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicMultiRowListItem.ts#L20) +Defined in: [src/parser/classes/MusicMultiRowListItem.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicMultiRowListItem.ts#L20) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicMultiRowListItem.ts:20](https://github.com/ > `optional` **display\_style**: `string` -Defined in: [src/parser/classes/MusicMultiRowListItem.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicMultiRowListItem.ts#L21) +Defined in: [src/parser/classes/MusicMultiRowListItem.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicMultiRowListItem.ts#L21) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MusicMultiRowListItem.ts:21](https://github.com/ > **menu**: [`Menu`](Menu.md) \| `null` -Defined in: [src/parser/classes/MusicMultiRowListItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicMultiRowListItem.ts#L16) +Defined in: [src/parser/classes/MusicMultiRowListItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicMultiRowListItem.ts#L16) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/MusicMultiRowListItem.ts:16](https://github.com/ > **on\_tap**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/MusicMultiRowListItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicMultiRowListItem.ts#L15) +Defined in: [src/parser/classes/MusicMultiRowListItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicMultiRowListItem.ts#L15) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/MusicMultiRowListItem.ts:15](https://github.com/ > **overlay**: [`MusicItemThumbnailOverlay`](MusicItemThumbnailOverlay.md) \| `null` -Defined in: [src/parser/classes/MusicMultiRowListItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicMultiRowListItem.ts#L14) +Defined in: [src/parser/classes/MusicMultiRowListItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicMultiRowListItem.ts#L14) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MusicMultiRowListItem.ts:14](https://github.com/ > `optional` **second\_title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicMultiRowListItem.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicMultiRowListItem.ts#L19) +Defined in: [src/parser/classes/MusicMultiRowListItem.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicMultiRowListItem.ts#L19) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/MusicMultiRowListItem.ts:19](https://github.com/ > **subtitle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicMultiRowListItem.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicMultiRowListItem.ts#L17) +Defined in: [src/parser/classes/MusicMultiRowListItem.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicMultiRowListItem.ts#L17) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/MusicMultiRowListItem.ts:17](https://github.com/ > **thumbnail**: [`MusicThumbnail`](MusicThumbnail.md) \| `null` -Defined in: [src/parser/classes/MusicMultiRowListItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicMultiRowListItem.ts#L13) +Defined in: [src/parser/classes/MusicMultiRowListItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicMultiRowListItem.ts#L13) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/MusicMultiRowListItem.ts:13](https://github.com/ > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicMultiRowListItem.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicMultiRowListItem.ts#L18) +Defined in: [src/parser/classes/MusicMultiRowListItem.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicMultiRowListItem.ts#L18) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/MusicMultiRowListItem.ts:18](https://github.com/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -120,7 +120,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicMultiRowListItem'` -Defined in: [src/parser/classes/MusicMultiRowListItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicMultiRowListItem.ts#L11) +Defined in: [src/parser/classes/MusicMultiRowListItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicMultiRowListItem.ts#L11) #### Overrides @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/MusicMultiRowListItem.ts:11](https://github.com/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -174,7 +174,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicMultiRowListItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -212,7 +212,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -250,7 +250,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicMultiSelectMenu.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicMultiSelectMenu.md index c1889101..0d307948 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicMultiSelectMenu.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicMultiSelectMenu.md @@ -2,7 +2,7 @@ # Class: MusicMultiSelectMenu -Defined in: [src/parser/classes/menus/MusicMultiSelectMenu.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MusicMultiSelectMenu.ts#L9) +Defined in: [src/parser/classes/menus/MusicMultiSelectMenu.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MusicMultiSelectMenu.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/menus/MusicMultiSelectMenu.ts:9](https://github. > **new MusicMultiSelectMenu**(`data`): `MusicMultiSelectMenu` -Defined in: [src/parser/classes/menus/MusicMultiSelectMenu.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MusicMultiSelectMenu.ts#L15) +Defined in: [src/parser/classes/menus/MusicMultiSelectMenu.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MusicMultiSelectMenu.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/menus/MusicMultiSelectMenu.ts:15](https://github > **options**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MusicMultiSelectMenuItem`](MusicMultiSelectMenuItem.md) \| [`MusicMenuItemDivider`](MusicMenuItemDivider.md)\> -Defined in: [src/parser/classes/menus/MusicMultiSelectMenu.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MusicMultiSelectMenu.ts#L13) +Defined in: [src/parser/classes/menus/MusicMultiSelectMenu.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MusicMultiSelectMenu.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/menus/MusicMultiSelectMenu.ts:13](https://github > `optional` **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/menus/MusicMultiSelectMenu.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MusicMultiSelectMenu.ts#L12) +Defined in: [src/parser/classes/menus/MusicMultiSelectMenu.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MusicMultiSelectMenu.ts#L12) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/menus/MusicMultiSelectMenu.ts:12](https://github > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicMultiSelectMenu'` -Defined in: [src/parser/classes/menus/MusicMultiSelectMenu.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MusicMultiSelectMenu.ts#L10) +Defined in: [src/parser/classes/menus/MusicMultiSelectMenu.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MusicMultiSelectMenu.ts#L10) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/menus/MusicMultiSelectMenu.ts:10](https://github > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicMultiSelectMenu & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicMultiSelectMenuItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicMultiSelectMenuItem.md index 67d547cb..40cb89a9 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicMultiSelectMenuItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicMultiSelectMenuItem.md @@ -2,7 +2,7 @@ # Class: MusicMultiSelectMenuItem -Defined in: [src/parser/classes/menus/MusicMultiSelectMenuItem.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MusicMultiSelectMenuItem.ts#L6) +Defined in: [src/parser/classes/menus/MusicMultiSelectMenuItem.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MusicMultiSelectMenuItem.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/menus/MusicMultiSelectMenuItem.ts:6](https://git > **new MusicMultiSelectMenuItem**(`data`): `MusicMultiSelectMenuItem` -Defined in: [src/parser/classes/menus/MusicMultiSelectMenuItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MusicMultiSelectMenuItem.ts#L15) +Defined in: [src/parser/classes/menus/MusicMultiSelectMenuItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MusicMultiSelectMenuItem.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/menus/MusicMultiSelectMenuItem.ts:15](https://gi > `optional` **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/menus/MusicMultiSelectMenuItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MusicMultiSelectMenuItem.ts#L12) +Defined in: [src/parser/classes/menus/MusicMultiSelectMenuItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MusicMultiSelectMenuItem.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/menus/MusicMultiSelectMenuItem.ts:12](https://gi > **form\_item\_entity\_key**: `string` -Defined in: [src/parser/classes/menus/MusicMultiSelectMenuItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MusicMultiSelectMenuItem.ts#L10) +Defined in: [src/parser/classes/menus/MusicMultiSelectMenuItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MusicMultiSelectMenuItem.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/menus/MusicMultiSelectMenuItem.ts:10](https://gi > **selected**: `boolean` -Defined in: [src/parser/classes/menus/MusicMultiSelectMenuItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MusicMultiSelectMenuItem.ts#L13) +Defined in: [src/parser/classes/menus/MusicMultiSelectMenuItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MusicMultiSelectMenuItem.ts#L13) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/menus/MusicMultiSelectMenuItem.ts:13](https://gi > `optional` **selected\_icon\_type**: `string` -Defined in: [src/parser/classes/menus/MusicMultiSelectMenuItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MusicMultiSelectMenuItem.ts#L11) +Defined in: [src/parser/classes/menus/MusicMultiSelectMenuItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MusicMultiSelectMenuItem.ts#L11) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/menus/MusicMultiSelectMenuItem.ts:11](https://gi > **title**: `string` -Defined in: [src/parser/classes/menus/MusicMultiSelectMenuItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MusicMultiSelectMenuItem.ts#L9) +Defined in: [src/parser/classes/menus/MusicMultiSelectMenuItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MusicMultiSelectMenuItem.ts#L9) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/menus/MusicMultiSelectMenuItem.ts:9](https://git > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicMultiSelectMenuItem'` -Defined in: [src/parser/classes/menus/MusicMultiSelectMenuItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/MusicMultiSelectMenuItem.ts#L7) +Defined in: [src/parser/classes/menus/MusicMultiSelectMenuItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/MusicMultiSelectMenuItem.ts#L7) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/menus/MusicMultiSelectMenuItem.ts:7](https://git > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicMultiSelectMenuItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicNavigationButton.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicNavigationButton.md index fdad1e08..fbc12b73 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicNavigationButton.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicNavigationButton.md @@ -2,7 +2,7 @@ # Class: MusicNavigationButton -Defined in: [src/parser/classes/MusicNavigationButton.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicNavigationButton.ts#L6) +Defined in: [src/parser/classes/MusicNavigationButton.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicNavigationButton.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicNavigationButton.ts:6](https://github.com/L > **new MusicNavigationButton**(`data`): `MusicNavigationButton` -Defined in: [src/parser/classes/MusicNavigationButton.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicNavigationButton.ts#L12) +Defined in: [src/parser/classes/MusicNavigationButton.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicNavigationButton.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicNavigationButton.ts:12](https://github.com/ > **button\_text**: `string` -Defined in: [src/parser/classes/MusicNavigationButton.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicNavigationButton.ts#L9) +Defined in: [src/parser/classes/MusicNavigationButton.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicNavigationButton.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicNavigationButton.ts:9](https://github.com/L > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/MusicNavigationButton.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicNavigationButton.ts#L10) +Defined in: [src/parser/classes/MusicNavigationButton.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicNavigationButton.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MusicNavigationButton.ts:10](https://github.com/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicNavigationButton'` -Defined in: [src/parser/classes/MusicNavigationButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicNavigationButton.ts#L7) +Defined in: [src/parser/classes/MusicNavigationButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicNavigationButton.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MusicNavigationButton.ts:7](https://github.com/L > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicNavigationButton & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicPlayButton.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicPlayButton.md index 9272a071..233da17c 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicPlayButton.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicPlayButton.md @@ -2,7 +2,7 @@ # Class: MusicPlayButton -Defined in: [src/parser/classes/MusicPlayButton.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlayButton.ts#L6) +Defined in: [src/parser/classes/MusicPlayButton.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlayButton.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicPlayButton.ts:6](https://github.com/LuanRT/ > **new MusicPlayButton**(`data`): `MusicPlayButton` -Defined in: [src/parser/classes/MusicPlayButton.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlayButton.ts#L16) +Defined in: [src/parser/classes/MusicPlayButton.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlayButton.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicPlayButton.ts:16](https://github.com/LuanRT > `optional` **accessibility\_pause\_data**: `AccessibilitySupportedDatas` -Defined in: [src/parser/classes/MusicPlayButton.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlayButton.ts#L14) +Defined in: [src/parser/classes/MusicPlayButton.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlayButton.ts#L14) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicPlayButton.ts:14](https://github.com/LuanRT > `optional` **accessibility\_play\_data**: `AccessibilitySupportedDatas` -Defined in: [src/parser/classes/MusicPlayButton.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlayButton.ts#L13) +Defined in: [src/parser/classes/MusicPlayButton.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlayButton.ts#L13) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MusicPlayButton.ts:13](https://github.com/LuanRT > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/MusicPlayButton.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlayButton.ts#L9) +Defined in: [src/parser/classes/MusicPlayButton.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlayButton.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/MusicPlayButton.ts:9](https://github.com/LuanRT/ > **icon\_color**: `string` -Defined in: [src/parser/classes/MusicPlayButton.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlayButton.ts#L12) +Defined in: [src/parser/classes/MusicPlayButton.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlayButton.ts#L12) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/MusicPlayButton.ts:12](https://github.com/LuanRT > **pause\_icon\_type**: `string` -Defined in: [src/parser/classes/MusicPlayButton.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlayButton.ts#L11) +Defined in: [src/parser/classes/MusicPlayButton.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlayButton.ts#L11) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MusicPlayButton.ts:11](https://github.com/LuanRT > **play\_icon\_type**: `string` -Defined in: [src/parser/classes/MusicPlayButton.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlayButton.ts#L10) +Defined in: [src/parser/classes/MusicPlayButton.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlayButton.ts#L10) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/MusicPlayButton.ts:10](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicPlayButton'` -Defined in: [src/parser/classes/MusicPlayButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlayButton.ts#L7) +Defined in: [src/parser/classes/MusicPlayButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlayButton.ts#L7) #### Overrides @@ -110,7 +110,7 @@ Defined in: [src/parser/classes/MusicPlayButton.ts:7](https://github.com/LuanRT/ > **get** **pause\_label**(): `string` \| `undefined` -Defined in: [src/parser/classes/MusicPlayButton.ts:43](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlayButton.ts#L43) +Defined in: [src/parser/classes/MusicPlayButton.ts:43](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlayButton.ts#L43) ##### Returns @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/MusicPlayButton.ts:43](https://github.com/LuanRT > **get** **play\_label**(): `string` \| `undefined` -Defined in: [src/parser/classes/MusicPlayButton.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlayButton.ts#L39) +Defined in: [src/parser/classes/MusicPlayButton.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlayButton.ts#L39) ##### Returns @@ -136,7 +136,7 @@ Defined in: [src/parser/classes/MusicPlayButton.ts:39](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -178,7 +178,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicPlayButton & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -216,7 +216,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -254,7 +254,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicPlaylistEditHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicPlaylistEditHeader.md index 323ed853..c3a2eefb 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicPlaylistEditHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicPlaylistEditHeader.md @@ -2,7 +2,7 @@ # Class: MusicPlaylistEditHeader -Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlaylistEditHeader.ts#L7) +Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlaylistEditHeader.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:7](https://github.com > **new MusicPlaylistEditHeader**(`data`): `MusicPlaylistEditHeader` -Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlaylistEditHeader.ts#L18) +Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlaylistEditHeader.ts#L18) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:18](https://github.co > **edit\_description**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlaylistEditHeader.ts#L12) +Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlaylistEditHeader.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:12](https://github.co > **edit\_title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlaylistEditHeader.ts#L11) +Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlaylistEditHeader.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:11](https://github.co > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlaylistEditHeader.ts#L15) +Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlaylistEditHeader.ts#L15) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:15](https://github.co > **playlist\_id**: `string` -Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlaylistEditHeader.ts#L14) +Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlaylistEditHeader.ts#L14) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:14](https://github.co > **privacy**: `string` -Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlaylistEditHeader.ts#L13) +Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlaylistEditHeader.ts#L13) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:13](https://github.co > **privacy\_dropdown**: [`Dropdown`](Dropdown.md) \| `null` -Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlaylistEditHeader.ts#L16) +Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlaylistEditHeader.ts#L16) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:16](https://github.co > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlaylistEditHeader.ts#L10) +Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlaylistEditHeader.ts#L10) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:10](https://github.co > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -104,7 +104,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicPlaylistEditHeader'` -Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlaylistEditHeader.ts#L8) +Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlaylistEditHeader.ts#L8) #### Overrides @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/MusicPlaylistEditHeader.ts:8](https://github.com > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -158,7 +158,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicPlaylistEditHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -196,7 +196,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -234,7 +234,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicPlaylistShelf.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicPlaylistShelf.md index 93544c47..5c0d7ba8 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicPlaylistShelf.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicPlaylistShelf.md @@ -2,7 +2,7 @@ # Class: MusicPlaylistShelf -Defined in: [src/parser/classes/MusicPlaylistShelf.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlaylistShelf.ts#L6) +Defined in: [src/parser/classes/MusicPlaylistShelf.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlaylistShelf.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicPlaylistShelf.ts:6](https://github.com/Luan > **new MusicPlaylistShelf**(`data`): `MusicPlaylistShelf` -Defined in: [src/parser/classes/MusicPlaylistShelf.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlaylistShelf.ts#L14) +Defined in: [src/parser/classes/MusicPlaylistShelf.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlaylistShelf.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicPlaylistShelf.ts:14](https://github.com/Lua > **collapsed\_item\_count**: `number` -Defined in: [src/parser/classes/MusicPlaylistShelf.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlaylistShelf.ts#L11) +Defined in: [src/parser/classes/MusicPlaylistShelf.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlaylistShelf.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicPlaylistShelf.ts:11](https://github.com/Lua > **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ContinuationItem`](ContinuationItem.md) \| [`MusicResponsiveListItem`](MusicResponsiveListItem.md)\> -Defined in: [src/parser/classes/MusicPlaylistShelf.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlaylistShelf.ts#L10) +Defined in: [src/parser/classes/MusicPlaylistShelf.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlaylistShelf.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MusicPlaylistShelf.ts:10](https://github.com/Lua > **continuation**: `string` \| `null` -Defined in: [src/parser/classes/MusicPlaylistShelf.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlaylistShelf.ts#L12) +Defined in: [src/parser/classes/MusicPlaylistShelf.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlaylistShelf.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/MusicPlaylistShelf.ts:12](https://github.com/Lua > **playlist\_id**: `string` -Defined in: [src/parser/classes/MusicPlaylistShelf.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlaylistShelf.ts#L9) +Defined in: [src/parser/classes/MusicPlaylistShelf.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlaylistShelf.ts#L9) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/MusicPlaylistShelf.ts:9](https://github.com/Luan > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicPlaylistShelf'` -Defined in: [src/parser/classes/MusicPlaylistShelf.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicPlaylistShelf.ts#L7) +Defined in: [src/parser/classes/MusicPlaylistShelf.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicPlaylistShelf.ts#L7) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/MusicPlaylistShelf.ts:7](https://github.com/Luan > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicPlaylistShelf & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicQueue.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicQueue.md index 8e9b6cda..81c77c02 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicQueue.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicQueue.md @@ -2,7 +2,7 @@ # Class: MusicQueue -Defined in: [src/parser/classes/MusicQueue.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicQueue.ts#L5) +Defined in: [src/parser/classes/MusicQueue.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicQueue.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicQueue.ts:5](https://github.com/LuanRT/YouTu > **new MusicQueue**(`data`): `MusicQueue` -Defined in: [src/parser/classes/MusicQueue.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicQueue.ts#L10) +Defined in: [src/parser/classes/MusicQueue.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicQueue.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicQueue.ts:10](https://github.com/LuanRT/YouT > **content**: [`PlaylistPanel`](PlaylistPanel.md) \| `null` -Defined in: [src/parser/classes/MusicQueue.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicQueue.ts#L8) +Defined in: [src/parser/classes/MusicQueue.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicQueue.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicQueue.ts:8](https://github.com/LuanRT/YouTu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicQueue'` -Defined in: [src/parser/classes/MusicQueue.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicQueue.ts#L6) +Defined in: [src/parser/classes/MusicQueue.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicQueue.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/MusicQueue.ts:6](https://github.com/LuanRT/YouTu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicQueue & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicResponsiveHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicResponsiveHeader.md index 0295642b..d245ca50 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicResponsiveHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicResponsiveHeader.md @@ -2,7 +2,7 @@ # Class: MusicResponsiveHeader -Defined in: [src/parser/classes/MusicResponsiveHeader.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveHeader.ts#L15) +Defined in: [src/parser/classes/MusicResponsiveHeader.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveHeader.ts#L15) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicResponsiveHeader.ts:15](https://github.com/ > **new MusicResponsiveHeader**(`data`): `MusicResponsiveHeader` -Defined in: [src/parser/classes/MusicResponsiveHeader.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveHeader.ts#L28) +Defined in: [src/parser/classes/MusicResponsiveHeader.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveHeader.ts#L28) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicResponsiveHeader.ts:28](https://github.com/ > **buttons**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Button`](Button.md) \| [`ToggleButton`](ToggleButton.md) \| [`DownloadButton`](DownloadButton.md) \| [`Menu`](Menu.md) \| [`MusicPlayButton`](MusicPlayButton.md)\> -Defined in: [src/parser/classes/MusicResponsiveHeader.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveHeader.ts#L19) +Defined in: [src/parser/classes/MusicResponsiveHeader.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveHeader.ts#L19) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicResponsiveHeader.ts:19](https://github.com/ > `optional` **description**: [`MusicDescriptionShelf`](MusicDescriptionShelf.md) \| `null` -Defined in: [src/parser/classes/MusicResponsiveHeader.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveHeader.ts#L26) +Defined in: [src/parser/classes/MusicResponsiveHeader.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveHeader.ts#L26) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MusicResponsiveHeader.ts:26](https://github.com/ > **second\_subtitle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicResponsiveHeader.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveHeader.ts#L24) +Defined in: [src/parser/classes/MusicResponsiveHeader.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveHeader.ts#L24) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/MusicResponsiveHeader.ts:24](https://github.com/ > **strapline\_text\_one**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicResponsiveHeader.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveHeader.ts#L22) +Defined in: [src/parser/classes/MusicResponsiveHeader.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveHeader.ts#L22) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/MusicResponsiveHeader.ts:22](https://github.com/ > **strapline\_thumbnail**: [`MusicThumbnail`](MusicThumbnail.md) \| `null` -Defined in: [src/parser/classes/MusicResponsiveHeader.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveHeader.ts#L23) +Defined in: [src/parser/classes/MusicResponsiveHeader.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveHeader.ts#L23) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MusicResponsiveHeader.ts:23](https://github.com/ > **subtitle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicResponsiveHeader.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveHeader.ts#L21) +Defined in: [src/parser/classes/MusicResponsiveHeader.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveHeader.ts#L21) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/MusicResponsiveHeader.ts:21](https://github.com/ > `optional` **subtitle\_badge**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MusicInlineBadge`](MusicInlineBadge.md)\> -Defined in: [src/parser/classes/MusicResponsiveHeader.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveHeader.ts#L25) +Defined in: [src/parser/classes/MusicResponsiveHeader.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveHeader.ts#L25) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/MusicResponsiveHeader.ts:25](https://github.com/ > **thumbnail**: [`MusicThumbnail`](MusicThumbnail.md) \| `null` -Defined in: [src/parser/classes/MusicResponsiveHeader.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveHeader.ts#L18) +Defined in: [src/parser/classes/MusicResponsiveHeader.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveHeader.ts#L18) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/MusicResponsiveHeader.ts:18](https://github.com/ > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicResponsiveHeader.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveHeader.ts#L20) +Defined in: [src/parser/classes/MusicResponsiveHeader.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveHeader.ts#L20) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/MusicResponsiveHeader.ts:20](https://github.com/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -120,7 +120,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicResponsiveHeader'` -Defined in: [src/parser/classes/MusicResponsiveHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveHeader.ts#L16) +Defined in: [src/parser/classes/MusicResponsiveHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveHeader.ts#L16) #### Overrides @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/MusicResponsiveHeader.ts:16](https://github.com/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -174,7 +174,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicResponsiveHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -212,7 +212,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -250,7 +250,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicResponsiveListItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicResponsiveListItem.md index feae59b0..0f0816c5 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicResponsiveListItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicResponsiveListItem.md @@ -2,7 +2,7 @@ # Class: MusicResponsiveListItem -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L23) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L23) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:23](https://github.co > **new MusicResponsiveListItem**(`data`): `MusicResponsiveListItem` -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:77](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L77) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:77](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L77) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:77](https://github.co > `optional` **album**: `object` -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:44](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L44) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:44](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L44) #### endpoint? @@ -56,7 +56,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:44](https://github.co > `optional` **artists**: `object`[] -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:50](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L50) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:50](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L50) #### channel\_id? @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:50](https://github.co > `optional` **author**: `object` -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:69](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L69) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:69](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L69) #### channel\_id? @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:69](https://github.co > `optional` **authors**: `object`[] -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:57](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L57) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:57](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L57) #### channel\_id? @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:57](https://github.co > `optional` **badges**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:33](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L33) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L33) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:33](https://github.co > `optional` **duration**: `object` -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L39) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L39) #### seconds @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:39](https://github.co > `optional` **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L29) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L29) *** @@ -148,7 +148,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:29](https://github.co > **fixed\_columns**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MusicResponsiveListItemFixedColumn`](MusicResponsiveListItemFixedColumn.md)\> -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L27) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L27) *** @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:27](https://github.co > **flex\_columns**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MusicResponsiveListItemFlexColumn`](MusicResponsiveListItemFlexColumn.md)\> -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L26) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L26) *** @@ -164,7 +164,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:26](https://github.co > `optional` **id**: `string` -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:37](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L37) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:37](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L37) *** @@ -172,7 +172,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:37](https://github.co > `optional` **index**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:31](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L31) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L31) *** @@ -180,7 +180,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:31](https://github.co > `optional` **item\_count**: `string` -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:74](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L74) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:74](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L74) *** @@ -188,7 +188,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:74](https://github.co > **item\_type**: `"endpoint"` \| `"unknown"` \| `"video"` \| `"playlist"` \| `"album"` \| `"artist"` \| `"library_artist"` \| `"non_music_track"` \| `"song"` \| `"podcast_show"` \| `undefined` -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L30) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L30) *** @@ -196,7 +196,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:30](https://github.co > `optional` **menu**: [`Menu`](Menu.md) \| `null` -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:34](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L34) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:34](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L34) *** @@ -204,7 +204,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:34](https://github.co > `optional` **name**: `string` -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:63](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L63) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:63](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L63) *** @@ -212,7 +212,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:63](https://github.co > `optional` **overlay**: [`MusicItemThumbnailOverlay`](MusicItemThumbnailOverlay.md) \| `null` -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:35](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L35) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:35](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L35) *** @@ -220,7 +220,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:35](https://github.co > `optional` **song\_count**: `string` -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:66](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L66) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:66](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L66) *** @@ -228,7 +228,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:66](https://github.co > `optional` **subscribers**: `string` -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:65](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L65) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:65](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L65) *** @@ -236,7 +236,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:65](https://github.co > `optional` **subtitle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:64](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L64) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:64](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L64) *** @@ -244,7 +244,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:64](https://github.co > `optional` **thumbnail**: [`MusicThumbnail`](MusicThumbnail.md) \| `null` -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:32](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L32) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:32](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L32) *** @@ -252,7 +252,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:32](https://github.co > `optional` **title**: `string` -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L38) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:38](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L38) *** @@ -260,7 +260,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:38](https://github.co > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -272,7 +272,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **views**: `string` -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:56](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L56) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:56](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L56) *** @@ -280,7 +280,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:56](https://github.co > `optional` **year**: `string` -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:75](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L75) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:75](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L75) *** @@ -288,7 +288,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:75](https://github.co > `static` **type**: `string` = `'MusicResponsiveListItem'` -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L24) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L24) #### Overrides @@ -302,7 +302,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:24](https://github.co > **get** **thumbnails**(): [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/MusicResponsiveListItem.ts:334](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItem.ts#L334) +Defined in: [src/parser/classes/MusicResponsiveListItem.ts:334](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItem.ts#L334) ##### Returns @@ -314,7 +314,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItem.ts:334](https://github.c > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -356,7 +356,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicResponsiveListItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -394,7 +394,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -432,7 +432,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicResponsiveListItemFixedColumn.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicResponsiveListItemFixedColumn.md index 206304ff..da1fb8c8 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicResponsiveListItemFixedColumn.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicResponsiveListItemFixedColumn.md @@ -2,7 +2,7 @@ # Class: MusicResponsiveListItemFixedColumn -Defined in: [src/parser/classes/MusicResponsiveListItemFixedColumn.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItemFixedColumn.ts#L5) +Defined in: [src/parser/classes/MusicResponsiveListItemFixedColumn.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItemFixedColumn.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItemFixedColumn.ts:5](https:/ > **new MusicResponsiveListItemFixedColumn**(`data`): `MusicResponsiveListItemFixedColumn` -Defined in: [src/parser/classes/MusicResponsiveListItemFixedColumn.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItemFixedColumn.ts#L11) +Defined in: [src/parser/classes/MusicResponsiveListItemFixedColumn.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItemFixedColumn.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItemFixedColumn.ts:11](https: > **display\_priority**: `string` -Defined in: [src/parser/classes/MusicResponsiveListItemFixedColumn.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItemFixedColumn.ts#L9) +Defined in: [src/parser/classes/MusicResponsiveListItemFixedColumn.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItemFixedColumn.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItemFixedColumn.ts:9](https:/ > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicResponsiveListItemFixedColumn.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItemFixedColumn.ts#L8) +Defined in: [src/parser/classes/MusicResponsiveListItemFixedColumn.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItemFixedColumn.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItemFixedColumn.ts:8](https:/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'musicResponsiveListItemFlexColumnRenderer'` -Defined in: [src/parser/classes/MusicResponsiveListItemFixedColumn.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItemFixedColumn.ts#L6) +Defined in: [src/parser/classes/MusicResponsiveListItemFixedColumn.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItemFixedColumn.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItemFixedColumn.ts:6](https:/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicResponsiveListItemFixedColumn & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicResponsiveListItemFlexColumn.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicResponsiveListItemFlexColumn.md index 6052d24c..3120544e 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicResponsiveListItemFlexColumn.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicResponsiveListItemFlexColumn.md @@ -2,7 +2,7 @@ # Class: MusicResponsiveListItemFlexColumn -Defined in: [src/parser/classes/MusicResponsiveListItemFlexColumn.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItemFlexColumn.ts#L5) +Defined in: [src/parser/classes/MusicResponsiveListItemFlexColumn.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItemFlexColumn.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItemFlexColumn.ts:5](https:// > **new MusicResponsiveListItemFlexColumn**(`data`): `MusicResponsiveListItemFlexColumn` -Defined in: [src/parser/classes/MusicResponsiveListItemFlexColumn.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItemFlexColumn.ts#L11) +Defined in: [src/parser/classes/MusicResponsiveListItemFlexColumn.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItemFlexColumn.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItemFlexColumn.ts:11](https:/ > **display\_priority**: `string` -Defined in: [src/parser/classes/MusicResponsiveListItemFlexColumn.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItemFlexColumn.ts#L9) +Defined in: [src/parser/classes/MusicResponsiveListItemFlexColumn.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItemFlexColumn.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItemFlexColumn.ts:9](https:// > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicResponsiveListItemFlexColumn.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItemFlexColumn.ts#L8) +Defined in: [src/parser/classes/MusicResponsiveListItemFlexColumn.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItemFlexColumn.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItemFlexColumn.ts:8](https:// > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicResponsiveListItemFlexColumn'` -Defined in: [src/parser/classes/MusicResponsiveListItemFlexColumn.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicResponsiveListItemFlexColumn.ts#L6) +Defined in: [src/parser/classes/MusicResponsiveListItemFlexColumn.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicResponsiveListItemFlexColumn.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MusicResponsiveListItemFlexColumn.ts:6](https:// > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicResponsiveListItemFlexColumn & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicShelf.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicShelf.md index e9b42a1e..ecb66a4e 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicShelf.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicShelf.md @@ -2,7 +2,7 @@ # Class: MusicShelf -Defined in: [src/parser/classes/MusicShelf.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicShelf.ts#L8) +Defined in: [src/parser/classes/MusicShelf.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicShelf.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicShelf.ts:8](https://github.com/LuanRT/YouTu > **new MusicShelf**(`data`): `MusicShelf` -Defined in: [src/parser/classes/MusicShelf.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicShelf.ts#L19) +Defined in: [src/parser/classes/MusicShelf.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicShelf.ts#L19) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicShelf.ts:19](https://github.com/LuanRT/YouT > `optional` **bottom\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/MusicShelf.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicShelf.ts#L16) +Defined in: [src/parser/classes/MusicShelf.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicShelf.ts#L16) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicShelf.ts:16](https://github.com/LuanRT/YouT > `optional` **bottom\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicShelf.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicShelf.ts#L15) +Defined in: [src/parser/classes/MusicShelf.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicShelf.ts#L15) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MusicShelf.ts:15](https://github.com/LuanRT/YouT > **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MusicResponsiveListItem`](MusicResponsiveListItem.md)\> -Defined in: [src/parser/classes/MusicShelf.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicShelf.ts#L12) +Defined in: [src/parser/classes/MusicShelf.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicShelf.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/MusicShelf.ts:12](https://github.com/LuanRT/YouT > `optional` **continuation**: `string` -Defined in: [src/parser/classes/MusicShelf.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicShelf.ts#L14) +Defined in: [src/parser/classes/MusicShelf.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicShelf.ts#L14) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/MusicShelf.ts:14](https://github.com/LuanRT/YouT > `optional` **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/MusicShelf.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicShelf.ts#L13) +Defined in: [src/parser/classes/MusicShelf.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicShelf.ts#L13) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MusicShelf.ts:13](https://github.com/LuanRT/YouT > `optional` **subheaders**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/MusicShelf.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicShelf.ts#L17) +Defined in: [src/parser/classes/MusicShelf.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicShelf.ts#L17) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/MusicShelf.ts:17](https://github.com/LuanRT/YouT > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicShelf.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicShelf.ts#L11) +Defined in: [src/parser/classes/MusicShelf.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicShelf.ts#L11) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/MusicShelf.ts:11](https://github.com/LuanRT/YouT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -104,7 +104,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicShelf'` -Defined in: [src/parser/classes/MusicShelf.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicShelf.ts#L9) +Defined in: [src/parser/classes/MusicShelf.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicShelf.ts#L9) #### Overrides @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/MusicShelf.ts:9](https://github.com/LuanRT/YouTu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -158,7 +158,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicShelf & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -196,7 +196,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -234,7 +234,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicSideAlignedItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicSideAlignedItem.md index 6c48d901..00a46a0f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicSideAlignedItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicSideAlignedItem.md @@ -2,7 +2,7 @@ # Class: MusicSideAlignedItem -Defined in: [src/parser/classes/MusicSideAlignedItem.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicSideAlignedItem.ts#L4) +Defined in: [src/parser/classes/MusicSideAlignedItem.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicSideAlignedItem.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicSideAlignedItem.ts:4](https://github.com/Lu > **new MusicSideAlignedItem**(`data`): `MusicSideAlignedItem` -Defined in: [src/parser/classes/MusicSideAlignedItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicSideAlignedItem.ts#L10) +Defined in: [src/parser/classes/MusicSideAlignedItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicSideAlignedItem.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicSideAlignedItem.ts:10](https://github.com/L > `optional` **end\_items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/MusicSideAlignedItem.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicSideAlignedItem.ts#L8) +Defined in: [src/parser/classes/MusicSideAlignedItem.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicSideAlignedItem.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicSideAlignedItem.ts:8](https://github.com/Lu > `optional` **start\_items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/MusicSideAlignedItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicSideAlignedItem.ts#L7) +Defined in: [src/parser/classes/MusicSideAlignedItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicSideAlignedItem.ts#L7) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MusicSideAlignedItem.ts:7](https://github.com/Lu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicSideAlignedItem'` -Defined in: [src/parser/classes/MusicSideAlignedItem.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicSideAlignedItem.ts#L5) +Defined in: [src/parser/classes/MusicSideAlignedItem.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicSideAlignedItem.ts#L5) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MusicSideAlignedItem.ts:5](https://github.com/Lu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicSideAlignedItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicSortFilterButton.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicSortFilterButton.md index 269fe7a8..63bcbe2b 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicSortFilterButton.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicSortFilterButton.md @@ -2,7 +2,7 @@ # Class: MusicSortFilterButton -Defined in: [src/parser/classes/MusicSortFilterButton.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicSortFilterButton.ts#L6) +Defined in: [src/parser/classes/MusicSortFilterButton.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicSortFilterButton.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicSortFilterButton.ts:6](https://github.com/L > **new MusicSortFilterButton**(`data`): `MusicSortFilterButton` -Defined in: [src/parser/classes/MusicSortFilterButton.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicSortFilterButton.ts#L13) +Defined in: [src/parser/classes/MusicSortFilterButton.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicSortFilterButton.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicSortFilterButton.ts:13](https://github.com/ > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/MusicSortFilterButton.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicSortFilterButton.ts#L10) +Defined in: [src/parser/classes/MusicSortFilterButton.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicSortFilterButton.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicSortFilterButton.ts:10](https://github.com/ > **menu**: [`MusicMultiSelectMenu`](MusicMultiSelectMenu.md) \| `null` -Defined in: [src/parser/classes/MusicSortFilterButton.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicSortFilterButton.ts#L11) +Defined in: [src/parser/classes/MusicSortFilterButton.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicSortFilterButton.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MusicSortFilterButton.ts:11](https://github.com/ > **title**: `string` -Defined in: [src/parser/classes/MusicSortFilterButton.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicSortFilterButton.ts#L9) +Defined in: [src/parser/classes/MusicSortFilterButton.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicSortFilterButton.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/MusicSortFilterButton.ts:9](https://github.com/L > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicSortFilterButton'` -Defined in: [src/parser/classes/MusicSortFilterButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicSortFilterButton.ts#L7) +Defined in: [src/parser/classes/MusicSortFilterButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicSortFilterButton.ts#L7) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/MusicSortFilterButton.ts:7](https://github.com/L > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicSortFilterButton & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicTastebuilderShelf.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicTastebuilderShelf.md index 44a2b8fc..a9326b07 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicTastebuilderShelf.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicTastebuilderShelf.md @@ -2,7 +2,7 @@ # Class: MusicTastebuilderShelf -Defined in: [src/parser/classes/MusicTastebuilderShelf.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTastebuilderShelf.ts#L9) +Defined in: [src/parser/classes/MusicTastebuilderShelf.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTastebuilderShelf.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicTastebuilderShelf.ts:9](https://github.com/ > **new MusicTastebuilderShelf**(`data`): `MusicTasteBuilderShelf` -Defined in: [src/parser/classes/MusicTastebuilderShelf.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTastebuilderShelf.ts#L18) +Defined in: [src/parser/classes/MusicTastebuilderShelf.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTastebuilderShelf.ts#L18) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicTastebuilderShelf.ts:18](https://github.com > **action\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/MusicTastebuilderShelf.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTastebuilderShelf.ts#L15) +Defined in: [src/parser/classes/MusicTastebuilderShelf.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTastebuilderShelf.ts#L15) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicTastebuilderShelf.ts:15](https://github.com > **is\_visible**: `boolean` -Defined in: [src/parser/classes/MusicTastebuilderShelf.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTastebuilderShelf.ts#L16) +Defined in: [src/parser/classes/MusicTastebuilderShelf.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTastebuilderShelf.ts#L16) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MusicTastebuilderShelf.ts:16](https://github.com > **primary\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicTastebuilderShelf.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTastebuilderShelf.ts#L13) +Defined in: [src/parser/classes/MusicTastebuilderShelf.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTastebuilderShelf.ts#L13) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/MusicTastebuilderShelf.ts:13](https://github.com > **secondary\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicTastebuilderShelf.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTastebuilderShelf.ts#L14) +Defined in: [src/parser/classes/MusicTastebuilderShelf.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTastebuilderShelf.ts#L14) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/MusicTastebuilderShelf.ts:14](https://github.com > **thumbnail**: [`MusicTastebuilderShelfThumbnail`](MusicTastebuilderShelfThumbnail.md) \| `null` -Defined in: [src/parser/classes/MusicTastebuilderShelf.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTastebuilderShelf.ts#L12) +Defined in: [src/parser/classes/MusicTastebuilderShelf.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTastebuilderShelf.ts#L12) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MusicTastebuilderShelf.ts:12](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicTasteBuilderShelf'` -Defined in: [src/parser/classes/MusicTastebuilderShelf.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTastebuilderShelf.ts#L10) +Defined in: [src/parser/classes/MusicTastebuilderShelf.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTastebuilderShelf.ts#L10) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/MusicTastebuilderShelf.ts:10](https://github.com > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicTastebuilderShelf & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicTastebuilderShelfThumbnail.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicTastebuilderShelfThumbnail.md index 2e136f3b..75380447 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicTastebuilderShelfThumbnail.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicTastebuilderShelfThumbnail.md @@ -2,7 +2,7 @@ # Class: MusicTastebuilderShelfThumbnail -Defined in: [src/parser/classes/MusicTastebuilderShelfThumbnail.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTastebuilderShelfThumbnail.ts#L5) +Defined in: [src/parser/classes/MusicTastebuilderShelfThumbnail.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTastebuilderShelfThumbnail.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicTastebuilderShelfThumbnail.ts:5](https://gi > **new MusicTastebuilderShelfThumbnail**(`data`): `MusicTastebuilderShelfThumbnail` -Defined in: [src/parser/classes/MusicTastebuilderShelfThumbnail.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTastebuilderShelfThumbnail.ts#L10) +Defined in: [src/parser/classes/MusicTastebuilderShelfThumbnail.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTastebuilderShelfThumbnail.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicTastebuilderShelfThumbnail.ts:10](https://g > **thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/MusicTastebuilderShelfThumbnail.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTastebuilderShelfThumbnail.ts#L8) +Defined in: [src/parser/classes/MusicTastebuilderShelfThumbnail.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTastebuilderShelfThumbnail.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicTastebuilderShelfThumbnail.ts:8](https://gi > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicTastebuilderShelfThumbnail'` -Defined in: [src/parser/classes/MusicTastebuilderShelfThumbnail.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTastebuilderShelfThumbnail.ts#L6) +Defined in: [src/parser/classes/MusicTastebuilderShelfThumbnail.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTastebuilderShelfThumbnail.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/MusicTastebuilderShelfThumbnail.ts:6](https://gi > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicTastebuilderShelfThumbnail & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicThumbnail.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicThumbnail.md index af10623a..c420d9ff 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicThumbnail.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicThumbnail.md @@ -2,7 +2,7 @@ # Class: MusicThumbnail -Defined in: [src/parser/classes/MusicThumbnail.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicThumbnail.ts#L5) +Defined in: [src/parser/classes/MusicThumbnail.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicThumbnail.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicThumbnail.ts:5](https://github.com/LuanRT/Y > **new MusicThumbnail**(`data`): `MusicThumbnail` -Defined in: [src/parser/classes/MusicThumbnail.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicThumbnail.ts#L10) +Defined in: [src/parser/classes/MusicThumbnail.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicThumbnail.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicThumbnail.ts:10](https://github.com/LuanRT/ > **contents**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/MusicThumbnail.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicThumbnail.ts#L8) +Defined in: [src/parser/classes/MusicThumbnail.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicThumbnail.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicThumbnail.ts:8](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicThumbnail'` -Defined in: [src/parser/classes/MusicThumbnail.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicThumbnail.ts#L6) +Defined in: [src/parser/classes/MusicThumbnail.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicThumbnail.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/MusicThumbnail.ts:6](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicThumbnail & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicTwoRowItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicTwoRowItem.md index 4f71fbe7..d5d2b6af 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicTwoRowItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicTwoRowItem.md @@ -2,7 +2,7 @@ # Class: MusicTwoRowItem -Defined in: [src/parser/classes/MusicTwoRowItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTwoRowItem.ts#L12) +Defined in: [src/parser/classes/MusicTwoRowItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTwoRowItem.ts#L12) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicTwoRowItem.ts:12](https://github.com/LuanRT > **new MusicTwoRowItem**(`data`): `MusicTwoRowItem` -Defined in: [src/parser/classes/MusicTwoRowItem.ts:42](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTwoRowItem.ts#L42) +Defined in: [src/parser/classes/MusicTwoRowItem.ts:42](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTwoRowItem.ts#L42) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicTwoRowItem.ts:42](https://github.com/LuanRT > `optional` **artists**: `object`[] -Defined in: [src/parser/classes/MusicTwoRowItem.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTwoRowItem.ts#L26) +Defined in: [src/parser/classes/MusicTwoRowItem.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTwoRowItem.ts#L26) #### channel\_id @@ -56,7 +56,7 @@ Defined in: [src/parser/classes/MusicTwoRowItem.ts:26](https://github.com/LuanRT > `optional` **author**: `object` -Defined in: [src/parser/classes/MusicTwoRowItem.ts:32](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTwoRowItem.ts#L32) +Defined in: [src/parser/classes/MusicTwoRowItem.ts:32](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTwoRowItem.ts#L32) #### channel\_id @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/MusicTwoRowItem.ts:32](https://github.com/LuanRT > **badges**: [`SuperParsedResult`](../../Helpers/classes/SuperParsedResult.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> \| `null` -Defined in: [src/parser/classes/MusicTwoRowItem.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTwoRowItem.ts#L19) +Defined in: [src/parser/classes/MusicTwoRowItem.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTwoRowItem.ts#L19) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/MusicTwoRowItem.ts:19](https://github.com/LuanRT > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/MusicTwoRowItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTwoRowItem.ts#L16) +Defined in: [src/parser/classes/MusicTwoRowItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTwoRowItem.ts#L16) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/MusicTwoRowItem.ts:16](https://github.com/LuanRT > **id**: `string` \| `undefined` -Defined in: [src/parser/classes/MusicTwoRowItem.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTwoRowItem.ts#L17) +Defined in: [src/parser/classes/MusicTwoRowItem.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTwoRowItem.ts#L17) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/MusicTwoRowItem.ts:17](https://github.com/LuanRT > `optional` **item\_count**: `string` \| `null` -Defined in: [src/parser/classes/MusicTwoRowItem.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTwoRowItem.ts#L22) +Defined in: [src/parser/classes/MusicTwoRowItem.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTwoRowItem.ts#L22) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/MusicTwoRowItem.ts:22](https://github.com/LuanRT > **item\_type**: `string` -Defined in: [src/parser/classes/MusicTwoRowItem.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTwoRowItem.ts#L20) +Defined in: [src/parser/classes/MusicTwoRowItem.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTwoRowItem.ts#L20) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/MusicTwoRowItem.ts:20](https://github.com/LuanRT > **menu**: [`Menu`](Menu.md) \| `null` -Defined in: [src/parser/classes/MusicTwoRowItem.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTwoRowItem.ts#L40) +Defined in: [src/parser/classes/MusicTwoRowItem.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTwoRowItem.ts#L40) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/MusicTwoRowItem.ts:40](https://github.com/LuanRT > `optional` **subscribers**: `string` -Defined in: [src/parser/classes/MusicTwoRowItem.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTwoRowItem.ts#L21) +Defined in: [src/parser/classes/MusicTwoRowItem.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTwoRowItem.ts#L21) *** @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/MusicTwoRowItem.ts:21](https://github.com/LuanRT > **subtitle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicTwoRowItem.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTwoRowItem.ts#L18) +Defined in: [src/parser/classes/MusicTwoRowItem.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTwoRowItem.ts#L18) *** @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/MusicTwoRowItem.ts:18](https://github.com/LuanRT > **thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/MusicTwoRowItem.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTwoRowItem.ts#L38) +Defined in: [src/parser/classes/MusicTwoRowItem.ts:38](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTwoRowItem.ts#L38) *** @@ -148,7 +148,7 @@ Defined in: [src/parser/classes/MusicTwoRowItem.ts:38](https://github.com/LuanRT > **thumbnail\_overlay**: [`MusicItemThumbnailOverlay`](MusicItemThumbnailOverlay.md) \| `null` -Defined in: [src/parser/classes/MusicTwoRowItem.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTwoRowItem.ts#L39) +Defined in: [src/parser/classes/MusicTwoRowItem.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTwoRowItem.ts#L39) *** @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/MusicTwoRowItem.ts:39](https://github.com/LuanRT > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicTwoRowItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTwoRowItem.ts#L15) +Defined in: [src/parser/classes/MusicTwoRowItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTwoRowItem.ts#L15) *** @@ -164,7 +164,7 @@ Defined in: [src/parser/classes/MusicTwoRowItem.ts:15](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -176,7 +176,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **views**: `string` -Defined in: [src/parser/classes/MusicTwoRowItem.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTwoRowItem.ts#L24) +Defined in: [src/parser/classes/MusicTwoRowItem.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTwoRowItem.ts#L24) *** @@ -184,7 +184,7 @@ Defined in: [src/parser/classes/MusicTwoRowItem.ts:24](https://github.com/LuanRT > `optional` **year**: `string` -Defined in: [src/parser/classes/MusicTwoRowItem.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTwoRowItem.ts#L23) +Defined in: [src/parser/classes/MusicTwoRowItem.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTwoRowItem.ts#L23) *** @@ -192,7 +192,7 @@ Defined in: [src/parser/classes/MusicTwoRowItem.ts:23](https://github.com/LuanRT > `static` **type**: `string` = `'MusicTwoRowItem'` -Defined in: [src/parser/classes/MusicTwoRowItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicTwoRowItem.ts#L13) +Defined in: [src/parser/classes/MusicTwoRowItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicTwoRowItem.ts#L13) #### Overrides @@ -204,7 +204,7 @@ Defined in: [src/parser/classes/MusicTwoRowItem.ts:13](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -246,7 +246,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicTwoRowItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -284,7 +284,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -322,7 +322,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicVisualHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicVisualHeader.md index ec1181ab..9d202131 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicVisualHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/MusicVisualHeader.md @@ -2,7 +2,7 @@ # Class: MusicVisualHeader -Defined in: [src/parser/classes/MusicVisualHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicVisualHeader.ts#L7) +Defined in: [src/parser/classes/MusicVisualHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicVisualHeader.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/MusicVisualHeader.ts:7](https://github.com/LuanR > **new MusicVisualHeader**(`data`): `MusicVisualHeader` -Defined in: [src/parser/classes/MusicVisualHeader.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicVisualHeader.ts#L15) +Defined in: [src/parser/classes/MusicVisualHeader.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicVisualHeader.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/MusicVisualHeader.ts:15](https://github.com/Luan > **foreground\_thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/MusicVisualHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicVisualHeader.ts#L13) +Defined in: [src/parser/classes/MusicVisualHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicVisualHeader.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/MusicVisualHeader.ts:13](https://github.com/Luan > **menu**: [`Menu`](Menu.md) \| `null` -Defined in: [src/parser/classes/MusicVisualHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicVisualHeader.ts#L12) +Defined in: [src/parser/classes/MusicVisualHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicVisualHeader.ts#L12) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/MusicVisualHeader.ts:12](https://github.com/Luan > **thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/MusicVisualHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicVisualHeader.ts#L11) +Defined in: [src/parser/classes/MusicVisualHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicVisualHeader.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/MusicVisualHeader.ts:11](https://github.com/Luan > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/MusicVisualHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicVisualHeader.ts#L10) +Defined in: [src/parser/classes/MusicVisualHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicVisualHeader.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/MusicVisualHeader.ts:10](https://github.com/Luan > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'MusicVisualHeader'` -Defined in: [src/parser/classes/MusicVisualHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/MusicVisualHeader.ts#L8) +Defined in: [src/parser/classes/MusicVisualHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/MusicVisualHeader.ts#L8) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/MusicVisualHeader.ts:8](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is MusicVisualHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/NavigationEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/NavigationEndpoint.md index 3ad83722..57d59e64 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/NavigationEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/NavigationEndpoint.md @@ -2,7 +2,7 @@ # Class: NavigationEndpoint -Defined in: [src/parser/classes/NavigationEndpoint.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/NavigationEndpoint.ts#L19) +Defined in: [src/parser/classes/NavigationEndpoint.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/NavigationEndpoint.ts#L19) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/NavigationEndpoint.ts:19](https://github.com/Lua > **new NavigationEndpoint**(`data`): `NavigationEndpoint` -Defined in: [src/parser/classes/NavigationEndpoint.ts:32](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/NavigationEndpoint.ts#L32) +Defined in: [src/parser/classes/NavigationEndpoint.ts:32](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/NavigationEndpoint.ts#L32) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/NavigationEndpoint.ts:32](https://github.com/Lua > `optional` **command**: [`YTNode`](../../Helpers/classes/YTNode.md) \| [`YTNode`](../../Helpers/classes/YTNode.md) & [`IEndpoint`](../../../../interfaces/IEndpoint.md)\<`any`\> -Defined in: [src/parser/classes/NavigationEndpoint.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/NavigationEndpoint.ts#L29) +Defined in: [src/parser/classes/NavigationEndpoint.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/NavigationEndpoint.ts#L29) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/NavigationEndpoint.ts:29](https://github.com/Lua > `optional` **commands**: `NavigationEndpoint`[] -Defined in: [src/parser/classes/NavigationEndpoint.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/NavigationEndpoint.ts#L30) +Defined in: [src/parser/classes/NavigationEndpoint.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/NavigationEndpoint.ts#L30) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/NavigationEndpoint.ts:30](https://github.com/Lua > `optional` **dialog**: [`YTNode`](../../Helpers/classes/YTNode.md) \| [`CreatePlaylistDialog`](CreatePlaylistDialog.md) \| `null` -Defined in: [src/parser/classes/NavigationEndpoint.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/NavigationEndpoint.ts#L24) +Defined in: [src/parser/classes/NavigationEndpoint.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/NavigationEndpoint.ts#L24) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/NavigationEndpoint.ts:24](https://github.com/Lua > **metadata**: `Metadata` -Defined in: [src/parser/classes/NavigationEndpoint.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/NavigationEndpoint.ts#L28) +Defined in: [src/parser/classes/NavigationEndpoint.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/NavigationEndpoint.ts#L28) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/NavigationEndpoint.ts:28](https://github.com/Lua > `optional` **modal**: [`YTNode`](../../Helpers/classes/YTNode.md) \| [`ModalWithTitleAndButton`](ModalWithTitleAndButton.md) \| `null` -Defined in: [src/parser/classes/NavigationEndpoint.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/NavigationEndpoint.ts#L25) +Defined in: [src/parser/classes/NavigationEndpoint.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/NavigationEndpoint.ts#L25) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/NavigationEndpoint.ts:25](https://github.com/Lua > `optional` **name**: `string` -Defined in: [src/parser/classes/NavigationEndpoint.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/NavigationEndpoint.ts#L22) +Defined in: [src/parser/classes/NavigationEndpoint.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/NavigationEndpoint.ts#L22) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/NavigationEndpoint.ts:22](https://github.com/Lua > `optional` **next\_endpoint**: `NavigationEndpoint` -Defined in: [src/parser/classes/NavigationEndpoint.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/NavigationEndpoint.ts#L27) +Defined in: [src/parser/classes/NavigationEndpoint.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/NavigationEndpoint.ts#L27) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/NavigationEndpoint.ts:27](https://github.com/Lua > `optional` **open\_popup**: [`OpenPopupAction`](OpenPopupAction.md) \| `null` -Defined in: [src/parser/classes/NavigationEndpoint.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/NavigationEndpoint.ts#L26) +Defined in: [src/parser/classes/NavigationEndpoint.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/NavigationEndpoint.ts#L26) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/NavigationEndpoint.ts:26](https://github.com/Lua > **payload**: `any` -Defined in: [src/parser/classes/NavigationEndpoint.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/NavigationEndpoint.ts#L23) +Defined in: [src/parser/classes/NavigationEndpoint.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/NavigationEndpoint.ts#L23) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/NavigationEndpoint.ts:23](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -120,7 +120,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'NavigationEndpoint'` -Defined in: [src/parser/classes/NavigationEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/NavigationEndpoint.ts#L20) +Defined in: [src/parser/classes/NavigationEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/NavigationEndpoint.ts#L20) #### Overrides @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/NavigationEndpoint.ts:20](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -176,7 +176,7 @@ If the node is not of the given type > **call**\<`T`\>(`actions`, `args`): `Promise`\<`T`\> -Defined in: [src/parser/classes/NavigationEndpoint.ts:121](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/NavigationEndpoint.ts#L121) +Defined in: [src/parser/classes/NavigationEndpoint.ts:121](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/NavigationEndpoint.ts#L121) ##### Type Parameters @@ -204,7 +204,7 @@ Defined in: [src/parser/classes/NavigationEndpoint.ts:121](https://github.com/Lu > **call**(`actions`, `args?`): `Promise`\<[`ApiResponse`](../../../../interfaces/ApiResponse.md)\> -Defined in: [src/parser/classes/NavigationEndpoint.ts:122](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/NavigationEndpoint.ts#L122) +Defined in: [src/parser/classes/NavigationEndpoint.ts:122](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/NavigationEndpoint.ts#L122) ##### Parameters @@ -228,7 +228,7 @@ Defined in: [src/parser/classes/NavigationEndpoint.ts:122](https://github.com/Lu > **getPath**(`name`): `"/browse"` \| `"/player"` \| `"/search"` \| `"/next"` \| `"/live_chat/get_item_context_menu"` \| `undefined` -Defined in: [src/parser/classes/NavigationEndpoint.ts:105](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/NavigationEndpoint.ts#L105) +Defined in: [src/parser/classes/NavigationEndpoint.ts:105](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/NavigationEndpoint.ts#L105) Sometimes InnerTube does not return an API url, in that case the library should set it based on the name of the payload object. @@ -252,7 +252,7 @@ This should be removed in the future. > **hasKey**\<`T`, `R`\>(`key`): `this is NavigationEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -290,7 +290,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -328,7 +328,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. @@ -370,7 +370,7 @@ If the node does not have the key > **toURL**(): `string` \| `undefined` -Defined in: [src/parser/classes/NavigationEndpoint.ts:143](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/NavigationEndpoint.ts#L143) +Defined in: [src/parser/classes/NavigationEndpoint.ts:143](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/NavigationEndpoint.ts#L143) #### Returns diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Notification.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Notification.md index 7b59b00a..e253911c 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Notification.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Notification.md @@ -2,7 +2,7 @@ # Class: Notification -Defined in: [src/parser/classes/Notification.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Notification.ts#L7) +Defined in: [src/parser/classes/Notification.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Notification.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/Notification.ts:7](https://github.com/LuanRT/You > **new Notification**(`data`): `Notification` -Defined in: [src/parser/classes/Notification.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Notification.ts#L20) +Defined in: [src/parser/classes/Notification.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Notification.ts#L20) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/Notification.ts:20](https://github.com/LuanRT/Yo > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/Notification.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Notification.ts#L15) +Defined in: [src/parser/classes/Notification.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Notification.ts#L15) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/Notification.ts:15](https://github.com/LuanRT/Yo > **menu**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/Notification.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Notification.ts#L17) +Defined in: [src/parser/classes/Notification.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Notification.ts#L17) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/Notification.ts:17](https://github.com/LuanRT/Yo > **notification\_id**: `string` -Defined in: [src/parser/classes/Notification.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Notification.ts#L14) +Defined in: [src/parser/classes/Notification.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Notification.ts#L14) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/Notification.ts:14](https://github.com/LuanRT/Yo > **read**: `boolean` -Defined in: [src/parser/classes/Notification.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Notification.ts#L18) +Defined in: [src/parser/classes/Notification.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Notification.ts#L18) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/Notification.ts:18](https://github.com/LuanRT/Yo > **record\_click\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/Notification.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Notification.ts#L16) +Defined in: [src/parser/classes/Notification.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Notification.ts#L16) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/Notification.ts:16](https://github.com/LuanRT/Yo > **sent\_time**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Notification.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Notification.ts#L13) +Defined in: [src/parser/classes/Notification.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Notification.ts#L13) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/Notification.ts:13](https://github.com/LuanRT/Yo > **short\_message**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Notification.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Notification.ts#L12) +Defined in: [src/parser/classes/Notification.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Notification.ts#L12) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/Notification.ts:12](https://github.com/LuanRT/Yo > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/Notification.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Notification.ts#L10) +Defined in: [src/parser/classes/Notification.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Notification.ts#L10) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/Notification.ts:10](https://github.com/LuanRT/Yo > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -112,7 +112,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/Notification.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Notification.ts#L11) +Defined in: [src/parser/classes/Notification.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Notification.ts#L11) *** @@ -120,7 +120,7 @@ Defined in: [src/parser/classes/Notification.ts:11](https://github.com/LuanRT/Yo > `static` **type**: `string` = `'Notification'` -Defined in: [src/parser/classes/Notification.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Notification.ts#L8) +Defined in: [src/parser/classes/Notification.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Notification.ts#L8) #### Overrides @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/Notification.ts:8](https://github.com/LuanRT/You > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -174,7 +174,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Notification & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -212,7 +212,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -250,7 +250,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/NotificationAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/NotificationAction.md index 79ab130b..469a091d 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/NotificationAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/NotificationAction.md @@ -2,7 +2,7 @@ # Class: NotificationAction -Defined in: [src/parser/classes/NotificationAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/NotificationAction.ts#L5) +Defined in: [src/parser/classes/NotificationAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/NotificationAction.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/NotificationAction.ts:5](https://github.com/Luan > **new NotificationAction**(`data`): `NotificationAction` -Defined in: [src/parser/classes/NotificationAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/NotificationAction.ts#L10) +Defined in: [src/parser/classes/NotificationAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/NotificationAction.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/NotificationAction.ts:10](https://github.com/Lua > **response\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/NotificationAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/NotificationAction.ts#L8) +Defined in: [src/parser/classes/NotificationAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/NotificationAction.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/NotificationAction.ts:8](https://github.com/Luan > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'NotificationAction'` -Defined in: [src/parser/classes/NotificationAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/NotificationAction.ts#L6) +Defined in: [src/parser/classes/NotificationAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/NotificationAction.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/NotificationAction.ts:6](https://github.com/Luan > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is NotificationAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/OpenOnePickAddVideoModalCommand.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/OpenOnePickAddVideoModalCommand.md index 02fbfcf2..42e34ae5 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/OpenOnePickAddVideoModalCommand.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/OpenOnePickAddVideoModalCommand.md @@ -2,7 +2,7 @@ # Class: OpenOnePickAddVideoModalCommand -Defined in: [src/parser/classes/OpenOnePickAddVideoModalCommand.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/OpenOnePickAddVideoModalCommand.ts#L4) +Defined in: [src/parser/classes/OpenOnePickAddVideoModalCommand.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/OpenOnePickAddVideoModalCommand.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/OpenOnePickAddVideoModalCommand.ts:4](https://gi > **new OpenOnePickAddVideoModalCommand**(`data`): `OpenOnePickAddVideoModalCommand` -Defined in: [src/parser/classes/OpenOnePickAddVideoModalCommand.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/OpenOnePickAddVideoModalCommand.ts#L11) +Defined in: [src/parser/classes/OpenOnePickAddVideoModalCommand.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/OpenOnePickAddVideoModalCommand.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/OpenOnePickAddVideoModalCommand.ts:11](https://g > **list\_id**: `string` -Defined in: [src/parser/classes/OpenOnePickAddVideoModalCommand.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/OpenOnePickAddVideoModalCommand.ts#L7) +Defined in: [src/parser/classes/OpenOnePickAddVideoModalCommand.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/OpenOnePickAddVideoModalCommand.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/OpenOnePickAddVideoModalCommand.ts:7](https://gi > **modal\_title**: `string` -Defined in: [src/parser/classes/OpenOnePickAddVideoModalCommand.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/OpenOnePickAddVideoModalCommand.ts#L8) +Defined in: [src/parser/classes/OpenOnePickAddVideoModalCommand.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/OpenOnePickAddVideoModalCommand.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/OpenOnePickAddVideoModalCommand.ts:8](https://gi > **select\_button\_label**: `string` -Defined in: [src/parser/classes/OpenOnePickAddVideoModalCommand.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/OpenOnePickAddVideoModalCommand.ts#L9) +Defined in: [src/parser/classes/OpenOnePickAddVideoModalCommand.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/OpenOnePickAddVideoModalCommand.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/OpenOnePickAddVideoModalCommand.ts:9](https://gi > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'OpenOnePickAddVideoModalCommand'` -Defined in: [src/parser/classes/OpenOnePickAddVideoModalCommand.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/OpenOnePickAddVideoModalCommand.ts#L5) +Defined in: [src/parser/classes/OpenOnePickAddVideoModalCommand.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/OpenOnePickAddVideoModalCommand.ts#L5) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/OpenOnePickAddVideoModalCommand.ts:5](https://gi > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is OpenOnePickAddVideoModalCommand & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/OpenPopupAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/OpenPopupAction.md index 917fa7a7..0a508e73 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/OpenPopupAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/OpenPopupAction.md @@ -2,7 +2,7 @@ # Class: OpenPopupAction -Defined in: [src/parser/classes/actions/OpenPopupAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/OpenPopupAction.ts#L5) +Defined in: [src/parser/classes/actions/OpenPopupAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/OpenPopupAction.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/actions/OpenPopupAction.ts:5](https://github.com > **new OpenPopupAction**(`data`): `OpenPopupAction` -Defined in: [src/parser/classes/actions/OpenPopupAction.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/OpenPopupAction.ts#L11) +Defined in: [src/parser/classes/actions/OpenPopupAction.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/OpenPopupAction.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/actions/OpenPopupAction.ts:11](https://github.co > **popup**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/actions/OpenPopupAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/OpenPopupAction.ts#L8) +Defined in: [src/parser/classes/actions/OpenPopupAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/OpenPopupAction.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/actions/OpenPopupAction.ts:8](https://github.com > **popup\_type**: `string` -Defined in: [src/parser/classes/actions/OpenPopupAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/OpenPopupAction.ts#L9) +Defined in: [src/parser/classes/actions/OpenPopupAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/OpenPopupAction.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/actions/OpenPopupAction.ts:9](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'OpenPopupAction'` -Defined in: [src/parser/classes/actions/OpenPopupAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/OpenPopupAction.ts#L6) +Defined in: [src/parser/classes/actions/OpenPopupAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/OpenPopupAction.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/actions/OpenPopupAction.ts:6](https://github.com > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is OpenPopupAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PageHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PageHeader.md index 68b60005..c768f300 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PageHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PageHeader.md @@ -2,7 +2,7 @@ # Class: PageHeader -Defined in: [src/parser/classes/PageHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PageHeader.ts#L5) +Defined in: [src/parser/classes/PageHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageHeader.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PageHeader.ts:5](https://github.com/LuanRT/YouTu > **new PageHeader**(`data`): `PageHeader` -Defined in: [src/parser/classes/PageHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PageHeader.ts#L11) +Defined in: [src/parser/classes/PageHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageHeader.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PageHeader.ts:11](https://github.com/LuanRT/YouT > **content**: [`PageHeaderView`](PageHeaderView.md) \| `null` -Defined in: [src/parser/classes/PageHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PageHeader.ts#L9) +Defined in: [src/parser/classes/PageHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageHeader.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PageHeader.ts:9](https://github.com/LuanRT/YouTu > **page\_title**: `string` -Defined in: [src/parser/classes/PageHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PageHeader.ts#L8) +Defined in: [src/parser/classes/PageHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageHeader.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/PageHeader.ts:8](https://github.com/LuanRT/YouTu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PageHeader'` -Defined in: [src/parser/classes/PageHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PageHeader.ts#L6) +Defined in: [src/parser/classes/PageHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageHeader.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/PageHeader.ts:6](https://github.com/LuanRT/YouTu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PageHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PageHeaderView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PageHeaderView.md index 49e9385d..c48dc4e6 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PageHeaderView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PageHeaderView.md @@ -2,7 +2,7 @@ # Class: PageHeaderView -Defined in: [src/parser/classes/PageHeaderView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PageHeaderView.ts#L12) +Defined in: [src/parser/classes/PageHeaderView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageHeaderView.ts#L12) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PageHeaderView.ts:12](https://github.com/LuanRT/ > **new PageHeaderView**(`data`): `PageHeaderView` -Defined in: [src/parser/classes/PageHeaderView.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PageHeaderView.ts#L25) +Defined in: [src/parser/classes/PageHeaderView.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageHeaderView.ts#L25) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PageHeaderView.ts:25](https://github.com/LuanRT/ > **actions**: [`FlexibleActionsView`](FlexibleActionsView.md) \| `null` -Defined in: [src/parser/classes/PageHeaderView.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PageHeaderView.ts#L20) +Defined in: [src/parser/classes/PageHeaderView.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageHeaderView.ts#L20) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PageHeaderView.ts:20](https://github.com/LuanRT/ > **animated\_image**: [`ContentPreviewImageView`](ContentPreviewImageView.md) \| `null` -Defined in: [src/parser/classes/PageHeaderView.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PageHeaderView.ts#L17) +Defined in: [src/parser/classes/PageHeaderView.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageHeaderView.ts#L17) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/PageHeaderView.ts:17](https://github.com/LuanRT/ > **attributation**: [`AttributionView`](AttributionView.md) \| `null` -Defined in: [src/parser/classes/PageHeaderView.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PageHeaderView.ts#L22) +Defined in: [src/parser/classes/PageHeaderView.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageHeaderView.ts#L22) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/PageHeaderView.ts:22](https://github.com/LuanRT/ > **banner**: [`ImageBannerView`](ImageBannerView.md) \| `null` -Defined in: [src/parser/classes/PageHeaderView.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PageHeaderView.ts#L23) +Defined in: [src/parser/classes/PageHeaderView.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageHeaderView.ts#L23) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/PageHeaderView.ts:23](https://github.com/LuanRT/ > **description**: [`DescriptionPreviewView`](DescriptionPreviewView.md) \| `null` -Defined in: [src/parser/classes/PageHeaderView.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PageHeaderView.ts#L21) +Defined in: [src/parser/classes/PageHeaderView.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageHeaderView.ts#L21) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/PageHeaderView.ts:21](https://github.com/LuanRT/ > **hero\_image**: [`ContentPreviewImageView`](ContentPreviewImageView.md) \| `null` -Defined in: [src/parser/classes/PageHeaderView.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PageHeaderView.ts#L18) +Defined in: [src/parser/classes/PageHeaderView.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageHeaderView.ts#L18) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/PageHeaderView.ts:18](https://github.com/LuanRT/ > **image**: [`DecoratedAvatarView`](DecoratedAvatarView.md) \| [`ContentPreviewImageView`](ContentPreviewImageView.md) \| `null` -Defined in: [src/parser/classes/PageHeaderView.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PageHeaderView.ts#L16) +Defined in: [src/parser/classes/PageHeaderView.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageHeaderView.ts#L16) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/PageHeaderView.ts:16](https://github.com/LuanRT/ > **metadata**: [`ContentMetadataView`](ContentMetadataView.md) \| `null` -Defined in: [src/parser/classes/PageHeaderView.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PageHeaderView.ts#L19) +Defined in: [src/parser/classes/PageHeaderView.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageHeaderView.ts#L19) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/PageHeaderView.ts:19](https://github.com/LuanRT/ > **title**: [`DynamicTextView`](DynamicTextView.md) \| `null` -Defined in: [src/parser/classes/PageHeaderView.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PageHeaderView.ts#L15) +Defined in: [src/parser/classes/PageHeaderView.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageHeaderView.ts#L15) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/PageHeaderView.ts:15](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -120,7 +120,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PageHeaderView'` -Defined in: [src/parser/classes/PageHeaderView.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PageHeaderView.ts#L13) +Defined in: [src/parser/classes/PageHeaderView.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageHeaderView.ts#L13) #### Overrides @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/PageHeaderView.ts:13](https://github.com/LuanRT/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -174,7 +174,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PageHeaderView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -212,7 +212,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -250,7 +250,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PageIndicatorView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PageIndicatorView.md new file mode 100644 index 00000000..0a168019 --- /dev/null +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PageIndicatorView.md @@ -0,0 +1,231 @@ +[youtubei.js](../../../../README.md) / [YTNodes](../README.md) / PageIndicatorView + +# Class: PageIndicatorView + +Defined in: [src/parser/classes/PageIndicatorView.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageIndicatorView.ts#L4) + +## Extends + +- [`YTNode`](../../Helpers/classes/YTNode.md) + +## Constructors + +### Constructor + +> **new PageIndicatorView**(`data`): `PageIndicatorView` + +Defined in: [src/parser/classes/PageIndicatorView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageIndicatorView.ts#L10) + +#### Parameters + +##### data + +[`RawNode`](../../../../type-aliases/RawNode.md) + +#### Returns + +`PageIndicatorView` + +#### Overrides + +[`YTNode`](../../Helpers/classes/YTNode.md).[`constructor`](../../Helpers/classes/YTNode.md#constructor) + +## Properties + +### indicator\_count + +> **indicator\_count**: `number` + +Defined in: [src/parser/classes/PageIndicatorView.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageIndicatorView.ts#L7) + +*** + +### selected\_index + +> **selected\_index**: `number` + +Defined in: [src/parser/classes/PageIndicatorView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageIndicatorView.ts#L8) + +*** + +### type + +> `readonly` **type**: `string` + +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`type`](../../Helpers/classes/YTNode.md#type) + +*** + +### type + +> `static` **type**: `string` = `'PageIndicatorView'` + +Defined in: [src/parser/classes/PageIndicatorView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageIndicatorView.ts#L5) + +#### Overrides + +[`YTNode`](../../Helpers/classes/YTNode.md).[`type`](../../Helpers/classes/YTNode.md#type-1) + +## Methods + +### as() + +> **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> + +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) + +Cast to one of the given types. + +#### Type Parameters + +##### T + +`T` *extends* [`YTNode`](../../Helpers/classes/YTNode.md) + +##### K + +`K` *extends* [`YTNodeConstructor`](../../Helpers/interfaces/YTNodeConstructor.md)\<`T`\>[] + +#### Parameters + +##### types + +...`K` + +The types to cast to + +#### Returns + +`InstanceType`\<`K`\[`number`\]\> + +The node cast to one of the given types + +#### Throws + +If the node is not of the given type + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`as`](../../Helpers/classes/YTNode.md#as) + +*** + +### hasKey() + +> **hasKey**\<`T`, `R`\>(`key`): `this is PageIndicatorView & { [k in string]: R }` + +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) + +Check for a key without asserting the type. + +#### Type Parameters + +##### T + +`T` *extends* `string` + +##### R + +`R` = `any` + +#### Parameters + +##### key + +`T` + +The key to check + +#### Returns + +`this is PageIndicatorView & { [k in string]: R }` + +Whether the node has the key + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`hasKey`](../../Helpers/classes/YTNode.md#haskey) + +*** + +### is() + +> **is**\<`T`, `K`\>(...`types`): `this is InstanceType` + +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) + +Check if the node is of the given type. + +#### Type Parameters + +##### T + +`T` *extends* [`YTNode`](../../Helpers/classes/YTNode.md) + +##### K + +`K` *extends* [`YTNodeConstructor`](../../Helpers/interfaces/YTNodeConstructor.md)\<`T`\>[] + +#### Parameters + +##### types + +...`K` + +The type to check + +#### Returns + +`this is InstanceType` + +whether the node is of the given type + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`is`](../../Helpers/classes/YTNode.md#is) + +*** + +### key() + +> **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) + +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) + +Assert that the node has the given key and return it. + +#### Type Parameters + +##### T + +`T` *extends* `string` + +##### R + +`R` = `any` + +#### Parameters + +##### key + +`T` + +The key to check + +#### Returns + +[`Maybe`](../../Helpers/classes/Maybe.md) + +The value of the key wrapped in a Maybe + +#### Throws + +If the node does not have the key + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`key`](../../Helpers/classes/YTNode.md#key) diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PageIntroduction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PageIntroduction.md index ec2d878b..9792a602 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PageIntroduction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PageIntroduction.md @@ -2,7 +2,7 @@ # Class: PageIntroduction -Defined in: [src/parser/classes/PageIntroduction.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PageIntroduction.ts#L5) +Defined in: [src/parser/classes/PageIntroduction.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageIntroduction.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PageIntroduction.ts:5](https://github.com/LuanRT > **new PageIntroduction**(`data`): `PageIntroduction` -Defined in: [src/parser/classes/PageIntroduction.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PageIntroduction.ts#L13) +Defined in: [src/parser/classes/PageIntroduction.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageIntroduction.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PageIntroduction.ts:13](https://github.com/LuanR > **body\_text**: `string` -Defined in: [src/parser/classes/PageIntroduction.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PageIntroduction.ts#L9) +Defined in: [src/parser/classes/PageIntroduction.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageIntroduction.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PageIntroduction.ts:9](https://github.com/LuanRT > **header\_icon\_type**: `string` -Defined in: [src/parser/classes/PageIntroduction.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PageIntroduction.ts#L11) +Defined in: [src/parser/classes/PageIntroduction.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageIntroduction.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/PageIntroduction.ts:11](https://github.com/LuanR > **header\_text**: `string` -Defined in: [src/parser/classes/PageIntroduction.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PageIntroduction.ts#L8) +Defined in: [src/parser/classes/PageIntroduction.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageIntroduction.ts#L8) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/PageIntroduction.ts:8](https://github.com/LuanRT > **page\_title**: `string` -Defined in: [src/parser/classes/PageIntroduction.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PageIntroduction.ts#L10) +Defined in: [src/parser/classes/PageIntroduction.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageIntroduction.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/PageIntroduction.ts:10](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PageIntroduction'` -Defined in: [src/parser/classes/PageIntroduction.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PageIntroduction.ts#L6) +Defined in: [src/parser/classes/PageIntroduction.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PageIntroduction.ts#L6) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/PageIntroduction.ts:6](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PageIntroduction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PanelFooterView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PanelFooterView.md index 9208ca6e..af0640ca 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PanelFooterView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PanelFooterView.md @@ -2,7 +2,7 @@ # Class: PanelFooterView -Defined in: [src/parser/classes/PanelFooterView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PanelFooterView.ts#L5) +Defined in: [src/parser/classes/PanelFooterView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PanelFooterView.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PanelFooterView.ts:5](https://github.com/LuanRT/ > **new PanelFooterView**(`data`): `PanelFooterView` -Defined in: [src/parser/classes/PanelFooterView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PanelFooterView.ts#L12) +Defined in: [src/parser/classes/PanelFooterView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PanelFooterView.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PanelFooterView.ts:12](https://github.com/LuanRT > **primary\_button**: [`ButtonView`](ButtonView.md) \| `null` -Defined in: [src/parser/classes/PanelFooterView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PanelFooterView.ts#L8) +Defined in: [src/parser/classes/PanelFooterView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PanelFooterView.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PanelFooterView.ts:8](https://github.com/LuanRT/ > **secondary\_button**: [`ButtonView`](ButtonView.md) \| `null` -Defined in: [src/parser/classes/PanelFooterView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PanelFooterView.ts#L9) +Defined in: [src/parser/classes/PanelFooterView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PanelFooterView.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/PanelFooterView.ts:9](https://github.com/LuanRT/ > **should\_hide\_divider**: `boolean` -Defined in: [src/parser/classes/PanelFooterView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PanelFooterView.ts#L10) +Defined in: [src/parser/classes/PanelFooterView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PanelFooterView.ts#L10) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/PanelFooterView.ts:10](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PanelFooterView'` -Defined in: [src/parser/classes/PanelFooterView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PanelFooterView.ts#L6) +Defined in: [src/parser/classes/PanelFooterView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PanelFooterView.ts#L6) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/PanelFooterView.ts:6](https://github.com/LuanRT/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PanelFooterView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PdgCommentChip.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PdgCommentChip.md index 3d3b29c1..79918a2f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PdgCommentChip.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PdgCommentChip.md @@ -2,7 +2,7 @@ # Class: PdgCommentChip -Defined in: [src/parser/classes/comments/PdgCommentChip.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/PdgCommentChip.ts#L5) +Defined in: [src/parser/classes/comments/PdgCommentChip.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/PdgCommentChip.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/comments/PdgCommentChip.ts:5](https://github.com > **new PdgCommentChip**(`data`): `PdgCommentChip` -Defined in: [src/parser/classes/comments/PdgCommentChip.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/PdgCommentChip.ts#L15) +Defined in: [src/parser/classes/comments/PdgCommentChip.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/PdgCommentChip.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/comments/PdgCommentChip.ts:15](https://github.co > **color\_pallette**: `object` -Defined in: [src/parser/classes/comments/PdgCommentChip.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/PdgCommentChip.ts#L9) +Defined in: [src/parser/classes/comments/PdgCommentChip.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/PdgCommentChip.ts#L9) #### background\_color? @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/comments/PdgCommentChip.ts:9](https://github.com > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/comments/PdgCommentChip.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/PdgCommentChip.ts#L13) +Defined in: [src/parser/classes/comments/PdgCommentChip.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/PdgCommentChip.ts#L13) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/comments/PdgCommentChip.ts:13](https://github.co > **text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/comments/PdgCommentChip.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/PdgCommentChip.ts#L8) +Defined in: [src/parser/classes/comments/PdgCommentChip.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/PdgCommentChip.ts#L8) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/comments/PdgCommentChip.ts:8](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PdgCommentChip'` -Defined in: [src/parser/classes/comments/PdgCommentChip.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/PdgCommentChip.ts#L6) +Defined in: [src/parser/classes/comments/PdgCommentChip.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/PdgCommentChip.ts#L6) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/comments/PdgCommentChip.ts:6](https://github.com > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PdgCommentChip & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PdgReplyButtonView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PdgReplyButtonView.md index 8779a22e..5dc5df08 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PdgReplyButtonView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PdgReplyButtonView.md @@ -2,7 +2,7 @@ # Class: PdgReplyButtonView -Defined in: [src/parser/classes/livechat/items/PdgReplyButtonView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/PdgReplyButtonView.ts#L6) +Defined in: [src/parser/classes/livechat/items/PdgReplyButtonView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/PdgReplyButtonView.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/PdgReplyButtonView.ts:6](https:// > **new PdgReplyButtonView**(`data`): `PdgReplyButtonView` -Defined in: [src/parser/classes/livechat/items/PdgReplyButtonView.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/PdgReplyButtonView.ts#L13) +Defined in: [src/parser/classes/livechat/items/PdgReplyButtonView.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/PdgReplyButtonView.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/PdgReplyButtonView.ts:13](https:/ > **reply\_button**: [`ButtonView`](ButtonView.md) \| `null` -Defined in: [src/parser/classes/livechat/items/PdgReplyButtonView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/PdgReplyButtonView.ts#L9) +Defined in: [src/parser/classes/livechat/items/PdgReplyButtonView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/PdgReplyButtonView.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/PdgReplyButtonView.ts:9](https:// > **reply\_count\_entity\_key**: `string` -Defined in: [src/parser/classes/livechat/items/PdgReplyButtonView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/PdgReplyButtonView.ts#L10) +Defined in: [src/parser/classes/livechat/items/PdgReplyButtonView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/PdgReplyButtonView.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/items/PdgReplyButtonView.ts:10](https:/ > **reply\_count\_placeholder**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/PdgReplyButtonView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/PdgReplyButtonView.ts#L11) +Defined in: [src/parser/classes/livechat/items/PdgReplyButtonView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/PdgReplyButtonView.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/livechat/items/PdgReplyButtonView.ts:11](https:/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PdgReplyButtonView'` -Defined in: [src/parser/classes/livechat/items/PdgReplyButtonView.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/PdgReplyButtonView.ts#L7) +Defined in: [src/parser/classes/livechat/items/PdgReplyButtonView.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/PdgReplyButtonView.ts#L7) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/livechat/items/PdgReplyButtonView.ts:7](https:// > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PdgReplyButtonView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PerformCommentActionEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PerformCommentActionEndpoint.md index beba3a69..356ab1c2 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PerformCommentActionEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PerformCommentActionEndpoint.md @@ -2,7 +2,7 @@ # Class: PerformCommentActionEndpoint -Defined in: [src/parser/classes/endpoints/PerformCommentActionEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/PerformCommentActionEndpoint.ts#L6) +Defined in: [src/parser/classes/endpoints/PerformCommentActionEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/PerformCommentActionEndpoint.ts#L6) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/parser/classes/endpoints/PerformCommentActionEndpoint.ts:6](htt > **new PerformCommentActionEndpoint**(`data`): `PerformCommentActionEndpoint` -Defined in: [src/parser/classes/endpoints/PerformCommentActionEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/PerformCommentActionEndpoint.ts#L11) +Defined in: [src/parser/classes/endpoints/PerformCommentActionEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/PerformCommentActionEndpoint.ts#L11) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/endpoints/PerformCommentActionEndpoint.ts:11](ht > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -52,7 +52,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PerformCommentActionEndpoint'` -Defined in: [src/parser/classes/endpoints/PerformCommentActionEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/PerformCommentActionEndpoint.ts#L7) +Defined in: [src/parser/classes/endpoints/PerformCommentActionEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/PerformCommentActionEndpoint.ts#L7) #### Overrides @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/endpoints/PerformCommentActionEndpoint.ts:7](htt > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -106,7 +106,7 @@ If the node is not of the given type > **buildRequest**(): [`PerformCommentActionRequest`](../../../../type-aliases/PerformCommentActionRequest.md) -Defined in: [src/parser/classes/endpoints/PerformCommentActionEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/PerformCommentActionEndpoint.ts#L20) +Defined in: [src/parser/classes/endpoints/PerformCommentActionEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/PerformCommentActionEndpoint.ts#L20) #### Returns @@ -122,7 +122,7 @@ Defined in: [src/parser/classes/endpoints/PerformCommentActionEndpoint.ts:20](ht > **getApiPath**(): `string` -Defined in: [src/parser/classes/endpoints/PerformCommentActionEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/PerformCommentActionEndpoint.ts#L16) +Defined in: [src/parser/classes/endpoints/PerformCommentActionEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/PerformCommentActionEndpoint.ts#L16) #### Returns @@ -138,7 +138,7 @@ Defined in: [src/parser/classes/endpoints/PerformCommentActionEndpoint.ts:16](ht > **hasKey**\<`T`, `R`\>(`key`): `this is PerformCommentActionEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -176,7 +176,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -214,7 +214,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PivotBar.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PivotBar.md index 6ff0b83a..2fa20653 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PivotBar.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PivotBar.md @@ -2,7 +2,7 @@ # Class: PivotBar -Defined in: [src/parser/classes/mweb/PivotBar.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/PivotBar.ts#L5) +Defined in: [src/parser/classes/mweb/PivotBar.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/PivotBar.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/mweb/PivotBar.ts:5](https://github.com/LuanRT/Yo > **new PivotBar**(`data`): `PivotBar` -Defined in: [src/parser/classes/mweb/PivotBar.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/PivotBar.ts#L10) +Defined in: [src/parser/classes/mweb/PivotBar.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/PivotBar.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/mweb/PivotBar.ts:10](https://github.com/LuanRT/Y > **items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/mweb/PivotBar.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/PivotBar.ts#L8) +Defined in: [src/parser/classes/mweb/PivotBar.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/PivotBar.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/mweb/PivotBar.ts:8](https://github.com/LuanRT/Yo > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PivotBar'` -Defined in: [src/parser/classes/mweb/PivotBar.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/PivotBar.ts#L6) +Defined in: [src/parser/classes/mweb/PivotBar.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/PivotBar.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/mweb/PivotBar.ts:6](https://github.com/LuanRT/Yo > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PivotBar & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PivotBarItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PivotBarItem.md index 40090827..aa1b973b 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PivotBarItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PivotBarItem.md @@ -2,7 +2,7 @@ # Class: PivotBarItem -Defined in: [src/parser/classes/mweb/PivotBarItem.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/PivotBarItem.ts#L6) +Defined in: [src/parser/classes/mweb/PivotBarItem.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/PivotBarItem.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/mweb/PivotBarItem.ts:6](https://github.com/LuanR > **new PivotBarItem**(`data`): `PivotBarItem` -Defined in: [src/parser/classes/mweb/PivotBarItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/PivotBarItem.ts#L16) +Defined in: [src/parser/classes/mweb/PivotBarItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/PivotBarItem.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/mweb/PivotBarItem.ts:16](https://github.com/Luan > `optional` **accessibility**: `AccessibilitySupportedDatas` -Defined in: [src/parser/classes/mweb/PivotBarItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/PivotBarItem.ts#L14) +Defined in: [src/parser/classes/mweb/PivotBarItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/PivotBarItem.ts#L14) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/mweb/PivotBarItem.ts:14](https://github.com/Luan > `optional` **accessibility\_label**: `string` -Defined in: [src/parser/classes/mweb/PivotBarItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/PivotBarItem.ts#L12) +Defined in: [src/parser/classes/mweb/PivotBarItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/PivotBarItem.ts#L12) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/mweb/PivotBarItem.ts:12](https://github.com/Luan > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/mweb/PivotBarItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/PivotBarItem.ts#L10) +Defined in: [src/parser/classes/mweb/PivotBarItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/PivotBarItem.ts#L10) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/mweb/PivotBarItem.ts:10](https://github.com/Luan > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/mweb/PivotBarItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/PivotBarItem.ts#L13) +Defined in: [src/parser/classes/mweb/PivotBarItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/PivotBarItem.ts#L13) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/mweb/PivotBarItem.ts:13](https://github.com/Luan > **pivot\_identifier**: `string` -Defined in: [src/parser/classes/mweb/PivotBarItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/PivotBarItem.ts#L9) +Defined in: [src/parser/classes/mweb/PivotBarItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/PivotBarItem.ts#L9) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/mweb/PivotBarItem.ts:9](https://github.com/LuanR > **title**: `Text` -Defined in: [src/parser/classes/mweb/PivotBarItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/PivotBarItem.ts#L11) +Defined in: [src/parser/classes/mweb/PivotBarItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/PivotBarItem.ts#L11) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/mweb/PivotBarItem.ts:11](https://github.com/Luan > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PivotBarItem'` -Defined in: [src/parser/classes/mweb/PivotBarItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/PivotBarItem.ts#L7) +Defined in: [src/parser/classes/mweb/PivotBarItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/PivotBarItem.ts#L7) #### Overrides @@ -110,7 +110,7 @@ Defined in: [src/parser/classes/mweb/PivotBarItem.ts:7](https://github.com/LuanR > **get** **label**(): `string` \| `undefined` -Defined in: [src/parser/classes/mweb/PivotBarItem.ts:33](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/PivotBarItem.ts#L33) +Defined in: [src/parser/classes/mweb/PivotBarItem.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/PivotBarItem.ts#L33) ##### Returns @@ -122,7 +122,7 @@ Defined in: [src/parser/classes/mweb/PivotBarItem.ts:33](https://github.com/Luan > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -164,7 +164,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PivotBarItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -202,7 +202,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -240,7 +240,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PivotButton.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PivotButton.md index 38dee9d7..b9a3664f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PivotButton.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PivotButton.md @@ -2,7 +2,7 @@ # Class: PivotButton -Defined in: [src/parser/classes/PivotButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PivotButton.ts#L7) +Defined in: [src/parser/classes/PivotButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PivotButton.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PivotButton.ts:7](https://github.com/LuanRT/YouT > **new PivotButton**(`data`): `PivotButton` -Defined in: [src/parser/classes/PivotButton.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PivotButton.ts#L18) +Defined in: [src/parser/classes/PivotButton.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PivotButton.ts#L18) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PivotButton.ts:18](https://github.com/LuanRT/You > **background\_animation\_style**: `string` -Defined in: [src/parser/classes/PivotButton.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PivotButton.ts#L16) +Defined in: [src/parser/classes/PivotButton.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PivotButton.ts#L16) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PivotButton.ts:16](https://github.com/LuanRT/You > **content\_description**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PivotButton.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PivotButton.ts#L12) +Defined in: [src/parser/classes/PivotButton.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PivotButton.ts#L12) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/PivotButton.ts:12](https://github.com/LuanRT/You > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/PivotButton.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PivotButton.ts#L11) +Defined in: [src/parser/classes/PivotButton.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PivotButton.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/PivotButton.ts:11](https://github.com/LuanRT/You > **sound\_attribution\_title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PivotButton.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PivotButton.ts#L14) +Defined in: [src/parser/classes/PivotButton.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PivotButton.ts#L14) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/PivotButton.ts:14](https://github.com/LuanRT/You > **target\_id**: `string` -Defined in: [src/parser/classes/PivotButton.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PivotButton.ts#L13) +Defined in: [src/parser/classes/PivotButton.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PivotButton.ts#L13) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/PivotButton.ts:13](https://github.com/LuanRT/You > **thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/PivotButton.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PivotButton.ts#L10) +Defined in: [src/parser/classes/PivotButton.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PivotButton.ts#L10) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/PivotButton.ts:10](https://github.com/LuanRT/You > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **waveform\_animation\_style**: `string` -Defined in: [src/parser/classes/PivotButton.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PivotButton.ts#L15) +Defined in: [src/parser/classes/PivotButton.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PivotButton.ts#L15) *** @@ -104,7 +104,7 @@ Defined in: [src/parser/classes/PivotButton.ts:15](https://github.com/LuanRT/You > `static` **type**: `string` = `'PivotButton'` -Defined in: [src/parser/classes/PivotButton.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PivotButton.ts#L8) +Defined in: [src/parser/classes/PivotButton.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PivotButton.ts#L8) #### Overrides @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/PivotButton.ts:8](https://github.com/LuanRT/YouT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -158,7 +158,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PivotButton & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -196,7 +196,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -234,7 +234,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerAnnotationsExpanded.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerAnnotationsExpanded.md index f10c0ec8..05284763 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerAnnotationsExpanded.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerAnnotationsExpanded.md @@ -2,7 +2,7 @@ # Class: PlayerAnnotationsExpanded -Defined in: [src/parser/classes/PlayerAnnotationsExpanded.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerAnnotationsExpanded.ts#L6) +Defined in: [src/parser/classes/PlayerAnnotationsExpanded.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerAnnotationsExpanded.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlayerAnnotationsExpanded.ts:6](https://github.c > **new PlayerAnnotationsExpanded**(`data`): `PlayerAnnotationsExpanded` -Defined in: [src/parser/classes/PlayerAnnotationsExpanded.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerAnnotationsExpanded.ts#L21) +Defined in: [src/parser/classes/PlayerAnnotationsExpanded.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerAnnotationsExpanded.ts#L21) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlayerAnnotationsExpanded.ts:21](https://github. > **allow\_swipe\_dismiss**: `boolean` -Defined in: [src/parser/classes/PlayerAnnotationsExpanded.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerAnnotationsExpanded.ts#L18) +Defined in: [src/parser/classes/PlayerAnnotationsExpanded.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerAnnotationsExpanded.ts#L18) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlayerAnnotationsExpanded.ts:18](https://github. > **annotation\_id**: `string` -Defined in: [src/parser/classes/PlayerAnnotationsExpanded.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerAnnotationsExpanded.ts#L19) +Defined in: [src/parser/classes/PlayerAnnotationsExpanded.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerAnnotationsExpanded.ts#L19) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/PlayerAnnotationsExpanded.ts:19](https://github. > `optional` **featured\_channel**: `object` -Defined in: [src/parser/classes/PlayerAnnotationsExpanded.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerAnnotationsExpanded.ts#L9) +Defined in: [src/parser/classes/PlayerAnnotationsExpanded.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerAnnotationsExpanded.ts#L9) #### channel\_name @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/PlayerAnnotationsExpanded.ts:9](https://github.c > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PlayerAnnotationsExpanded'` -Defined in: [src/parser/classes/PlayerAnnotationsExpanded.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerAnnotationsExpanded.ts#L7) +Defined in: [src/parser/classes/PlayerAnnotationsExpanded.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerAnnotationsExpanded.ts#L7) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/PlayerAnnotationsExpanded.ts:7](https://github.c > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlayerAnnotationsExpanded & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerCaptchaView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerCaptchaView.md new file mode 100644 index 00000000..60e221bc --- /dev/null +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerCaptchaView.md @@ -0,0 +1,255 @@ +[youtubei.js](../../../../README.md) / [YTNodes](../README.md) / PlayerCaptchaView + +# Class: PlayerCaptchaView + +Defined in: [src/parser/classes/PlayerCaptchaView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerCaptchaView.ts#L5) + +## Extends + +- [`YTNode`](../../Helpers/classes/YTNode.md) + +## Constructors + +### Constructor + +> **new PlayerCaptchaView**(`data`): `PlayerCaptchaView` + +Defined in: [src/parser/classes/PlayerCaptchaView.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerCaptchaView.ts#L14) + +#### Parameters + +##### data + +[`RawNode`](../../../../type-aliases/RawNode.md) + +#### Returns + +`PlayerCaptchaView` + +#### Overrides + +[`YTNode`](../../Helpers/classes/YTNode.md).[`constructor`](../../Helpers/classes/YTNode.md#constructor) + +## Properties + +### captcha\_cookie\_set\_failure\_message? + +> `optional` **captcha\_cookie\_set\_failure\_message**: [`Text`](../../Misc/classes/Text.md) + +Defined in: [src/parser/classes/PlayerCaptchaView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerCaptchaView.ts#L11) + +*** + +### captcha\_failed\_message? + +> `optional` **captcha\_failed\_message**: [`Text`](../../Misc/classes/Text.md) + +Defined in: [src/parser/classes/PlayerCaptchaView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerCaptchaView.ts#L12) + +*** + +### captcha\_loading\_message? + +> `optional` **captcha\_loading\_message**: [`Text`](../../Misc/classes/Text.md) + +Defined in: [src/parser/classes/PlayerCaptchaView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerCaptchaView.ts#L8) + +*** + +### captcha\_successful\_message? + +> `optional` **captcha\_successful\_message**: [`Text`](../../Misc/classes/Text.md) + +Defined in: [src/parser/classes/PlayerCaptchaView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerCaptchaView.ts#L10) + +*** + +### challenge\_reason? + +> `optional` **challenge\_reason**: [`Text`](../../Misc/classes/Text.md) + +Defined in: [src/parser/classes/PlayerCaptchaView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerCaptchaView.ts#L9) + +*** + +### type + +> `readonly` **type**: `string` + +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`type`](../../Helpers/classes/YTNode.md#type) + +*** + +### type + +> `static` **type**: `string` = `'PlayerCaptchaView'` + +Defined in: [src/parser/classes/PlayerCaptchaView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerCaptchaView.ts#L6) + +#### Overrides + +[`YTNode`](../../Helpers/classes/YTNode.md).[`type`](../../Helpers/classes/YTNode.md#type-1) + +## Methods + +### as() + +> **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> + +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) + +Cast to one of the given types. + +#### Type Parameters + +##### T + +`T` *extends* [`YTNode`](../../Helpers/classes/YTNode.md) + +##### K + +`K` *extends* [`YTNodeConstructor`](../../Helpers/interfaces/YTNodeConstructor.md)\<`T`\>[] + +#### Parameters + +##### types + +...`K` + +The types to cast to + +#### Returns + +`InstanceType`\<`K`\[`number`\]\> + +The node cast to one of the given types + +#### Throws + +If the node is not of the given type + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`as`](../../Helpers/classes/YTNode.md#as) + +*** + +### hasKey() + +> **hasKey**\<`T`, `R`\>(`key`): `this is PlayerCaptchaView & { [k in string]: R }` + +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) + +Check for a key without asserting the type. + +#### Type Parameters + +##### T + +`T` *extends* `string` + +##### R + +`R` = `any` + +#### Parameters + +##### key + +`T` + +The key to check + +#### Returns + +`this is PlayerCaptchaView & { [k in string]: R }` + +Whether the node has the key + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`hasKey`](../../Helpers/classes/YTNode.md#haskey) + +*** + +### is() + +> **is**\<`T`, `K`\>(...`types`): `this is InstanceType` + +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) + +Check if the node is of the given type. + +#### Type Parameters + +##### T + +`T` *extends* [`YTNode`](../../Helpers/classes/YTNode.md) + +##### K + +`K` *extends* [`YTNodeConstructor`](../../Helpers/interfaces/YTNodeConstructor.md)\<`T`\>[] + +#### Parameters + +##### types + +...`K` + +The type to check + +#### Returns + +`this is InstanceType` + +whether the node is of the given type + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`is`](../../Helpers/classes/YTNode.md#is) + +*** + +### key() + +> **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) + +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) + +Assert that the node has the given key and return it. + +#### Type Parameters + +##### T + +`T` *extends* `string` + +##### R + +`R` = `any` + +#### Parameters + +##### key + +`T` + +The key to check + +#### Returns + +[`Maybe`](../../Helpers/classes/Maybe.md) + +The value of the key wrapped in a Maybe + +#### Throws + +If the node does not have the key + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`key`](../../Helpers/classes/YTNode.md#key) diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerCaptionsTracklist.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerCaptionsTracklist.md index 0ddb3e5a..ba8c5fdb 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerCaptionsTracklist.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerCaptionsTracklist.md @@ -2,7 +2,7 @@ # Class: PlayerCaptionsTracklist -Defined in: [src/parser/classes/PlayerCaptionsTracklist.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerCaptionsTracklist.ts#L14) +Defined in: [src/parser/classes/PlayerCaptionsTracklist.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerCaptionsTracklist.ts#L14) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlayerCaptionsTracklist.ts:14](https://github.co > **new PlayerCaptionsTracklist**(`data`): `PlayerCaptionsTracklist` -Defined in: [src/parser/classes/PlayerCaptionsTracklist.ts:35](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerCaptionsTracklist.ts#L35) +Defined in: [src/parser/classes/PlayerCaptionsTracklist.ts:35](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerCaptionsTracklist.ts#L35) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlayerCaptionsTracklist.ts:35](https://github.co > `optional` **audio\_tracks**: `object`[] -Defined in: [src/parser/classes/PlayerCaptionsTracklist.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerCaptionsTracklist.ts#L19) +Defined in: [src/parser/classes/PlayerCaptionsTracklist.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerCaptionsTracklist.ts#L19) #### audio\_track\_id @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/PlayerCaptionsTracklist.ts:19](https://github.co > `optional` **caption\_tracks**: `CaptionTrackData`[] -Defined in: [src/parser/classes/PlayerCaptionsTracklist.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerCaptionsTracklist.ts#L17) +Defined in: [src/parser/classes/PlayerCaptionsTracklist.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerCaptionsTracklist.ts#L17) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/PlayerCaptionsTracklist.ts:17](https://github.co > `optional` **default\_audio\_track\_index**: `number` -Defined in: [src/parser/classes/PlayerCaptionsTracklist.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerCaptionsTracklist.ts#L28) +Defined in: [src/parser/classes/PlayerCaptionsTracklist.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerCaptionsTracklist.ts#L28) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/PlayerCaptionsTracklist.ts:28](https://github.co > `optional` **translation\_languages**: `object`[] -Defined in: [src/parser/classes/PlayerCaptionsTracklist.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerCaptionsTracklist.ts#L30) +Defined in: [src/parser/classes/PlayerCaptionsTracklist.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerCaptionsTracklist.ts#L30) #### language\_code @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/PlayerCaptionsTracklist.ts:30](https://github.co > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -112,7 +112,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PlayerCaptionsTracklist'` -Defined in: [src/parser/classes/PlayerCaptionsTracklist.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerCaptionsTracklist.ts#L15) +Defined in: [src/parser/classes/PlayerCaptionsTracklist.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerCaptionsTracklist.ts#L15) #### Overrides @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/PlayerCaptionsTracklist.ts:15](https://github.co > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -166,7 +166,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlayerCaptionsTracklist & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -204,7 +204,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -242,7 +242,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerControlsOverlay.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerControlsOverlay.md index 51190df5..011c6a6c 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerControlsOverlay.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerControlsOverlay.md @@ -2,7 +2,7 @@ # Class: PlayerControlsOverlay -Defined in: [src/parser/classes/PlayerControlsOverlay.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerControlsOverlay.ts#L5) +Defined in: [src/parser/classes/PlayerControlsOverlay.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerControlsOverlay.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlayerControlsOverlay.ts:5](https://github.com/L > **new PlayerControlsOverlay**(`data`): `PlayerControlsOverlay` -Defined in: [src/parser/classes/PlayerControlsOverlay.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerControlsOverlay.ts#L10) +Defined in: [src/parser/classes/PlayerControlsOverlay.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerControlsOverlay.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlayerControlsOverlay.ts:10](https://github.com/ > **overflow**: [`PlayerOverflow`](PlayerOverflow.md) \| `null` -Defined in: [src/parser/classes/PlayerControlsOverlay.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerControlsOverlay.ts#L8) +Defined in: [src/parser/classes/PlayerControlsOverlay.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerControlsOverlay.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlayerControlsOverlay.ts:8](https://github.com/L > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PlayerControlsOverlay'` -Defined in: [src/parser/classes/PlayerControlsOverlay.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerControlsOverlay.ts#L6) +Defined in: [src/parser/classes/PlayerControlsOverlay.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerControlsOverlay.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/PlayerControlsOverlay.ts:6](https://github.com/L > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlayerControlsOverlay & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerErrorMessage.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerErrorMessage.md index 6696806e..fb30c7ac 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerErrorMessage.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerErrorMessage.md @@ -2,7 +2,7 @@ # Class: PlayerErrorMessage -Defined in: [src/parser/classes/PlayerErrorMessage.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerErrorMessage.ts#L7) +Defined in: [src/parser/classes/PlayerErrorMessage.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerErrorMessage.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlayerErrorMessage.ts:7](https://github.com/Luan > **new PlayerErrorMessage**(`data`): `PlayerErrorMessage` -Defined in: [src/parser/classes/PlayerErrorMessage.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerErrorMessage.ts#L16) +Defined in: [src/parser/classes/PlayerErrorMessage.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerErrorMessage.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlayerErrorMessage.ts:16](https://github.com/Lua > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/PlayerErrorMessage.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerErrorMessage.ts#L14) +Defined in: [src/parser/classes/PlayerErrorMessage.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerErrorMessage.ts#L14) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlayerErrorMessage.ts:14](https://github.com/Lua > **proceed\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/PlayerErrorMessage.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerErrorMessage.ts#L12) +Defined in: [src/parser/classes/PlayerErrorMessage.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerErrorMessage.ts#L12) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/PlayerErrorMessage.ts:12](https://github.com/Lua > **reason**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlayerErrorMessage.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerErrorMessage.ts#L11) +Defined in: [src/parser/classes/PlayerErrorMessage.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerErrorMessage.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/PlayerErrorMessage.ts:11](https://github.com/Lua > **subreason**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlayerErrorMessage.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerErrorMessage.ts#L10) +Defined in: [src/parser/classes/PlayerErrorMessage.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerErrorMessage.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/PlayerErrorMessage.ts:10](https://github.com/Lua > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/PlayerErrorMessage.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerErrorMessage.ts#L13) +Defined in: [src/parser/classes/PlayerErrorMessage.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerErrorMessage.ts#L13) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/PlayerErrorMessage.ts:13](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PlayerErrorMessage'` -Defined in: [src/parser/classes/PlayerErrorMessage.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerErrorMessage.ts#L8) +Defined in: [src/parser/classes/PlayerErrorMessage.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerErrorMessage.ts#L8) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/PlayerErrorMessage.ts:8](https://github.com/Luan > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlayerErrorMessage & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerLegacyDesktopYpcOffer.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerLegacyDesktopYpcOffer.md index f9741bb4..ad1ecc15 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerLegacyDesktopYpcOffer.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerLegacyDesktopYpcOffer.md @@ -2,7 +2,7 @@ # Class: PlayerLegacyDesktopYpcOffer -Defined in: [src/parser/classes/PlayerLegacyDesktopYpcOffer.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerLegacyDesktopYpcOffer.ts#L4) +Defined in: [src/parser/classes/PlayerLegacyDesktopYpcOffer.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerLegacyDesktopYpcOffer.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlayerLegacyDesktopYpcOffer.ts:4](https://github > **new PlayerLegacyDesktopYpcOffer**(`data`): `PlayerLegacyDesktopYpcOffer` -Defined in: [src/parser/classes/PlayerLegacyDesktopYpcOffer.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerLegacyDesktopYpcOffer.ts#L12) +Defined in: [src/parser/classes/PlayerLegacyDesktopYpcOffer.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerLegacyDesktopYpcOffer.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlayerLegacyDesktopYpcOffer.ts:12](https://githu > **offer\_description**: `string` -Defined in: [src/parser/classes/PlayerLegacyDesktopYpcOffer.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerLegacyDesktopYpcOffer.ts#L9) +Defined in: [src/parser/classes/PlayerLegacyDesktopYpcOffer.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerLegacyDesktopYpcOffer.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlayerLegacyDesktopYpcOffer.ts:9](https://github > **offer\_id**: `string` -Defined in: [src/parser/classes/PlayerLegacyDesktopYpcOffer.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerLegacyDesktopYpcOffer.ts#L10) +Defined in: [src/parser/classes/PlayerLegacyDesktopYpcOffer.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerLegacyDesktopYpcOffer.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/PlayerLegacyDesktopYpcOffer.ts:10](https://githu > **thumbnail**: `string` -Defined in: [src/parser/classes/PlayerLegacyDesktopYpcOffer.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerLegacyDesktopYpcOffer.ts#L8) +Defined in: [src/parser/classes/PlayerLegacyDesktopYpcOffer.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerLegacyDesktopYpcOffer.ts#L8) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/PlayerLegacyDesktopYpcOffer.ts:8](https://github > **title**: `string` -Defined in: [src/parser/classes/PlayerLegacyDesktopYpcOffer.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerLegacyDesktopYpcOffer.ts#L7) +Defined in: [src/parser/classes/PlayerLegacyDesktopYpcOffer.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerLegacyDesktopYpcOffer.ts#L7) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/PlayerLegacyDesktopYpcOffer.ts:7](https://github > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PlayerLegacyDesktopYpcOffer'` -Defined in: [src/parser/classes/PlayerLegacyDesktopYpcOffer.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerLegacyDesktopYpcOffer.ts#L5) +Defined in: [src/parser/classes/PlayerLegacyDesktopYpcOffer.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerLegacyDesktopYpcOffer.ts#L5) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/PlayerLegacyDesktopYpcOffer.ts:5](https://github > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlayerLegacyDesktopYpcOffer & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerLegacyDesktopYpcTrailer.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerLegacyDesktopYpcTrailer.md index 57be0a6a..3cbfcb20 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerLegacyDesktopYpcTrailer.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerLegacyDesktopYpcTrailer.md @@ -2,7 +2,7 @@ # Class: PlayerLegacyDesktopYpcTrailer -Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts#L5) +Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:5](https://gith > **new PlayerLegacyDesktopYpcTrailer**(`data`): `PlayerLegacyDesktopYpcTrailer` -Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts#L18) +Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts#L18) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:18](https://git > **offer\_button\_text**: `string` -Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts#L14) +Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts#L14) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:14](https://git > **offer\_description**: `string` -Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts#L12) +Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts#L12) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:12](https://git > **offer\_headline**: `string` -Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts#L11) +Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:11](https://git > **offer\_id**: `string` -Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts#L13) +Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts#L13) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:13](https://git > **thumbnail**: `string` -Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts#L10) +Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts#L10) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:10](https://git > **title**: `string` -Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts#L9) +Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts#L9) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:9](https://gith > **trailer**: [`YpcTrailer`](YpcTrailer.md) \| `null` -Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts#L16) +Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts#L16) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:16](https://git > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -104,7 +104,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_id**: `string` -Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts#L8) +Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts#L8) *** @@ -112,7 +112,7 @@ Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:8](https://gith > **video\_message**: `string` -Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts#L15) +Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts#L15) *** @@ -120,7 +120,7 @@ Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:15](https://git > `static` **type**: `string` = `'PlayerLegacyDesktopYpcTrailer'` -Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts#L6) +Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts#L6) #### Overrides @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/PlayerLegacyDesktopYpcTrailer.ts:6](https://gith > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -174,7 +174,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlayerLegacyDesktopYpcTrailer & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -212,7 +212,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -250,7 +250,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerLiveStoryboardSpec.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerLiveStoryboardSpec.md index 20f2762e..b5200d5e 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerLiveStoryboardSpec.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerLiveStoryboardSpec.md @@ -2,7 +2,7 @@ # Class: PlayerLiveStoryboardSpec -Defined in: [src/parser/classes/PlayerLiveStoryboardSpec.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerLiveStoryboardSpec.ts#L13) +Defined in: [src/parser/classes/PlayerLiveStoryboardSpec.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerLiveStoryboardSpec.ts#L13) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlayerLiveStoryboardSpec.ts:13](https://github.c > **new PlayerLiveStoryboardSpec**(`data`): `PlayerLiveStoryboardSpec` -Defined in: [src/parser/classes/PlayerLiveStoryboardSpec.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerLiveStoryboardSpec.ts#L18) +Defined in: [src/parser/classes/PlayerLiveStoryboardSpec.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerLiveStoryboardSpec.ts#L18) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlayerLiveStoryboardSpec.ts:18](https://github.c > **board**: `LiveStoryboardData` -Defined in: [src/parser/classes/PlayerLiveStoryboardSpec.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerLiveStoryboardSpec.ts#L16) +Defined in: [src/parser/classes/PlayerLiveStoryboardSpec.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerLiveStoryboardSpec.ts#L16) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlayerLiveStoryboardSpec.ts:16](https://github.c > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PlayerLiveStoryboardSpec'` -Defined in: [src/parser/classes/PlayerLiveStoryboardSpec.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerLiveStoryboardSpec.ts#L14) +Defined in: [src/parser/classes/PlayerLiveStoryboardSpec.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerLiveStoryboardSpec.ts#L14) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/PlayerLiveStoryboardSpec.ts:14](https://github.c > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlayerLiveStoryboardSpec & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerMicroformat.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerMicroformat.md index 5b7aea8f..d09d8f56 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerMicroformat.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerMicroformat.md @@ -2,7 +2,7 @@ # Class: PlayerMicroformat -Defined in: [src/parser/classes/PlayerMicroformat.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerMicroformat.ts#L6) +Defined in: [src/parser/classes/PlayerMicroformat.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerMicroformat.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlayerMicroformat.ts:6](https://github.com/LuanR > **new PlayerMicroformat**(`data`): `PlayerMicroformat` -Defined in: [src/parser/classes/PlayerMicroformat.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerMicroformat.ts#L41) +Defined in: [src/parser/classes/PlayerMicroformat.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerMicroformat.ts#L41) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlayerMicroformat.ts:41](https://github.com/Luan > **available\_countries**: `string`[] -Defined in: [src/parser/classes/PlayerMicroformat.ts:37](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerMicroformat.ts#L37) +Defined in: [src/parser/classes/PlayerMicroformat.ts:37](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerMicroformat.ts#L37) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlayerMicroformat.ts:37](https://github.com/Luan > **category**: `string` -Defined in: [src/parser/classes/PlayerMicroformat.ts:34](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerMicroformat.ts#L34) +Defined in: [src/parser/classes/PlayerMicroformat.ts:34](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerMicroformat.ts#L34) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/PlayerMicroformat.ts:34](https://github.com/Luan > **channel**: `object` -Defined in: [src/parser/classes/PlayerMicroformat.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerMicroformat.ts#L24) +Defined in: [src/parser/classes/PlayerMicroformat.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerMicroformat.ts#L24) #### id @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/PlayerMicroformat.ts:24](https://github.com/Luan > **description**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlayerMicroformat.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerMicroformat.ts#L10) +Defined in: [src/parser/classes/PlayerMicroformat.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerMicroformat.ts#L10) *** @@ -80,7 +80,7 @@ Defined in: [src/parser/classes/PlayerMicroformat.ts:10](https://github.com/Luan > `optional` **embed**: `object` -Defined in: [src/parser/classes/PlayerMicroformat.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerMicroformat.ts#L13) +Defined in: [src/parser/classes/PlayerMicroformat.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerMicroformat.ts#L13) #### flash\_secure\_url @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/PlayerMicroformat.ts:13](https://github.com/Luan > **end\_timestamp**: `Date` \| `null` -Defined in: [src/parser/classes/PlayerMicroformat.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerMicroformat.ts#L39) +Defined in: [src/parser/classes/PlayerMicroformat.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerMicroformat.ts#L39) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/PlayerMicroformat.ts:39](https://github.com/Luan > **has\_ypc\_metadata**: `boolean` -Defined in: [src/parser/classes/PlayerMicroformat.ts:32](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerMicroformat.ts#L32) +Defined in: [src/parser/classes/PlayerMicroformat.ts:32](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerMicroformat.ts#L32) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/PlayerMicroformat.ts:32](https://github.com/Luan > **is\_family\_safe**: `boolean` -Defined in: [src/parser/classes/PlayerMicroformat.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerMicroformat.ts#L30) +Defined in: [src/parser/classes/PlayerMicroformat.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerMicroformat.ts#L30) *** @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/PlayerMicroformat.ts:30](https://github.com/Luan > **is\_unlisted**: `boolean` -Defined in: [src/parser/classes/PlayerMicroformat.ts:31](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerMicroformat.ts#L31) +Defined in: [src/parser/classes/PlayerMicroformat.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerMicroformat.ts#L31) *** @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/PlayerMicroformat.ts:31](https://github.com/Luan > **length\_seconds**: `number` -Defined in: [src/parser/classes/PlayerMicroformat.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerMicroformat.ts#L22) +Defined in: [src/parser/classes/PlayerMicroformat.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerMicroformat.ts#L22) *** @@ -148,7 +148,7 @@ Defined in: [src/parser/classes/PlayerMicroformat.ts:22](https://github.com/Luan > **publish\_date**: `string` -Defined in: [src/parser/classes/PlayerMicroformat.ts:35](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerMicroformat.ts#L35) +Defined in: [src/parser/classes/PlayerMicroformat.ts:35](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerMicroformat.ts#L35) *** @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/PlayerMicroformat.ts:35](https://github.com/Luan > **start\_timestamp**: `Date` \| `null` -Defined in: [src/parser/classes/PlayerMicroformat.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerMicroformat.ts#L38) +Defined in: [src/parser/classes/PlayerMicroformat.ts:38](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerMicroformat.ts#L38) *** @@ -164,7 +164,7 @@ Defined in: [src/parser/classes/PlayerMicroformat.ts:38](https://github.com/Luan > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/PlayerMicroformat.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerMicroformat.ts#L11) +Defined in: [src/parser/classes/PlayerMicroformat.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerMicroformat.ts#L11) *** @@ -172,7 +172,7 @@ Defined in: [src/parser/classes/PlayerMicroformat.ts:11](https://github.com/Luan > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlayerMicroformat.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerMicroformat.ts#L9) +Defined in: [src/parser/classes/PlayerMicroformat.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerMicroformat.ts#L9) *** @@ -180,7 +180,7 @@ Defined in: [src/parser/classes/PlayerMicroformat.ts:9](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -192,7 +192,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **upload\_date**: `string` -Defined in: [src/parser/classes/PlayerMicroformat.ts:36](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerMicroformat.ts#L36) +Defined in: [src/parser/classes/PlayerMicroformat.ts:36](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerMicroformat.ts#L36) *** @@ -200,7 +200,7 @@ Defined in: [src/parser/classes/PlayerMicroformat.ts:36](https://github.com/Luan > **view\_count**: `number` -Defined in: [src/parser/classes/PlayerMicroformat.ts:33](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerMicroformat.ts#L33) +Defined in: [src/parser/classes/PlayerMicroformat.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerMicroformat.ts#L33) *** @@ -208,7 +208,7 @@ Defined in: [src/parser/classes/PlayerMicroformat.ts:33](https://github.com/Luan > `static` **type**: `string` = `'PlayerMicroformat'` -Defined in: [src/parser/classes/PlayerMicroformat.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerMicroformat.ts#L7) +Defined in: [src/parser/classes/PlayerMicroformat.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerMicroformat.ts#L7) #### Overrides @@ -220,7 +220,7 @@ Defined in: [src/parser/classes/PlayerMicroformat.ts:7](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -262,7 +262,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlayerMicroformat & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -300,7 +300,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -338,7 +338,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerOverflow.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerOverflow.md index ba584998..5f71209e 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerOverflow.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerOverflow.md @@ -2,7 +2,7 @@ # Class: PlayerOverflow -Defined in: [src/parser/classes/PlayerOverflow.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverflow.ts#L5) +Defined in: [src/parser/classes/PlayerOverflow.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverflow.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlayerOverflow.ts:5](https://github.com/LuanRT/Y > **new PlayerOverflow**(`data`): `PlayerOverflow` -Defined in: [src/parser/classes/PlayerOverflow.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverflow.ts#L11) +Defined in: [src/parser/classes/PlayerOverflow.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverflow.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlayerOverflow.ts:11](https://github.com/LuanRT/ > **enable\_listen\_first**: `boolean` -Defined in: [src/parser/classes/PlayerOverflow.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverflow.ts#L9) +Defined in: [src/parser/classes/PlayerOverflow.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverflow.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlayerOverflow.ts:9](https://github.com/LuanRT/Y > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/PlayerOverflow.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverflow.ts#L8) +Defined in: [src/parser/classes/PlayerOverflow.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverflow.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/PlayerOverflow.ts:8](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PlayerOverflow'` -Defined in: [src/parser/classes/PlayerOverflow.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverflow.ts#L6) +Defined in: [src/parser/classes/PlayerOverflow.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverflow.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/PlayerOverflow.ts:6](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlayerOverflow & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerOverlay.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerOverlay.md index 0f0e18ef..a5a1786e 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerOverlay.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerOverlay.md @@ -2,7 +2,7 @@ # Class: PlayerOverlay -Defined in: [src/parser/classes/PlayerOverlay.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlay.ts#L10) +Defined in: [src/parser/classes/PlayerOverlay.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlay.ts#L10) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlayerOverlay.ts:10](https://github.com/LuanRT/Y > **new PlayerOverlay**(`data`): `PlayerOverlay` -Defined in: [src/parser/classes/PlayerOverlay.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlay.ts#L23) +Defined in: [src/parser/classes/PlayerOverlay.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlay.ts#L23) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlayerOverlay.ts:23](https://github.com/LuanRT/Y > **actions**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/PlayerOverlay.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlay.ts#L18) +Defined in: [src/parser/classes/PlayerOverlay.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlay.ts#L18) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlayerOverlay.ts:18](https://github.com/LuanRT/Y > **add\_to\_menu**: [`Menu`](Menu.md) \| `null` -Defined in: [src/parser/classes/PlayerOverlay.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlay.ts#L16) +Defined in: [src/parser/classes/PlayerOverlay.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlay.ts#L16) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/PlayerOverlay.ts:16](https://github.com/LuanRT/Y > **autoplay**: [`PlayerOverlayAutoplay`](PlayerOverlayAutoplay.md) \| `null` -Defined in: [src/parser/classes/PlayerOverlay.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlay.ts#L14) +Defined in: [src/parser/classes/PlayerOverlay.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlay.ts#L14) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/PlayerOverlay.ts:14](https://github.com/LuanRT/Y > **browser\_media\_session**: [`YTNode`](../../Helpers/classes/YTNode.md) \| `null` -Defined in: [src/parser/classes/PlayerOverlay.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlay.ts#L19) +Defined in: [src/parser/classes/PlayerOverlay.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlay.ts#L19) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/PlayerOverlay.ts:19](https://github.com/LuanRT/Y > **decorated\_player\_bar**: [`DecoratedPlayerBar`](DecoratedPlayerBar.md) \| `null` -Defined in: [src/parser/classes/PlayerOverlay.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlay.ts#L20) +Defined in: [src/parser/classes/PlayerOverlay.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlay.ts#L20) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/PlayerOverlay.ts:20](https://github.com/LuanRT/Y > **end\_screen**: [`WatchNextEndScreen`](WatchNextEndScreen.md) \| `null` -Defined in: [src/parser/classes/PlayerOverlay.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlay.ts#L13) +Defined in: [src/parser/classes/PlayerOverlay.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlay.ts#L13) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/PlayerOverlay.ts:13](https://github.com/LuanRT/Y > **fullscreen\_engagement**: [`YTNode`](../../Helpers/classes/YTNode.md) \| `null` -Defined in: [src/parser/classes/PlayerOverlay.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlay.ts#L17) +Defined in: [src/parser/classes/PlayerOverlay.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlay.ts#L17) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/PlayerOverlay.ts:17](https://github.com/LuanRT/Y > **share\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/PlayerOverlay.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlay.ts#L15) +Defined in: [src/parser/classes/PlayerOverlay.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlay.ts#L15) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/PlayerOverlay.ts:15](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -112,7 +112,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_details**: [`PlayerOverlayVideoDetails`](PlayerOverlayVideoDetails.md) \| `null` -Defined in: [src/parser/classes/PlayerOverlay.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlay.ts#L21) +Defined in: [src/parser/classes/PlayerOverlay.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlay.ts#L21) *** @@ -120,7 +120,7 @@ Defined in: [src/parser/classes/PlayerOverlay.ts:21](https://github.com/LuanRT/Y > `static` **type**: `string` = `'PlayerOverlay'` -Defined in: [src/parser/classes/PlayerOverlay.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlay.ts#L11) +Defined in: [src/parser/classes/PlayerOverlay.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlay.ts#L11) #### Overrides @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/PlayerOverlay.ts:11](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -174,7 +174,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlayerOverlay & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -212,7 +212,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -250,7 +250,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerOverlayAutoplay.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerOverlayAutoplay.md index 177375cc..a25e4a90 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerOverlayAutoplay.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerOverlayAutoplay.md @@ -2,7 +2,7 @@ # Class: PlayerOverlayAutoplay -Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlayAutoplay.ts#L8) +Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlayAutoplay.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:8](https://github.com/L > **new PlayerOverlayAutoplay**(`data`): `PlayerOverlayAutoplay` -Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlayAutoplay.ts#L28) +Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlayAutoplay.ts#L28) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:28](https://github.com/ > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlayAutoplay.ts#L23) +Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlayAutoplay.ts#L23) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:23](https://github.com/ > **background**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlayAutoplay.ts#L21) +Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlayAutoplay.ts#L21) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:21](https://github.com/ > **cancel\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlayAutoplay.ts#L24) +Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlayAutoplay.ts#L24) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:24](https://github.com/ > **close\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlayAutoplay.ts#L26) +Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlayAutoplay.ts#L26) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:26](https://github.com/ > **count\_down\_secs\_for\_fullscreen**: `any` -Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlayAutoplay.ts#L18) +Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlayAutoplay.ts#L18) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:18](https://github.com/ > **next\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlayAutoplay.ts#L25) +Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlayAutoplay.ts#L25) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:25](https://github.com/ > **prefer\_immediate\_redirect**: `any` -Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlayAutoplay.ts#L17) +Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlayAutoplay.ts#L17) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:17](https://github.com/ > **published**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlayAutoplay.ts#L20) +Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlayAutoplay.ts#L20) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:20](https://github.com/ > **short\_view\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlayAutoplay.ts#L14) +Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlayAutoplay.ts#L14) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:14](https://github.com/ > **thumbnail\_overlays**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlayAutoplay.ts#L22) +Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlayAutoplay.ts#L22) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:22](https://github.com/ > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlayAutoplay.ts#L11) +Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlayAutoplay.ts#L11) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:11](https://github.com/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -136,7 +136,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_id**: `string` -Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlayAutoplay.ts#L12) +Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlayAutoplay.ts#L12) *** @@ -144,7 +144,7 @@ Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:12](https://github.com/ > **video\_title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlayAutoplay.ts#L13) +Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlayAutoplay.ts#L13) *** @@ -152,7 +152,7 @@ Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:13](https://github.com/ > `static` **type**: `string` = `'PlayerOverlayAutoplay'` -Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlayAutoplay.ts#L9) +Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlayAutoplay.ts#L9) #### Overrides @@ -164,7 +164,7 @@ Defined in: [src/parser/classes/PlayerOverlayAutoplay.ts:9](https://github.com/L > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -206,7 +206,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlayerOverlayAutoplay & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -244,7 +244,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -282,7 +282,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerOverlayVideoDetails.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerOverlayVideoDetails.md index 8f7aca04..dc2e9dbf 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerOverlayVideoDetails.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerOverlayVideoDetails.md @@ -2,7 +2,7 @@ # Class: PlayerOverlayVideoDetails -Defined in: [src/parser/classes/PlayerOverlayVideoDetails.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlayVideoDetails.ts#L5) +Defined in: [src/parser/classes/PlayerOverlayVideoDetails.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlayVideoDetails.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlayerOverlayVideoDetails.ts:5](https://github.c > **new PlayerOverlayVideoDetails**(`data`): `PlayerOverlayVideoDetails` -Defined in: [src/parser/classes/PlayerOverlayVideoDetails.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlayVideoDetails.ts#L11) +Defined in: [src/parser/classes/PlayerOverlayVideoDetails.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlayVideoDetails.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlayerOverlayVideoDetails.ts:11](https://github. > **subtitle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlayerOverlayVideoDetails.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlayVideoDetails.ts#L9) +Defined in: [src/parser/classes/PlayerOverlayVideoDetails.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlayVideoDetails.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlayerOverlayVideoDetails.ts:9](https://github.c > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlayerOverlayVideoDetails.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlayVideoDetails.ts#L8) +Defined in: [src/parser/classes/PlayerOverlayVideoDetails.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlayVideoDetails.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/PlayerOverlayVideoDetails.ts:8](https://github.c > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PlayerOverlayVideoDetails'` -Defined in: [src/parser/classes/PlayerOverlayVideoDetails.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerOverlayVideoDetails.ts#L6) +Defined in: [src/parser/classes/PlayerOverlayVideoDetails.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerOverlayVideoDetails.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/PlayerOverlayVideoDetails.ts:6](https://github.c > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlayerOverlayVideoDetails & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerStoryboardSpec.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerStoryboardSpec.md index 553c921c..853fb4b2 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerStoryboardSpec.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlayerStoryboardSpec.md @@ -2,7 +2,7 @@ # Class: PlayerStoryboardSpec -Defined in: [src/parser/classes/PlayerStoryboardSpec.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerStoryboardSpec.ts#L16) +Defined in: [src/parser/classes/PlayerStoryboardSpec.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerStoryboardSpec.ts#L16) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlayerStoryboardSpec.ts:16](https://github.com/L > **new PlayerStoryboardSpec**(`data`): `PlayerStoryboardSpec` -Defined in: [src/parser/classes/PlayerStoryboardSpec.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerStoryboardSpec.ts#L21) +Defined in: [src/parser/classes/PlayerStoryboardSpec.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerStoryboardSpec.ts#L21) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlayerStoryboardSpec.ts:21](https://github.com/L > **boards**: `StoryboardData`[] -Defined in: [src/parser/classes/PlayerStoryboardSpec.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerStoryboardSpec.ts#L19) +Defined in: [src/parser/classes/PlayerStoryboardSpec.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerStoryboardSpec.ts#L19) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlayerStoryboardSpec.ts:19](https://github.com/L > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PlayerStoryboardSpec'` -Defined in: [src/parser/classes/PlayerStoryboardSpec.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlayerStoryboardSpec.ts#L17) +Defined in: [src/parser/classes/PlayerStoryboardSpec.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlayerStoryboardSpec.ts#L17) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/PlayerStoryboardSpec.ts:17](https://github.com/L > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlayerStoryboardSpec & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Playlist.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Playlist.md index 0ed000c5..cbd61f5f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Playlist.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Playlist.md @@ -2,7 +2,7 @@ # Class: Playlist -Defined in: [src/parser/classes/Playlist.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L10) +Defined in: [src/parser/classes/Playlist.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L10) ## Extends @@ -20,7 +20,7 @@ Defined in: [src/parser/classes/Playlist.ts:10](https://github.com/LuanRT/YouTub > **new Playlist**(`data`): `Playlist` -Defined in: [src/parser/classes/Playlist.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L28) +Defined in: [src/parser/classes/Playlist.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L28) #### Parameters @@ -42,7 +42,7 @@ Defined in: [src/parser/classes/Playlist.ts:28](https://github.com/LuanRT/YouTub > **author**: [`Text`](../../Misc/classes/Text.md) \| [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/Playlist.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L15) +Defined in: [src/parser/classes/Playlist.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L15) *** @@ -50,7 +50,7 @@ Defined in: [src/parser/classes/Playlist.ts:15](https://github.com/LuanRT/YouTub > **badges**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/Playlist.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L23) +Defined in: [src/parser/classes/Playlist.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L23) *** @@ -58,7 +58,7 @@ Defined in: [src/parser/classes/Playlist.ts:23](https://github.com/LuanRT/YouTub > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/Playlist.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L24) +Defined in: [src/parser/classes/Playlist.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L24) *** @@ -66,7 +66,7 @@ Defined in: [src/parser/classes/Playlist.ts:24](https://github.com/LuanRT/YouTub > **first\_videos**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/Playlist.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L20) +Defined in: [src/parser/classes/Playlist.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L20) *** @@ -74,7 +74,7 @@ Defined in: [src/parser/classes/Playlist.ts:20](https://github.com/LuanRT/YouTub > **id**: `string` -Defined in: [src/parser/classes/Playlist.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L13) +Defined in: [src/parser/classes/Playlist.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L13) *** @@ -82,7 +82,7 @@ Defined in: [src/parser/classes/Playlist.ts:13](https://github.com/LuanRT/YouTub > **menu**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/Playlist.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L22) +Defined in: [src/parser/classes/Playlist.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L22) *** @@ -90,7 +90,7 @@ Defined in: [src/parser/classes/Playlist.ts:22](https://github.com/LuanRT/YouTub > **share\_url**: `string` \| `null` -Defined in: [src/parser/classes/Playlist.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L21) +Defined in: [src/parser/classes/Playlist.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L21) *** @@ -98,7 +98,7 @@ Defined in: [src/parser/classes/Playlist.ts:21](https://github.com/LuanRT/YouTub > **thumbnail\_overlays**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/Playlist.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L25) +Defined in: [src/parser/classes/Playlist.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L25) *** @@ -106,7 +106,7 @@ Defined in: [src/parser/classes/Playlist.ts:25](https://github.com/LuanRT/YouTub > `optional` **thumbnail\_renderer**: [`PlaylistCustomThumbnail`](PlaylistCustomThumbnail.md) \| [`PlaylistVideoThumbnail`](PlaylistVideoThumbnail.md) -Defined in: [src/parser/classes/Playlist.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L17) +Defined in: [src/parser/classes/Playlist.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L17) *** @@ -114,7 +114,7 @@ Defined in: [src/parser/classes/Playlist.ts:17](https://github.com/LuanRT/YouTub > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/Playlist.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L16) +Defined in: [src/parser/classes/Playlist.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L16) *** @@ -122,7 +122,7 @@ Defined in: [src/parser/classes/Playlist.ts:16](https://github.com/LuanRT/YouTub > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Playlist.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L14) +Defined in: [src/parser/classes/Playlist.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L14) *** @@ -130,7 +130,7 @@ Defined in: [src/parser/classes/Playlist.ts:14](https://github.com/LuanRT/YouTub > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -142,7 +142,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Playlist.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L18) +Defined in: [src/parser/classes/Playlist.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L18) *** @@ -150,7 +150,7 @@ Defined in: [src/parser/classes/Playlist.ts:18](https://github.com/LuanRT/YouTub > **video\_count\_short**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Playlist.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L19) +Defined in: [src/parser/classes/Playlist.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L19) *** @@ -158,7 +158,7 @@ Defined in: [src/parser/classes/Playlist.ts:19](https://github.com/LuanRT/YouTub > `optional` **view\_playlist**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Playlist.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L26) +Defined in: [src/parser/classes/Playlist.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L26) *** @@ -166,7 +166,7 @@ Defined in: [src/parser/classes/Playlist.ts:26](https://github.com/LuanRT/YouTub > `static` **type**: `string` = `'Playlist'` -Defined in: [src/parser/classes/Playlist.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Playlist.ts#L11) +Defined in: [src/parser/classes/Playlist.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Playlist.ts#L11) #### Overrides @@ -178,7 +178,7 @@ Defined in: [src/parser/classes/Playlist.ts:11](https://github.com/LuanRT/YouTub > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -220,7 +220,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Playlist & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -258,7 +258,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -296,7 +296,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistAddToOption.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistAddToOption.md index f49be131..59981bcc 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistAddToOption.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistAddToOption.md @@ -2,7 +2,7 @@ # Class: PlaylistAddToOption -Defined in: [src/parser/classes/PlaylistAddToOption.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistAddToOption.ts#L10) +Defined in: [src/parser/classes/PlaylistAddToOption.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistAddToOption.ts#L10) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlaylistAddToOption.ts:10](https://github.com/Lu > **new PlaylistAddToOption**(`data`): `PlaylistAddToOption` -Defined in: [src/parser/classes/PlaylistAddToOption.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistAddToOption.ts#L21) +Defined in: [src/parser/classes/PlaylistAddToOption.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistAddToOption.ts#L21) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlaylistAddToOption.ts:21](https://github.com/Lu > **add\_to\_playlist\_service\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/PlaylistAddToOption.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistAddToOption.ts#L13) +Defined in: [src/parser/classes/PlaylistAddToOption.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistAddToOption.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlaylistAddToOption.ts:13](https://github.com/Lu > **contains\_selected\_videos**: `"ALL"` \| `"NONE"` -Defined in: [src/parser/classes/PlaylistAddToOption.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistAddToOption.ts#L14) +Defined in: [src/parser/classes/PlaylistAddToOption.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistAddToOption.ts#L14) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/PlaylistAddToOption.ts:14](https://github.com/Lu > **playlist\_id**: `string` -Defined in: [src/parser/classes/PlaylistAddToOption.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistAddToOption.ts#L15) +Defined in: [src/parser/classes/PlaylistAddToOption.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistAddToOption.ts#L15) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/PlaylistAddToOption.ts:15](https://github.com/Lu > **privacy**: `string` -Defined in: [src/parser/classes/PlaylistAddToOption.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistAddToOption.ts#L16) +Defined in: [src/parser/classes/PlaylistAddToOption.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistAddToOption.ts#L16) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/PlaylistAddToOption.ts:16](https://github.com/Lu > **privacy\_icon**: `PrivacyIcon` -Defined in: [src/parser/classes/PlaylistAddToOption.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistAddToOption.ts#L17) +Defined in: [src/parser/classes/PlaylistAddToOption.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistAddToOption.ts#L17) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/PlaylistAddToOption.ts:17](https://github.com/Lu > **remove\_from\_playlist\_service\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/PlaylistAddToOption.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistAddToOption.ts#L18) +Defined in: [src/parser/classes/PlaylistAddToOption.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistAddToOption.ts#L18) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/PlaylistAddToOption.ts:18](https://github.com/Lu > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlaylistAddToOption.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistAddToOption.ts#L19) +Defined in: [src/parser/classes/PlaylistAddToOption.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistAddToOption.ts#L19) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/PlaylistAddToOption.ts:19](https://github.com/Lu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -104,7 +104,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PlaylistAddToOption'` -Defined in: [src/parser/classes/PlaylistAddToOption.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistAddToOption.ts#L11) +Defined in: [src/parser/classes/PlaylistAddToOption.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistAddToOption.ts#L11) #### Overrides @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/PlaylistAddToOption.ts:11](https://github.com/Lu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -158,7 +158,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlaylistAddToOption & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -196,7 +196,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -234,7 +234,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistCustomThumbnail.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistCustomThumbnail.md index c5f2da28..10617ac9 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistCustomThumbnail.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistCustomThumbnail.md @@ -2,7 +2,7 @@ # Class: PlaylistCustomThumbnail -Defined in: [src/parser/classes/PlaylistCustomThumbnail.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistCustomThumbnail.ts#L5) +Defined in: [src/parser/classes/PlaylistCustomThumbnail.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistCustomThumbnail.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlaylistCustomThumbnail.ts:5](https://github.com > **new PlaylistCustomThumbnail**(`data`): `PlaylistCustomThumbnail` -Defined in: [src/parser/classes/PlaylistCustomThumbnail.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistCustomThumbnail.ts#L10) +Defined in: [src/parser/classes/PlaylistCustomThumbnail.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistCustomThumbnail.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlaylistCustomThumbnail.ts:10](https://github.co > **thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/PlaylistCustomThumbnail.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistCustomThumbnail.ts#L8) +Defined in: [src/parser/classes/PlaylistCustomThumbnail.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistCustomThumbnail.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlaylistCustomThumbnail.ts:8](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PlaylistCustomThumbnail'` -Defined in: [src/parser/classes/PlaylistCustomThumbnail.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistCustomThumbnail.ts#L6) +Defined in: [src/parser/classes/PlaylistCustomThumbnail.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistCustomThumbnail.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/PlaylistCustomThumbnail.ts:6](https://github.com > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlaylistCustomThumbnail & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistEditEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistEditEndpoint.md index 085b37ea..ef1d8f50 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistEditEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistEditEndpoint.md @@ -2,7 +2,7 @@ # Class: PlaylistEditEndpoint -Defined in: [src/parser/classes/endpoints/PlaylistEditEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/PlaylistEditEndpoint.ts#L6) +Defined in: [src/parser/classes/endpoints/PlaylistEditEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/PlaylistEditEndpoint.ts#L6) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/parser/classes/endpoints/PlaylistEditEndpoint.ts:6](https://git > **new PlaylistEditEndpoint**(`data`): `PlaylistEditEndpoint` -Defined in: [src/parser/classes/endpoints/PlaylistEditEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/PlaylistEditEndpoint.ts#L11) +Defined in: [src/parser/classes/endpoints/PlaylistEditEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/PlaylistEditEndpoint.ts#L11) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/endpoints/PlaylistEditEndpoint.ts:11](https://gi > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -52,7 +52,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PlaylistEditEndpoint'` -Defined in: [src/parser/classes/endpoints/PlaylistEditEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/PlaylistEditEndpoint.ts#L7) +Defined in: [src/parser/classes/endpoints/PlaylistEditEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/PlaylistEditEndpoint.ts#L7) #### Overrides @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/endpoints/PlaylistEditEndpoint.ts:7](https://git > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -106,7 +106,7 @@ If the node is not of the given type > **buildRequest**(): [`PlaylistEditRequest`](../../../../type-aliases/PlaylistEditRequest.md) -Defined in: [src/parser/classes/endpoints/PlaylistEditEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/PlaylistEditEndpoint.ts#L20) +Defined in: [src/parser/classes/endpoints/PlaylistEditEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/PlaylistEditEndpoint.ts#L20) #### Returns @@ -122,7 +122,7 @@ Defined in: [src/parser/classes/endpoints/PlaylistEditEndpoint.ts:20](https://gi > **getApiPath**(): `string` -Defined in: [src/parser/classes/endpoints/PlaylistEditEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/PlaylistEditEndpoint.ts#L16) +Defined in: [src/parser/classes/endpoints/PlaylistEditEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/PlaylistEditEndpoint.ts#L16) #### Returns @@ -138,7 +138,7 @@ Defined in: [src/parser/classes/endpoints/PlaylistEditEndpoint.ts:16](https://gi > **hasKey**\<`T`, `R`\>(`key`): `this is PlaylistEditEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -176,7 +176,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -214,7 +214,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistHeader.md index b3130a53..cd5eac04 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistHeader.md @@ -2,7 +2,7 @@ # Class: PlaylistHeader -Defined in: [src/parser/classes/PlaylistHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistHeader.ts#L6) +Defined in: [src/parser/classes/PlaylistHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistHeader.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlaylistHeader.ts:6](https://github.com/LuanRT/Y > **new PlaylistHeader**(`data`): `PlaylistHeader` -Defined in: [src/parser/classes/PlaylistHeader.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistHeader.ts#L27) +Defined in: [src/parser/classes/PlaylistHeader.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistHeader.ts#L27) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlaylistHeader.ts:27](https://github.com/LuanRT/ > **author**: [`Author`](../../Misc/classes/Author.md) \| `null` -Defined in: [src/parser/classes/PlaylistHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistHeader.ts#L14) +Defined in: [src/parser/classes/PlaylistHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistHeader.ts#L14) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlaylistHeader.ts:14](https://github.com/LuanRT/ > **banner**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/PlaylistHeader.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistHeader.ts#L25) +Defined in: [src/parser/classes/PlaylistHeader.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistHeader.ts#L25) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/PlaylistHeader.ts:25](https://github.com/LuanRT/ > **brief\_stats**: [`Text`](../../Misc/classes/Text.md)[] -Defined in: [src/parser/classes/PlaylistHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistHeader.ts#L13) +Defined in: [src/parser/classes/PlaylistHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistHeader.ts#L13) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/PlaylistHeader.ts:13](https://github.com/LuanRT/ > **can\_delete**: `boolean` -Defined in: [src/parser/classes/PlaylistHeader.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistHeader.ts#L19) +Defined in: [src/parser/classes/PlaylistHeader.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistHeader.ts#L19) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/PlaylistHeader.ts:19](https://github.com/LuanRT/ > **can\_share**: `boolean` -Defined in: [src/parser/classes/PlaylistHeader.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistHeader.ts#L18) +Defined in: [src/parser/classes/PlaylistHeader.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistHeader.ts#L18) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/PlaylistHeader.ts:18](https://github.com/LuanRT/ > **description**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlaylistHeader.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistHeader.ts#L15) +Defined in: [src/parser/classes/PlaylistHeader.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistHeader.ts#L15) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/PlaylistHeader.ts:15](https://github.com/LuanRT/ > **id**: `string` -Defined in: [src/parser/classes/PlaylistHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistHeader.ts#L9) +Defined in: [src/parser/classes/PlaylistHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistHeader.ts#L9) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/PlaylistHeader.ts:9](https://github.com/LuanRT/Y > **is\_editable**: `boolean` -Defined in: [src/parser/classes/PlaylistHeader.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistHeader.ts#L20) +Defined in: [src/parser/classes/PlaylistHeader.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistHeader.ts#L20) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/PlaylistHeader.ts:20](https://github.com/LuanRT/ > **menu**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/PlaylistHeader.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistHeader.ts#L24) +Defined in: [src/parser/classes/PlaylistHeader.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistHeader.ts#L24) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/PlaylistHeader.ts:24](https://github.com/LuanRT/ > **num\_videos**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlaylistHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistHeader.ts#L16) +Defined in: [src/parser/classes/PlaylistHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistHeader.ts#L16) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/PlaylistHeader.ts:16](https://github.com/LuanRT/ > **privacy**: `string` -Defined in: [src/parser/classes/PlaylistHeader.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistHeader.ts#L21) +Defined in: [src/parser/classes/PlaylistHeader.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistHeader.ts#L21) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/PlaylistHeader.ts:21](https://github.com/LuanRT/ > **save\_button**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/PlaylistHeader.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistHeader.ts#L22) +Defined in: [src/parser/classes/PlaylistHeader.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistHeader.ts#L22) *** @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/PlaylistHeader.ts:22](https://github.com/LuanRT/ > **shuffle\_play\_button**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/PlaylistHeader.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistHeader.ts#L23) +Defined in: [src/parser/classes/PlaylistHeader.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistHeader.ts#L23) *** @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/PlaylistHeader.ts:23](https://github.com/LuanRT/ > **stats**: [`Text`](../../Misc/classes/Text.md)[] -Defined in: [src/parser/classes/PlaylistHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistHeader.ts#L12) +Defined in: [src/parser/classes/PlaylistHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistHeader.ts#L12) *** @@ -148,7 +148,7 @@ Defined in: [src/parser/classes/PlaylistHeader.ts:12](https://github.com/LuanRT/ > **subtitle**: [`Text`](../../Misc/classes/Text.md) \| `null` -Defined in: [src/parser/classes/PlaylistHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistHeader.ts#L11) +Defined in: [src/parser/classes/PlaylistHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistHeader.ts#L11) *** @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/PlaylistHeader.ts:11](https://github.com/LuanRT/ > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlaylistHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistHeader.ts#L10) +Defined in: [src/parser/classes/PlaylistHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistHeader.ts#L10) *** @@ -164,7 +164,7 @@ Defined in: [src/parser/classes/PlaylistHeader.ts:10](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -176,7 +176,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **view\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlaylistHeader.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistHeader.ts#L17) +Defined in: [src/parser/classes/PlaylistHeader.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistHeader.ts#L17) *** @@ -184,7 +184,7 @@ Defined in: [src/parser/classes/PlaylistHeader.ts:17](https://github.com/LuanRT/ > `static` **type**: `string` = `'PlaylistHeader'` -Defined in: [src/parser/classes/PlaylistHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistHeader.ts#L7) +Defined in: [src/parser/classes/PlaylistHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistHeader.ts#L7) #### Overrides @@ -196,7 +196,7 @@ Defined in: [src/parser/classes/PlaylistHeader.ts:7](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -238,7 +238,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlaylistHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -276,7 +276,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -314,7 +314,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistInfoCardContent.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistInfoCardContent.md index 9ec271b7..df944087 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistInfoCardContent.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistInfoCardContent.md @@ -2,7 +2,7 @@ # Class: PlaylistInfoCardContent -Defined in: [src/parser/classes/PlaylistInfoCardContent.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistInfoCardContent.ts#L7) +Defined in: [src/parser/classes/PlaylistInfoCardContent.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistInfoCardContent.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlaylistInfoCardContent.ts:7](https://github.com > **new PlaylistInfoCardContent**(`data`): `PlaylistInfoCardContent` -Defined in: [src/parser/classes/PlaylistInfoCardContent.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistInfoCardContent.ts#L16) +Defined in: [src/parser/classes/PlaylistInfoCardContent.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistInfoCardContent.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlaylistInfoCardContent.ts:16](https://github.co > **channel\_name**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlaylistInfoCardContent.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistInfoCardContent.ts#L13) +Defined in: [src/parser/classes/PlaylistInfoCardContent.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistInfoCardContent.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlaylistInfoCardContent.ts:13](https://github.co > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/PlaylistInfoCardContent.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistInfoCardContent.ts#L14) +Defined in: [src/parser/classes/PlaylistInfoCardContent.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistInfoCardContent.ts#L14) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/PlaylistInfoCardContent.ts:14](https://github.co > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/PlaylistInfoCardContent.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistInfoCardContent.ts#L11) +Defined in: [src/parser/classes/PlaylistInfoCardContent.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistInfoCardContent.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/PlaylistInfoCardContent.ts:11](https://github.co > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlaylistInfoCardContent.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistInfoCardContent.ts#L10) +Defined in: [src/parser/classes/PlaylistInfoCardContent.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistInfoCardContent.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/PlaylistInfoCardContent.ts:10](https://github.co > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlaylistInfoCardContent.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistInfoCardContent.ts#L12) +Defined in: [src/parser/classes/PlaylistInfoCardContent.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistInfoCardContent.ts#L12) *** @@ -88,7 +88,7 @@ Defined in: [src/parser/classes/PlaylistInfoCardContent.ts:12](https://github.co > `static` **type**: `string` = `'PlaylistInfoCardContent'` -Defined in: [src/parser/classes/PlaylistInfoCardContent.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistInfoCardContent.ts#L8) +Defined in: [src/parser/classes/PlaylistInfoCardContent.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistInfoCardContent.ts#L8) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/PlaylistInfoCardContent.ts:8](https://github.com > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlaylistInfoCardContent & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistMetadata.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistMetadata.md index 5f54b45f..cdaa9b6a 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistMetadata.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistMetadata.md @@ -2,7 +2,7 @@ # Class: PlaylistMetadata -Defined in: [src/parser/classes/PlaylistMetadata.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistMetadata.ts#L4) +Defined in: [src/parser/classes/PlaylistMetadata.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistMetadata.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlaylistMetadata.ts:4](https://github.com/LuanRT > **new PlaylistMetadata**(`data`): `PlaylistMetadata` -Defined in: [src/parser/classes/PlaylistMetadata.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistMetadata.ts#L10) +Defined in: [src/parser/classes/PlaylistMetadata.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistMetadata.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlaylistMetadata.ts:10](https://github.com/LuanR > **description**: `string` -Defined in: [src/parser/classes/PlaylistMetadata.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistMetadata.ts#L8) +Defined in: [src/parser/classes/PlaylistMetadata.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistMetadata.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlaylistMetadata.ts:8](https://github.com/LuanRT > **title**: `string` -Defined in: [src/parser/classes/PlaylistMetadata.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistMetadata.ts#L7) +Defined in: [src/parser/classes/PlaylistMetadata.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistMetadata.ts#L7) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/PlaylistMetadata.ts:7](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PlaylistMetadata'` -Defined in: [src/parser/classes/PlaylistMetadata.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistMetadata.ts#L5) +Defined in: [src/parser/classes/PlaylistMetadata.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistMetadata.ts#L5) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/PlaylistMetadata.ts:5](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlaylistMetadata & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistPanel.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistPanel.md index 6440a825..2007d0a8 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistPanel.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistPanel.md @@ -2,7 +2,7 @@ # Class: PlaylistPanel -Defined in: [src/parser/classes/PlaylistPanel.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanel.ts#L8) +Defined in: [src/parser/classes/PlaylistPanel.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanel.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlaylistPanel.ts:8](https://github.com/LuanRT/Yo > **new PlaylistPanel**(`data`): `PlaylistPanel` -Defined in: [src/parser/classes/PlaylistPanel.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanel.ts#L21) +Defined in: [src/parser/classes/PlaylistPanel.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanel.ts#L21) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlaylistPanel.ts:21](https://github.com/LuanRT/Y > **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`PlaylistPanelVideo`](PlaylistPanelVideo.md) \| [`AutomixPreviewVideo`](AutomixPreviewVideo.md) \| [`PlaylistPanelVideoWrapper`](PlaylistPanelVideoWrapper.md)\> -Defined in: [src/parser/classes/PlaylistPanel.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanel.ts#L13) +Defined in: [src/parser/classes/PlaylistPanel.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanel.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlaylistPanel.ts:13](https://github.com/LuanRT/Y > **continuation**: `string` -Defined in: [src/parser/classes/PlaylistPanel.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanel.ts#L16) +Defined in: [src/parser/classes/PlaylistPanel.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanel.ts#L16) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/PlaylistPanel.ts:16](https://github.com/LuanRT/Y > **is\_editable**: `boolean` -Defined in: [src/parser/classes/PlaylistPanel.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanel.ts#L17) +Defined in: [src/parser/classes/PlaylistPanel.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanel.ts#L17) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/PlaylistPanel.ts:17](https://github.com/LuanRT/Y > **is\_infinite**: `boolean` -Defined in: [src/parser/classes/PlaylistPanel.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanel.ts#L15) +Defined in: [src/parser/classes/PlaylistPanel.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanel.ts#L15) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/PlaylistPanel.ts:15](https://github.com/LuanRT/Y > **num\_items\_to\_show**: `string` -Defined in: [src/parser/classes/PlaylistPanel.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanel.ts#L19) +Defined in: [src/parser/classes/PlaylistPanel.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanel.ts#L19) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/PlaylistPanel.ts:19](https://github.com/LuanRT/Y > **playlist\_id**: `string` -Defined in: [src/parser/classes/PlaylistPanel.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanel.ts#L14) +Defined in: [src/parser/classes/PlaylistPanel.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanel.ts#L14) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/PlaylistPanel.ts:14](https://github.com/LuanRT/Y > **preview\_description**: `string` -Defined in: [src/parser/classes/PlaylistPanel.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanel.ts#L18) +Defined in: [src/parser/classes/PlaylistPanel.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanel.ts#L18) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/PlaylistPanel.ts:18](https://github.com/LuanRT/Y > **title**: `string` -Defined in: [src/parser/classes/PlaylistPanel.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanel.ts#L11) +Defined in: [src/parser/classes/PlaylistPanel.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanel.ts#L11) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/PlaylistPanel.ts:11](https://github.com/LuanRT/Y > **title\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlaylistPanel.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanel.ts#L12) +Defined in: [src/parser/classes/PlaylistPanel.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanel.ts#L12) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/PlaylistPanel.ts:12](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -120,7 +120,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PlaylistPanel'` -Defined in: [src/parser/classes/PlaylistPanel.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanel.ts#L9) +Defined in: [src/parser/classes/PlaylistPanel.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanel.ts#L9) #### Overrides @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/PlaylistPanel.ts:9](https://github.com/LuanRT/Yo > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -174,7 +174,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlaylistPanel & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -212,7 +212,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -250,7 +250,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistPanelVideo.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistPanelVideo.md index 84540488..6337b3da 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistPanelVideo.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistPanelVideo.md @@ -2,7 +2,7 @@ # Class: PlaylistPanelVideo -Defined in: [src/parser/classes/PlaylistPanelVideo.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanelVideo.ts#L9) +Defined in: [src/parser/classes/PlaylistPanelVideo.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanelVideo.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlaylistPanelVideo.ts:9](https://github.com/Luan > **new PlaylistPanelVideo**(`data`): `PlaylistPanelVideo` -Defined in: [src/parser/classes/PlaylistPanelVideo.ts:42](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanelVideo.ts#L42) +Defined in: [src/parser/classes/PlaylistPanelVideo.ts:42](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanelVideo.ts#L42) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlaylistPanelVideo.ts:42](https://github.com/Lua > `optional` **album**: `object` -Defined in: [src/parser/classes/PlaylistPanelVideo.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanelVideo.ts#L25) +Defined in: [src/parser/classes/PlaylistPanelVideo.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanelVideo.ts#L25) #### endpoint? @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/PlaylistPanelVideo.ts:25](https://github.com/Lua > `optional` **artists**: `object`[] -Defined in: [src/parser/classes/PlaylistPanelVideo.ts:32](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanelVideo.ts#L32) +Defined in: [src/parser/classes/PlaylistPanelVideo.ts:32](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanelVideo.ts#L32) #### channel\_id? @@ -80,7 +80,7 @@ Defined in: [src/parser/classes/PlaylistPanelVideo.ts:32](https://github.com/Lua > **author**: `string` -Defined in: [src/parser/classes/PlaylistPanelVideo.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanelVideo.ts#L23) +Defined in: [src/parser/classes/PlaylistPanelVideo.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanelVideo.ts#L23) *** @@ -88,7 +88,7 @@ Defined in: [src/parser/classes/PlaylistPanelVideo.ts:23](https://github.com/Lua > **badges**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/PlaylistPanelVideo.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanelVideo.ts#L38) +Defined in: [src/parser/classes/PlaylistPanelVideo.ts:38](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanelVideo.ts#L38) *** @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/PlaylistPanelVideo.ts:38](https://github.com/Lua > **duration**: `object` -Defined in: [src/parser/classes/PlaylistPanelVideo.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanelVideo.ts#L18) +Defined in: [src/parser/classes/PlaylistPanelVideo.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanelVideo.ts#L18) #### seconds @@ -112,7 +112,7 @@ Defined in: [src/parser/classes/PlaylistPanelVideo.ts:18](https://github.com/Lua > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/PlaylistPanelVideo.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanelVideo.ts#L14) +Defined in: [src/parser/classes/PlaylistPanelVideo.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanelVideo.ts#L14) *** @@ -120,7 +120,7 @@ Defined in: [src/parser/classes/PlaylistPanelVideo.ts:14](https://github.com/Lua > **menu**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/PlaylistPanelVideo.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanelVideo.ts#L39) +Defined in: [src/parser/classes/PlaylistPanelVideo.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanelVideo.ts#L39) *** @@ -128,7 +128,7 @@ Defined in: [src/parser/classes/PlaylistPanelVideo.ts:39](https://github.com/Lua > **selected**: `boolean` -Defined in: [src/parser/classes/PlaylistPanelVideo.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanelVideo.ts#L15) +Defined in: [src/parser/classes/PlaylistPanelVideo.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanelVideo.ts#L15) *** @@ -136,7 +136,7 @@ Defined in: [src/parser/classes/PlaylistPanelVideo.ts:15](https://github.com/Lua > `optional` **set\_video\_id**: `string` -Defined in: [src/parser/classes/PlaylistPanelVideo.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanelVideo.ts#L40) +Defined in: [src/parser/classes/PlaylistPanelVideo.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanelVideo.ts#L40) *** @@ -144,7 +144,7 @@ Defined in: [src/parser/classes/PlaylistPanelVideo.ts:40](https://github.com/Lua > **thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/PlaylistPanelVideo.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanelVideo.ts#L13) +Defined in: [src/parser/classes/PlaylistPanelVideo.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanelVideo.ts#L13) *** @@ -152,7 +152,7 @@ Defined in: [src/parser/classes/PlaylistPanelVideo.ts:13](https://github.com/Lua > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlaylistPanelVideo.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanelVideo.ts#L12) +Defined in: [src/parser/classes/PlaylistPanelVideo.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanelVideo.ts#L12) *** @@ -160,7 +160,7 @@ Defined in: [src/parser/classes/PlaylistPanelVideo.ts:12](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -172,7 +172,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_id**: `string` -Defined in: [src/parser/classes/PlaylistPanelVideo.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanelVideo.ts#L16) +Defined in: [src/parser/classes/PlaylistPanelVideo.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanelVideo.ts#L16) *** @@ -180,7 +180,7 @@ Defined in: [src/parser/classes/PlaylistPanelVideo.ts:16](https://github.com/Lua > `static` **type**: `string` = `'PlaylistPanelVideo'` -Defined in: [src/parser/classes/PlaylistPanelVideo.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanelVideo.ts#L10) +Defined in: [src/parser/classes/PlaylistPanelVideo.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanelVideo.ts#L10) #### Overrides @@ -192,7 +192,7 @@ Defined in: [src/parser/classes/PlaylistPanelVideo.ts:10](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -234,7 +234,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlaylistPanelVideo & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -272,7 +272,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -310,7 +310,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistPanelVideoWrapper.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistPanelVideoWrapper.md index dddf2b8c..37b6897e 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistPanelVideoWrapper.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistPanelVideoWrapper.md @@ -2,7 +2,7 @@ # Class: PlaylistPanelVideoWrapper -Defined in: [src/parser/classes/PlaylistPanelVideoWrapper.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanelVideoWrapper.ts#L5) +Defined in: [src/parser/classes/PlaylistPanelVideoWrapper.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanelVideoWrapper.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlaylistPanelVideoWrapper.ts:5](https://github.c > **new PlaylistPanelVideoWrapper**(`data`): `PlaylistPanelVideoWrapper` -Defined in: [src/parser/classes/PlaylistPanelVideoWrapper.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanelVideoWrapper.ts#L11) +Defined in: [src/parser/classes/PlaylistPanelVideoWrapper.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanelVideoWrapper.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlaylistPanelVideoWrapper.ts:11](https://github. > `optional` **counterpart**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`PlaylistPanelVideo`](PlaylistPanelVideo.md)\> -Defined in: [src/parser/classes/PlaylistPanelVideoWrapper.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanelVideoWrapper.ts#L9) +Defined in: [src/parser/classes/PlaylistPanelVideoWrapper.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanelVideoWrapper.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlaylistPanelVideoWrapper.ts:9](https://github.c > **primary**: [`PlaylistPanelVideo`](PlaylistPanelVideo.md) \| `null` -Defined in: [src/parser/classes/PlaylistPanelVideoWrapper.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanelVideoWrapper.ts#L8) +Defined in: [src/parser/classes/PlaylistPanelVideoWrapper.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanelVideoWrapper.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/PlaylistPanelVideoWrapper.ts:8](https://github.c > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PlaylistPanelVideoWrapper'` -Defined in: [src/parser/classes/PlaylistPanelVideoWrapper.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistPanelVideoWrapper.ts#L6) +Defined in: [src/parser/classes/PlaylistPanelVideoWrapper.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistPanelVideoWrapper.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/PlaylistPanelVideoWrapper.ts:6](https://github.c > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlaylistPanelVideoWrapper & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistSidebar.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistSidebar.md index 9f82ee85..df24728c 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistSidebar.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistSidebar.md @@ -2,7 +2,7 @@ # Class: PlaylistSidebar -Defined in: [src/parser/classes/PlaylistSidebar.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistSidebar.ts#L4) +Defined in: [src/parser/classes/PlaylistSidebar.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistSidebar.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlaylistSidebar.ts:4](https://github.com/LuanRT/ > **new PlaylistSidebar**(`data`): `PlaylistSidebar` -Defined in: [src/parser/classes/PlaylistSidebar.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistSidebar.ts#L9) +Defined in: [src/parser/classes/PlaylistSidebar.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistSidebar.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlaylistSidebar.ts:9](https://github.com/LuanRT/ > **items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/PlaylistSidebar.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistSidebar.ts#L7) +Defined in: [src/parser/classes/PlaylistSidebar.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistSidebar.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlaylistSidebar.ts:7](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PlaylistSidebar'` -Defined in: [src/parser/classes/PlaylistSidebar.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistSidebar.ts#L5) +Defined in: [src/parser/classes/PlaylistSidebar.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistSidebar.ts#L5) #### Overrides @@ -70,7 +70,7 @@ Defined in: [src/parser/classes/PlaylistSidebar.ts:5](https://github.com/LuanRT/ > **get** **contents**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/PlaylistSidebar.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistSidebar.ts#L15) +Defined in: [src/parser/classes/PlaylistSidebar.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistSidebar.ts#L15) ##### Returns @@ -82,7 +82,7 @@ Defined in: [src/parser/classes/PlaylistSidebar.ts:15](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -124,7 +124,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlaylistSidebar & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -162,7 +162,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -200,7 +200,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistSidebarPrimaryInfo.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistSidebarPrimaryInfo.md index c341a167..e689508f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistSidebarPrimaryInfo.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistSidebarPrimaryInfo.md @@ -2,7 +2,7 @@ # Class: PlaylistSidebarPrimaryInfo -Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistSidebarPrimaryInfo.ts#L6) +Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistSidebarPrimaryInfo.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:6](https://github. > **new PlaylistSidebarPrimaryInfo**(`data`): `PlaylistSidebarPrimaryInfo` -Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistSidebarPrimaryInfo.ts#L16) +Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistSidebarPrimaryInfo.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:16](https://github > **description**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistSidebarPrimaryInfo.ts#L14) +Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistSidebarPrimaryInfo.ts#L14) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:14](https://github > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistSidebarPrimaryInfo.ts#L13) +Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistSidebarPrimaryInfo.ts#L13) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:13](https://github > **menu**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistSidebarPrimaryInfo.ts#L12) +Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistSidebarPrimaryInfo.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:12](https://github > **stats**: [`Text`](../../Misc/classes/Text.md)[] -Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistSidebarPrimaryInfo.ts#L9) +Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistSidebarPrimaryInfo.ts#L9) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:9](https://github. > **thumbnail\_renderer**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistSidebarPrimaryInfo.ts#L10) +Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistSidebarPrimaryInfo.ts#L10) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:10](https://github > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistSidebarPrimaryInfo.ts#L11) +Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistSidebarPrimaryInfo.ts#L11) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:11](https://github > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PlaylistSidebarPrimaryInfo'` -Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistSidebarPrimaryInfo.ts#L7) +Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistSidebarPrimaryInfo.ts#L7) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/PlaylistSidebarPrimaryInfo.ts:7](https://github. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlaylistSidebarPrimaryInfo & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistSidebarSecondaryInfo.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistSidebarSecondaryInfo.md index 42e95eb0..291af86c 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistSidebarSecondaryInfo.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistSidebarSecondaryInfo.md @@ -2,7 +2,7 @@ # Class: PlaylistSidebarSecondaryInfo -Defined in: [src/parser/classes/PlaylistSidebarSecondaryInfo.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistSidebarSecondaryInfo.ts#L4) +Defined in: [src/parser/classes/PlaylistSidebarSecondaryInfo.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistSidebarSecondaryInfo.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlaylistSidebarSecondaryInfo.ts:4](https://githu > **new PlaylistSidebarSecondaryInfo**(`data`): `PlaylistSidebarSecondaryInfo` -Defined in: [src/parser/classes/PlaylistSidebarSecondaryInfo.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistSidebarSecondaryInfo.ts#L10) +Defined in: [src/parser/classes/PlaylistSidebarSecondaryInfo.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistSidebarSecondaryInfo.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlaylistSidebarSecondaryInfo.ts:10](https://gith > **button**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/PlaylistSidebarSecondaryInfo.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistSidebarSecondaryInfo.ts#L8) +Defined in: [src/parser/classes/PlaylistSidebarSecondaryInfo.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistSidebarSecondaryInfo.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlaylistSidebarSecondaryInfo.ts:8](https://githu > **owner**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/PlaylistSidebarSecondaryInfo.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistSidebarSecondaryInfo.ts#L7) +Defined in: [src/parser/classes/PlaylistSidebarSecondaryInfo.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistSidebarSecondaryInfo.ts#L7) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/PlaylistSidebarSecondaryInfo.ts:7](https://githu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PlaylistSidebarSecondaryInfo'` -Defined in: [src/parser/classes/PlaylistSidebarSecondaryInfo.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistSidebarSecondaryInfo.ts#L5) +Defined in: [src/parser/classes/PlaylistSidebarSecondaryInfo.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistSidebarSecondaryInfo.ts#L5) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/PlaylistSidebarSecondaryInfo.ts:5](https://githu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlaylistSidebarSecondaryInfo & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistThumbnailOverlay.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistThumbnailOverlay.md index f4a4a72c..a03f670f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistThumbnailOverlay.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistThumbnailOverlay.md @@ -2,7 +2,7 @@ # Class: PlaylistThumbnailOverlay -Defined in: [src/parser/classes/PlaylistThumbnailOverlay.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistThumbnailOverlay.ts#L5) +Defined in: [src/parser/classes/PlaylistThumbnailOverlay.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistThumbnailOverlay.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlaylistThumbnailOverlay.ts:5](https://github.co > **new PlaylistThumbnailOverlay**(`data`): `PlaylistThumbnailOverlay` -Defined in: [src/parser/classes/PlaylistThumbnailOverlay.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistThumbnailOverlay.ts#L11) +Defined in: [src/parser/classes/PlaylistThumbnailOverlay.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistThumbnailOverlay.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlaylistThumbnailOverlay.ts:11](https://github.c > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/PlaylistThumbnailOverlay.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistThumbnailOverlay.ts#L8) +Defined in: [src/parser/classes/PlaylistThumbnailOverlay.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistThumbnailOverlay.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlaylistThumbnailOverlay.ts:8](https://github.co > **text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlaylistThumbnailOverlay.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistThumbnailOverlay.ts#L9) +Defined in: [src/parser/classes/PlaylistThumbnailOverlay.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistThumbnailOverlay.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/PlaylistThumbnailOverlay.ts:9](https://github.co > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PlaylistThumbnailOverlay'` -Defined in: [src/parser/classes/PlaylistThumbnailOverlay.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistThumbnailOverlay.ts#L6) +Defined in: [src/parser/classes/PlaylistThumbnailOverlay.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistThumbnailOverlay.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/PlaylistThumbnailOverlay.ts:6](https://github.co > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlaylistThumbnailOverlay & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistVideo.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistVideo.md index be620a21..664861f6 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistVideo.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistVideo.md @@ -2,7 +2,7 @@ # Class: PlaylistVideo -Defined in: [src/parser/classes/PlaylistVideo.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideo.ts#L10) +Defined in: [src/parser/classes/PlaylistVideo.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideo.ts#L10) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlaylistVideo.ts:10](https://github.com/LuanRT/Y > **new PlaylistVideo**(`data`): `PlaylistVideo` -Defined in: [src/parser/classes/PlaylistVideo.ts:33](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideo.ts#L33) +Defined in: [src/parser/classes/PlaylistVideo.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideo.ts#L33) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlaylistVideo.ts:33](https://github.com/LuanRT/Y > `optional` **accessibility\_label**: `string` -Defined in: [src/parser/classes/PlaylistVideo.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideo.ts#L25) +Defined in: [src/parser/classes/PlaylistVideo.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideo.ts#L25) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlaylistVideo.ts:25](https://github.com/LuanRT/Y > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/PlaylistVideo.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideo.ts#L16) +Defined in: [src/parser/classes/PlaylistVideo.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideo.ts#L16) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/PlaylistVideo.ts:16](https://github.com/LuanRT/Y > **duration**: `object` -Defined in: [src/parser/classes/PlaylistVideo.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideo.ts#L28) +Defined in: [src/parser/classes/PlaylistVideo.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideo.ts#L28) #### seconds @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/PlaylistVideo.ts:28](https://github.com/LuanRT/Y > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/PlaylistVideo.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideo.ts#L20) +Defined in: [src/parser/classes/PlaylistVideo.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideo.ts#L20) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/PlaylistVideo.ts:20](https://github.com/LuanRT/Y > **id**: `string` -Defined in: [src/parser/classes/PlaylistVideo.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideo.ts#L13) +Defined in: [src/parser/classes/PlaylistVideo.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideo.ts#L13) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/PlaylistVideo.ts:13](https://github.com/LuanRT/Y > **index**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlaylistVideo.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideo.ts#L14) +Defined in: [src/parser/classes/PlaylistVideo.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideo.ts#L14) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/PlaylistVideo.ts:14](https://github.com/LuanRT/Y > **is\_playable**: `boolean` -Defined in: [src/parser/classes/PlaylistVideo.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideo.ts#L21) +Defined in: [src/parser/classes/PlaylistVideo.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideo.ts#L21) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/PlaylistVideo.ts:21](https://github.com/LuanRT/Y > **menu**: [`Menu`](Menu.md) \| `null` -Defined in: [src/parser/classes/PlaylistVideo.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideo.ts#L22) +Defined in: [src/parser/classes/PlaylistVideo.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideo.ts#L22) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/PlaylistVideo.ts:22](https://github.com/LuanRT/Y > **set\_video\_id**: `string` \| `undefined` -Defined in: [src/parser/classes/PlaylistVideo.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideo.ts#L19) +Defined in: [src/parser/classes/PlaylistVideo.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideo.ts#L19) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/PlaylistVideo.ts:19](https://github.com/LuanRT/Y > `optional` **style**: `string` -Defined in: [src/parser/classes/PlaylistVideo.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideo.ts#L26) +Defined in: [src/parser/classes/PlaylistVideo.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideo.ts#L26) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/PlaylistVideo.ts:26](https://github.com/LuanRT/Y > **thumbnail\_overlays**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/PlaylistVideo.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideo.ts#L18) +Defined in: [src/parser/classes/PlaylistVideo.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideo.ts#L18) *** @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/PlaylistVideo.ts:18](https://github.com/LuanRT/Y > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/PlaylistVideo.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideo.ts#L17) +Defined in: [src/parser/classes/PlaylistVideo.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideo.ts#L17) *** @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/PlaylistVideo.ts:17](https://github.com/LuanRT/Y > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlaylistVideo.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideo.ts#L15) +Defined in: [src/parser/classes/PlaylistVideo.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideo.ts#L15) *** @@ -148,7 +148,7 @@ Defined in: [src/parser/classes/PlaylistVideo.ts:15](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -160,7 +160,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **upcoming**: `Date` -Defined in: [src/parser/classes/PlaylistVideo.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideo.ts#L23) +Defined in: [src/parser/classes/PlaylistVideo.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideo.ts#L23) *** @@ -168,7 +168,7 @@ Defined in: [src/parser/classes/PlaylistVideo.ts:23](https://github.com/LuanRT/Y > **video\_info**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PlaylistVideo.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideo.ts#L24) +Defined in: [src/parser/classes/PlaylistVideo.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideo.ts#L24) *** @@ -176,7 +176,7 @@ Defined in: [src/parser/classes/PlaylistVideo.ts:24](https://github.com/LuanRT/Y > `static` **type**: `string` = `'PlaylistVideo'` -Defined in: [src/parser/classes/PlaylistVideo.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideo.ts#L11) +Defined in: [src/parser/classes/PlaylistVideo.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideo.ts#L11) #### Overrides @@ -190,7 +190,7 @@ Defined in: [src/parser/classes/PlaylistVideo.ts:11](https://github.com/LuanRT/Y > **get** **is\_live**(): `boolean` -Defined in: [src/parser/classes/PlaylistVideo.ts:63](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideo.ts#L63) +Defined in: [src/parser/classes/PlaylistVideo.ts:63](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideo.ts#L63) ##### Returns @@ -204,7 +204,7 @@ Defined in: [src/parser/classes/PlaylistVideo.ts:63](https://github.com/LuanRT/Y > **get** **is\_upcoming**(): `boolean` -Defined in: [src/parser/classes/PlaylistVideo.ts:67](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideo.ts#L67) +Defined in: [src/parser/classes/PlaylistVideo.ts:67](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideo.ts#L67) ##### Returns @@ -216,7 +216,7 @@ Defined in: [src/parser/classes/PlaylistVideo.ts:67](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -258,7 +258,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlaylistVideo & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -296,7 +296,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -334,7 +334,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistVideoList.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistVideoList.md index 1a345ae9..7bf5055d 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistVideoList.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistVideoList.md @@ -2,7 +2,7 @@ # Class: PlaylistVideoList -Defined in: [src/parser/classes/PlaylistVideoList.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideoList.ts#L4) +Defined in: [src/parser/classes/PlaylistVideoList.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideoList.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlaylistVideoList.ts:4](https://github.com/LuanR > **new PlaylistVideoList**(`data`): `PlaylistVideoList` -Defined in: [src/parser/classes/PlaylistVideoList.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideoList.ts#L12) +Defined in: [src/parser/classes/PlaylistVideoList.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideoList.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlaylistVideoList.ts:12](https://github.com/Luan > **can\_reorder**: `boolean` -Defined in: [src/parser/classes/PlaylistVideoList.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideoList.ts#L9) +Defined in: [src/parser/classes/PlaylistVideoList.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideoList.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlaylistVideoList.ts:9](https://github.com/LuanR > **id**: `string` -Defined in: [src/parser/classes/PlaylistVideoList.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideoList.ts#L7) +Defined in: [src/parser/classes/PlaylistVideoList.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideoList.ts#L7) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/PlaylistVideoList.ts:7](https://github.com/LuanR > **is\_editable**: `boolean` -Defined in: [src/parser/classes/PlaylistVideoList.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideoList.ts#L8) +Defined in: [src/parser/classes/PlaylistVideoList.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideoList.ts#L8) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/PlaylistVideoList.ts:8](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **videos**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/PlaylistVideoList.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideoList.ts#L10) +Defined in: [src/parser/classes/PlaylistVideoList.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideoList.ts#L10) *** @@ -80,7 +80,7 @@ Defined in: [src/parser/classes/PlaylistVideoList.ts:10](https://github.com/Luan > `static` **type**: `string` = `'PlaylistVideoList'` -Defined in: [src/parser/classes/PlaylistVideoList.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideoList.ts#L5) +Defined in: [src/parser/classes/PlaylistVideoList.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideoList.ts#L5) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/PlaylistVideoList.ts:5](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlaylistVideoList & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistVideoThumbnail.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistVideoThumbnail.md index 3b1fc458..25445711 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistVideoThumbnail.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PlaylistVideoThumbnail.md @@ -2,7 +2,7 @@ # Class: PlaylistVideoThumbnail -Defined in: [src/parser/classes/PlaylistVideoThumbnail.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideoThumbnail.ts#L5) +Defined in: [src/parser/classes/PlaylistVideoThumbnail.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideoThumbnail.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PlaylistVideoThumbnail.ts:5](https://github.com/ > **new PlaylistVideoThumbnail**(`data`): `PlaylistVideoThumbnail` -Defined in: [src/parser/classes/PlaylistVideoThumbnail.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideoThumbnail.ts#L10) +Defined in: [src/parser/classes/PlaylistVideoThumbnail.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideoThumbnail.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PlaylistVideoThumbnail.ts:10](https://github.com > **thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/PlaylistVideoThumbnail.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideoThumbnail.ts#L8) +Defined in: [src/parser/classes/PlaylistVideoThumbnail.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideoThumbnail.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PlaylistVideoThumbnail.ts:8](https://github.com/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PlaylistVideoThumbnail'` -Defined in: [src/parser/classes/PlaylistVideoThumbnail.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PlaylistVideoThumbnail.ts#L6) +Defined in: [src/parser/classes/PlaylistVideoThumbnail.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PlaylistVideoThumbnail.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/PlaylistVideoThumbnail.ts:6](https://github.com/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PlaylistVideoThumbnail & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Poll.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Poll.md index 0993b1f2..1568bb95 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Poll.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Poll.md @@ -2,7 +2,7 @@ # Class: Poll -Defined in: [src/parser/classes/Poll.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Poll.ts#L7) +Defined in: [src/parser/classes/Poll.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Poll.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/Poll.ts:7](https://github.com/LuanRT/YouTube.js/ > **new Poll**(`data`): `Poll` -Defined in: [src/parser/classes/Poll.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Poll.ts#L25) +Defined in: [src/parser/classes/Poll.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Poll.ts#L25) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/Poll.ts:25](https://github.com/LuanRT/YouTube.js > **choices**: `object`[] -Defined in: [src/parser/classes/Poll.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Poll.ts#L10) +Defined in: [src/parser/classes/Poll.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Poll.ts#L10) #### deselect\_endpoint @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/Poll.ts:10](https://github.com/LuanRT/YouTube.js > `optional` **live\_chat\_poll\_id**: `string` -Defined in: [src/parser/classes/Poll.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Poll.ts#L23) +Defined in: [src/parser/classes/Poll.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Poll.ts#L23) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/Poll.ts:23](https://github.com/LuanRT/YouTube.js > `optional` **poll\_type**: `string` -Defined in: [src/parser/classes/Poll.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Poll.ts#L21) +Defined in: [src/parser/classes/Poll.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Poll.ts#L21) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/Poll.ts:21](https://github.com/LuanRT/YouTube.js > `optional` **total\_votes**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Poll.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Poll.ts#L22) +Defined in: [src/parser/classes/Poll.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Poll.ts#L22) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/Poll.ts:22](https://github.com/LuanRT/YouTube.js > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -112,7 +112,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'Poll'` -Defined in: [src/parser/classes/Poll.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Poll.ts#L8) +Defined in: [src/parser/classes/Poll.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Poll.ts#L8) #### Overrides @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/Poll.ts:8](https://github.com/LuanRT/YouTube.js/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -166,7 +166,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Poll & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -204,7 +204,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -242,7 +242,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PollHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PollHeader.md index 4f48d9f0..91a2fec1 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PollHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PollHeader.md @@ -2,7 +2,7 @@ # Class: PollHeader -Defined in: [src/parser/classes/livechat/items/PollHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/PollHeader.ts#L8) +Defined in: [src/parser/classes/livechat/items/PollHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/PollHeader.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/items/PollHeader.ts:8](https://github.c > **new PollHeader**(`data`): `PollHeader` -Defined in: [src/parser/classes/livechat/items/PollHeader.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/PollHeader.ts#L17) +Defined in: [src/parser/classes/livechat/items/PollHeader.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/PollHeader.ts#L17) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/items/PollHeader.ts:17](https://github. > **context\_menu\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/livechat/items/PollHeader.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/PollHeader.ts#L15) +Defined in: [src/parser/classes/livechat/items/PollHeader.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/PollHeader.ts#L15) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/items/PollHeader.ts:15](https://github. > **live\_chat\_poll\_type**: `string` -Defined in: [src/parser/classes/livechat/items/PollHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/PollHeader.ts#L14) +Defined in: [src/parser/classes/livechat/items/PollHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/PollHeader.ts#L14) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/items/PollHeader.ts:14](https://github. > **metadata**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/PollHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/PollHeader.ts#L13) +Defined in: [src/parser/classes/livechat/items/PollHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/PollHeader.ts#L13) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/livechat/items/PollHeader.ts:13](https://github. > **poll\_question**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/items/PollHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/PollHeader.ts#L11) +Defined in: [src/parser/classes/livechat/items/PollHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/PollHeader.ts#L11) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/items/PollHeader.ts:11](https://github. > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/livechat/items/PollHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/PollHeader.ts#L12) +Defined in: [src/parser/classes/livechat/items/PollHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/PollHeader.ts#L12) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/items/PollHeader.ts:12](https://github. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PollHeader'` -Defined in: [src/parser/classes/livechat/items/PollHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/items/PollHeader.ts#L9) +Defined in: [src/parser/classes/livechat/items/PollHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/items/PollHeader.ts#L9) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/livechat/items/PollHeader.ts:9](https://github.c > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PollHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Post.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Post.md index 93849012..534beab9 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Post.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Post.md @@ -2,7 +2,7 @@ # Class: Post -Defined in: [src/parser/classes/Post.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Post.ts#L4) +Defined in: [src/parser/classes/Post.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Post.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/Post.ts:4](https://github.com/LuanRT/YouTube.js/ > **new Post**(`data`): `Post` -Defined in: [src/parser/classes/Post.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Post.ts#L7) +Defined in: [src/parser/classes/Post.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Post.ts#L7) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/Post.ts:7](https://github.com/LuanRT/YouTube.js/ > `optional` **action\_buttons**: [`CommentActionButtons`](CommentActionButtons.md) \| `null` -Defined in: [src/parser/classes/BackstagePost.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L21) +Defined in: [src/parser/classes/BackstagePost.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L21) #### Inherited from @@ -48,7 +48,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:21](https://github.com/LuanRT/Y > **attachment**: [`YTNode`](../../Helpers/classes/YTNode.md) \| `undefined` -Defined in: [src/parser/classes/BackstagePost.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L25) +Defined in: [src/parser/classes/BackstagePost.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L25) #### Inherited from @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:25](https://github.com/LuanRT/Y > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/BackstagePost.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L14) +Defined in: [src/parser/classes/BackstagePost.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L14) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:14](https://github.com/LuanRT/Y > **content**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/BackstagePost.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L15) +Defined in: [src/parser/classes/BackstagePost.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L15) #### Inherited from @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:15](https://github.com/LuanRT/Y > `optional` **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/BackstagePost.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L24) +Defined in: [src/parser/classes/BackstagePost.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L24) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:24](https://github.com/LuanRT/Y > **id**: `string` -Defined in: [src/parser/classes/BackstagePost.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L13) +Defined in: [src/parser/classes/BackstagePost.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L13) #### Inherited from @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:13](https://github.com/LuanRT/Y > `optional` **menu**: [`Menu`](Menu.md) \| `null` -Defined in: [src/parser/classes/BackstagePost.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L20) +Defined in: [src/parser/classes/BackstagePost.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L20) #### Inherited from @@ -120,7 +120,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:20](https://github.com/LuanRT/Y > `optional` **poll\_status**: `string` -Defined in: [src/parser/classes/BackstagePost.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L17) +Defined in: [src/parser/classes/BackstagePost.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L17) #### Inherited from @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:17](https://github.com/LuanRT/Y > **published**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/BackstagePost.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L16) +Defined in: [src/parser/classes/BackstagePost.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L16) #### Inherited from @@ -144,7 +144,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:16](https://github.com/LuanRT/Y > **surface**: `string` -Defined in: [src/parser/classes/BackstagePost.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L23) +Defined in: [src/parser/classes/BackstagePost.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L23) #### Inherited from @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:23](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -168,7 +168,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **vote\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/BackstagePost.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L22) +Defined in: [src/parser/classes/BackstagePost.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L22) #### Inherited from @@ -180,7 +180,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:22](https://github.com/LuanRT/Y > `optional` **vote\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/BackstagePost.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L19) +Defined in: [src/parser/classes/BackstagePost.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L19) #### Inherited from @@ -192,7 +192,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:19](https://github.com/LuanRT/Y > `optional` **vote\_status**: `string` -Defined in: [src/parser/classes/BackstagePost.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/BackstagePost.ts#L18) +Defined in: [src/parser/classes/BackstagePost.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/BackstagePost.ts#L18) #### Inherited from @@ -204,7 +204,7 @@ Defined in: [src/parser/classes/BackstagePost.ts:18](https://github.com/LuanRT/Y > `static` **type**: `string` = `'Post'` -Defined in: [src/parser/classes/Post.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Post.ts#L5) +Defined in: [src/parser/classes/Post.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Post.ts#L5) #### Overrides @@ -216,7 +216,7 @@ Defined in: [src/parser/classes/Post.ts:5](https://github.com/LuanRT/YouTube.js/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -258,7 +258,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Post & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -296,7 +296,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -334,7 +334,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PostMultiImage.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PostMultiImage.md index c3b11bc5..cdf6305b 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PostMultiImage.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PostMultiImage.md @@ -2,7 +2,7 @@ # Class: PostMultiImage -Defined in: [src/parser/classes/PostMultiImage.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PostMultiImage.ts#L6) +Defined in: [src/parser/classes/PostMultiImage.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PostMultiImage.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PostMultiImage.ts:6](https://github.com/LuanRT/Y > **new PostMultiImage**(`data`): `PostMultiImage` -Defined in: [src/parser/classes/PostMultiImage.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PostMultiImage.ts#L11) +Defined in: [src/parser/classes/PostMultiImage.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PostMultiImage.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PostMultiImage.ts:11](https://github.com/LuanRT/ > **images**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`BackstageImage`](BackstageImage.md)\> -Defined in: [src/parser/classes/PostMultiImage.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PostMultiImage.ts#L9) +Defined in: [src/parser/classes/PostMultiImage.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PostMultiImage.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PostMultiImage.ts:9](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PostMultiImage'` -Defined in: [src/parser/classes/PostMultiImage.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PostMultiImage.ts#L7) +Defined in: [src/parser/classes/PostMultiImage.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PostMultiImage.ts#L7) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/PostMultiImage.ts:7](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PostMultiImage & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PrefetchWatchCommand.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PrefetchWatchCommand.md index c3db5f42..6bfd7993 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PrefetchWatchCommand.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PrefetchWatchCommand.md @@ -2,7 +2,7 @@ # Class: PrefetchWatchCommand -Defined in: [src/parser/classes/endpoints/PrefetchWatchCommand.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/PrefetchWatchCommand.ts#L4) +Defined in: [src/parser/classes/endpoints/PrefetchWatchCommand.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/PrefetchWatchCommand.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/endpoints/PrefetchWatchCommand.ts:4](https://git > **new PrefetchWatchCommand**(`data`): `PrefetchWatchCommand` -Defined in: [src/parser/classes/endpoints/PrefetchWatchCommand.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/PrefetchWatchCommand.ts#L7) +Defined in: [src/parser/classes/endpoints/PrefetchWatchCommand.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/PrefetchWatchCommand.ts#L7) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/endpoints/PrefetchWatchCommand.ts:7](https://git > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -48,7 +48,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PrefetchWatchCommand'` -Defined in: [src/parser/classes/endpoints/PrefetchWatchCommand.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/PrefetchWatchCommand.ts#L5) +Defined in: [src/parser/classes/endpoints/PrefetchWatchCommand.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/PrefetchWatchCommand.ts#L5) #### Overrides @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/endpoints/PrefetchWatchCommand.ts:5](https://git > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -102,7 +102,7 @@ If the node is not of the given type > **buildRequest**(): [`WatchRequest`](../../../../type-aliases/WatchRequest.md) -Defined in: [src/parser/classes/endpoints/WatchEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/WatchEndpoint.ts#L20) +Defined in: [src/parser/classes/endpoints/WatchEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/WatchEndpoint.ts#L20) #### Returns @@ -118,7 +118,7 @@ Defined in: [src/parser/classes/endpoints/WatchEndpoint.ts:20](https://github.co > **getApiPath**(): `string` -Defined in: [src/parser/classes/endpoints/WatchEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/WatchEndpoint.ts#L16) +Defined in: [src/parser/classes/endpoints/WatchEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/WatchEndpoint.ts#L16) #### Returns @@ -134,7 +134,7 @@ Defined in: [src/parser/classes/endpoints/WatchEndpoint.ts:16](https://github.co > **hasKey**\<`T`, `R`\>(`key`): `this is PrefetchWatchCommand & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/PremiereTrailerBadge.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/PremiereTrailerBadge.md index e1b10462..cf88990f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/PremiereTrailerBadge.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/PremiereTrailerBadge.md @@ -2,7 +2,7 @@ # Class: PremiereTrailerBadge -Defined in: [src/parser/classes/PremiereTrailerBadge.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PremiereTrailerBadge.ts#L5) +Defined in: [src/parser/classes/PremiereTrailerBadge.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PremiereTrailerBadge.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/PremiereTrailerBadge.ts:5](https://github.com/Lu > **new PremiereTrailerBadge**(`data`): `PremiereTrailerBadge` -Defined in: [src/parser/classes/PremiereTrailerBadge.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PremiereTrailerBadge.ts#L10) +Defined in: [src/parser/classes/PremiereTrailerBadge.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PremiereTrailerBadge.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/PremiereTrailerBadge.ts:10](https://github.com/L > **label**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/PremiereTrailerBadge.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PremiereTrailerBadge.ts#L8) +Defined in: [src/parser/classes/PremiereTrailerBadge.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PremiereTrailerBadge.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/PremiereTrailerBadge.ts:8](https://github.com/Lu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'PremiereTrailerBadge'` -Defined in: [src/parser/classes/PremiereTrailerBadge.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/PremiereTrailerBadge.ts#L6) +Defined in: [src/parser/classes/PremiereTrailerBadge.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/PremiereTrailerBadge.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/PremiereTrailerBadge.ts:6](https://github.com/Lu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is PremiereTrailerBadge & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ProductList.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ProductList.md index a2591043..5afa5cea 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ProductList.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ProductList.md @@ -2,7 +2,7 @@ # Class: ProductList -Defined in: [src/parser/classes/ProductList.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProductList.ts#L6) +Defined in: [src/parser/classes/ProductList.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProductList.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ProductList.ts:6](https://github.com/LuanRT/YouT > **new ProductList**(`data`): `ProductList` -Defined in: [src/parser/classes/ProductList.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProductList.ts#L11) +Defined in: [src/parser/classes/ProductList.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProductList.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ProductList.ts:11](https://github.com/LuanRT/You > **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/ProductList.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProductList.ts#L9) +Defined in: [src/parser/classes/ProductList.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProductList.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ProductList.ts:9](https://github.com/LuanRT/YouT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ProductList'` -Defined in: [src/parser/classes/ProductList.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProductList.ts#L7) +Defined in: [src/parser/classes/ProductList.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProductList.ts#L7) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ProductList.ts:7](https://github.com/LuanRT/YouT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ProductList & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ProductListHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ProductListHeader.md index eb766134..4e7b6d76 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ProductListHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ProductListHeader.md @@ -2,7 +2,7 @@ # Class: ProductListHeader -Defined in: [src/parser/classes/ProductListHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProductListHeader.ts#L5) +Defined in: [src/parser/classes/ProductListHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProductListHeader.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ProductListHeader.ts:5](https://github.com/LuanR > **new ProductListHeader**(`data`): `ProductListHeader` -Defined in: [src/parser/classes/ProductListHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProductListHeader.ts#L11) +Defined in: [src/parser/classes/ProductListHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProductListHeader.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ProductListHeader.ts:11](https://github.com/Luan > **suppress\_padding\_disclaimer**: `boolean` -Defined in: [src/parser/classes/ProductListHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProductListHeader.ts#L9) +Defined in: [src/parser/classes/ProductListHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProductListHeader.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ProductListHeader.ts:9](https://github.com/LuanR > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ProductListHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProductListHeader.ts#L8) +Defined in: [src/parser/classes/ProductListHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProductListHeader.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ProductListHeader.ts:8](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ProductListHeader'` -Defined in: [src/parser/classes/ProductListHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProductListHeader.ts#L6) +Defined in: [src/parser/classes/ProductListHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProductListHeader.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ProductListHeader.ts:6](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ProductListHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ProductListItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ProductListItem.md index e35e9d7b..553ff8d0 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ProductListItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ProductListItem.md @@ -2,7 +2,7 @@ # Class: ProductListItem -Defined in: [src/parser/classes/ProductListItem.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProductListItem.ts#L8) +Defined in: [src/parser/classes/ProductListItem.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProductListItem.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ProductListItem.ts:8](https://github.com/LuanRT/ > **new ProductListItem**(`data`): `ProductListItem` -Defined in: [src/parser/classes/ProductListItem.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProductListItem.ts#L20) +Defined in: [src/parser/classes/ProductListItem.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProductListItem.ts#L20) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ProductListItem.ts:20](https://github.com/LuanRT > **accessibility\_title**: `string` -Defined in: [src/parser/classes/ProductListItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProductListItem.ts#L12) +Defined in: [src/parser/classes/ProductListItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProductListItem.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ProductListItem.ts:12](https://github.com/LuanRT > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ProductListItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProductListItem.ts#L15) +Defined in: [src/parser/classes/ProductListItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProductListItem.ts#L15) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ProductListItem.ts:15](https://github.com/LuanRT > **merchant\_name**: `string` -Defined in: [src/parser/classes/ProductListItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProductListItem.ts#L16) +Defined in: [src/parser/classes/ProductListItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProductListItem.ts#L16) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ProductListItem.ts:16](https://github.com/LuanRT > **price**: `string` -Defined in: [src/parser/classes/ProductListItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProductListItem.ts#L14) +Defined in: [src/parser/classes/ProductListItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProductListItem.ts#L14) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ProductListItem.ts:14](https://github.com/LuanRT > **stay\_in\_app**: `boolean` -Defined in: [src/parser/classes/ProductListItem.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProductListItem.ts#L17) +Defined in: [src/parser/classes/ProductListItem.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProductListItem.ts#L17) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ProductListItem.ts:17](https://github.com/LuanRT > **thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/ProductListItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProductListItem.ts#L13) +Defined in: [src/parser/classes/ProductListItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProductListItem.ts#L13) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ProductListItem.ts:13](https://github.com/LuanRT > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ProductListItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProductListItem.ts#L11) +Defined in: [src/parser/classes/ProductListItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProductListItem.ts#L11) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/ProductListItem.ts:11](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -104,7 +104,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **view\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/ProductListItem.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProductListItem.ts#L18) +Defined in: [src/parser/classes/ProductListItem.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProductListItem.ts#L18) *** @@ -112,7 +112,7 @@ Defined in: [src/parser/classes/ProductListItem.ts:18](https://github.com/LuanRT > `static` **type**: `string` = `'ProductListItem'` -Defined in: [src/parser/classes/ProductListItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProductListItem.ts#L9) +Defined in: [src/parser/classes/ProductListItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProductListItem.ts#L9) #### Overrides @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/ProductListItem.ts:9](https://github.com/LuanRT/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -166,7 +166,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ProductListItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -204,7 +204,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -242,7 +242,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ProfileColumn.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ProfileColumn.md index 1a7fee00..024b679a 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ProfileColumn.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ProfileColumn.md @@ -2,7 +2,7 @@ # Class: ProfileColumn -Defined in: [src/parser/classes/ProfileColumn.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProfileColumn.ts#L4) +Defined in: [src/parser/classes/ProfileColumn.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProfileColumn.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ProfileColumn.ts:4](https://github.com/LuanRT/Yo > **new ProfileColumn**(`data`): `ProfileColumn` -Defined in: [src/parser/classes/ProfileColumn.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProfileColumn.ts#L9) +Defined in: [src/parser/classes/ProfileColumn.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProfileColumn.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ProfileColumn.ts:9](https://github.com/LuanRT/Yo > **items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/ProfileColumn.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProfileColumn.ts#L7) +Defined in: [src/parser/classes/ProfileColumn.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProfileColumn.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ProfileColumn.ts:7](https://github.com/LuanRT/Yo > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ProfileColumn'` -Defined in: [src/parser/classes/ProfileColumn.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProfileColumn.ts#L5) +Defined in: [src/parser/classes/ProfileColumn.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProfileColumn.ts#L5) #### Overrides @@ -70,7 +70,7 @@ Defined in: [src/parser/classes/ProfileColumn.ts:5](https://github.com/LuanRT/Yo > **get** **contents**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/ProfileColumn.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProfileColumn.ts#L15) +Defined in: [src/parser/classes/ProfileColumn.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProfileColumn.ts#L15) ##### Returns @@ -82,7 +82,7 @@ Defined in: [src/parser/classes/ProfileColumn.ts:15](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -124,7 +124,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ProfileColumn & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -162,7 +162,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -200,7 +200,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ProfileColumnStats.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ProfileColumnStats.md index e6759490..f0e3c750 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ProfileColumnStats.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ProfileColumnStats.md @@ -2,7 +2,7 @@ # Class: ProfileColumnStats -Defined in: [src/parser/classes/ProfileColumnStats.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProfileColumnStats.ts#L4) +Defined in: [src/parser/classes/ProfileColumnStats.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProfileColumnStats.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ProfileColumnStats.ts:4](https://github.com/Luan > **new ProfileColumnStats**(`data`): `ProfileColumnStats` -Defined in: [src/parser/classes/ProfileColumnStats.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProfileColumnStats.ts#L9) +Defined in: [src/parser/classes/ProfileColumnStats.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProfileColumnStats.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ProfileColumnStats.ts:9](https://github.com/Luan > **items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/ProfileColumnStats.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProfileColumnStats.ts#L7) +Defined in: [src/parser/classes/ProfileColumnStats.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProfileColumnStats.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ProfileColumnStats.ts:7](https://github.com/Luan > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ProfileColumnStats'` -Defined in: [src/parser/classes/ProfileColumnStats.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProfileColumnStats.ts#L5) +Defined in: [src/parser/classes/ProfileColumnStats.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProfileColumnStats.ts#L5) #### Overrides @@ -70,7 +70,7 @@ Defined in: [src/parser/classes/ProfileColumnStats.ts:5](https://github.com/Luan > **get** **contents**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/ProfileColumnStats.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProfileColumnStats.ts#L15) +Defined in: [src/parser/classes/ProfileColumnStats.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProfileColumnStats.ts#L15) ##### Returns @@ -82,7 +82,7 @@ Defined in: [src/parser/classes/ProfileColumnStats.ts:15](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -124,7 +124,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ProfileColumnStats & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -162,7 +162,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -200,7 +200,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ProfileColumnStatsEntry.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ProfileColumnStatsEntry.md index baaead42..7089c07f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ProfileColumnStatsEntry.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ProfileColumnStatsEntry.md @@ -2,7 +2,7 @@ # Class: ProfileColumnStatsEntry -Defined in: [src/parser/classes/ProfileColumnStatsEntry.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProfileColumnStatsEntry.ts#L5) +Defined in: [src/parser/classes/ProfileColumnStatsEntry.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProfileColumnStatsEntry.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ProfileColumnStatsEntry.ts:5](https://github.com > **new ProfileColumnStatsEntry**(`data`): `ProfileColumnStatsEntry` -Defined in: [src/parser/classes/ProfileColumnStatsEntry.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProfileColumnStatsEntry.ts#L11) +Defined in: [src/parser/classes/ProfileColumnStatsEntry.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProfileColumnStatsEntry.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ProfileColumnStatsEntry.ts:11](https://github.co > **label**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ProfileColumnStatsEntry.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProfileColumnStatsEntry.ts#L8) +Defined in: [src/parser/classes/ProfileColumnStatsEntry.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProfileColumnStatsEntry.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ProfileColumnStatsEntry.ts:8](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **value**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ProfileColumnStatsEntry.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProfileColumnStatsEntry.ts#L9) +Defined in: [src/parser/classes/ProfileColumnStatsEntry.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProfileColumnStatsEntry.ts#L9) *** @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/ProfileColumnStatsEntry.ts:9](https://github.com > `static` **type**: `string` = `'ProfileColumnStatsEntry'` -Defined in: [src/parser/classes/ProfileColumnStatsEntry.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProfileColumnStatsEntry.ts#L6) +Defined in: [src/parser/classes/ProfileColumnStatsEntry.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProfileColumnStatsEntry.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ProfileColumnStatsEntry.ts:6](https://github.com > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ProfileColumnStatsEntry & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ProfileColumnUserInfo.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ProfileColumnUserInfo.md index 82ef4939..60aa1af0 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ProfileColumnUserInfo.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ProfileColumnUserInfo.md @@ -2,7 +2,7 @@ # Class: ProfileColumnUserInfo -Defined in: [src/parser/classes/ProfileColumnUserInfo.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProfileColumnUserInfo.ts#L6) +Defined in: [src/parser/classes/ProfileColumnUserInfo.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProfileColumnUserInfo.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ProfileColumnUserInfo.ts:6](https://github.com/L > **new ProfileColumnUserInfo**(`data`): `ProfileColumnUserInfo` -Defined in: [src/parser/classes/ProfileColumnUserInfo.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProfileColumnUserInfo.ts#L12) +Defined in: [src/parser/classes/ProfileColumnUserInfo.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProfileColumnUserInfo.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ProfileColumnUserInfo.ts:12](https://github.com/ > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/ProfileColumnUserInfo.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProfileColumnUserInfo.ts#L10) +Defined in: [src/parser/classes/ProfileColumnUserInfo.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProfileColumnUserInfo.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ProfileColumnUserInfo.ts:10](https://github.com/ > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ProfileColumnUserInfo.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProfileColumnUserInfo.ts#L9) +Defined in: [src/parser/classes/ProfileColumnUserInfo.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProfileColumnUserInfo.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ProfileColumnUserInfo.ts:9](https://github.com/L > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ProfileColumnUserInfo'` -Defined in: [src/parser/classes/ProfileColumnUserInfo.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ProfileColumnUserInfo.ts#L7) +Defined in: [src/parser/classes/ProfileColumnUserInfo.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ProfileColumnUserInfo.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ProfileColumnUserInfo.ts:7](https://github.com/L > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ProfileColumnUserInfo & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Quiz.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Quiz.md index b8333e52..37876212 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Quiz.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Quiz.md @@ -2,7 +2,7 @@ # Class: Quiz -Defined in: [src/parser/classes/Quiz.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Quiz.ts#L5) +Defined in: [src/parser/classes/Quiz.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Quiz.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/Quiz.ts:5](https://github.com/LuanRT/YouTube.js/ > **new Quiz**(`data`): `Quiz` -Defined in: [src/parser/classes/Quiz.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Quiz.ts#L15) +Defined in: [src/parser/classes/Quiz.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Quiz.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/Quiz.ts:15](https://github.com/LuanRT/YouTube.js > **choices**: `object`[] -Defined in: [src/parser/classes/Quiz.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Quiz.ts#L8) +Defined in: [src/parser/classes/Quiz.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Quiz.ts#L8) #### is\_correct @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/Quiz.ts:8](https://github.com/LuanRT/YouTube.js/ > **total\_votes**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Quiz.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Quiz.ts#L13) +Defined in: [src/parser/classes/Quiz.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Quiz.ts#L13) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/Quiz.ts:13](https://github.com/LuanRT/YouTube.js > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'Quiz'` -Defined in: [src/parser/classes/Quiz.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Quiz.ts#L6) +Defined in: [src/parser/classes/Quiz.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Quiz.ts#L6) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/Quiz.ts:6](https://github.com/LuanRT/YouTube.js/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Quiz & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/RecognitionShelf.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/RecognitionShelf.md index 843d1119..d4fe7335 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/RecognitionShelf.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/RecognitionShelf.md @@ -2,7 +2,7 @@ # Class: RecognitionShelf -Defined in: [src/parser/classes/RecognitionShelf.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RecognitionShelf.ts#L7) +Defined in: [src/parser/classes/RecognitionShelf.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RecognitionShelf.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/RecognitionShelf.ts:7](https://github.com/LuanRT > **new RecognitionShelf**(`data`): `RecognitionShelf` -Defined in: [src/parser/classes/RecognitionShelf.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RecognitionShelf.ts#L16) +Defined in: [src/parser/classes/RecognitionShelf.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RecognitionShelf.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/RecognitionShelf.ts:16](https://github.com/LuanR > **avatars**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/RecognitionShelf.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RecognitionShelf.ts#L12) +Defined in: [src/parser/classes/RecognitionShelf.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RecognitionShelf.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/RecognitionShelf.ts:12](https://github.com/LuanR > **button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/RecognitionShelf.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RecognitionShelf.ts#L13) +Defined in: [src/parser/classes/RecognitionShelf.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RecognitionShelf.ts#L13) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/RecognitionShelf.ts:13](https://github.com/LuanR > **subtitle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/RecognitionShelf.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RecognitionShelf.ts#L11) +Defined in: [src/parser/classes/RecognitionShelf.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RecognitionShelf.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/RecognitionShelf.ts:11](https://github.com/LuanR > **surface**: `string` -Defined in: [src/parser/classes/RecognitionShelf.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RecognitionShelf.ts#L14) +Defined in: [src/parser/classes/RecognitionShelf.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RecognitionShelf.ts#L14) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/RecognitionShelf.ts:14](https://github.com/LuanR > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/RecognitionShelf.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RecognitionShelf.ts#L10) +Defined in: [src/parser/classes/RecognitionShelf.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RecognitionShelf.ts#L10) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/RecognitionShelf.ts:10](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'RecognitionShelf'` -Defined in: [src/parser/classes/RecognitionShelf.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RecognitionShelf.ts#L8) +Defined in: [src/parser/classes/RecognitionShelf.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RecognitionShelf.ts#L8) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/RecognitionShelf.ts:8](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is RecognitionShelf & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ReelItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ReelItem.md index c8d4b9d8..74a749f2 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ReelItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ReelItem.md @@ -2,7 +2,7 @@ # Class: ReelItem -Defined in: [src/parser/classes/ReelItem.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelItem.ts#L8) +Defined in: [src/parser/classes/ReelItem.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelItem.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ReelItem.ts:8](https://github.com/LuanRT/YouTube > **new ReelItem**(`data`): `ReelItem` -Defined in: [src/parser/classes/ReelItem.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelItem.ts#L18) +Defined in: [src/parser/classes/ReelItem.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelItem.ts#L18) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ReelItem.ts:18](https://github.com/LuanRT/YouTub > `optional` **accessibility**: `AccessibilitySupportedDatas` -Defined in: [src/parser/classes/ReelItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelItem.ts#L16) +Defined in: [src/parser/classes/ReelItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelItem.ts#L16) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ReelItem.ts:16](https://github.com/LuanRT/YouTub > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ReelItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelItem.ts#L15) +Defined in: [src/parser/classes/ReelItem.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelItem.ts#L15) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ReelItem.ts:15](https://github.com/LuanRT/YouTub > **id**: `string` -Defined in: [src/parser/classes/ReelItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelItem.ts#L11) +Defined in: [src/parser/classes/ReelItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelItem.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ReelItem.ts:11](https://github.com/LuanRT/YouTub > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/ReelItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelItem.ts#L13) +Defined in: [src/parser/classes/ReelItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelItem.ts#L13) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ReelItem.ts:13](https://github.com/LuanRT/YouTub > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ReelItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelItem.ts#L12) +Defined in: [src/parser/classes/ReelItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelItem.ts#L12) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ReelItem.ts:12](https://github.com/LuanRT/YouTub > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **views**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ReelItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelItem.ts#L14) +Defined in: [src/parser/classes/ReelItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelItem.ts#L14) *** @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/ReelItem.ts:14](https://github.com/LuanRT/YouTub > `static` **type**: `string` = `'ReelItem'` -Defined in: [src/parser/classes/ReelItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelItem.ts#L9) +Defined in: [src/parser/classes/ReelItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelItem.ts#L9) #### Overrides @@ -110,7 +110,7 @@ Defined in: [src/parser/classes/ReelItem.ts:9](https://github.com/LuanRT/YouTube > **get** **label**(): `string` \| `undefined` -Defined in: [src/parser/classes/ReelItem.ts:34](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelItem.ts#L34) +Defined in: [src/parser/classes/ReelItem.ts:34](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelItem.ts#L34) ##### Returns @@ -122,7 +122,7 @@ Defined in: [src/parser/classes/ReelItem.ts:34](https://github.com/LuanRT/YouTub > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -164,7 +164,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ReelItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -202,7 +202,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -240,7 +240,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ReelPlayerHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ReelPlayerHeader.md index 2ff5a8a3..0d8db963 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ReelPlayerHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ReelPlayerHeader.md @@ -2,7 +2,7 @@ # Class: ReelPlayerHeader -Defined in: [src/parser/classes/ReelPlayerHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelPlayerHeader.ts#L7) +Defined in: [src/parser/classes/ReelPlayerHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelPlayerHeader.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ReelPlayerHeader.ts:7](https://github.com/LuanRT > **new ReelPlayerHeader**(`data`): `ReelPlayerHeader` -Defined in: [src/parser/classes/ReelPlayerHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelPlayerHeader.ts#L16) +Defined in: [src/parser/classes/ReelPlayerHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelPlayerHeader.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ReelPlayerHeader.ts:16](https://github.com/LuanR > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/ReelPlayerHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelPlayerHeader.ts#L14) +Defined in: [src/parser/classes/ReelPlayerHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelPlayerHeader.ts#L14) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ReelPlayerHeader.ts:14](https://github.com/LuanR > **channel\_thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/ReelPlayerHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelPlayerHeader.ts#L13) +Defined in: [src/parser/classes/ReelPlayerHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelPlayerHeader.ts#L13) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ReelPlayerHeader.ts:13](https://github.com/LuanR > **channel\_title\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ReelPlayerHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelPlayerHeader.ts#L12) +Defined in: [src/parser/classes/ReelPlayerHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelPlayerHeader.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ReelPlayerHeader.ts:12](https://github.com/LuanR > **reel\_title\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ReelPlayerHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelPlayerHeader.ts#L10) +Defined in: [src/parser/classes/ReelPlayerHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelPlayerHeader.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ReelPlayerHeader.ts:10](https://github.com/LuanR > **timestamp\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ReelPlayerHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelPlayerHeader.ts#L11) +Defined in: [src/parser/classes/ReelPlayerHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelPlayerHeader.ts#L11) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ReelPlayerHeader.ts:11](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ReelPlayerHeader'` -Defined in: [src/parser/classes/ReelPlayerHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelPlayerHeader.ts#L8) +Defined in: [src/parser/classes/ReelPlayerHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelPlayerHeader.ts#L8) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/ReelPlayerHeader.ts:8](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ReelPlayerHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ReelPlayerOverlay.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ReelPlayerOverlay.md index eb1a99b7..6cb33ae6 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ReelPlayerOverlay.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ReelPlayerOverlay.md @@ -2,7 +2,7 @@ # Class: ReelPlayerOverlay -Defined in: [src/parser/classes/ReelPlayerOverlay.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelPlayerOverlay.ts#L11) +Defined in: [src/parser/classes/ReelPlayerOverlay.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelPlayerOverlay.ts#L11) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ReelPlayerOverlay.ts:11](https://github.com/Luan > **new ReelPlayerOverlay**(`data`): `ReelPlayerOverlay` -Defined in: [src/parser/classes/ReelPlayerOverlay.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelPlayerOverlay.ts#L26) +Defined in: [src/parser/classes/ReelPlayerOverlay.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelPlayerOverlay.ts#L26) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ReelPlayerOverlay.ts:26](https://github.com/Luan > **info\_panel**: [`InfoPanelContainer`](InfoPanelContainer.md) \| `null` -Defined in: [src/parser/classes/ReelPlayerOverlay.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelPlayerOverlay.ts#L24) +Defined in: [src/parser/classes/ReelPlayerOverlay.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelPlayerOverlay.ts#L24) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ReelPlayerOverlay.ts:24](https://github.com/Luan > **like\_button**: [`LikeButton`](LikeButton.md) \| `null` -Defined in: [src/parser/classes/ReelPlayerOverlay.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelPlayerOverlay.ts#L14) +Defined in: [src/parser/classes/ReelPlayerOverlay.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelPlayerOverlay.ts#L14) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ReelPlayerOverlay.ts:14](https://github.com/Luan > **menu**: [`Menu`](Menu.md) \| `null` -Defined in: [src/parser/classes/ReelPlayerOverlay.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelPlayerOverlay.ts#L16) +Defined in: [src/parser/classes/ReelPlayerOverlay.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelPlayerOverlay.ts#L16) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ReelPlayerOverlay.ts:16](https://github.com/Luan > **next\_item\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/ReelPlayerOverlay.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelPlayerOverlay.ts#L17) +Defined in: [src/parser/classes/ReelPlayerOverlay.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelPlayerOverlay.ts#L17) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ReelPlayerOverlay.ts:17](https://github.com/Luan > **pivot\_button**: [`PivotButton`](PivotButton.md) \| `null` -Defined in: [src/parser/classes/ReelPlayerOverlay.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelPlayerOverlay.ts#L23) +Defined in: [src/parser/classes/ReelPlayerOverlay.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelPlayerOverlay.ts#L23) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ReelPlayerOverlay.ts:23](https://github.com/Luan > **prev\_item\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/ReelPlayerOverlay.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelPlayerOverlay.ts#L18) +Defined in: [src/parser/classes/ReelPlayerOverlay.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelPlayerOverlay.ts#L18) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ReelPlayerOverlay.ts:18](https://github.com/Luan > **reel\_player\_header\_supported\_renderers**: [`ReelPlayerHeader`](ReelPlayerHeader.md) \| `null` -Defined in: [src/parser/classes/ReelPlayerOverlay.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelPlayerOverlay.ts#L15) +Defined in: [src/parser/classes/ReelPlayerOverlay.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelPlayerOverlay.ts#L15) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/ReelPlayerOverlay.ts:15](https://github.com/Luan > **share\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/ReelPlayerOverlay.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelPlayerOverlay.ts#L22) +Defined in: [src/parser/classes/ReelPlayerOverlay.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelPlayerOverlay.ts#L22) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/ReelPlayerOverlay.ts:22](https://github.com/Luan > **style**: `string` -Defined in: [src/parser/classes/ReelPlayerOverlay.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelPlayerOverlay.ts#L20) +Defined in: [src/parser/classes/ReelPlayerOverlay.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelPlayerOverlay.ts#L20) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/ReelPlayerOverlay.ts:20](https://github.com/Luan > **subscribe\_button\_renderer**: [`Button`](Button.md) \| [`SubscribeButton`](SubscribeButton.md) \| `null` -Defined in: [src/parser/classes/ReelPlayerOverlay.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelPlayerOverlay.ts#L19) +Defined in: [src/parser/classes/ReelPlayerOverlay.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelPlayerOverlay.ts#L19) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/ReelPlayerOverlay.ts:19](https://github.com/Luan > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -128,7 +128,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **view\_comments\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/ReelPlayerOverlay.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelPlayerOverlay.ts#L21) +Defined in: [src/parser/classes/ReelPlayerOverlay.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelPlayerOverlay.ts#L21) *** @@ -136,7 +136,7 @@ Defined in: [src/parser/classes/ReelPlayerOverlay.ts:21](https://github.com/Luan > `static` **type**: `string` = `'ReelPlayerOverlay'` -Defined in: [src/parser/classes/ReelPlayerOverlay.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelPlayerOverlay.ts#L12) +Defined in: [src/parser/classes/ReelPlayerOverlay.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelPlayerOverlay.ts#L12) #### Overrides @@ -148,7 +148,7 @@ Defined in: [src/parser/classes/ReelPlayerOverlay.ts:12](https://github.com/Luan > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -190,7 +190,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ReelPlayerOverlay & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -228,7 +228,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -266,7 +266,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ReelShelf.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ReelShelf.md index 020e0d1a..6cf6558f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ReelShelf.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ReelShelf.md @@ -2,7 +2,7 @@ # Class: ReelShelf -Defined in: [src/parser/classes/ReelShelf.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelShelf.ts#L6) +Defined in: [src/parser/classes/ReelShelf.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelShelf.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ReelShelf.ts:6](https://github.com/LuanRT/YouTub > **new ReelShelf**(`data`): `ReelShelf` -Defined in: [src/parser/classes/ReelShelf.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelShelf.ts#L13) +Defined in: [src/parser/classes/ReelShelf.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelShelf.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ReelShelf.ts:13](https://github.com/LuanRT/YouTu > `optional` **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ReelShelf.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelShelf.ts#L11) +Defined in: [src/parser/classes/ReelShelf.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelShelf.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ReelShelf.ts:11](https://github.com/LuanRT/YouTu > **items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/ReelShelf.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelShelf.ts#L10) +Defined in: [src/parser/classes/ReelShelf.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelShelf.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ReelShelf.ts:10](https://github.com/LuanRT/YouTu > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ReelShelf.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelShelf.ts#L9) +Defined in: [src/parser/classes/ReelShelf.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelShelf.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ReelShelf.ts:9](https://github.com/LuanRT/YouTub > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ReelShelf'` -Defined in: [src/parser/classes/ReelShelf.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelShelf.ts#L7) +Defined in: [src/parser/classes/ReelShelf.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelShelf.ts#L7) #### Overrides @@ -86,7 +86,7 @@ Defined in: [src/parser/classes/ReelShelf.ts:7](https://github.com/LuanRT/YouTub > **get** **contents**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/ReelShelf.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ReelShelf.ts#L24) +Defined in: [src/parser/classes/ReelShelf.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ReelShelf.ts#L24) ##### Returns @@ -98,7 +98,7 @@ Defined in: [src/parser/classes/ReelShelf.ts:24](https://github.com/LuanRT/YouTu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -140,7 +140,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ReelShelf & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -178,7 +178,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -216,7 +216,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ReelWatchEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ReelWatchEndpoint.md index 181d54ac..e96ac285 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ReelWatchEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ReelWatchEndpoint.md @@ -2,7 +2,7 @@ # Class: ReelWatchEndpoint -Defined in: [src/parser/classes/endpoints/ReelWatchEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ReelWatchEndpoint.ts#L6) +Defined in: [src/parser/classes/endpoints/ReelWatchEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ReelWatchEndpoint.ts#L6) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/parser/classes/endpoints/ReelWatchEndpoint.ts:6](https://github > **new ReelWatchEndpoint**(`data`): `ReelWatchEndpoint` -Defined in: [src/parser/classes/endpoints/ReelWatchEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ReelWatchEndpoint.ts#L11) +Defined in: [src/parser/classes/endpoints/ReelWatchEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ReelWatchEndpoint.ts#L11) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/endpoints/ReelWatchEndpoint.ts:11](https://githu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -52,7 +52,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ReelWatchEndpoint'` -Defined in: [src/parser/classes/endpoints/ReelWatchEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ReelWatchEndpoint.ts#L7) +Defined in: [src/parser/classes/endpoints/ReelWatchEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ReelWatchEndpoint.ts#L7) #### Overrides @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/endpoints/ReelWatchEndpoint.ts:7](https://github > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -106,7 +106,7 @@ If the node is not of the given type > **buildRequest**(): [`ReelWatchRequest`](../../../../type-aliases/ReelWatchRequest.md) -Defined in: [src/parser/classes/endpoints/ReelWatchEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ReelWatchEndpoint.ts#L20) +Defined in: [src/parser/classes/endpoints/ReelWatchEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ReelWatchEndpoint.ts#L20) #### Returns @@ -122,7 +122,7 @@ Defined in: [src/parser/classes/endpoints/ReelWatchEndpoint.ts:20](https://githu > **getApiPath**(): `string` -Defined in: [src/parser/classes/endpoints/ReelWatchEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ReelWatchEndpoint.ts#L16) +Defined in: [src/parser/classes/endpoints/ReelWatchEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ReelWatchEndpoint.ts#L16) #### Returns @@ -138,7 +138,7 @@ Defined in: [src/parser/classes/endpoints/ReelWatchEndpoint.ts:16](https://githu > **hasKey**\<`T`, `R`\>(`key`): `this is ReelWatchEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -176,7 +176,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -214,7 +214,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/RelatedChipCloud.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/RelatedChipCloud.md index 1b468372..a1e6f180 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/RelatedChipCloud.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/RelatedChipCloud.md @@ -2,7 +2,7 @@ # Class: RelatedChipCloud -Defined in: [src/parser/classes/RelatedChipCloud.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RelatedChipCloud.ts#L4) +Defined in: [src/parser/classes/RelatedChipCloud.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RelatedChipCloud.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/RelatedChipCloud.ts:4](https://github.com/LuanRT > **new RelatedChipCloud**(`data`): `RelatedChipCloud` -Defined in: [src/parser/classes/RelatedChipCloud.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RelatedChipCloud.ts#L9) +Defined in: [src/parser/classes/RelatedChipCloud.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RelatedChipCloud.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/RelatedChipCloud.ts:9](https://github.com/LuanRT > **content**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/RelatedChipCloud.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RelatedChipCloud.ts#L7) +Defined in: [src/parser/classes/RelatedChipCloud.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RelatedChipCloud.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/RelatedChipCloud.ts:7](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'RelatedChipCloud'` -Defined in: [src/parser/classes/RelatedChipCloud.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RelatedChipCloud.ts#L5) +Defined in: [src/parser/classes/RelatedChipCloud.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RelatedChipCloud.ts#L5) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/RelatedChipCloud.ts:5](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is RelatedChipCloud & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/RemoveBannerForLiveChatCommand.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/RemoveBannerForLiveChatCommand.md index 714dda4f..7e953083 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/RemoveBannerForLiveChatCommand.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/RemoveBannerForLiveChatCommand.md @@ -2,7 +2,7 @@ # Class: RemoveBannerForLiveChatCommand -Defined in: [src/parser/classes/livechat/RemoveBannerForLiveChatCommand.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/RemoveBannerForLiveChatCommand.ts#L4) +Defined in: [src/parser/classes/livechat/RemoveBannerForLiveChatCommand.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/RemoveBannerForLiveChatCommand.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/RemoveBannerForLiveChatCommand.ts:4](ht > **new RemoveBannerForLiveChatCommand**(`data`): `RemoveBannerForLiveChatCommand` -Defined in: [src/parser/classes/livechat/RemoveBannerForLiveChatCommand.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/RemoveBannerForLiveChatCommand.ts#L9) +Defined in: [src/parser/classes/livechat/RemoveBannerForLiveChatCommand.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/RemoveBannerForLiveChatCommand.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/RemoveBannerForLiveChatCommand.ts:9](ht > **target\_action\_id**: `string` -Defined in: [src/parser/classes/livechat/RemoveBannerForLiveChatCommand.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/RemoveBannerForLiveChatCommand.ts#L7) +Defined in: [src/parser/classes/livechat/RemoveBannerForLiveChatCommand.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/RemoveBannerForLiveChatCommand.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/RemoveBannerForLiveChatCommand.ts:7](ht > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'RemoveBannerForLiveChatCommand'` -Defined in: [src/parser/classes/livechat/RemoveBannerForLiveChatCommand.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/RemoveBannerForLiveChatCommand.ts#L5) +Defined in: [src/parser/classes/livechat/RemoveBannerForLiveChatCommand.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/RemoveBannerForLiveChatCommand.ts#L5) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/RemoveBannerForLiveChatCommand.ts:5](ht > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is RemoveBannerForLiveChatCommand & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/RemoveChatItemAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/RemoveChatItemAction.md index edc13a54..beb4e39b 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/RemoveChatItemAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/RemoveChatItemAction.md @@ -2,7 +2,7 @@ # Class: RemoveChatItemAction -Defined in: [src/parser/classes/livechat/RemoveChatItemAction.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/RemoveChatItemAction.ts#L4) +Defined in: [src/parser/classes/livechat/RemoveChatItemAction.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/RemoveChatItemAction.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/RemoveChatItemAction.ts:4](https://gith > **new RemoveChatItemAction**(`data`): `RemoveChatItemAction` -Defined in: [src/parser/classes/livechat/RemoveChatItemAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/RemoveChatItemAction.ts#L9) +Defined in: [src/parser/classes/livechat/RemoveChatItemAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/RemoveChatItemAction.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/RemoveChatItemAction.ts:9](https://gith > **target\_item\_id**: `string` -Defined in: [src/parser/classes/livechat/RemoveChatItemAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/RemoveChatItemAction.ts#L7) +Defined in: [src/parser/classes/livechat/RemoveChatItemAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/RemoveChatItemAction.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/RemoveChatItemAction.ts:7](https://gith > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'RemoveChatItemAction'` -Defined in: [src/parser/classes/livechat/RemoveChatItemAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/RemoveChatItemAction.ts#L5) +Defined in: [src/parser/classes/livechat/RemoveChatItemAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/RemoveChatItemAction.ts#L5) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/RemoveChatItemAction.ts:5](https://gith > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is RemoveChatItemAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/RemoveChatItemByAuthorAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/RemoveChatItemByAuthorAction.md index 264330df..3812fd29 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/RemoveChatItemByAuthorAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/RemoveChatItemByAuthorAction.md @@ -2,7 +2,7 @@ # Class: RemoveChatItemByAuthorAction -Defined in: [src/parser/classes/livechat/RemoveChatItemByAuthorAction.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/RemoveChatItemByAuthorAction.ts#L4) +Defined in: [src/parser/classes/livechat/RemoveChatItemByAuthorAction.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/RemoveChatItemByAuthorAction.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/RemoveChatItemByAuthorAction.ts:4](http > **new RemoveChatItemByAuthorAction**(`data`): `RemoveChatItemByAuthorAction` -Defined in: [src/parser/classes/livechat/RemoveChatItemByAuthorAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/RemoveChatItemByAuthorAction.ts#L9) +Defined in: [src/parser/classes/livechat/RemoveChatItemByAuthorAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/RemoveChatItemByAuthorAction.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/RemoveChatItemByAuthorAction.ts:9](http > **external\_channel\_id**: `string` -Defined in: [src/parser/classes/livechat/RemoveChatItemByAuthorAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/RemoveChatItemByAuthorAction.ts#L7) +Defined in: [src/parser/classes/livechat/RemoveChatItemByAuthorAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/RemoveChatItemByAuthorAction.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/RemoveChatItemByAuthorAction.ts:7](http > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'RemoveChatItemByAuthorAction'` -Defined in: [src/parser/classes/livechat/RemoveChatItemByAuthorAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/RemoveChatItemByAuthorAction.ts#L5) +Defined in: [src/parser/classes/livechat/RemoveChatItemByAuthorAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/RemoveChatItemByAuthorAction.ts#L5) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/RemoveChatItemByAuthorAction.ts:5](http > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is RemoveChatItemByAuthorAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ReplaceChatItemAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ReplaceChatItemAction.md index 274fcff5..58bc24d1 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ReplaceChatItemAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ReplaceChatItemAction.md @@ -2,7 +2,7 @@ # Class: ReplaceChatItemAction -Defined in: [src/parser/classes/livechat/ReplaceChatItemAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ReplaceChatItemAction.ts#L5) +Defined in: [src/parser/classes/livechat/ReplaceChatItemAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ReplaceChatItemAction.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/ReplaceChatItemAction.ts:5](https://git > **new ReplaceChatItemAction**(`data`): `ReplaceChatItemAction` -Defined in: [src/parser/classes/livechat/ReplaceChatItemAction.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ReplaceChatItemAction.ts#L11) +Defined in: [src/parser/classes/livechat/ReplaceChatItemAction.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ReplaceChatItemAction.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/ReplaceChatItemAction.ts:11](https://gi > **replacement\_item**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/livechat/ReplaceChatItemAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ReplaceChatItemAction.ts#L9) +Defined in: [src/parser/classes/livechat/ReplaceChatItemAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ReplaceChatItemAction.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/ReplaceChatItemAction.ts:9](https://git > **target\_item\_id**: `string` -Defined in: [src/parser/classes/livechat/ReplaceChatItemAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ReplaceChatItemAction.ts#L8) +Defined in: [src/parser/classes/livechat/ReplaceChatItemAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ReplaceChatItemAction.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/ReplaceChatItemAction.ts:8](https://git > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ReplaceChatItemAction'` -Defined in: [src/parser/classes/livechat/ReplaceChatItemAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ReplaceChatItemAction.ts#L6) +Defined in: [src/parser/classes/livechat/ReplaceChatItemAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ReplaceChatItemAction.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/ReplaceChatItemAction.ts:6](https://git > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ReplaceChatItemAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ReplaceLiveChatAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ReplaceLiveChatAction.md index 4c8f7e36..99b347bb 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ReplaceLiveChatAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ReplaceLiveChatAction.md @@ -2,7 +2,7 @@ # Class: ReplaceLiveChatAction -Defined in: [src/parser/classes/livechat/ReplaceLiveChatAction.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ReplaceLiveChatAction.ts#L4) +Defined in: [src/parser/classes/livechat/ReplaceLiveChatAction.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ReplaceLiveChatAction.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/ReplaceLiveChatAction.ts:4](https://git > **new ReplaceLiveChatAction**(`data`): `ReplaceLiveChatAction` -Defined in: [src/parser/classes/livechat/ReplaceLiveChatAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ReplaceLiveChatAction.ts#L10) +Defined in: [src/parser/classes/livechat/ReplaceLiveChatAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ReplaceLiveChatAction.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/ReplaceLiveChatAction.ts:10](https://gi > **replacement**: [`YTNode`](../../Helpers/classes/YTNode.md) \| `null` -Defined in: [src/parser/classes/livechat/ReplaceLiveChatAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ReplaceLiveChatAction.ts#L8) +Defined in: [src/parser/classes/livechat/ReplaceLiveChatAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ReplaceLiveChatAction.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/ReplaceLiveChatAction.ts:8](https://git > **to\_replace**: `string` -Defined in: [src/parser/classes/livechat/ReplaceLiveChatAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ReplaceLiveChatAction.ts#L7) +Defined in: [src/parser/classes/livechat/ReplaceLiveChatAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ReplaceLiveChatAction.ts#L7) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/ReplaceLiveChatAction.ts:7](https://git > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ReplaceLiveChatAction'` -Defined in: [src/parser/classes/livechat/ReplaceLiveChatAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ReplaceLiveChatAction.ts#L5) +Defined in: [src/parser/classes/livechat/ReplaceLiveChatAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ReplaceLiveChatAction.ts#L5) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/ReplaceLiveChatAction.ts:5](https://git > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ReplaceLiveChatAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ReplayChatItemAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ReplayChatItemAction.md index 0758ed64..3e176af5 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ReplayChatItemAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ReplayChatItemAction.md @@ -2,7 +2,7 @@ # Class: ReplayChatItemAction -Defined in: [src/parser/classes/livechat/ReplayChatItemAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ReplayChatItemAction.ts#L5) +Defined in: [src/parser/classes/livechat/ReplayChatItemAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ReplayChatItemAction.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/ReplayChatItemAction.ts:5](https://gith > **new ReplayChatItemAction**(`data`): `ReplayChatItemAction` -Defined in: [src/parser/classes/livechat/ReplayChatItemAction.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ReplayChatItemAction.ts#L11) +Defined in: [src/parser/classes/livechat/ReplayChatItemAction.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ReplayChatItemAction.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/ReplayChatItemAction.ts:11](https://git > **actions**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/livechat/ReplayChatItemAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ReplayChatItemAction.ts#L8) +Defined in: [src/parser/classes/livechat/ReplayChatItemAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ReplayChatItemAction.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/ReplayChatItemAction.ts:8](https://gith > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_offset\_time\_msec**: `string` -Defined in: [src/parser/classes/livechat/ReplayChatItemAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ReplayChatItemAction.ts#L9) +Defined in: [src/parser/classes/livechat/ReplayChatItemAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ReplayChatItemAction.ts#L9) *** @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/livechat/ReplayChatItemAction.ts:9](https://gith > `static` **type**: `string` = `'ReplayChatItemAction'` -Defined in: [src/parser/classes/livechat/ReplayChatItemAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ReplayChatItemAction.ts#L6) +Defined in: [src/parser/classes/livechat/ReplayChatItemAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ReplayChatItemAction.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/livechat/ReplayChatItemAction.ts:6](https://gith > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ReplayChatItemAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/RichGrid.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/RichGrid.md index 6c3cf5d9..c10ad5ad 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/RichGrid.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/RichGrid.md @@ -2,7 +2,7 @@ # Class: RichGrid -Defined in: [src/parser/classes/RichGrid.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichGrid.ts#L4) +Defined in: [src/parser/classes/RichGrid.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichGrid.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/RichGrid.ts:4](https://github.com/LuanRT/YouTube > **new RichGrid**(`data`): `RichGrid` -Defined in: [src/parser/classes/RichGrid.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichGrid.ts#L11) +Defined in: [src/parser/classes/RichGrid.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichGrid.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/RichGrid.ts:11](https://github.com/LuanRT/YouTub > **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/RichGrid.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichGrid.ts#L8) +Defined in: [src/parser/classes/RichGrid.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichGrid.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/RichGrid.ts:8](https://github.com/LuanRT/YouTube > **header**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/RichGrid.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichGrid.ts#L7) +Defined in: [src/parser/classes/RichGrid.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichGrid.ts#L7) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/RichGrid.ts:7](https://github.com/LuanRT/YouTube > `optional` **target\_id**: `string` -Defined in: [src/parser/classes/RichGrid.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichGrid.ts#L9) +Defined in: [src/parser/classes/RichGrid.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichGrid.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/RichGrid.ts:9](https://github.com/LuanRT/YouTube > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'RichGrid'` -Defined in: [src/parser/classes/RichGrid.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichGrid.ts#L5) +Defined in: [src/parser/classes/RichGrid.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichGrid.ts#L5) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/RichGrid.ts:5](https://github.com/LuanRT/YouTube > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is RichGrid & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/RichItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/RichItem.md index 93d16791..5e4b6497 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/RichItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/RichItem.md @@ -2,7 +2,7 @@ # Class: RichItem -Defined in: [src/parser/classes/RichItem.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichItem.ts#L4) +Defined in: [src/parser/classes/RichItem.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichItem.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/RichItem.ts:4](https://github.com/LuanRT/YouTube > **new RichItem**(`data`): `RichItem` -Defined in: [src/parser/classes/RichItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichItem.ts#L9) +Defined in: [src/parser/classes/RichItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichItem.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/RichItem.ts:9](https://github.com/LuanRT/YouTube > **content**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/RichItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichItem.ts#L7) +Defined in: [src/parser/classes/RichItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichItem.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/RichItem.ts:7](https://github.com/LuanRT/YouTube > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'RichItem'` -Defined in: [src/parser/classes/RichItem.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichItem.ts#L5) +Defined in: [src/parser/classes/RichItem.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichItem.ts#L5) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/RichItem.ts:5](https://github.com/LuanRT/YouTube > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is RichItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/RichListHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/RichListHeader.md index d3568609..5925cef3 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/RichListHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/RichListHeader.md @@ -2,7 +2,7 @@ # Class: RichListHeader -Defined in: [src/parser/classes/RichListHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichListHeader.ts#L5) +Defined in: [src/parser/classes/RichListHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichListHeader.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/RichListHeader.ts:5](https://github.com/LuanRT/Y > **new RichListHeader**(`data`): `RichListHeader` -Defined in: [src/parser/classes/RichListHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichListHeader.ts#L13) +Defined in: [src/parser/classes/RichListHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichListHeader.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/RichListHeader.ts:13](https://github.com/LuanRT/ > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/RichListHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichListHeader.ts#L11) +Defined in: [src/parser/classes/RichListHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichListHeader.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/RichListHeader.ts:11](https://github.com/LuanRT/ > **subtitle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/RichListHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichListHeader.ts#L9) +Defined in: [src/parser/classes/RichListHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichListHeader.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/RichListHeader.ts:9](https://github.com/LuanRT/Y > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/RichListHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichListHeader.ts#L8) +Defined in: [src/parser/classes/RichListHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichListHeader.ts#L8) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/RichListHeader.ts:8](https://github.com/LuanRT/Y > `optional` **title\_style**: `string` -Defined in: [src/parser/classes/RichListHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichListHeader.ts#L10) +Defined in: [src/parser/classes/RichListHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichListHeader.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/RichListHeader.ts:10](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'RichListHeader'` -Defined in: [src/parser/classes/RichListHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichListHeader.ts#L6) +Defined in: [src/parser/classes/RichListHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichListHeader.ts#L6) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/RichListHeader.ts:6](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is RichListHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/RichMetadata.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/RichMetadata.md index da479d43..c8cee420 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/RichMetadata.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/RichMetadata.md @@ -2,7 +2,7 @@ # Class: RichMetadata -Defined in: [src/parser/classes/RichMetadata.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichMetadata.ts#L7) +Defined in: [src/parser/classes/RichMetadata.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichMetadata.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/RichMetadata.ts:7](https://github.com/LuanRT/You > **new RichMetadata**(`data`): `RichMetadata` -Defined in: [src/parser/classes/RichMetadata.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichMetadata.ts#L17) +Defined in: [src/parser/classes/RichMetadata.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichMetadata.ts#L17) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/RichMetadata.ts:17](https://github.com/LuanRT/Yo > **call\_to\_action**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/RichMetadata.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichMetadata.ts#L13) +Defined in: [src/parser/classes/RichMetadata.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichMetadata.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/RichMetadata.ts:13](https://github.com/LuanRT/Yo > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/RichMetadata.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichMetadata.ts#L15) +Defined in: [src/parser/classes/RichMetadata.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichMetadata.ts#L15) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/RichMetadata.ts:15](https://github.com/LuanRT/Yo > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/RichMetadata.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichMetadata.ts#L14) +Defined in: [src/parser/classes/RichMetadata.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichMetadata.ts#L14) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/RichMetadata.ts:14](https://github.com/LuanRT/Yo > **subtitle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/RichMetadata.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichMetadata.ts#L12) +Defined in: [src/parser/classes/RichMetadata.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichMetadata.ts#L12) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/RichMetadata.ts:12](https://github.com/LuanRT/Yo > **thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/RichMetadata.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichMetadata.ts#L10) +Defined in: [src/parser/classes/RichMetadata.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichMetadata.ts#L10) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/RichMetadata.ts:10](https://github.com/LuanRT/Yo > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/RichMetadata.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichMetadata.ts#L11) +Defined in: [src/parser/classes/RichMetadata.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichMetadata.ts#L11) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/RichMetadata.ts:11](https://github.com/LuanRT/Yo > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'RichMetadata'` -Defined in: [src/parser/classes/RichMetadata.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichMetadata.ts#L8) +Defined in: [src/parser/classes/RichMetadata.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichMetadata.ts#L8) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/RichMetadata.ts:8](https://github.com/LuanRT/You > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is RichMetadata & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/RichMetadataRow.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/RichMetadataRow.md index 939576c1..cf8f6603 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/RichMetadataRow.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/RichMetadataRow.md @@ -2,7 +2,7 @@ # Class: RichMetadataRow -Defined in: [src/parser/classes/RichMetadataRow.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichMetadataRow.ts#L4) +Defined in: [src/parser/classes/RichMetadataRow.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichMetadataRow.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/RichMetadataRow.ts:4](https://github.com/LuanRT/ > **new RichMetadataRow**(`data`): `RichMetadataRow` -Defined in: [src/parser/classes/RichMetadataRow.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichMetadataRow.ts#L9) +Defined in: [src/parser/classes/RichMetadataRow.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichMetadataRow.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/RichMetadataRow.ts:9](https://github.com/LuanRT/ > **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/RichMetadataRow.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichMetadataRow.ts#L7) +Defined in: [src/parser/classes/RichMetadataRow.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichMetadataRow.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/RichMetadataRow.ts:7](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'RichMetadataRow'` -Defined in: [src/parser/classes/RichMetadataRow.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichMetadataRow.ts#L5) +Defined in: [src/parser/classes/RichMetadataRow.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichMetadataRow.ts#L5) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/RichMetadataRow.ts:5](https://github.com/LuanRT/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is RichMetadataRow & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/RichSection.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/RichSection.md index 4ad4bb19..d04145e8 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/RichSection.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/RichSection.md @@ -2,7 +2,7 @@ # Class: RichSection -Defined in: [src/parser/classes/RichSection.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichSection.ts#L4) +Defined in: [src/parser/classes/RichSection.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichSection.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/RichSection.ts:4](https://github.com/LuanRT/YouT > **new RichSection**(`data`): `RichSection` -Defined in: [src/parser/classes/RichSection.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichSection.ts#L11) +Defined in: [src/parser/classes/RichSection.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichSection.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/RichSection.ts:11](https://github.com/LuanRT/You > **content**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/RichSection.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichSection.ts#L7) +Defined in: [src/parser/classes/RichSection.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichSection.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/RichSection.ts:7](https://github.com/LuanRT/YouT > **full\_bleed**: `boolean` -Defined in: [src/parser/classes/RichSection.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichSection.ts#L8) +Defined in: [src/parser/classes/RichSection.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichSection.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/RichSection.ts:8](https://github.com/LuanRT/YouT > `optional` **target\_id**: `string` -Defined in: [src/parser/classes/RichSection.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichSection.ts#L9) +Defined in: [src/parser/classes/RichSection.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichSection.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/RichSection.ts:9](https://github.com/LuanRT/YouT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'RichSection'` -Defined in: [src/parser/classes/RichSection.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichSection.ts#L5) +Defined in: [src/parser/classes/RichSection.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichSection.ts#L5) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/RichSection.ts:5](https://github.com/LuanRT/YouT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is RichSection & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/RichShelf.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/RichShelf.md index fef6fb22..5ff708d7 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/RichShelf.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/RichShelf.md @@ -2,7 +2,7 @@ # Class: RichShelf -Defined in: [src/parser/classes/RichShelf.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichShelf.ts#L6) +Defined in: [src/parser/classes/RichShelf.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichShelf.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/RichShelf.ts:6](https://github.com/LuanRT/YouTub > **new RichShelf**(`data`): `RichShelf` -Defined in: [src/parser/classes/RichShelf.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichShelf.ts#L26) +Defined in: [src/parser/classes/RichShelf.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichShelf.ts#L26) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/RichShelf.ts:26](https://github.com/LuanRT/YouTu > **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/RichShelf.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichShelf.ts#L10) +Defined in: [src/parser/classes/RichShelf.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichShelf.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/RichShelf.ts:10](https://github.com/LuanRT/YouTu > `optional` **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/RichShelf.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichShelf.ts#L11) +Defined in: [src/parser/classes/RichShelf.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichShelf.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/RichShelf.ts:11](https://github.com/LuanRT/YouTu > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/RichShelf.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichShelf.ts#L21) +Defined in: [src/parser/classes/RichShelf.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichShelf.ts#L21) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/RichShelf.ts:21](https://github.com/LuanRT/YouTu > **is\_bottom\_divider\_hidden**: `boolean` -Defined in: [src/parser/classes/RichShelf.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichShelf.ts#L14) +Defined in: [src/parser/classes/RichShelf.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichShelf.ts#L14) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/RichShelf.ts:14](https://github.com/LuanRT/YouTu > **is\_expanded**: `boolean` -Defined in: [src/parser/classes/RichShelf.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichShelf.ts#L13) +Defined in: [src/parser/classes/RichShelf.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichShelf.ts#L13) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/RichShelf.ts:13](https://github.com/LuanRT/YouTu > **is\_top\_divider\_hidden**: `boolean` -Defined in: [src/parser/classes/RichShelf.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichShelf.ts#L15) +Defined in: [src/parser/classes/RichShelf.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichShelf.ts#L15) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/RichShelf.ts:15](https://github.com/LuanRT/YouTu > `optional` **layout\_sizing**: `"RICH_GRID_LAYOUT_SIZING_UNSPECIFIED"` \| `"RICH_GRID_LAYOUT_SIZING_STANDARD"` \| `"RICH_GRID_LAYOUT_SIZING_COMPACT"` \| `"RICH_GRID_LAYOUT_SIZING_EXTRA_COMPACT"` \| `"RICH_GRID_LAYOUT_SIZING_TINY"` -Defined in: [src/parser/classes/RichShelf.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichShelf.ts#L16) +Defined in: [src/parser/classes/RichShelf.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichShelf.ts#L16) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/RichShelf.ts:16](https://github.com/LuanRT/YouTu > **menu**: [`YTNode`](../../Helpers/classes/YTNode.md) \| `null` -Defined in: [src/parser/classes/RichShelf.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichShelf.ts#L22) +Defined in: [src/parser/classes/RichShelf.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichShelf.ts#L22) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/RichShelf.ts:22](https://github.com/LuanRT/YouTu > **next\_button**: [`YTNode`](../../Helpers/classes/YTNode.md) \| `null` -Defined in: [src/parser/classes/RichShelf.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichShelf.ts#L23) +Defined in: [src/parser/classes/RichShelf.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichShelf.ts#L23) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/RichShelf.ts:23](https://github.com/LuanRT/YouTu > **previous\_button**: [`YTNode`](../../Helpers/classes/YTNode.md) \| `null` -Defined in: [src/parser/classes/RichShelf.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichShelf.ts#L24) +Defined in: [src/parser/classes/RichShelf.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichShelf.ts#L24) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/RichShelf.ts:24](https://github.com/LuanRT/YouTu > `optional` **subtitle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/RichShelf.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichShelf.ts#L12) +Defined in: [src/parser/classes/RichShelf.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichShelf.ts#L12) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/RichShelf.ts:12](https://github.com/LuanRT/YouTu > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/RichShelf.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichShelf.ts#L9) +Defined in: [src/parser/classes/RichShelf.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichShelf.ts#L9) *** @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/RichShelf.ts:9](https://github.com/LuanRT/YouTub > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -144,7 +144,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'RichShelf'` -Defined in: [src/parser/classes/RichShelf.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/RichShelf.ts#L7) +Defined in: [src/parser/classes/RichShelf.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/RichShelf.ts#L7) #### Overrides @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/RichShelf.ts:7](https://github.com/LuanRT/YouTub > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -198,7 +198,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is RichShelf & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -236,7 +236,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -274,7 +274,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/RunAttestationCommand.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/RunAttestationCommand.md index e3f322fb..38ab45d3 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/RunAttestationCommand.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/RunAttestationCommand.md @@ -2,7 +2,7 @@ # Class: RunAttestationCommand -Defined in: [src/parser/classes/commands/RunAttestationCommand.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/RunAttestationCommand.ts#L15) +Defined in: [src/parser/classes/commands/RunAttestationCommand.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/RunAttestationCommand.ts#L15) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/commands/RunAttestationCommand.ts:15](https://gi > **new RunAttestationCommand**(`data`): `RunAttestationCommand` -Defined in: [src/parser/classes/commands/RunAttestationCommand.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/RunAttestationCommand.ts#L21) +Defined in: [src/parser/classes/commands/RunAttestationCommand.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/RunAttestationCommand.ts#L21) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/commands/RunAttestationCommand.ts:21](https://gi > **engagement\_type**: `string` -Defined in: [src/parser/classes/commands/RunAttestationCommand.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/RunAttestationCommand.ts#L18) +Defined in: [src/parser/classes/commands/RunAttestationCommand.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/RunAttestationCommand.ts#L18) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/commands/RunAttestationCommand.ts:18](https://gi > `optional` **ids**: `AttIds`[] -Defined in: [src/parser/classes/commands/RunAttestationCommand.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/RunAttestationCommand.ts#L19) +Defined in: [src/parser/classes/commands/RunAttestationCommand.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/RunAttestationCommand.ts#L19) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/commands/RunAttestationCommand.ts:19](https://gi > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'RunAttestationCommand'` -Defined in: [src/parser/classes/commands/RunAttestationCommand.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/RunAttestationCommand.ts#L16) +Defined in: [src/parser/classes/commands/RunAttestationCommand.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/RunAttestationCommand.ts#L16) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/commands/RunAttestationCommand.ts:16](https://gi > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is RunAttestationCommand & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchBox.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchBox.md index 886dad12..b8200e9e 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchBox.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchBox.md @@ -2,7 +2,7 @@ # Class: SearchBox -Defined in: [src/parser/classes/SearchBox.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchBox.ts#L7) +Defined in: [src/parser/classes/SearchBox.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchBox.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SearchBox.ts:7](https://github.com/LuanRT/YouTub > **new SearchBox**(`data`): `SearchBox` -Defined in: [src/parser/classes/SearchBox.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchBox.ts#L15) +Defined in: [src/parser/classes/SearchBox.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchBox.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SearchBox.ts:15](https://github.com/LuanRT/YouTu > **clear\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/SearchBox.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchBox.ts#L12) +Defined in: [src/parser/classes/SearchBox.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchBox.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SearchBox.ts:12](https://github.com/LuanRT/YouTu > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/SearchBox.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchBox.ts#L10) +Defined in: [src/parser/classes/SearchBox.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchBox.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SearchBox.ts:10](https://github.com/LuanRT/YouTu > **placeholder\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SearchBox.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchBox.ts#L13) +Defined in: [src/parser/classes/SearchBox.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchBox.ts#L13) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/SearchBox.ts:13](https://github.com/LuanRT/YouTu > **search\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/SearchBox.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchBox.ts#L11) +Defined in: [src/parser/classes/SearchBox.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchBox.ts#L11) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/SearchBox.ts:11](https://github.com/LuanRT/YouTu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SearchBox'` -Defined in: [src/parser/classes/SearchBox.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchBox.ts#L8) +Defined in: [src/parser/classes/SearchBox.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchBox.ts#L8) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/SearchBox.ts:8](https://github.com/LuanRT/YouTub > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SearchBox & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchEndpoint.md index eda7faa3..274045db 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchEndpoint.md @@ -2,7 +2,7 @@ # Class: SearchEndpoint -Defined in: [src/parser/classes/endpoints/SearchEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/SearchEndpoint.ts#L6) +Defined in: [src/parser/classes/endpoints/SearchEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/SearchEndpoint.ts#L6) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/parser/classes/endpoints/SearchEndpoint.ts:6](https://github.co > **new SearchEndpoint**(`data`): `SearchEndpoint` -Defined in: [src/parser/classes/endpoints/SearchEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/SearchEndpoint.ts#L11) +Defined in: [src/parser/classes/endpoints/SearchEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/SearchEndpoint.ts#L11) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/endpoints/SearchEndpoint.ts:11](https://github.c > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -52,7 +52,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SearchEndpoint'` -Defined in: [src/parser/classes/endpoints/SearchEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/SearchEndpoint.ts#L7) +Defined in: [src/parser/classes/endpoints/SearchEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/SearchEndpoint.ts#L7) #### Overrides @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/endpoints/SearchEndpoint.ts:7](https://github.co > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -106,7 +106,7 @@ If the node is not of the given type > **buildRequest**(): [`SearchRequest`](../../../../type-aliases/SearchRequest.md) -Defined in: [src/parser/classes/endpoints/SearchEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/SearchEndpoint.ts#L20) +Defined in: [src/parser/classes/endpoints/SearchEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/SearchEndpoint.ts#L20) #### Returns @@ -122,7 +122,7 @@ Defined in: [src/parser/classes/endpoints/SearchEndpoint.ts:20](https://github.c > **getApiPath**(): `string` -Defined in: [src/parser/classes/endpoints/SearchEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/SearchEndpoint.ts#L16) +Defined in: [src/parser/classes/endpoints/SearchEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/SearchEndpoint.ts#L16) #### Returns @@ -138,7 +138,7 @@ Defined in: [src/parser/classes/endpoints/SearchEndpoint.ts:16](https://github.c > **hasKey**\<`T`, `R`\>(`key`): `this is SearchEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -176,7 +176,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -214,7 +214,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchFilter.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchFilter.md index c065b6eb..a929aeab 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchFilter.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchFilter.md @@ -2,7 +2,7 @@ # Class: SearchFilter -Defined in: [src/parser/classes/SearchFilter.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchFilter.ts#L6) +Defined in: [src/parser/classes/SearchFilter.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchFilter.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SearchFilter.ts:6](https://github.com/LuanRT/You > **new SearchFilter**(`data`): `SearchFilter` -Defined in: [src/parser/classes/SearchFilter.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchFilter.ts#L14) +Defined in: [src/parser/classes/SearchFilter.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchFilter.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SearchFilter.ts:14](https://github.com/LuanRT/Yo > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/SearchFilter.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchFilter.ts#L10) +Defined in: [src/parser/classes/SearchFilter.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchFilter.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SearchFilter.ts:10](https://github.com/LuanRT/Yo > **label**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SearchFilter.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchFilter.ts#L9) +Defined in: [src/parser/classes/SearchFilter.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchFilter.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SearchFilter.ts:9](https://github.com/LuanRT/You > `optional` **status**: `string` -Defined in: [src/parser/classes/SearchFilter.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchFilter.ts#L12) +Defined in: [src/parser/classes/SearchFilter.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchFilter.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/SearchFilter.ts:12](https://github.com/LuanRT/Yo > **tooltip**: `string` -Defined in: [src/parser/classes/SearchFilter.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchFilter.ts#L11) +Defined in: [src/parser/classes/SearchFilter.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchFilter.ts#L11) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/SearchFilter.ts:11](https://github.com/LuanRT/Yo > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SearchFilter'` -Defined in: [src/parser/classes/SearchFilter.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchFilter.ts#L7) +Defined in: [src/parser/classes/SearchFilter.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchFilter.ts#L7) #### Overrides @@ -94,7 +94,7 @@ Defined in: [src/parser/classes/SearchFilter.ts:7](https://github.com/LuanRT/You > **get** **disabled**(): `boolean` -Defined in: [src/parser/classes/SearchFilter.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchFilter.ts#L25) +Defined in: [src/parser/classes/SearchFilter.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchFilter.ts#L25) ##### Returns @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/SearchFilter.ts:25](https://github.com/LuanRT/Yo > **get** **selected**(): `boolean` -Defined in: [src/parser/classes/SearchFilter.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchFilter.ts#L29) +Defined in: [src/parser/classes/SearchFilter.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchFilter.ts#L29) ##### Returns @@ -120,7 +120,7 @@ Defined in: [src/parser/classes/SearchFilter.ts:29](https://github.com/LuanRT/Yo > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -162,7 +162,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SearchFilter & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -200,7 +200,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -238,7 +238,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchFilterGroup.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchFilterGroup.md index 1f5adee1..b792021a 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchFilterGroup.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchFilterGroup.md @@ -2,7 +2,7 @@ # Class: SearchFilterGroup -Defined in: [src/parser/classes/SearchFilterGroup.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchFilterGroup.ts#L7) +Defined in: [src/parser/classes/SearchFilterGroup.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchFilterGroup.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SearchFilterGroup.ts:7](https://github.com/LuanR > **new SearchFilterGroup**(`data`): `SearchFilterGroup` -Defined in: [src/parser/classes/SearchFilterGroup.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchFilterGroup.ts#L13) +Defined in: [src/parser/classes/SearchFilterGroup.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchFilterGroup.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SearchFilterGroup.ts:13](https://github.com/Luan > **filters**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`SearchFilter`](SearchFilter.md)\> -Defined in: [src/parser/classes/SearchFilterGroup.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchFilterGroup.ts#L11) +Defined in: [src/parser/classes/SearchFilterGroup.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchFilterGroup.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SearchFilterGroup.ts:11](https://github.com/Luan > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SearchFilterGroup.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchFilterGroup.ts#L10) +Defined in: [src/parser/classes/SearchFilterGroup.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchFilterGroup.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SearchFilterGroup.ts:10](https://github.com/Luan > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SearchFilterGroup'` -Defined in: [src/parser/classes/SearchFilterGroup.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchFilterGroup.ts#L8) +Defined in: [src/parser/classes/SearchFilterGroup.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchFilterGroup.ts#L8) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/SearchFilterGroup.ts:8](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SearchFilterGroup & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchFilterOptionsDialog.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchFilterOptionsDialog.md index 8356dcca..84900cd9 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchFilterOptionsDialog.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchFilterOptionsDialog.md @@ -2,7 +2,7 @@ # Class: SearchFilterOptionsDialog -Defined in: [src/parser/classes/SearchFilterOptionsDialog.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchFilterOptionsDialog.ts#L7) +Defined in: [src/parser/classes/SearchFilterOptionsDialog.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchFilterOptionsDialog.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SearchFilterOptionsDialog.ts:7](https://github.c > **new SearchFilterOptionsDialog**(`data`): `SearchFilterOptionsDialog` -Defined in: [src/parser/classes/SearchFilterOptionsDialog.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchFilterOptionsDialog.ts#L13) +Defined in: [src/parser/classes/SearchFilterOptionsDialog.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchFilterOptionsDialog.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SearchFilterOptionsDialog.ts:13](https://github. > **groups**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`SearchFilterGroup`](SearchFilterGroup.md)\> -Defined in: [src/parser/classes/SearchFilterOptionsDialog.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchFilterOptionsDialog.ts#L11) +Defined in: [src/parser/classes/SearchFilterOptionsDialog.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchFilterOptionsDialog.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SearchFilterOptionsDialog.ts:11](https://github. > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SearchFilterOptionsDialog.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchFilterOptionsDialog.ts#L10) +Defined in: [src/parser/classes/SearchFilterOptionsDialog.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchFilterOptionsDialog.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SearchFilterOptionsDialog.ts:10](https://github. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SearchFilterOptionsDialog'` -Defined in: [src/parser/classes/SearchFilterOptionsDialog.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchFilterOptionsDialog.ts#L8) +Defined in: [src/parser/classes/SearchFilterOptionsDialog.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchFilterOptionsDialog.ts#L8) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/SearchFilterOptionsDialog.ts:8](https://github.c > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SearchFilterOptionsDialog & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchHeader.md index 1b04e00d..735f70c2 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchHeader.md @@ -2,7 +2,7 @@ # Class: SearchHeader -Defined in: [src/parser/classes/SearchHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchHeader.ts#L6) +Defined in: [src/parser/classes/SearchHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchHeader.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SearchHeader.ts:6](https://github.com/LuanRT/You > **new SearchHeader**(`data`): `SearchHeader` -Defined in: [src/parser/classes/SearchHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchHeader.ts#L12) +Defined in: [src/parser/classes/SearchHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchHeader.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SearchHeader.ts:12](https://github.com/LuanRT/Yo > **chip\_bar**: [`ChipCloud`](ChipCloud.md) \| `null` -Defined in: [src/parser/classes/SearchHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchHeader.ts#L9) +Defined in: [src/parser/classes/SearchHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchHeader.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SearchHeader.ts:9](https://github.com/LuanRT/You > **search\_filter\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/SearchHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchHeader.ts#L10) +Defined in: [src/parser/classes/SearchHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchHeader.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SearchHeader.ts:10](https://github.com/LuanRT/Yo > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SearchHeader'` -Defined in: [src/parser/classes/SearchHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchHeader.ts#L7) +Defined in: [src/parser/classes/SearchHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchHeader.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/SearchHeader.ts:7](https://github.com/LuanRT/You > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SearchHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchRefinementCard.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchRefinementCard.md index 415b664d..4bc5a55f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchRefinementCard.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchRefinementCard.md @@ -2,7 +2,7 @@ # Class: SearchRefinementCard -Defined in: [src/parser/classes/SearchRefinementCard.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchRefinementCard.ts#L7) +Defined in: [src/parser/classes/SearchRefinementCard.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchRefinementCard.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SearchRefinementCard.ts:7](https://github.com/Lu > **new SearchRefinementCard**(`data`): `SearchRefinementCard` -Defined in: [src/parser/classes/SearchRefinementCard.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchRefinementCard.ts#L14) +Defined in: [src/parser/classes/SearchRefinementCard.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchRefinementCard.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SearchRefinementCard.ts:14](https://github.com/L > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/SearchRefinementCard.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchRefinementCard.ts#L11) +Defined in: [src/parser/classes/SearchRefinementCard.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchRefinementCard.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SearchRefinementCard.ts:11](https://github.com/L > **query**: `string` -Defined in: [src/parser/classes/SearchRefinementCard.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchRefinementCard.ts#L12) +Defined in: [src/parser/classes/SearchRefinementCard.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchRefinementCard.ts#L12) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SearchRefinementCard.ts:12](https://github.com/L > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/SearchRefinementCard.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchRefinementCard.ts#L10) +Defined in: [src/parser/classes/SearchRefinementCard.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchRefinementCard.ts#L10) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/SearchRefinementCard.ts:10](https://github.com/L > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SearchRefinementCard'` -Defined in: [src/parser/classes/SearchRefinementCard.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchRefinementCard.ts#L8) +Defined in: [src/parser/classes/SearchRefinementCard.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchRefinementCard.ts#L8) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/SearchRefinementCard.ts:8](https://github.com/Lu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SearchRefinementCard & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchSubMenu.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchSubMenu.md index 25b030a4..e172100b 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchSubMenu.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchSubMenu.md @@ -2,7 +2,7 @@ # Class: SearchSubMenu -Defined in: [src/parser/classes/SearchSubMenu.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchSubMenu.ts#L8) +Defined in: [src/parser/classes/SearchSubMenu.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchSubMenu.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SearchSubMenu.ts:8](https://github.com/LuanRT/Yo > **new SearchSubMenu**(`data`): `SearchSubMenu` -Defined in: [src/parser/classes/SearchSubMenu.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchSubMenu.ts#L15) +Defined in: [src/parser/classes/SearchSubMenu.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchSubMenu.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SearchSubMenu.ts:15](https://github.com/LuanRT/Y > `optional` **button**: [`ToggleButton`](ToggleButton.md) \| `null` -Defined in: [src/parser/classes/SearchSubMenu.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchSubMenu.ts#L13) +Defined in: [src/parser/classes/SearchSubMenu.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchSubMenu.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SearchSubMenu.ts:13](https://github.com/LuanRT/Y > `optional` **groups**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`SearchFilterGroup`](SearchFilterGroup.md)\> -Defined in: [src/parser/classes/SearchSubMenu.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchSubMenu.ts#L12) +Defined in: [src/parser/classes/SearchSubMenu.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchSubMenu.ts#L12) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SearchSubMenu.ts:12](https://github.com/LuanRT/Y > `optional` **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SearchSubMenu.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchSubMenu.ts#L11) +Defined in: [src/parser/classes/SearchSubMenu.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchSubMenu.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/SearchSubMenu.ts:11](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SearchSubMenu'` -Defined in: [src/parser/classes/SearchSubMenu.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchSubMenu.ts#L9) +Defined in: [src/parser/classes/SearchSubMenu.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchSubMenu.ts#L9) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/SearchSubMenu.ts:9](https://github.com/LuanRT/Yo > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SearchSubMenu & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchSuggestion.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchSuggestion.md index 7ea660a7..290c4193 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchSuggestion.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchSuggestion.md @@ -2,7 +2,7 @@ # Class: SearchSuggestion -Defined in: [src/parser/classes/SearchSuggestion.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchSuggestion.ts#L6) +Defined in: [src/parser/classes/SearchSuggestion.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchSuggestion.ts#L6) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/parser/classes/SearchSuggestion.ts:6](https://github.com/LuanRT > **new SearchSuggestion**(`data`): `SearchSuggestion` -Defined in: [src/parser/classes/SearchSuggestion.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchSuggestion.ts#L14) +Defined in: [src/parser/classes/SearchSuggestion.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchSuggestion.ts#L14) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/SearchSuggestion.ts:14](https://github.com/LuanR > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/SearchSuggestion.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchSuggestion.ts#L10) +Defined in: [src/parser/classes/SearchSuggestion.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchSuggestion.ts#L10) *** @@ -48,7 +48,7 @@ Defined in: [src/parser/classes/SearchSuggestion.ts:10](https://github.com/LuanR > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/SearchSuggestion.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchSuggestion.ts#L11) +Defined in: [src/parser/classes/SearchSuggestion.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchSuggestion.ts#L11) *** @@ -56,7 +56,7 @@ Defined in: [src/parser/classes/SearchSuggestion.ts:11](https://github.com/LuanR > `optional` **service\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/SearchSuggestion.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchSuggestion.ts#L12) +Defined in: [src/parser/classes/SearchSuggestion.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchSuggestion.ts#L12) *** @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/SearchSuggestion.ts:12](https://github.com/LuanR > **suggestion**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SearchSuggestion.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchSuggestion.ts#L9) +Defined in: [src/parser/classes/SearchSuggestion.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchSuggestion.ts#L9) *** @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/SearchSuggestion.ts:9](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -84,7 +84,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SearchSuggestion'` -Defined in: [src/parser/classes/SearchSuggestion.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchSuggestion.ts#L7) +Defined in: [src/parser/classes/SearchSuggestion.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchSuggestion.ts#L7) #### Overrides @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/SearchSuggestion.ts:7](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -138,7 +138,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SearchSuggestion & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -176,7 +176,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -214,7 +214,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchSuggestionsSection.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchSuggestionsSection.md index 3f8a4516..3b85fa0d 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchSuggestionsSection.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SearchSuggestionsSection.md @@ -2,7 +2,7 @@ # Class: SearchSuggestionsSection -Defined in: [src/parser/classes/SearchSuggestionsSection.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchSuggestionsSection.ts#L4) +Defined in: [src/parser/classes/SearchSuggestionsSection.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchSuggestionsSection.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SearchSuggestionsSection.ts:4](https://github.co > **new SearchSuggestionsSection**(`data`): `SearchSuggestionsSection` -Defined in: [src/parser/classes/SearchSuggestionsSection.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchSuggestionsSection.ts#L9) +Defined in: [src/parser/classes/SearchSuggestionsSection.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchSuggestionsSection.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SearchSuggestionsSection.ts:9](https://github.co > **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/SearchSuggestionsSection.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchSuggestionsSection.ts#L7) +Defined in: [src/parser/classes/SearchSuggestionsSection.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchSuggestionsSection.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SearchSuggestionsSection.ts:7](https://github.co > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SearchSuggestionsSection'` -Defined in: [src/parser/classes/SearchSuggestionsSection.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SearchSuggestionsSection.ts#L5) +Defined in: [src/parser/classes/SearchSuggestionsSection.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SearchSuggestionsSection.ts#L5) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/SearchSuggestionsSection.ts:5](https://github.co > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SearchSuggestionsSection & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SecondarySearchContainer.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SecondarySearchContainer.md index 0a9aa034..0fc0312e 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SecondarySearchContainer.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SecondarySearchContainer.md @@ -2,7 +2,7 @@ # Class: SecondarySearchContainer -Defined in: [src/parser/classes/SecondarySearchContainer.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SecondarySearchContainer.ts#L5) +Defined in: [src/parser/classes/SecondarySearchContainer.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SecondarySearchContainer.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SecondarySearchContainer.ts:5](https://github.co > **new SecondarySearchContainer**(`data`): `SecondarySearchContainer` -Defined in: [src/parser/classes/SecondarySearchContainer.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SecondarySearchContainer.ts#L11) +Defined in: [src/parser/classes/SecondarySearchContainer.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SecondarySearchContainer.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SecondarySearchContainer.ts:11](https://github.c > **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`UniversalWatchCard`](UniversalWatchCard.md)\> -Defined in: [src/parser/classes/SecondarySearchContainer.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SecondarySearchContainer.ts#L9) +Defined in: [src/parser/classes/SecondarySearchContainer.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SecondarySearchContainer.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SecondarySearchContainer.ts:9](https://github.co > `optional` **target\_id**: `string` -Defined in: [src/parser/classes/SecondarySearchContainer.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SecondarySearchContainer.ts#L8) +Defined in: [src/parser/classes/SecondarySearchContainer.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SecondarySearchContainer.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SecondarySearchContainer.ts:8](https://github.co > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SecondarySearchContainer'` -Defined in: [src/parser/classes/SecondarySearchContainer.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SecondarySearchContainer.ts#L6) +Defined in: [src/parser/classes/SecondarySearchContainer.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SecondarySearchContainer.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/SecondarySearchContainer.ts:6](https://github.co > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SecondarySearchContainer & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SectionHeaderView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SectionHeaderView.md index 75017f47..b9924052 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SectionHeaderView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SectionHeaderView.md @@ -2,7 +2,7 @@ # Class: SectionHeaderView -Defined in: [src/parser/classes/SectionHeaderView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SectionHeaderView.ts#L5) +Defined in: [src/parser/classes/SectionHeaderView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SectionHeaderView.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SectionHeaderView.ts:5](https://github.com/LuanR > **new SectionHeaderView**(`data`): `SectionHeaderView` -Defined in: [src/parser/classes/SectionHeaderView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SectionHeaderView.ts#L10) +Defined in: [src/parser/classes/SectionHeaderView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SectionHeaderView.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SectionHeaderView.ts:10](https://github.com/Luan > **headline**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SectionHeaderView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SectionHeaderView.ts#L8) +Defined in: [src/parser/classes/SectionHeaderView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SectionHeaderView.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SectionHeaderView.ts:8](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SectionHeaderView'` -Defined in: [src/parser/classes/SectionHeaderView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SectionHeaderView.ts#L6) +Defined in: [src/parser/classes/SectionHeaderView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SectionHeaderView.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/SectionHeaderView.ts:6](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SectionHeaderView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SectionList.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SectionList.md index 292c9a20..e361b2bb 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SectionList.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SectionList.md @@ -2,7 +2,7 @@ # Class: SectionList -Defined in: [src/parser/classes/SectionList.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SectionList.ts#L4) +Defined in: [src/parser/classes/SectionList.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SectionList.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SectionList.ts:4](https://github.com/LuanRT/YouT > **new SectionList**(`data`): `SectionList` -Defined in: [src/parser/classes/SectionList.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SectionList.ts#L13) +Defined in: [src/parser/classes/SectionList.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SectionList.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SectionList.ts:13](https://github.com/LuanRT/You > **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/SectionList.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SectionList.ts#L7) +Defined in: [src/parser/classes/SectionList.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SectionList.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SectionList.ts:7](https://github.com/LuanRT/YouT > `optional` **continuation**: `string` -Defined in: [src/parser/classes/SectionList.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SectionList.ts#L9) +Defined in: [src/parser/classes/SectionList.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SectionList.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SectionList.ts:9](https://github.com/LuanRT/YouT > `optional` **header**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/SectionList.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SectionList.ts#L10) +Defined in: [src/parser/classes/SectionList.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SectionList.ts#L10) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/SectionList.ts:10](https://github.com/LuanRT/You > `optional` **sub\_menu**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/SectionList.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SectionList.ts#L11) +Defined in: [src/parser/classes/SectionList.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SectionList.ts#L11) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/SectionList.ts:11](https://github.com/LuanRT/You > `optional` **target\_id**: `string` -Defined in: [src/parser/classes/SectionList.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SectionList.ts#L8) +Defined in: [src/parser/classes/SectionList.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SectionList.ts#L8) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/SectionList.ts:8](https://github.com/LuanRT/YouT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SectionList'` -Defined in: [src/parser/classes/SectionList.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SectionList.ts#L5) +Defined in: [src/parser/classes/SectionList.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SectionList.ts#L5) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/SectionList.ts:5](https://github.com/LuanRT/YouT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SectionList & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SegmentedLikeDislikeButton.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SegmentedLikeDislikeButton.md index b35f7426..d25c44d8 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SegmentedLikeDislikeButton.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SegmentedLikeDislikeButton.md @@ -2,7 +2,7 @@ # Class: SegmentedLikeDislikeButton -Defined in: [src/parser/classes/SegmentedLikeDislikeButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SegmentedLikeDislikeButton.ts#L7) +Defined in: [src/parser/classes/SegmentedLikeDislikeButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SegmentedLikeDislikeButton.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SegmentedLikeDislikeButton.ts:7](https://github. > **new SegmentedLikeDislikeButton**(`data`): `SegmentedLikeDislikeButton` -Defined in: [src/parser/classes/SegmentedLikeDislikeButton.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SegmentedLikeDislikeButton.ts#L13) +Defined in: [src/parser/classes/SegmentedLikeDislikeButton.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SegmentedLikeDislikeButton.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SegmentedLikeDislikeButton.ts:13](https://github > **dislike\_button**: [`Button`](Button.md) \| [`ToggleButton`](ToggleButton.md) \| `null` -Defined in: [src/parser/classes/SegmentedLikeDislikeButton.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SegmentedLikeDislikeButton.ts#L11) +Defined in: [src/parser/classes/SegmentedLikeDislikeButton.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SegmentedLikeDislikeButton.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SegmentedLikeDislikeButton.ts:11](https://github > **like\_button**: [`Button`](Button.md) \| [`ToggleButton`](ToggleButton.md) \| `null` -Defined in: [src/parser/classes/SegmentedLikeDislikeButton.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SegmentedLikeDislikeButton.ts#L10) +Defined in: [src/parser/classes/SegmentedLikeDislikeButton.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SegmentedLikeDislikeButton.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SegmentedLikeDislikeButton.ts:10](https://github > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SegmentedLikeDislikeButton'` -Defined in: [src/parser/classes/SegmentedLikeDislikeButton.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SegmentedLikeDislikeButton.ts#L8) +Defined in: [src/parser/classes/SegmentedLikeDislikeButton.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SegmentedLikeDislikeButton.ts#L8) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/SegmentedLikeDislikeButton.ts:8](https://github. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SegmentedLikeDislikeButton & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SegmentedLikeDislikeButtonView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SegmentedLikeDislikeButtonView.md index 4d238b46..e66bbc3e 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SegmentedLikeDislikeButtonView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SegmentedLikeDislikeButtonView.md @@ -2,7 +2,7 @@ # Class: SegmentedLikeDislikeButtonView -Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SegmentedLikeDislikeButtonView.ts#L6) +Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SegmentedLikeDislikeButtonView.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:6](https://git > **new SegmentedLikeDislikeButtonView**(`data`): `SegmentedLikeDislikeButtonView` -Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SegmentedLikeDislikeButtonView.ts#L25) +Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SegmentedLikeDislikeButtonView.ts#L25) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:25](https://gi > **dislike\_button**: [`DislikeButtonView`](DislikeButtonView.md) \| `null` -Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SegmentedLikeDislikeButtonView.ts#L10) +Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SegmentedLikeDislikeButtonView.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:10](https://gi > **dynamic\_like\_count\_update\_data**: `object` -Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SegmentedLikeDislikeButtonView.ts#L15) +Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SegmentedLikeDislikeButtonView.ts#L15) #### placeholder\_like\_count\_values\_key @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:15](https://gi > **icon\_type**: `string` -Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SegmentedLikeDislikeButtonView.ts#L11) +Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SegmentedLikeDislikeButtonView.ts#L11) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:11](https://gi > **like\_button**: [`LikeButtonView`](LikeButtonView.md) \| `null` -Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SegmentedLikeDislikeButtonView.ts#L9) +Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SegmentedLikeDislikeButtonView.ts#L9) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:9](https://git > `optional` **like\_count**: `number` -Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SegmentedLikeDislikeButtonView.ts#L22) +Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SegmentedLikeDislikeButtonView.ts#L22) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:22](https://gi > **like\_count\_entity**: `object` -Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SegmentedLikeDislikeButtonView.ts#L12) +Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SegmentedLikeDislikeButtonView.ts#L12) #### key @@ -104,7 +104,7 @@ Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:12](https://gi > `optional` **short\_like\_count**: `string` -Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SegmentedLikeDislikeButtonView.ts#L23) +Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SegmentedLikeDislikeButtonView.ts#L23) *** @@ -112,7 +112,7 @@ Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:23](https://gi > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -124,7 +124,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SegmentedLikeDislikeButtonView'` -Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SegmentedLikeDislikeButtonView.ts#L7) +Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SegmentedLikeDislikeButtonView.ts#L7) #### Overrides @@ -136,7 +136,7 @@ Defined in: [src/parser/classes/SegmentedLikeDislikeButtonView.ts:7](https://git > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -178,7 +178,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SegmentedLikeDislikeButtonView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -216,7 +216,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -254,7 +254,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SendFeedbackAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SendFeedbackAction.md index 2ee0da3a..91474946 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SendFeedbackAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SendFeedbackAction.md @@ -2,7 +2,7 @@ # Class: SendFeedbackAction -Defined in: [src/parser/classes/actions/SendFeedbackAction.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/SendFeedbackAction.ts#L4) +Defined in: [src/parser/classes/actions/SendFeedbackAction.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/SendFeedbackAction.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/actions/SendFeedbackAction.ts:4](https://github. > **new SendFeedbackAction**(`data`): `SendFeedbackAction` -Defined in: [src/parser/classes/actions/SendFeedbackAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/SendFeedbackAction.ts#L9) +Defined in: [src/parser/classes/actions/SendFeedbackAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/SendFeedbackAction.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/actions/SendFeedbackAction.ts:9](https://github. > **bucket**: `string` -Defined in: [src/parser/classes/actions/SendFeedbackAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/SendFeedbackAction.ts#L7) +Defined in: [src/parser/classes/actions/SendFeedbackAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/SendFeedbackAction.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/actions/SendFeedbackAction.ts:7](https://github. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SendFeedbackAction'` -Defined in: [src/parser/classes/actions/SendFeedbackAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/SendFeedbackAction.ts#L5) +Defined in: [src/parser/classes/actions/SendFeedbackAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/SendFeedbackAction.ts#L5) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/actions/SendFeedbackAction.ts:5](https://github. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SendFeedbackAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SettingBoolean.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SettingBoolean.md index 4e0a8921..eaf6dbd8 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SettingBoolean.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SettingBoolean.md @@ -2,7 +2,7 @@ # Class: SettingBoolean -Defined in: [src/parser/classes/SettingBoolean.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingBoolean.ts#L6) +Defined in: [src/parser/classes/SettingBoolean.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingBoolean.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SettingBoolean.ts:6](https://github.com/LuanRT/Y > **new SettingBoolean**(`data`): `SettingBoolean` -Defined in: [src/parser/classes/SettingBoolean.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingBoolean.ts#L15) +Defined in: [src/parser/classes/SettingBoolean.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingBoolean.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SettingBoolean.ts:15](https://github.com/LuanRT/ > `optional` **disable\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/SettingBoolean.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingBoolean.ts#L12) +Defined in: [src/parser/classes/SettingBoolean.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingBoolean.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SettingBoolean.ts:12](https://github.com/LuanRT/ > `optional` **enable\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/SettingBoolean.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingBoolean.ts#L11) +Defined in: [src/parser/classes/SettingBoolean.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingBoolean.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SettingBoolean.ts:11](https://github.com/LuanRT/ > **item\_id**: `string` -Defined in: [src/parser/classes/SettingBoolean.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingBoolean.ts#L13) +Defined in: [src/parser/classes/SettingBoolean.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingBoolean.ts#L13) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/SettingBoolean.ts:13](https://github.com/LuanRT/ > `optional` **summary**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SettingBoolean.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingBoolean.ts#L10) +Defined in: [src/parser/classes/SettingBoolean.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingBoolean.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/SettingBoolean.ts:10](https://github.com/LuanRT/ > `optional` **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SettingBoolean.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingBoolean.ts#L9) +Defined in: [src/parser/classes/SettingBoolean.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingBoolean.ts#L9) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/SettingBoolean.ts:9](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SettingBoolean'` -Defined in: [src/parser/classes/SettingBoolean.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingBoolean.ts#L7) +Defined in: [src/parser/classes/SettingBoolean.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingBoolean.ts#L7) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/SettingBoolean.ts:7](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SettingBoolean & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SettingsCheckbox.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SettingsCheckbox.md index 02282a83..b395d2b8 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SettingsCheckbox.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SettingsCheckbox.md @@ -2,7 +2,7 @@ # Class: SettingsCheckbox -Defined in: [src/parser/classes/SettingsCheckbox.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsCheckbox.ts#L5) +Defined in: [src/parser/classes/SettingsCheckbox.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsCheckbox.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SettingsCheckbox.ts:5](https://github.com/LuanRT > **new SettingsCheckbox**(`data`): `SettingsCheckbox` -Defined in: [src/parser/classes/SettingsCheckbox.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsCheckbox.ts#L14) +Defined in: [src/parser/classes/SettingsCheckbox.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsCheckbox.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SettingsCheckbox.ts:14](https://github.com/LuanR > **disabled**: `boolean` -Defined in: [src/parser/classes/SettingsCheckbox.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsCheckbox.ts#L11) +Defined in: [src/parser/classes/SettingsCheckbox.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsCheckbox.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SettingsCheckbox.ts:11](https://github.com/LuanR > **enabled**: `boolean` -Defined in: [src/parser/classes/SettingsCheckbox.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsCheckbox.ts#L10) +Defined in: [src/parser/classes/SettingsCheckbox.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsCheckbox.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SettingsCheckbox.ts:10](https://github.com/LuanR > **help\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SettingsCheckbox.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsCheckbox.ts#L9) +Defined in: [src/parser/classes/SettingsCheckbox.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsCheckbox.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/SettingsCheckbox.ts:9](https://github.com/LuanRT > **id**: `string` -Defined in: [src/parser/classes/SettingsCheckbox.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsCheckbox.ts#L12) +Defined in: [src/parser/classes/SettingsCheckbox.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsCheckbox.ts#L12) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/SettingsCheckbox.ts:12](https://github.com/LuanR > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SettingsCheckbox.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsCheckbox.ts#L8) +Defined in: [src/parser/classes/SettingsCheckbox.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsCheckbox.ts#L8) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/SettingsCheckbox.ts:8](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SettingsCheckbox'` -Defined in: [src/parser/classes/SettingsCheckbox.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsCheckbox.ts#L6) +Defined in: [src/parser/classes/SettingsCheckbox.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsCheckbox.ts#L6) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/SettingsCheckbox.ts:6](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SettingsCheckbox & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SettingsOptions.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SettingsOptions.md index 7e2a69f5..3b52bc83 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SettingsOptions.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SettingsOptions.md @@ -2,7 +2,7 @@ # Class: SettingsOptions -Defined in: [src/parser/classes/SettingsOptions.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsOptions.ts#L10) +Defined in: [src/parser/classes/SettingsOptions.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsOptions.ts#L10) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SettingsOptions.ts:10](https://github.com/LuanRT > **new SettingsOptions**(`data`): `SettingsOptions` -Defined in: [src/parser/classes/SettingsOptions.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsOptions.ts#L17) +Defined in: [src/parser/classes/SettingsOptions.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsOptions.ts#L17) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SettingsOptions.ts:17](https://github.com/LuanRT > `optional` **options**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Dropdown`](Dropdown.md) \| [`ChannelOptions`](ChannelOptions.md) \| [`CopyLink`](CopyLink.md) \| [`SettingsCheckbox`](SettingsCheckbox.md) \| [`SettingsSwitch`](SettingsSwitch.md)\> -Defined in: [src/parser/classes/SettingsOptions.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsOptions.ts#L15) +Defined in: [src/parser/classes/SettingsOptions.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsOptions.ts#L15) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SettingsOptions.ts:15](https://github.com/LuanRT > `optional` **text**: `string` -Defined in: [src/parser/classes/SettingsOptions.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsOptions.ts#L14) +Defined in: [src/parser/classes/SettingsOptions.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsOptions.ts#L14) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SettingsOptions.ts:14](https://github.com/LuanRT > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SettingsOptions.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsOptions.ts#L13) +Defined in: [src/parser/classes/SettingsOptions.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsOptions.ts#L13) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/SettingsOptions.ts:13](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SettingsOptions'` -Defined in: [src/parser/classes/SettingsOptions.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsOptions.ts#L11) +Defined in: [src/parser/classes/SettingsOptions.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsOptions.ts#L11) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/SettingsOptions.ts:11](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SettingsOptions & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SettingsSidebar.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SettingsSidebar.md index 22109d02..82363cf4 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SettingsSidebar.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SettingsSidebar.md @@ -2,7 +2,7 @@ # Class: SettingsSidebar -Defined in: [src/parser/classes/SettingsSidebar.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsSidebar.ts#L6) +Defined in: [src/parser/classes/SettingsSidebar.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsSidebar.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SettingsSidebar.ts:6](https://github.com/LuanRT/ > **new SettingsSidebar**(`data`): `SettingsSidebar` -Defined in: [src/parser/classes/SettingsSidebar.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsSidebar.ts#L12) +Defined in: [src/parser/classes/SettingsSidebar.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsSidebar.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SettingsSidebar.ts:12](https://github.com/LuanRT > **items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactLink`](CompactLink.md)\> -Defined in: [src/parser/classes/SettingsSidebar.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsSidebar.ts#L10) +Defined in: [src/parser/classes/SettingsSidebar.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsSidebar.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SettingsSidebar.ts:10](https://github.com/LuanRT > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SettingsSidebar.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsSidebar.ts#L9) +Defined in: [src/parser/classes/SettingsSidebar.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsSidebar.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SettingsSidebar.ts:9](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SettingsSidebar'` -Defined in: [src/parser/classes/SettingsSidebar.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsSidebar.ts#L7) +Defined in: [src/parser/classes/SettingsSidebar.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsSidebar.ts#L7) #### Overrides @@ -78,7 +78,7 @@ Defined in: [src/parser/classes/SettingsSidebar.ts:7](https://github.com/LuanRT/ > **get** **contents**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CompactLink`](CompactLink.md)\> -Defined in: [src/parser/classes/SettingsSidebar.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsSidebar.ts#L19) +Defined in: [src/parser/classes/SettingsSidebar.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsSidebar.ts#L19) ##### Returns @@ -90,7 +90,7 @@ Defined in: [src/parser/classes/SettingsSidebar.ts:19](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -132,7 +132,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SettingsSidebar & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -170,7 +170,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -208,7 +208,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SettingsSwitch.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SettingsSwitch.md index 29f85942..09971eb5 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SettingsSwitch.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SettingsSwitch.md @@ -2,7 +2,7 @@ # Class: SettingsSwitch -Defined in: [src/parser/classes/SettingsSwitch.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsSwitch.ts#L6) +Defined in: [src/parser/classes/SettingsSwitch.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsSwitch.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SettingsSwitch.ts:6](https://github.com/LuanRT/Y > **new SettingsSwitch**(`data`): `SettingsSwitch` -Defined in: [src/parser/classes/SettingsSwitch.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsSwitch.ts#L15) +Defined in: [src/parser/classes/SettingsSwitch.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsSwitch.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SettingsSwitch.ts:15](https://github.com/LuanRT/ > **disable\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/SettingsSwitch.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsSwitch.ts#L13) +Defined in: [src/parser/classes/SettingsSwitch.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsSwitch.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SettingsSwitch.ts:13](https://github.com/LuanRT/ > **enable\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/SettingsSwitch.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsSwitch.ts#L12) +Defined in: [src/parser/classes/SettingsSwitch.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsSwitch.ts#L12) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SettingsSwitch.ts:12](https://github.com/LuanRT/ > **enabled**: `boolean` -Defined in: [src/parser/classes/SettingsSwitch.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsSwitch.ts#L11) +Defined in: [src/parser/classes/SettingsSwitch.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsSwitch.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/SettingsSwitch.ts:11](https://github.com/LuanRT/ > **subtitle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SettingsSwitch.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsSwitch.ts#L10) +Defined in: [src/parser/classes/SettingsSwitch.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsSwitch.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/SettingsSwitch.ts:10](https://github.com/LuanRT/ > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SettingsSwitch.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsSwitch.ts#L9) +Defined in: [src/parser/classes/SettingsSwitch.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsSwitch.ts#L9) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/SettingsSwitch.ts:9](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SettingsSwitch'` -Defined in: [src/parser/classes/SettingsSwitch.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SettingsSwitch.ts#L7) +Defined in: [src/parser/classes/SettingsSwitch.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SettingsSwitch.ts#L7) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/SettingsSwitch.ts:7](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SettingsSwitch & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ShareEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShareEndpoint.md index 2c014366..a9b8bf96 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ShareEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShareEndpoint.md @@ -2,7 +2,7 @@ # Class: ShareEndpoint -Defined in: [src/parser/classes/endpoints/ShareEndpoint.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ShareEndpoint.ts#L4) +Defined in: [src/parser/classes/endpoints/ShareEndpoint.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ShareEndpoint.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/endpoints/ShareEndpoint.ts:4](https://github.com > **new ShareEndpoint**(`data`): `ShareEndpoint` -Defined in: [src/parser/classes/endpoints/ShareEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ShareEndpoint.ts#L7) +Defined in: [src/parser/classes/endpoints/ShareEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ShareEndpoint.ts#L7) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/endpoints/ShareEndpoint.ts:7](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -48,7 +48,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ShareEndpoint'` -Defined in: [src/parser/classes/endpoints/ShareEndpoint.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ShareEndpoint.ts#L5) +Defined in: [src/parser/classes/endpoints/ShareEndpoint.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ShareEndpoint.ts#L5) #### Overrides @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/endpoints/ShareEndpoint.ts:5](https://github.com > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -102,7 +102,7 @@ If the node is not of the given type > **buildRequest**(): [`ShareEntityServiceRequest`](../../../../type-aliases/ShareEntityServiceRequest.md) -Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts#L20) +Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts#L20) #### Returns @@ -118,7 +118,7 @@ Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:20](http > **getApiPath**(): `string` -Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts#L16) +Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts#L16) #### Returns @@ -134,7 +134,7 @@ Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:16](http > **hasKey**\<`T`, `R`\>(`key`): `this is ShareEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ShareEntityEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShareEntityEndpoint.md index 9dcb51ee..2fa46aa9 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ShareEntityEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShareEntityEndpoint.md @@ -2,7 +2,7 @@ # Class: ShareEntityEndpoint -Defined in: [src/parser/classes/endpoints/ShareEntityEndpoint.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ShareEntityEndpoint.ts#L4) +Defined in: [src/parser/classes/endpoints/ShareEntityEndpoint.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ShareEntityEndpoint.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/endpoints/ShareEntityEndpoint.ts:4](https://gith > **new ShareEntityEndpoint**(`data`): `ShareEntityEndpoint` -Defined in: [src/parser/classes/endpoints/ShareEntityEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ShareEntityEndpoint.ts#L7) +Defined in: [src/parser/classes/endpoints/ShareEntityEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ShareEntityEndpoint.ts#L7) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/endpoints/ShareEntityEndpoint.ts:7](https://gith > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -48,7 +48,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ShareEntityEndpoint'` -Defined in: [src/parser/classes/endpoints/ShareEntityEndpoint.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ShareEntityEndpoint.ts#L5) +Defined in: [src/parser/classes/endpoints/ShareEntityEndpoint.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ShareEntityEndpoint.ts#L5) #### Overrides @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/endpoints/ShareEntityEndpoint.ts:5](https://gith > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -102,7 +102,7 @@ If the node is not of the given type > **buildRequest**(): [`ShareEntityServiceRequest`](../../../../type-aliases/ShareEntityServiceRequest.md) -Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts#L20) +Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts#L20) #### Returns @@ -118,7 +118,7 @@ Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:20](http > **getApiPath**(): `string` -Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts#L16) +Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts#L16) #### Returns @@ -134,7 +134,7 @@ Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:16](http > **hasKey**\<`T`, `R`\>(`key`): `this is ShareEntityEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ShareEntityServiceEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShareEntityServiceEndpoint.md index 470f563c..95a8079e 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ShareEntityServiceEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShareEntityServiceEndpoint.md @@ -2,7 +2,7 @@ # Class: ShareEntityServiceEndpoint -Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts#L6) +Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts#L6) ## Extends @@ -23,7 +23,7 @@ Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:6](https > **new ShareEntityServiceEndpoint**(`data`): `ShareEntityServiceEndpoint` -Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts#L11) +Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts#L11) #### Parameters @@ -45,7 +45,7 @@ Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:11](http > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -57,7 +57,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ShareEntityServiceEndpoint'` -Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts#L7) +Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts#L7) #### Overrides @@ -69,7 +69,7 @@ Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:7](https > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -111,7 +111,7 @@ If the node is not of the given type > **buildRequest**(): [`ShareEntityServiceRequest`](../../../../type-aliases/ShareEntityServiceRequest.md) -Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts#L20) +Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts#L20) #### Returns @@ -127,7 +127,7 @@ Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:20](http > **getApiPath**(): `string` -Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts#L16) +Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts#L16) #### Returns @@ -143,7 +143,7 @@ Defined in: [src/parser/classes/endpoints/ShareEntityServiceEndpoint.ts:16](http > **hasKey**\<`T`, `R`\>(`key`): `this is ShareEntityServiceEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -181,7 +181,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -219,7 +219,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SharePanelHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SharePanelHeader.md index 4b886e3f..8f2a49b2 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SharePanelHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SharePanelHeader.md @@ -2,7 +2,7 @@ # Class: SharePanelHeader -Defined in: [src/parser/classes/SharePanelHeader.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SharePanelHeader.ts#L4) +Defined in: [src/parser/classes/SharePanelHeader.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SharePanelHeader.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SharePanelHeader.ts:4](https://github.com/LuanRT > **new SharePanelHeader**(`data`): `SharePanelHeader` -Defined in: [src/parser/classes/SharePanelHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SharePanelHeader.ts#L9) +Defined in: [src/parser/classes/SharePanelHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SharePanelHeader.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SharePanelHeader.ts:9](https://github.com/LuanRT > **title**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/SharePanelHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SharePanelHeader.ts#L7) +Defined in: [src/parser/classes/SharePanelHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SharePanelHeader.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SharePanelHeader.ts:7](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SharePanelHeader'` -Defined in: [src/parser/classes/SharePanelHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SharePanelHeader.ts#L5) +Defined in: [src/parser/classes/SharePanelHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SharePanelHeader.ts#L5) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/SharePanelHeader.ts:5](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SharePanelHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SharePanelTitleV15.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SharePanelTitleV15.md index c1aedd4e..6d202a3a 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SharePanelTitleV15.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SharePanelTitleV15.md @@ -2,7 +2,7 @@ # Class: SharePanelTitleV15 -Defined in: [src/parser/classes/SharePanelTitleV15.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SharePanelTitleV15.ts#L5) +Defined in: [src/parser/classes/SharePanelTitleV15.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SharePanelTitleV15.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SharePanelTitleV15.ts:5](https://github.com/Luan > **new SharePanelTitleV15**(`data`): `SharePanelTitleV15` -Defined in: [src/parser/classes/SharePanelTitleV15.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SharePanelTitleV15.ts#L10) +Defined in: [src/parser/classes/SharePanelTitleV15.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SharePanelTitleV15.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SharePanelTitleV15.ts:10](https://github.com/Lua > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SharePanelTitleV15.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SharePanelTitleV15.ts#L8) +Defined in: [src/parser/classes/SharePanelTitleV15.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SharePanelTitleV15.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SharePanelTitleV15.ts:8](https://github.com/Luan > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SharePanelTitleV15'` -Defined in: [src/parser/classes/SharePanelTitleV15.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SharePanelTitleV15.ts#L6) +Defined in: [src/parser/classes/SharePanelTitleV15.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SharePanelTitleV15.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/SharePanelTitleV15.ts:6](https://github.com/Luan > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SharePanelTitleV15 & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ShareTarget.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShareTarget.md index f933be90..63c3dddf 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ShareTarget.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShareTarget.md @@ -2,7 +2,7 @@ # Class: ShareTarget -Defined in: [src/parser/classes/ShareTarget.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShareTarget.ts#L6) +Defined in: [src/parser/classes/ShareTarget.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShareTarget.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ShareTarget.ts:6](https://github.com/LuanRT/YouT > **new ShareTarget**(`data`): `ShareTarget` -Defined in: [src/parser/classes/ShareTarget.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShareTarget.ts#L14) +Defined in: [src/parser/classes/ShareTarget.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShareTarget.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ShareTarget.ts:14](https://github.com/LuanRT/You > `optional` **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ShareTarget.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShareTarget.ts#L9) +Defined in: [src/parser/classes/ShareTarget.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShareTarget.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ShareTarget.ts:9](https://github.com/LuanRT/YouT > **service\_name**: `string` -Defined in: [src/parser/classes/ShareTarget.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShareTarget.ts#L10) +Defined in: [src/parser/classes/ShareTarget.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShareTarget.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ShareTarget.ts:10](https://github.com/LuanRT/You > **target\_id**: `string` -Defined in: [src/parser/classes/ShareTarget.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShareTarget.ts#L11) +Defined in: [src/parser/classes/ShareTarget.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShareTarget.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ShareTarget.ts:11](https://github.com/LuanRT/You > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ShareTarget.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShareTarget.ts#L12) +Defined in: [src/parser/classes/ShareTarget.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShareTarget.ts#L12) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ShareTarget.ts:12](https://github.com/LuanRT/You > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ShareTarget'` -Defined in: [src/parser/classes/ShareTarget.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShareTarget.ts#L7) +Defined in: [src/parser/classes/ShareTarget.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShareTarget.ts#L7) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/ShareTarget.ts:7](https://github.com/LuanRT/YouT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ShareTarget & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SharedPost.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SharedPost.md index 3375890f..29f1cd67 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SharedPost.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SharedPost.md @@ -2,7 +2,7 @@ # Class: SharedPost -Defined in: [src/parser/classes/SharedPost.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SharedPost.ts#L13) +Defined in: [src/parser/classes/SharedPost.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SharedPost.ts#L13) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SharedPost.ts:13](https://github.com/LuanRT/YouT > **new SharedPost**(`data`): `SharedPost` -Defined in: [src/parser/classes/SharedPost.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SharedPost.ts#L26) +Defined in: [src/parser/classes/SharedPost.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SharedPost.ts#L26) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SharedPost.ts:26](https://github.com/LuanRT/YouT > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/SharedPost.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SharedPost.ts#L24) +Defined in: [src/parser/classes/SharedPost.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SharedPost.ts#L24) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SharedPost.ts:24](https://github.com/LuanRT/YouT > **content**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SharedPost.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SharedPost.ts#L17) +Defined in: [src/parser/classes/SharedPost.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SharedPost.ts#L17) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SharedPost.ts:17](https://github.com/LuanRT/YouT > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/SharedPost.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SharedPost.ts#L22) +Defined in: [src/parser/classes/SharedPost.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SharedPost.ts#L22) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/SharedPost.ts:22](https://github.com/LuanRT/YouT > **expand\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/SharedPost.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SharedPost.ts#L23) +Defined in: [src/parser/classes/SharedPost.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SharedPost.ts#L23) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/SharedPost.ts:23](https://github.com/LuanRT/YouT > **id**: `string` -Defined in: [src/parser/classes/SharedPost.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SharedPost.ts#L21) +Defined in: [src/parser/classes/SharedPost.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SharedPost.ts#L21) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/SharedPost.ts:21](https://github.com/LuanRT/YouT > **menu**: [`Menu`](Menu.md) \| `null` -Defined in: [src/parser/classes/SharedPost.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SharedPost.ts#L19) +Defined in: [src/parser/classes/SharedPost.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SharedPost.ts#L19) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/SharedPost.ts:19](https://github.com/LuanRT/YouT > **original\_post**: [`BackstagePost`](BackstagePost.md) \| [`Post`](Post.md) \| `null` -Defined in: [src/parser/classes/SharedPost.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SharedPost.ts#L20) +Defined in: [src/parser/classes/SharedPost.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SharedPost.ts#L20) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/SharedPost.ts:20](https://github.com/LuanRT/YouT > **published**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SharedPost.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SharedPost.ts#L18) +Defined in: [src/parser/classes/SharedPost.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SharedPost.ts#L18) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/SharedPost.ts:18](https://github.com/LuanRT/YouT > **thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/SharedPost.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SharedPost.ts#L16) +Defined in: [src/parser/classes/SharedPost.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SharedPost.ts#L16) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/SharedPost.ts:16](https://github.com/LuanRT/YouT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -120,7 +120,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SharedPost'` -Defined in: [src/parser/classes/SharedPost.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SharedPost.ts#L14) +Defined in: [src/parser/classes/SharedPost.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SharedPost.ts#L14) #### Overrides @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/SharedPost.ts:14](https://github.com/LuanRT/YouT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -174,7 +174,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SharedPost & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -212,7 +212,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -250,7 +250,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SheetView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SheetView.md new file mode 100644 index 00000000..53db802d --- /dev/null +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SheetView.md @@ -0,0 +1,247 @@ +[youtubei.js](../../../../README.md) / [YTNodes](../README.md) / SheetView + +# Class: SheetView + +Defined in: [src/parser/classes/SheetView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SheetView.ts#L5) + +## Extends + +- [`YTNode`](../../Helpers/classes/YTNode.md) + +## Constructors + +### Constructor + +> **new SheetView**(`data`): `SheetView` + +Defined in: [src/parser/classes/SheetView.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SheetView.ts#L13) + +#### Parameters + +##### data + +[`RawNode`](../../../../type-aliases/RawNode.md) + +#### Returns + +`SheetView` + +#### Overrides + +[`YTNode`](../../Helpers/classes/YTNode.md).[`constructor`](../../Helpers/classes/YTNode.md#constructor) + +## Properties + +### content + +> **content**: [`YTNode`](../../Helpers/classes/YTNode.md) \| `null` + +Defined in: [src/parser/classes/SheetView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SheetView.ts#L8) + +*** + +### footer + +> **footer**: [`YTNode`](../../Helpers/classes/YTNode.md) \| `null` + +Defined in: [src/parser/classes/SheetView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SheetView.ts#L9) + +*** + +### header + +> **header**: [`YTNode`](../../Helpers/classes/YTNode.md) \| `null` + +Defined in: [src/parser/classes/SheetView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SheetView.ts#L10) + +*** + +### renderer\_context? + +> `optional` **renderer\_context**: [`RendererContext`](../../Misc/classes/RendererContext.md) + +Defined in: [src/parser/classes/SheetView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SheetView.ts#L11) + +*** + +### type + +> `readonly` **type**: `string` + +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`type`](../../Helpers/classes/YTNode.md#type) + +*** + +### type + +> `static` **type**: `string` = `'SheetView'` + +Defined in: [src/parser/classes/SheetView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SheetView.ts#L6) + +#### Overrides + +[`YTNode`](../../Helpers/classes/YTNode.md).[`type`](../../Helpers/classes/YTNode.md#type-1) + +## Methods + +### as() + +> **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> + +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) + +Cast to one of the given types. + +#### Type Parameters + +##### T + +`T` *extends* [`YTNode`](../../Helpers/classes/YTNode.md) + +##### K + +`K` *extends* [`YTNodeConstructor`](../../Helpers/interfaces/YTNodeConstructor.md)\<`T`\>[] + +#### Parameters + +##### types + +...`K` + +The types to cast to + +#### Returns + +`InstanceType`\<`K`\[`number`\]\> + +The node cast to one of the given types + +#### Throws + +If the node is not of the given type + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`as`](../../Helpers/classes/YTNode.md#as) + +*** + +### hasKey() + +> **hasKey**\<`T`, `R`\>(`key`): `this is SheetView & { [k in string]: R }` + +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) + +Check for a key without asserting the type. + +#### Type Parameters + +##### T + +`T` *extends* `string` + +##### R + +`R` = `any` + +#### Parameters + +##### key + +`T` + +The key to check + +#### Returns + +`this is SheetView & { [k in string]: R }` + +Whether the node has the key + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`hasKey`](../../Helpers/classes/YTNode.md#haskey) + +*** + +### is() + +> **is**\<`T`, `K`\>(...`types`): `this is InstanceType` + +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) + +Check if the node is of the given type. + +#### Type Parameters + +##### T + +`T` *extends* [`YTNode`](../../Helpers/classes/YTNode.md) + +##### K + +`K` *extends* [`YTNodeConstructor`](../../Helpers/interfaces/YTNodeConstructor.md)\<`T`\>[] + +#### Parameters + +##### types + +...`K` + +The type to check + +#### Returns + +`this is InstanceType` + +whether the node is of the given type + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`is`](../../Helpers/classes/YTNode.md#is) + +*** + +### key() + +> **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) + +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) + +Assert that the node has the given key and return it. + +#### Type Parameters + +##### T + +`T` *extends* `string` + +##### R + +`R` = `any` + +#### Parameters + +##### key + +`T` + +The key to check + +#### Returns + +[`Maybe`](../../Helpers/classes/Maybe.md) + +The value of the key wrapped in a Maybe + +#### Throws + +If the node does not have the key + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`key`](../../Helpers/classes/YTNode.md#key) diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Shelf.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Shelf.md index 89fcded4..f5ef1058 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Shelf.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Shelf.md @@ -2,7 +2,7 @@ # Class: Shelf -Defined in: [src/parser/classes/Shelf.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Shelf.ts#L7) +Defined in: [src/parser/classes/Shelf.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Shelf.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/Shelf.ts:7](https://github.com/LuanRT/YouTube.js > **new Shelf**(`data`): `Shelf` -Defined in: [src/parser/classes/Shelf.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Shelf.ts#L18) +Defined in: [src/parser/classes/Shelf.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Shelf.ts#L18) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/Shelf.ts:18](https://github.com/LuanRT/YouTube.j > **content**: [`YTNode`](../../Helpers/classes/YTNode.md) \| `null` -Defined in: [src/parser/classes/Shelf.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Shelf.ts#L12) +Defined in: [src/parser/classes/Shelf.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Shelf.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/Shelf.ts:12](https://github.com/LuanRT/YouTube.j > `optional` **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/Shelf.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Shelf.ts#L11) +Defined in: [src/parser/classes/Shelf.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Shelf.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/Shelf.ts:11](https://github.com/LuanRT/YouTube.j > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/Shelf.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Shelf.ts#L13) +Defined in: [src/parser/classes/Shelf.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Shelf.ts#L13) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/Shelf.ts:13](https://github.com/LuanRT/YouTube.j > `optional` **menu**: [`YTNode`](../../Helpers/classes/YTNode.md) \| `null` -Defined in: [src/parser/classes/Shelf.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Shelf.ts#L14) +Defined in: [src/parser/classes/Shelf.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Shelf.ts#L14) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/Shelf.ts:14](https://github.com/LuanRT/YouTube.j > `optional` **play\_all\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/Shelf.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Shelf.ts#L15) +Defined in: [src/parser/classes/Shelf.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Shelf.ts#L15) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/Shelf.ts:15](https://github.com/LuanRT/YouTube.j > `optional` **subtitle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Shelf.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Shelf.ts#L16) +Defined in: [src/parser/classes/Shelf.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Shelf.ts#L16) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/Shelf.ts:16](https://github.com/LuanRT/YouTube.j > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Shelf.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Shelf.ts#L10) +Defined in: [src/parser/classes/Shelf.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Shelf.ts#L10) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/Shelf.ts:10](https://github.com/LuanRT/YouTube.j > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -104,7 +104,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'Shelf'` -Defined in: [src/parser/classes/Shelf.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Shelf.ts#L8) +Defined in: [src/parser/classes/Shelf.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Shelf.ts#L8) #### Overrides @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/Shelf.ts:8](https://github.com/LuanRT/YouTube.js > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -158,7 +158,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Shelf & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -196,7 +196,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -234,7 +234,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ShortsLockupView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShortsLockupView.md index a7c2c8af..4d830e9a 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ShortsLockupView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShortsLockupView.md @@ -2,7 +2,7 @@ # Class: ShortsLockupView -Defined in: [src/parser/classes/ShortsLockupView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShortsLockupView.ts#L9) +Defined in: [src/parser/classes/ShortsLockupView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShortsLockupView.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ShortsLockupView.ts:9](https://github.com/LuanRT > **new ShortsLockupView**(`data`): `ShortsLockupView` -Defined in: [src/parser/classes/ShortsLockupView.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShortsLockupView.ts#L26) +Defined in: [src/parser/classes/ShortsLockupView.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShortsLockupView.ts#L26) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ShortsLockupView.ts:26](https://github.com/LuanR > **accessibility\_text**: `string` -Defined in: [src/parser/classes/ShortsLockupView.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShortsLockupView.ts#L13) +Defined in: [src/parser/classes/ShortsLockupView.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShortsLockupView.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ShortsLockupView.ts:13](https://github.com/LuanR > `optional` **badge**: [`BadgeView`](BadgeView.md) \| `null` -Defined in: [src/parser/classes/ShortsLockupView.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShortsLockupView.ts#L24) +Defined in: [src/parser/classes/ShortsLockupView.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShortsLockupView.ts#L24) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ShortsLockupView.ts:24](https://github.com/LuanR > **entity\_id**: `string` -Defined in: [src/parser/classes/ShortsLockupView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShortsLockupView.ts#L12) +Defined in: [src/parser/classes/ShortsLockupView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShortsLockupView.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ShortsLockupView.ts:12](https://github.com/LuanR > **index\_in\_collection**: `number` -Defined in: [src/parser/classes/ShortsLockupView.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShortsLockupView.ts#L17) +Defined in: [src/parser/classes/ShortsLockupView.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShortsLockupView.ts#L17) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ShortsLockupView.ts:17](https://github.com/LuanR > `optional` **inline\_player\_data**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ShortsLockupView.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShortsLockupView.ts#L23) +Defined in: [src/parser/classes/ShortsLockupView.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShortsLockupView.ts#L23) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ShortsLockupView.ts:23](https://github.com/LuanR > **menu\_on\_tap**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ShortsLockupView.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShortsLockupView.ts#L16) +Defined in: [src/parser/classes/ShortsLockupView.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShortsLockupView.ts#L16) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ShortsLockupView.ts:16](https://github.com/LuanR > **menu\_on\_tap\_a11y\_label**: `string` -Defined in: [src/parser/classes/ShortsLockupView.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShortsLockupView.ts#L18) +Defined in: [src/parser/classes/ShortsLockupView.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShortsLockupView.ts#L18) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/ShortsLockupView.ts:18](https://github.com/LuanR > **on\_tap\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ShortsLockupView.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShortsLockupView.ts#L15) +Defined in: [src/parser/classes/ShortsLockupView.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShortsLockupView.ts#L15) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/ShortsLockupView.ts:15](https://github.com/LuanR > **overlay\_metadata**: `object` -Defined in: [src/parser/classes/ShortsLockupView.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShortsLockupView.ts#L19) +Defined in: [src/parser/classes/ShortsLockupView.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShortsLockupView.ts#L19) #### primary\_text? @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/ShortsLockupView.ts:19](https://github.com/LuanR > **thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/ShortsLockupView.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShortsLockupView.ts#L14) +Defined in: [src/parser/classes/ShortsLockupView.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShortsLockupView.ts#L14) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/ShortsLockupView.ts:14](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -136,7 +136,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ShortsLockupView'` -Defined in: [src/parser/classes/ShortsLockupView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShortsLockupView.ts#L10) +Defined in: [src/parser/classes/ShortsLockupView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShortsLockupView.ts#L10) #### Overrides @@ -148,7 +148,7 @@ Defined in: [src/parser/classes/ShortsLockupView.ts:10](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -190,7 +190,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ShortsLockupView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -228,7 +228,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -266,7 +266,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowCustomThumbnail.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowCustomThumbnail.md index fca7aa47..e04d06a1 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowCustomThumbnail.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowCustomThumbnail.md @@ -2,7 +2,7 @@ # Class: ShowCustomThumbnail -Defined in: [src/parser/classes/ShowCustomThumbnail.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShowCustomThumbnail.ts#L5) +Defined in: [src/parser/classes/ShowCustomThumbnail.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShowCustomThumbnail.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ShowCustomThumbnail.ts:5](https://github.com/Lua > **new ShowCustomThumbnail**(`data`): `ShowCustomThumbnail` -Defined in: [src/parser/classes/ShowCustomThumbnail.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShowCustomThumbnail.ts#L10) +Defined in: [src/parser/classes/ShowCustomThumbnail.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShowCustomThumbnail.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ShowCustomThumbnail.ts:10](https://github.com/Lu > **thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/ShowCustomThumbnail.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShowCustomThumbnail.ts#L8) +Defined in: [src/parser/classes/ShowCustomThumbnail.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShowCustomThumbnail.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ShowCustomThumbnail.ts:8](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ShowCustomThumbnail'` -Defined in: [src/parser/classes/ShowCustomThumbnail.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShowCustomThumbnail.ts#L6) +Defined in: [src/parser/classes/ShowCustomThumbnail.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShowCustomThumbnail.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ShowCustomThumbnail.ts:6](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ShowCustomThumbnail & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowDialogCommand.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowDialogCommand.md index 060903c0..9ce4b049 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowDialogCommand.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowDialogCommand.md @@ -2,7 +2,7 @@ # Class: ShowDialogCommand -Defined in: [src/parser/classes/commands/ShowDialogCommand.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/ShowDialogCommand.ts#L4) +Defined in: [src/parser/classes/commands/ShowDialogCommand.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/ShowDialogCommand.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/commands/ShowDialogCommand.ts:4](https://github. > **new ShowDialogCommand**(`data`): `ShowDialogCommand` -Defined in: [src/parser/classes/commands/ShowDialogCommand.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/ShowDialogCommand.ts#L10) +Defined in: [src/parser/classes/commands/ShowDialogCommand.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/ShowDialogCommand.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/commands/ShowDialogCommand.ts:10](https://github > **inline\_content**: [`YTNode`](../../Helpers/classes/YTNode.md) \| `null` -Defined in: [src/parser/classes/commands/ShowDialogCommand.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/ShowDialogCommand.ts#L7) +Defined in: [src/parser/classes/commands/ShowDialogCommand.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/ShowDialogCommand.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/commands/ShowDialogCommand.ts:7](https://github. > **remove\_default\_padding**: `boolean` -Defined in: [src/parser/classes/commands/ShowDialogCommand.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/ShowDialogCommand.ts#L8) +Defined in: [src/parser/classes/commands/ShowDialogCommand.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/ShowDialogCommand.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/commands/ShowDialogCommand.ts:8](https://github. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ShowDialogCommand'` -Defined in: [src/parser/classes/commands/ShowDialogCommand.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/ShowDialogCommand.ts#L5) +Defined in: [src/parser/classes/commands/ShowDialogCommand.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/ShowDialogCommand.ts#L5) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/commands/ShowDialogCommand.ts:5](https://github. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ShowDialogCommand & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowEngagementPanelEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowEngagementPanelEndpoint.md index 27afb16b..dd6aefbc 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowEngagementPanelEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowEngagementPanelEndpoint.md @@ -2,7 +2,7 @@ # Class: ShowEngagementPanelEndpoint -Defined in: [src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts#L4) +Defined in: [src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts:4](http > **new ShowEngagementPanelEndpoint**(`data`): `ShowEngagementPanelEndpoint` -Defined in: [src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts#L10) +Defined in: [src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts:10](htt > **panel\_identifier**: `string` -Defined in: [src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts#L7) +Defined in: [src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts:7](http > `optional` **source\_panel\_identifier**: `string` -Defined in: [src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts#L8) +Defined in: [src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts:8](http > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ShowEngagementPanelEndpoint'` -Defined in: [src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts#L5) +Defined in: [src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts#L5) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/endpoints/ShowEngagementPanelEndpoint.ts:5](http > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ShowEngagementPanelEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowLiveChatActionPanelAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowLiveChatActionPanelAction.md index 8fd31744..25801568 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowLiveChatActionPanelAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowLiveChatActionPanelAction.md @@ -2,7 +2,7 @@ # Class: ShowLiveChatActionPanelAction -Defined in: [src/parser/classes/livechat/ShowLiveChatActionPanelAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ShowLiveChatActionPanelAction.ts#L6) +Defined in: [src/parser/classes/livechat/ShowLiveChatActionPanelAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ShowLiveChatActionPanelAction.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/ShowLiveChatActionPanelAction.ts:6](htt > **new ShowLiveChatActionPanelAction**(`data`): `ShowLiveChatActionPanelAction` -Defined in: [src/parser/classes/livechat/ShowLiveChatActionPanelAction.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ShowLiveChatActionPanelAction.ts#L11) +Defined in: [src/parser/classes/livechat/ShowLiveChatActionPanelAction.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ShowLiveChatActionPanelAction.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/ShowLiveChatActionPanelAction.ts:11](ht > **panel\_to\_show**: [`LiveChatActionPanel`](LiveChatActionPanel.md) \| `null` -Defined in: [src/parser/classes/livechat/ShowLiveChatActionPanelAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ShowLiveChatActionPanelAction.ts#L9) +Defined in: [src/parser/classes/livechat/ShowLiveChatActionPanelAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ShowLiveChatActionPanelAction.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/ShowLiveChatActionPanelAction.ts:9](htt > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ShowLiveChatActionPanelAction'` -Defined in: [src/parser/classes/livechat/ShowLiveChatActionPanelAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ShowLiveChatActionPanelAction.ts#L7) +Defined in: [src/parser/classes/livechat/ShowLiveChatActionPanelAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ShowLiveChatActionPanelAction.ts#L7) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/ShowLiveChatActionPanelAction.ts:7](htt > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ShowLiveChatActionPanelAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowLiveChatDialogAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowLiveChatDialogAction.md index 5b0b7204..d57ab1a6 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowLiveChatDialogAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowLiveChatDialogAction.md @@ -2,7 +2,7 @@ # Class: ShowLiveChatDialogAction -Defined in: [src/parser/classes/livechat/ShowLiveChatDialogAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ShowLiveChatDialogAction.ts#L5) +Defined in: [src/parser/classes/livechat/ShowLiveChatDialogAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ShowLiveChatDialogAction.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/ShowLiveChatDialogAction.ts:5](https:// > **new ShowLiveChatDialogAction**(`data`): `ShowLiveChatDialogAction` -Defined in: [src/parser/classes/livechat/ShowLiveChatDialogAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ShowLiveChatDialogAction.ts#L10) +Defined in: [src/parser/classes/livechat/ShowLiveChatDialogAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ShowLiveChatDialogAction.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/ShowLiveChatDialogAction.ts:10](https:/ > **dialog**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/livechat/ShowLiveChatDialogAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ShowLiveChatDialogAction.ts#L8) +Defined in: [src/parser/classes/livechat/ShowLiveChatDialogAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ShowLiveChatDialogAction.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/ShowLiveChatDialogAction.ts:8](https:// > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ShowLiveChatDialogAction'` -Defined in: [src/parser/classes/livechat/ShowLiveChatDialogAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ShowLiveChatDialogAction.ts#L6) +Defined in: [src/parser/classes/livechat/ShowLiveChatDialogAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ShowLiveChatDialogAction.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/ShowLiveChatDialogAction.ts:6](https:// > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ShowLiveChatDialogAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowLiveChatTooltipCommand.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowLiveChatTooltipCommand.md index ec7d255f..2f5afb9e 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowLiveChatTooltipCommand.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowLiveChatTooltipCommand.md @@ -2,7 +2,7 @@ # Class: ShowLiveChatTooltipCommand -Defined in: [src/parser/classes/livechat/ShowLiveChatTooltipCommand.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ShowLiveChatTooltipCommand.ts#L5) +Defined in: [src/parser/classes/livechat/ShowLiveChatTooltipCommand.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ShowLiveChatTooltipCommand.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/ShowLiveChatTooltipCommand.ts:5](https: > **new ShowLiveChatTooltipCommand**(`data`): `ShowLiveChatTooltipCommand` -Defined in: [src/parser/classes/livechat/ShowLiveChatTooltipCommand.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ShowLiveChatTooltipCommand.ts#L10) +Defined in: [src/parser/classes/livechat/ShowLiveChatTooltipCommand.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ShowLiveChatTooltipCommand.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/ShowLiveChatTooltipCommand.ts:10](https > **tooltip**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/livechat/ShowLiveChatTooltipCommand.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ShowLiveChatTooltipCommand.ts#L8) +Defined in: [src/parser/classes/livechat/ShowLiveChatTooltipCommand.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ShowLiveChatTooltipCommand.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/ShowLiveChatTooltipCommand.ts:8](https: > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ShowLiveChatTooltipCommand'` -Defined in: [src/parser/classes/livechat/ShowLiveChatTooltipCommand.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/ShowLiveChatTooltipCommand.ts#L6) +Defined in: [src/parser/classes/livechat/ShowLiveChatTooltipCommand.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/ShowLiveChatTooltipCommand.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/ShowLiveChatTooltipCommand.ts:6](https: > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ShowLiveChatTooltipCommand & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowSheetCommand.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowSheetCommand.md new file mode 100644 index 00000000..2775e17a --- /dev/null +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowSheetCommand.md @@ -0,0 +1,231 @@ +[youtubei.js](../../../../README.md) / [YTNodes](../README.md) / ShowSheetCommand + +# Class: ShowSheetCommand + +Defined in: [src/parser/classes/commands/ShowSheetCommand.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/ShowSheetCommand.ts#L4) + +## Extends + +- [`YTNode`](../../Helpers/classes/YTNode.md) + +## Constructors + +### Constructor + +> **new ShowSheetCommand**(`data`): `ShowSheetCommand` + +Defined in: [src/parser/classes/commands/ShowSheetCommand.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/ShowSheetCommand.ts#L10) + +#### Parameters + +##### data + +[`RawNode`](../../../../type-aliases/RawNode.md) + +#### Returns + +`ShowSheetCommand` + +#### Overrides + +[`YTNode`](../../Helpers/classes/YTNode.md).[`constructor`](../../Helpers/classes/YTNode.md#constructor) + +## Properties + +### inline\_content + +> **inline\_content**: [`YTNode`](../../Helpers/classes/YTNode.md) \| `null` + +Defined in: [src/parser/classes/commands/ShowSheetCommand.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/ShowSheetCommand.ts#L7) + +*** + +### remove\_default\_padding + +> **remove\_default\_padding**: `boolean` + +Defined in: [src/parser/classes/commands/ShowSheetCommand.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/ShowSheetCommand.ts#L8) + +*** + +### type + +> `readonly` **type**: `string` + +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`type`](../../Helpers/classes/YTNode.md#type) + +*** + +### type + +> `static` **type**: `string` = `'ShowSheetCommand'` + +Defined in: [src/parser/classes/commands/ShowSheetCommand.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/ShowSheetCommand.ts#L5) + +#### Overrides + +[`YTNode`](../../Helpers/classes/YTNode.md).[`type`](../../Helpers/classes/YTNode.md#type-1) + +## Methods + +### as() + +> **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> + +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) + +Cast to one of the given types. + +#### Type Parameters + +##### T + +`T` *extends* [`YTNode`](../../Helpers/classes/YTNode.md) + +##### K + +`K` *extends* [`YTNodeConstructor`](../../Helpers/interfaces/YTNodeConstructor.md)\<`T`\>[] + +#### Parameters + +##### types + +...`K` + +The types to cast to + +#### Returns + +`InstanceType`\<`K`\[`number`\]\> + +The node cast to one of the given types + +#### Throws + +If the node is not of the given type + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`as`](../../Helpers/classes/YTNode.md#as) + +*** + +### hasKey() + +> **hasKey**\<`T`, `R`\>(`key`): `this is ShowSheetCommand & { [k in string]: R }` + +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) + +Check for a key without asserting the type. + +#### Type Parameters + +##### T + +`T` *extends* `string` + +##### R + +`R` = `any` + +#### Parameters + +##### key + +`T` + +The key to check + +#### Returns + +`this is ShowSheetCommand & { [k in string]: R }` + +Whether the node has the key + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`hasKey`](../../Helpers/classes/YTNode.md#haskey) + +*** + +### is() + +> **is**\<`T`, `K`\>(...`types`): `this is InstanceType` + +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) + +Check if the node is of the given type. + +#### Type Parameters + +##### T + +`T` *extends* [`YTNode`](../../Helpers/classes/YTNode.md) + +##### K + +`K` *extends* [`YTNodeConstructor`](../../Helpers/interfaces/YTNodeConstructor.md)\<`T`\>[] + +#### Parameters + +##### types + +...`K` + +The type to check + +#### Returns + +`this is InstanceType` + +whether the node is of the given type + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`is`](../../Helpers/classes/YTNode.md#is) + +*** + +### key() + +> **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) + +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) + +Assert that the node has the given key and return it. + +#### Type Parameters + +##### T + +`T` *extends* `string` + +##### R + +`R` = `any` + +#### Parameters + +##### key + +`T` + +The key to check + +#### Returns + +[`Maybe`](../../Helpers/classes/Maybe.md) + +The value of the key wrapped in a Maybe + +#### Throws + +If the node does not have the key + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`key`](../../Helpers/classes/YTNode.md#key) diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowingResultsFor.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowingResultsFor.md index f1336800..60e521ef 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowingResultsFor.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ShowingResultsFor.md @@ -2,7 +2,7 @@ # Class: ShowingResultsFor -Defined in: [src/parser/classes/ShowingResultsFor.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShowingResultsFor.ts#L6) +Defined in: [src/parser/classes/ShowingResultsFor.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShowingResultsFor.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ShowingResultsFor.ts:6](https://github.com/LuanR > **new ShowingResultsFor**(`data`): `ShowingResultsFor` -Defined in: [src/parser/classes/ShowingResultsFor.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShowingResultsFor.ts#L16) +Defined in: [src/parser/classes/ShowingResultsFor.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShowingResultsFor.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ShowingResultsFor.ts:16](https://github.com/Luan > **corrected\_query**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ShowingResultsFor.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShowingResultsFor.ts#L9) +Defined in: [src/parser/classes/ShowingResultsFor.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShowingResultsFor.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ShowingResultsFor.ts:9](https://github.com/LuanR > **corrected\_query\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ShowingResultsFor.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShowingResultsFor.ts#L11) +Defined in: [src/parser/classes/ShowingResultsFor.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShowingResultsFor.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ShowingResultsFor.ts:11](https://github.com/Luan > **original\_query**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ShowingResultsFor.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShowingResultsFor.ts#L10) +Defined in: [src/parser/classes/ShowingResultsFor.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShowingResultsFor.ts#L10) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ShowingResultsFor.ts:10](https://github.com/Luan > **original\_query\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ShowingResultsFor.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShowingResultsFor.ts#L12) +Defined in: [src/parser/classes/ShowingResultsFor.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShowingResultsFor.ts#L12) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ShowingResultsFor.ts:12](https://github.com/Luan > **search\_instead\_for**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ShowingResultsFor.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShowingResultsFor.ts#L13) +Defined in: [src/parser/classes/ShowingResultsFor.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShowingResultsFor.ts#L13) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ShowingResultsFor.ts:13](https://github.com/Luan > **showing\_results\_for**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ShowingResultsFor.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShowingResultsFor.ts#L14) +Defined in: [src/parser/classes/ShowingResultsFor.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShowingResultsFor.ts#L14) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ShowingResultsFor.ts:14](https://github.com/Luan > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ShowingResultsFor'` -Defined in: [src/parser/classes/ShowingResultsFor.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ShowingResultsFor.ts#L7) +Defined in: [src/parser/classes/ShowingResultsFor.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ShowingResultsFor.ts#L7) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/ShowingResultsFor.ts:7](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ShowingResultsFor & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SignalAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SignalAction.md index 55b1e897..0f305a14 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SignalAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SignalAction.md @@ -2,7 +2,7 @@ # Class: SignalAction -Defined in: [src/parser/classes/actions/SignalAction.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/SignalAction.ts#L4) +Defined in: [src/parser/classes/actions/SignalAction.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/SignalAction.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/actions/SignalAction.ts:4](https://github.com/Lu > **new SignalAction**(`data`): `SignalAction` -Defined in: [src/parser/classes/actions/SignalAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/SignalAction.ts#L9) +Defined in: [src/parser/classes/actions/SignalAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/SignalAction.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/actions/SignalAction.ts:9](https://github.com/Lu > **signal**: `string` -Defined in: [src/parser/classes/actions/SignalAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/SignalAction.ts#L7) +Defined in: [src/parser/classes/actions/SignalAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/SignalAction.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/actions/SignalAction.ts:7](https://github.com/Lu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SignalAction'` -Defined in: [src/parser/classes/actions/SignalAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/SignalAction.ts#L5) +Defined in: [src/parser/classes/actions/SignalAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/SignalAction.ts#L5) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/actions/SignalAction.ts:5](https://github.com/Lu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SignalAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SignalServiceEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SignalServiceEndpoint.md index fc9d067a..65e21706 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SignalServiceEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SignalServiceEndpoint.md @@ -2,7 +2,7 @@ # Class: SignalServiceEndpoint -Defined in: [src/parser/classes/endpoints/SignalServiceEndpoint.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/SignalServiceEndpoint.ts#L4) +Defined in: [src/parser/classes/endpoints/SignalServiceEndpoint.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/SignalServiceEndpoint.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/endpoints/SignalServiceEndpoint.ts:4](https://gi > **new SignalServiceEndpoint**(`data`): `SignalServiceEndpoint` -Defined in: [src/parser/classes/endpoints/SignalServiceEndpoint.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/SignalServiceEndpoint.ts#L10) +Defined in: [src/parser/classes/endpoints/SignalServiceEndpoint.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/SignalServiceEndpoint.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/endpoints/SignalServiceEndpoint.ts:10](https://g > `optional` **actions**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/endpoints/SignalServiceEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/SignalServiceEndpoint.ts#L7) +Defined in: [src/parser/classes/endpoints/SignalServiceEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/SignalServiceEndpoint.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/endpoints/SignalServiceEndpoint.ts:7](https://gi > `optional` **signal**: `string` -Defined in: [src/parser/classes/endpoints/SignalServiceEndpoint.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/SignalServiceEndpoint.ts#L8) +Defined in: [src/parser/classes/endpoints/SignalServiceEndpoint.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/SignalServiceEndpoint.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/endpoints/SignalServiceEndpoint.ts:8](https://gi > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SignalServiceEndpoint'` -Defined in: [src/parser/classes/endpoints/SignalServiceEndpoint.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/SignalServiceEndpoint.ts#L5) +Defined in: [src/parser/classes/endpoints/SignalServiceEndpoint.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/SignalServiceEndpoint.ts#L5) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/endpoints/SignalServiceEndpoint.ts:5](https://gi > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SignalServiceEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SimpleCardContent.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SimpleCardContent.md index abe53d70..01379c65 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SimpleCardContent.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SimpleCardContent.md @@ -2,7 +2,7 @@ # Class: SimpleCardContent -Defined in: [src/parser/classes/SimpleCardContent.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SimpleCardContent.ts#L7) +Defined in: [src/parser/classes/SimpleCardContent.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SimpleCardContent.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SimpleCardContent.ts:7](https://github.com/LuanR > **new SimpleCardContent**(`data`): `SimpleCardContent` -Defined in: [src/parser/classes/SimpleCardContent.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SimpleCardContent.ts#L17) +Defined in: [src/parser/classes/SimpleCardContent.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SimpleCardContent.ts#L17) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SimpleCardContent.ts:17](https://github.com/Luan > **call\_to\_action**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SimpleCardContent.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SimpleCardContent.ts#L14) +Defined in: [src/parser/classes/SimpleCardContent.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SimpleCardContent.ts#L14) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SimpleCardContent.ts:14](https://github.com/Luan > **display\_domain**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SimpleCardContent.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SimpleCardContent.ts#L12) +Defined in: [src/parser/classes/SimpleCardContent.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SimpleCardContent.ts#L12) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SimpleCardContent.ts:12](https://github.com/Luan > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/SimpleCardContent.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SimpleCardContent.ts#L15) +Defined in: [src/parser/classes/SimpleCardContent.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SimpleCardContent.ts#L15) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/SimpleCardContent.ts:15](https://github.com/Luan > **image**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/SimpleCardContent.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SimpleCardContent.ts#L10) +Defined in: [src/parser/classes/SimpleCardContent.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SimpleCardContent.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/SimpleCardContent.ts:10](https://github.com/Luan > **show\_link\_icon**: `boolean` -Defined in: [src/parser/classes/SimpleCardContent.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SimpleCardContent.ts#L13) +Defined in: [src/parser/classes/SimpleCardContent.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SimpleCardContent.ts#L13) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/SimpleCardContent.ts:13](https://github.com/Luan > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SimpleCardContent.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SimpleCardContent.ts#L11) +Defined in: [src/parser/classes/SimpleCardContent.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SimpleCardContent.ts#L11) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/SimpleCardContent.ts:11](https://github.com/Luan > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SimpleCardContent'` -Defined in: [src/parser/classes/SimpleCardContent.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SimpleCardContent.ts#L8) +Defined in: [src/parser/classes/SimpleCardContent.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SimpleCardContent.ts#L8) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/SimpleCardContent.ts:8](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SimpleCardContent & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SimpleCardTeaser.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SimpleCardTeaser.md index ce5db41d..3e00ab18 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SimpleCardTeaser.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SimpleCardTeaser.md @@ -2,7 +2,7 @@ # Class: SimpleCardTeaser -Defined in: [src/parser/classes/SimpleCardTeaser.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SimpleCardTeaser.ts#L5) +Defined in: [src/parser/classes/SimpleCardTeaser.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SimpleCardTeaser.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SimpleCardTeaser.ts:5](https://github.com/LuanRT > **new SimpleCardTeaser**(`data`): `SimpleCardTeaser` -Defined in: [src/parser/classes/SimpleCardTeaser.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SimpleCardTeaser.ts#L11) +Defined in: [src/parser/classes/SimpleCardTeaser.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SimpleCardTeaser.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SimpleCardTeaser.ts:11](https://github.com/LuanR > **message**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SimpleCardTeaser.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SimpleCardTeaser.ts#L8) +Defined in: [src/parser/classes/SimpleCardTeaser.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SimpleCardTeaser.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SimpleCardTeaser.ts:8](https://github.com/LuanRT > **prominent**: `boolean` -Defined in: [src/parser/classes/SimpleCardTeaser.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SimpleCardTeaser.ts#L9) +Defined in: [src/parser/classes/SimpleCardTeaser.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SimpleCardTeaser.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SimpleCardTeaser.ts:9](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SimpleCardTeaser'` -Defined in: [src/parser/classes/SimpleCardTeaser.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SimpleCardTeaser.ts#L6) +Defined in: [src/parser/classes/SimpleCardTeaser.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SimpleCardTeaser.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/SimpleCardTeaser.ts:6](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SimpleCardTeaser & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SimpleMenuHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SimpleMenuHeader.md index 89eec76d..7f4d68bf 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SimpleMenuHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SimpleMenuHeader.md @@ -2,7 +2,7 @@ # Class: SimpleMenuHeader -Defined in: [src/parser/classes/menus/SimpleMenuHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/SimpleMenuHeader.ts#L8) +Defined in: [src/parser/classes/menus/SimpleMenuHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/SimpleMenuHeader.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/menus/SimpleMenuHeader.ts:8](https://github.com/ > **new SimpleMenuHeader**(`data`): `SimpleMenuHeader` -Defined in: [src/parser/classes/menus/SimpleMenuHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/SimpleMenuHeader.ts#L14) +Defined in: [src/parser/classes/menus/SimpleMenuHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/SimpleMenuHeader.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/menus/SimpleMenuHeader.ts:14](https://github.com > **buttons**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Button`](Button.md)\> -Defined in: [src/parser/classes/menus/SimpleMenuHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/SimpleMenuHeader.ts#L12) +Defined in: [src/parser/classes/menus/SimpleMenuHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/SimpleMenuHeader.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/menus/SimpleMenuHeader.ts:12](https://github.com > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/menus/SimpleMenuHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/SimpleMenuHeader.ts#L11) +Defined in: [src/parser/classes/menus/SimpleMenuHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/SimpleMenuHeader.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/menus/SimpleMenuHeader.ts:11](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SimpleMenuHeader'` -Defined in: [src/parser/classes/menus/SimpleMenuHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/menus/SimpleMenuHeader.ts#L9) +Defined in: [src/parser/classes/menus/SimpleMenuHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/menus/SimpleMenuHeader.ts#L9) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/menus/SimpleMenuHeader.ts:9](https://github.com/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SimpleMenuHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SimpleTextSection.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SimpleTextSection.md index c8bf82bd..d4a25f62 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SimpleTextSection.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SimpleTextSection.md @@ -2,7 +2,7 @@ # Class: SimpleTextSection -Defined in: [src/parser/classes/SimpleTextSection.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SimpleTextSection.ts#L5) +Defined in: [src/parser/classes/SimpleTextSection.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SimpleTextSection.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SimpleTextSection.ts:5](https://github.com/LuanR > **new SimpleTextSection**(`data`): `SimpleTextSection` -Defined in: [src/parser/classes/SimpleTextSection.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SimpleTextSection.ts#L11) +Defined in: [src/parser/classes/SimpleTextSection.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SimpleTextSection.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SimpleTextSection.ts:11](https://github.com/Luan > **lines**: [`Text`](../../Misc/classes/Text.md)[] -Defined in: [src/parser/classes/SimpleTextSection.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SimpleTextSection.ts#L8) +Defined in: [src/parser/classes/SimpleTextSection.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SimpleTextSection.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SimpleTextSection.ts:8](https://github.com/LuanR > **style**: `string` -Defined in: [src/parser/classes/SimpleTextSection.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SimpleTextSection.ts#L9) +Defined in: [src/parser/classes/SimpleTextSection.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SimpleTextSection.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SimpleTextSection.ts:9](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SimpleTextSection'` -Defined in: [src/parser/classes/SimpleTextSection.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SimpleTextSection.ts#L6) +Defined in: [src/parser/classes/SimpleTextSection.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SimpleTextSection.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/SimpleTextSection.ts:6](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SimpleTextSection & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SingleActionEmergencySupport.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SingleActionEmergencySupport.md index 569cf3d0..8cb787ee 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SingleActionEmergencySupport.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SingleActionEmergencySupport.md @@ -2,7 +2,7 @@ # Class: SingleActionEmergencySupport -Defined in: [src/parser/classes/SingleActionEmergencySupport.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SingleActionEmergencySupport.ts#L6) +Defined in: [src/parser/classes/SingleActionEmergencySupport.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SingleActionEmergencySupport.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SingleActionEmergencySupport.ts:6](https://githu > **new SingleActionEmergencySupport**(`data`): `SingleActionEmergencySupport` -Defined in: [src/parser/classes/SingleActionEmergencySupport.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SingleActionEmergencySupport.ts#L15) +Defined in: [src/parser/classes/SingleActionEmergencySupport.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SingleActionEmergencySupport.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SingleActionEmergencySupport.ts:15](https://gith > **action\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SingleActionEmergencySupport.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SingleActionEmergencySupport.ts#L9) +Defined in: [src/parser/classes/SingleActionEmergencySupport.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SingleActionEmergencySupport.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SingleActionEmergencySupport.ts:9](https://githu > **details**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SingleActionEmergencySupport.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SingleActionEmergencySupport.ts#L11) +Defined in: [src/parser/classes/SingleActionEmergencySupport.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SingleActionEmergencySupport.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SingleActionEmergencySupport.ts:11](https://gith > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/SingleActionEmergencySupport.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SingleActionEmergencySupport.ts#L13) +Defined in: [src/parser/classes/SingleActionEmergencySupport.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SingleActionEmergencySupport.ts#L13) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/SingleActionEmergencySupport.ts:13](https://gith > **icon\_type**: `string` -Defined in: [src/parser/classes/SingleActionEmergencySupport.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SingleActionEmergencySupport.ts#L12) +Defined in: [src/parser/classes/SingleActionEmergencySupport.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SingleActionEmergencySupport.ts#L12) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/SingleActionEmergencySupport.ts:12](https://gith > **nav\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SingleActionEmergencySupport.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SingleActionEmergencySupport.ts#L10) +Defined in: [src/parser/classes/SingleActionEmergencySupport.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SingleActionEmergencySupport.ts#L10) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/SingleActionEmergencySupport.ts:10](https://gith > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SingleActionEmergencySupport'` -Defined in: [src/parser/classes/SingleActionEmergencySupport.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SingleActionEmergencySupport.ts#L7) +Defined in: [src/parser/classes/SingleActionEmergencySupport.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SingleActionEmergencySupport.ts#L7) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/SingleActionEmergencySupport.ts:7](https://githu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SingleActionEmergencySupport & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SingleColumnBrowseResults.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SingleColumnBrowseResults.md index 2c40913e..859c429f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SingleColumnBrowseResults.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SingleColumnBrowseResults.md @@ -2,7 +2,7 @@ # Class: SingleColumnBrowseResults -Defined in: [src/parser/classes/SingleColumnBrowseResults.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SingleColumnBrowseResults.ts#L5) +Defined in: [src/parser/classes/SingleColumnBrowseResults.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SingleColumnBrowseResults.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SingleColumnBrowseResults.ts:5](https://github.c > **new SingleColumnBrowseResults**(`data`): `SingleColumnBrowseResults` -Defined in: [src/parser/classes/SingleColumnBrowseResults.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SingleColumnBrowseResults.ts#L10) +Defined in: [src/parser/classes/SingleColumnBrowseResults.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SingleColumnBrowseResults.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SingleColumnBrowseResults.ts:10](https://github. > **tabs**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Tab`](Tab.md)\> -Defined in: [src/parser/classes/SingleColumnBrowseResults.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SingleColumnBrowseResults.ts#L8) +Defined in: [src/parser/classes/SingleColumnBrowseResults.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SingleColumnBrowseResults.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SingleColumnBrowseResults.ts:8](https://github.c > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SingleColumnBrowseResults'` -Defined in: [src/parser/classes/SingleColumnBrowseResults.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SingleColumnBrowseResults.ts#L6) +Defined in: [src/parser/classes/SingleColumnBrowseResults.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SingleColumnBrowseResults.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/SingleColumnBrowseResults.ts:6](https://github.c > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SingleColumnBrowseResults & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SingleColumnMusicWatchNextResults.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SingleColumnMusicWatchNextResults.md index 9bcee590..e749a72f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SingleColumnMusicWatchNextResults.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SingleColumnMusicWatchNextResults.md @@ -2,7 +2,7 @@ # Class: SingleColumnMusicWatchNextResults -Defined in: [src/parser/classes/SingleColumnMusicWatchNextResults.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SingleColumnMusicWatchNextResults.ts#L4) +Defined in: [src/parser/classes/SingleColumnMusicWatchNextResults.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SingleColumnMusicWatchNextResults.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SingleColumnMusicWatchNextResults.ts:4](https:// > **new SingleColumnMusicWatchNextResults**(`data`): `SingleColumnMusicWatchNextResults` -Defined in: [src/parser/classes/SingleColumnMusicWatchNextResults.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SingleColumnMusicWatchNextResults.ts#L9) +Defined in: [src/parser/classes/SingleColumnMusicWatchNextResults.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SingleColumnMusicWatchNextResults.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SingleColumnMusicWatchNextResults.ts:9](https:// > **contents**: [`SuperParsedResult`](../../Helpers/classes/SuperParsedResult.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/SingleColumnMusicWatchNextResults.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SingleColumnMusicWatchNextResults.ts#L7) +Defined in: [src/parser/classes/SingleColumnMusicWatchNextResults.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SingleColumnMusicWatchNextResults.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SingleColumnMusicWatchNextResults.ts:7](https:// > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SingleColumnMusicWatchNextResults'` -Defined in: [src/parser/classes/SingleColumnMusicWatchNextResults.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SingleColumnMusicWatchNextResults.ts#L5) +Defined in: [src/parser/classes/SingleColumnMusicWatchNextResults.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SingleColumnMusicWatchNextResults.ts#L5) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/SingleColumnMusicWatchNextResults.ts:5](https:// > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SingleColumnMusicWatchNextResults & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SingleHeroImage.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SingleHeroImage.md index c6d62fad..cfe81eec 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SingleHeroImage.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SingleHeroImage.md @@ -2,7 +2,7 @@ # Class: SingleHeroImage -Defined in: [src/parser/classes/SingleHeroImage.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SingleHeroImage.ts#L5) +Defined in: [src/parser/classes/SingleHeroImage.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SingleHeroImage.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SingleHeroImage.ts:5](https://github.com/LuanRT/ > **new SingleHeroImage**(`data`): `SingleHeroImage` -Defined in: [src/parser/classes/SingleHeroImage.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SingleHeroImage.ts#L11) +Defined in: [src/parser/classes/SingleHeroImage.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SingleHeroImage.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SingleHeroImage.ts:11](https://github.com/LuanRT > **style**: `string` -Defined in: [src/parser/classes/SingleHeroImage.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SingleHeroImage.ts#L9) +Defined in: [src/parser/classes/SingleHeroImage.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SingleHeroImage.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SingleHeroImage.ts:9](https://github.com/LuanRT/ > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/SingleHeroImage.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SingleHeroImage.ts#L8) +Defined in: [src/parser/classes/SingleHeroImage.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SingleHeroImage.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SingleHeroImage.ts:8](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SingleHeroImage'` -Defined in: [src/parser/classes/SingleHeroImage.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SingleHeroImage.ts#L6) +Defined in: [src/parser/classes/SingleHeroImage.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SingleHeroImage.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/SingleHeroImage.ts:6](https://github.com/LuanRT/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SingleHeroImage & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SlimOwner.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SlimOwner.md index 3e02eea0..37e01414 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SlimOwner.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SlimOwner.md @@ -2,7 +2,7 @@ # Class: SlimOwner -Defined in: [src/parser/classes/SlimOwner.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SlimOwner.ts#L8) +Defined in: [src/parser/classes/SlimOwner.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SlimOwner.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SlimOwner.ts:8](https://github.com/LuanRT/YouTub > **new SlimOwner**(`data`): `SlimOwner` -Defined in: [src/parser/classes/SlimOwner.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SlimOwner.ts#L16) +Defined in: [src/parser/classes/SlimOwner.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SlimOwner.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SlimOwner.ts:16](https://github.com/LuanRT/YouTu > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/SlimOwner.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SlimOwner.ts#L13) +Defined in: [src/parser/classes/SlimOwner.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SlimOwner.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SlimOwner.ts:13](https://github.com/LuanRT/YouTu > **subscribe\_button**: [`SubscribeButton`](SubscribeButton.md) \| `null` -Defined in: [src/parser/classes/SlimOwner.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SlimOwner.ts#L14) +Defined in: [src/parser/classes/SlimOwner.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SlimOwner.ts#L14) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SlimOwner.ts:14](https://github.com/LuanRT/YouTu > **thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/SlimOwner.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SlimOwner.ts#L11) +Defined in: [src/parser/classes/SlimOwner.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SlimOwner.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/SlimOwner.ts:11](https://github.com/LuanRT/YouTu > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SlimOwner.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SlimOwner.ts#L12) +Defined in: [src/parser/classes/SlimOwner.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SlimOwner.ts#L12) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/SlimOwner.ts:12](https://github.com/LuanRT/YouTu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SlimOwner'` -Defined in: [src/parser/classes/SlimOwner.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SlimOwner.ts#L9) +Defined in: [src/parser/classes/SlimOwner.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SlimOwner.ts#L9) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/SlimOwner.ts:9](https://github.com/LuanRT/YouTub > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SlimOwner & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SlimVideoMetadata.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SlimVideoMetadata.md index 7bb685a8..441b97f0 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SlimVideoMetadata.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SlimVideoMetadata.md @@ -2,7 +2,7 @@ # Class: SlimVideoMetadata -Defined in: [src/parser/classes/SlimVideoMetadata.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SlimVideoMetadata.ts#L5) +Defined in: [src/parser/classes/SlimVideoMetadata.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SlimVideoMetadata.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SlimVideoMetadata.ts:5](https://github.com/LuanR > **new SlimVideoMetadata**(`data`): `SlimVideoMetadata` -Defined in: [src/parser/classes/SlimVideoMetadata.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SlimVideoMetadata.ts#L16) +Defined in: [src/parser/classes/SlimVideoMetadata.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SlimVideoMetadata.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SlimVideoMetadata.ts:16](https://github.com/Luan > **collapsed\_subtitle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SlimVideoMetadata.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SlimVideoMetadata.ts#L9) +Defined in: [src/parser/classes/SlimVideoMetadata.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SlimVideoMetadata.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SlimVideoMetadata.ts:9](https://github.com/LuanR > **date**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SlimVideoMetadata.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SlimVideoMetadata.ts#L14) +Defined in: [src/parser/classes/SlimVideoMetadata.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SlimVideoMetadata.ts#L14) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SlimVideoMetadata.ts:14](https://github.com/Luan > **description**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SlimVideoMetadata.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SlimVideoMetadata.ts#L12) +Defined in: [src/parser/classes/SlimVideoMetadata.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SlimVideoMetadata.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/SlimVideoMetadata.ts:12](https://github.com/Luan > **expanded\_subtitle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SlimVideoMetadata.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SlimVideoMetadata.ts#L10) +Defined in: [src/parser/classes/SlimVideoMetadata.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SlimVideoMetadata.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/SlimVideoMetadata.ts:10](https://github.com/Luan > **owner**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/SlimVideoMetadata.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SlimVideoMetadata.ts#L11) +Defined in: [src/parser/classes/SlimVideoMetadata.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SlimVideoMetadata.ts#L11) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/SlimVideoMetadata.ts:11](https://github.com/Luan > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SlimVideoMetadata.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SlimVideoMetadata.ts#L8) +Defined in: [src/parser/classes/SlimVideoMetadata.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SlimVideoMetadata.ts#L8) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/SlimVideoMetadata.ts:8](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_id**: `string` -Defined in: [src/parser/classes/SlimVideoMetadata.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SlimVideoMetadata.ts#L13) +Defined in: [src/parser/classes/SlimVideoMetadata.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SlimVideoMetadata.ts#L13) *** @@ -104,7 +104,7 @@ Defined in: [src/parser/classes/SlimVideoMetadata.ts:13](https://github.com/Luan > `static` **type**: `string` = `'SlimVideoMetadata'` -Defined in: [src/parser/classes/SlimVideoMetadata.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SlimVideoMetadata.ts#L6) +Defined in: [src/parser/classes/SlimVideoMetadata.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SlimVideoMetadata.ts#L6) #### Overrides @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/SlimVideoMetadata.ts:6](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -158,7 +158,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SlimVideoMetadata & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -196,7 +196,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -234,7 +234,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SortFilterHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SortFilterHeader.md index 8b33ec0a..3e1dfd69 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SortFilterHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SortFilterHeader.md @@ -2,7 +2,7 @@ # Class: SortFilterHeader -Defined in: [src/parser/classes/SortFilterHeader.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SortFilterHeader.ts#L4) +Defined in: [src/parser/classes/SortFilterHeader.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SortFilterHeader.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SortFilterHeader.ts:4](https://github.com/LuanRT > **new SortFilterHeader**(`data`): `SortFilterHeader` -Defined in: [src/parser/classes/SortFilterHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SortFilterHeader.ts#L9) +Defined in: [src/parser/classes/SortFilterHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SortFilterHeader.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SortFilterHeader.ts:9](https://github.com/LuanRT > **filter\_menu**: [`SortFilterSubMenu`](SortFilterSubMenu.md) \| `null` -Defined in: [src/parser/classes/SortFilterHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SortFilterHeader.ts#L7) +Defined in: [src/parser/classes/SortFilterHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SortFilterHeader.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SortFilterHeader.ts:7](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SortFilterHeader'` -Defined in: [src/parser/classes/SortFilterHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SortFilterHeader.ts#L5) +Defined in: [src/parser/classes/SortFilterHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SortFilterHeader.ts#L5) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/SortFilterHeader.ts:5](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SortFilterHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SortFilterSubMenu.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SortFilterSubMenu.md index 316bd52a..10b44447 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SortFilterSubMenu.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SortFilterSubMenu.md @@ -2,7 +2,7 @@ # Class: SortFilterSubMenu -Defined in: [src/parser/classes/SortFilterSubMenu.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SortFilterSubMenu.ts#L14) +Defined in: [src/parser/classes/SortFilterSubMenu.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SortFilterSubMenu.ts#L14) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SortFilterSubMenu.ts:14](https://github.com/Luan > **new SortFilterSubMenu**(`data`): `SortFilterSubMenu` -Defined in: [src/parser/classes/SortFilterSubMenu.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SortFilterSubMenu.ts#L23) +Defined in: [src/parser/classes/SortFilterSubMenu.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SortFilterSubMenu.ts#L23) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SortFilterSubMenu.ts:23](https://github.com/Luan > `optional` **accessibility**: `AccessibilitySupportedDatas` -Defined in: [src/parser/classes/SortFilterSubMenu.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SortFilterSubMenu.ts#L21) +Defined in: [src/parser/classes/SortFilterSubMenu.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SortFilterSubMenu.ts#L21) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SortFilterSubMenu.ts:21](https://github.com/Luan > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/SortFilterSubMenu.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SortFilterSubMenu.ts#L18) +Defined in: [src/parser/classes/SortFilterSubMenu.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SortFilterSubMenu.ts#L18) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SortFilterSubMenu.ts:18](https://github.com/Luan > `optional` **sub\_menu\_items**: `SubMenuItem`[] -Defined in: [src/parser/classes/SortFilterSubMenu.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SortFilterSubMenu.ts#L20) +Defined in: [src/parser/classes/SortFilterSubMenu.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SortFilterSubMenu.ts#L20) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/SortFilterSubMenu.ts:20](https://github.com/Luan > `optional` **title**: `string` -Defined in: [src/parser/classes/SortFilterSubMenu.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SortFilterSubMenu.ts#L17) +Defined in: [src/parser/classes/SortFilterSubMenu.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SortFilterSubMenu.ts#L17) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/SortFilterSubMenu.ts:17](https://github.com/Luan > `optional` **tooltip**: `string` -Defined in: [src/parser/classes/SortFilterSubMenu.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SortFilterSubMenu.ts#L19) +Defined in: [src/parser/classes/SortFilterSubMenu.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SortFilterSubMenu.ts#L19) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/SortFilterSubMenu.ts:19](https://github.com/Luan > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SortFilterSubMenu'` -Defined in: [src/parser/classes/SortFilterSubMenu.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SortFilterSubMenu.ts#L15) +Defined in: [src/parser/classes/SortFilterSubMenu.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SortFilterSubMenu.ts#L15) #### Overrides @@ -102,7 +102,7 @@ Defined in: [src/parser/classes/SortFilterSubMenu.ts:15](https://github.com/Luan > **get** **label**(): `string` \| `undefined` -Defined in: [src/parser/classes/SortFilterSubMenu.ts:55](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SortFilterSubMenu.ts#L55) +Defined in: [src/parser/classes/SortFilterSubMenu.ts:55](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SortFilterSubMenu.ts#L55) ##### Returns @@ -114,7 +114,7 @@ Defined in: [src/parser/classes/SortFilterSubMenu.ts:55](https://github.com/Luan > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -156,7 +156,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SortFilterSubMenu & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -194,7 +194,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -232,7 +232,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SponsorCommentBadge.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SponsorCommentBadge.md index 65e5fbe3..74f805b5 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SponsorCommentBadge.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SponsorCommentBadge.md @@ -2,7 +2,7 @@ # Class: SponsorCommentBadge -Defined in: [src/parser/classes/comments/SponsorCommentBadge.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/SponsorCommentBadge.ts#L5) +Defined in: [src/parser/classes/comments/SponsorCommentBadge.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/SponsorCommentBadge.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/comments/SponsorCommentBadge.ts:5](https://githu > **new SponsorCommentBadge**(`data`): `SponsorCommentBadge` -Defined in: [src/parser/classes/comments/SponsorCommentBadge.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/SponsorCommentBadge.ts#L11) +Defined in: [src/parser/classes/comments/SponsorCommentBadge.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/SponsorCommentBadge.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/comments/SponsorCommentBadge.ts:11](https://gith > **custom\_badge**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/comments/SponsorCommentBadge.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/SponsorCommentBadge.ts#L8) +Defined in: [src/parser/classes/comments/SponsorCommentBadge.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/SponsorCommentBadge.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/comments/SponsorCommentBadge.ts:8](https://githu > **tooltip**: `string` -Defined in: [src/parser/classes/comments/SponsorCommentBadge.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/SponsorCommentBadge.ts#L9) +Defined in: [src/parser/classes/comments/SponsorCommentBadge.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/SponsorCommentBadge.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/comments/SponsorCommentBadge.ts:9](https://githu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SponsorCommentBadge'` -Defined in: [src/parser/classes/comments/SponsorCommentBadge.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/SponsorCommentBadge.ts#L6) +Defined in: [src/parser/classes/comments/SponsorCommentBadge.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/SponsorCommentBadge.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/comments/SponsorCommentBadge.ts:6](https://githu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SponsorCommentBadge & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/StartAt.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/StartAt.md index 6ba0c2fc..a785195c 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/StartAt.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/StartAt.md @@ -2,7 +2,7 @@ # Class: StartAt -Defined in: [src/parser/classes/StartAt.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/StartAt.ts#L5) +Defined in: [src/parser/classes/StartAt.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/StartAt.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/StartAt.ts:5](https://github.com/LuanRT/YouTube. > **new StartAt**(`data`): `StartAt` -Defined in: [src/parser/classes/StartAt.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/StartAt.ts#L10) +Defined in: [src/parser/classes/StartAt.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/StartAt.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/StartAt.ts:10](https://github.com/LuanRT/YouTube > **start\_at\_option\_label**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/StartAt.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/StartAt.ts#L8) +Defined in: [src/parser/classes/StartAt.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/StartAt.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/StartAt.ts:8](https://github.com/LuanRT/YouTube. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'StartAt'` -Defined in: [src/parser/classes/StartAt.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/StartAt.ts#L6) +Defined in: [src/parser/classes/StartAt.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/StartAt.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/StartAt.ts:6](https://github.com/LuanRT/YouTube. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is StartAt & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/StructuredDescriptionContent.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/StructuredDescriptionContent.md index 1fd49a38..bdfa12cd 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/StructuredDescriptionContent.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/StructuredDescriptionContent.md @@ -2,7 +2,7 @@ # Class: StructuredDescriptionContent -Defined in: [src/parser/classes/StructuredDescriptionContent.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/StructuredDescriptionContent.ts#L14) +Defined in: [src/parser/classes/StructuredDescriptionContent.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/StructuredDescriptionContent.ts#L16) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/StructuredDescriptionContent.ts:14](https://gith > **new StructuredDescriptionContent**(`data`): `StructuredDescriptionContent` -Defined in: [src/parser/classes/StructuredDescriptionContent.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/StructuredDescriptionContent.ts#L24) +Defined in: [src/parser/classes/StructuredDescriptionContent.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/StructuredDescriptionContent.ts#L26) #### Parameters @@ -34,9 +34,9 @@ Defined in: [src/parser/classes/StructuredDescriptionContent.ts:24](https://gith ### items -> **items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ReelShelf`](ReelShelf.md) \| [`HorizontalCardList`](HorizontalCardList.md) \| [`ExpandableVideoDescriptionBody`](ExpandableVideoDescriptionBody.md) \| [`VideoDescriptionHeader`](VideoDescriptionHeader.md) \| [`VideoDescriptionInfocardsSection`](VideoDescriptionInfocardsSection.md) \| [`VideoDescriptionMusicSection`](VideoDescriptionMusicSection.md) \| [`VideoDescriptionTranscriptSection`](VideoDescriptionTranscriptSection.md) \| [`VideoDescriptionCourseSection`](VideoDescriptionCourseSection.md) \| [`VideoAttributesSectionView`](VideoAttributesSectionView.md) \| [`HowThisWasMadeSectionView`](HowThisWasMadeSectionView.md)\> +> **items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ReelShelf`](ReelShelf.md) \| [`HorizontalCardList`](HorizontalCardList.md) \| [`ExpandableMetadata`](ExpandableMetadata.md) \| [`ExpandableVideoDescriptionBody`](ExpandableVideoDescriptionBody.md) \| [`VideoDescriptionHeader`](VideoDescriptionHeader.md) \| [`VideoDescriptionInfocardsSection`](VideoDescriptionInfocardsSection.md) \| [`VideoDescriptionMusicSection`](VideoDescriptionMusicSection.md) \| [`VideoDescriptionTranscriptSection`](VideoDescriptionTranscriptSection.md) \| [`VideoDescriptionCourseSection`](VideoDescriptionCourseSection.md) \| [`VideoAttributesSectionView`](VideoAttributesSectionView.md) \| [`HowThisWasMadeSectionView`](HowThisWasMadeSectionView.md) \| [`MerchandiseShelf`](MerchandiseShelf.md)\> -Defined in: [src/parser/classes/StructuredDescriptionContent.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/StructuredDescriptionContent.ts#L17) +Defined in: [src/parser/classes/StructuredDescriptionContent.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/StructuredDescriptionContent.ts#L19) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/StructuredDescriptionContent.ts:17](https://gith > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'StructuredDescriptionContent'` -Defined in: [src/parser/classes/StructuredDescriptionContent.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/StructuredDescriptionContent.ts#L15) +Defined in: [src/parser/classes/StructuredDescriptionContent.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/StructuredDescriptionContent.ts#L17) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/StructuredDescriptionContent.ts:15](https://gith > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is StructuredDescriptionContent & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/StructuredDescriptionPlaylistLockup.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/StructuredDescriptionPlaylistLockup.md index d7fdf594..57874917 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/StructuredDescriptionPlaylistLockup.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/StructuredDescriptionPlaylistLockup.md @@ -2,7 +2,7 @@ # Class: StructuredDescriptionPlaylistLockup -Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L7) +Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:7](https: > **new StructuredDescriptionPlaylistLockup**(`data`): `StructuredDescriptionPlaylistLockup` -Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L21) +Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L21) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:21](https > **aspect\_ratio**: `number` -Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L16) +Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L16) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:16](https > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L14) +Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L14) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:14](https > **max\_lines\_short\_byline\_text**: `number` -Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L18) +Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L18) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:18](https > **max\_lines\_title**: `number` -Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L17) +Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L17) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:17](https > **overlay\_position**: `string` -Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L19) +Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L19) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:19](https > **short\_byline\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L12) +Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L12) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:12](https > **thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L10) +Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L10) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:10](https > **thumbnail\_width**: `number` -Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L15) +Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L15) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:15](https > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L11) +Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L11) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:11](https > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -120,7 +120,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_count\_short\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L13) +Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L13) *** @@ -128,7 +128,7 @@ Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:13](https > `static` **type**: `string` = `'StructuredDescriptionPlaylistLockup'` -Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L8) +Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/StructuredDescriptionPlaylistLockup.ts#L8) #### Overrides @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/StructuredDescriptionPlaylistLockup.ts:8](https: > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -182,7 +182,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is StructuredDescriptionPlaylistLockup & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -220,7 +220,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -258,7 +258,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SubFeedOption.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SubFeedOption.md index df1e7718..c088af8b 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SubFeedOption.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SubFeedOption.md @@ -2,7 +2,7 @@ # Class: SubFeedOption -Defined in: [src/parser/classes/SubFeedOption.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubFeedOption.ts#L6) +Defined in: [src/parser/classes/SubFeedOption.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubFeedOption.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SubFeedOption.ts:6](https://github.com/LuanRT/Yo > **new SubFeedOption**(`data`): `SubFeedOption` -Defined in: [src/parser/classes/SubFeedOption.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubFeedOption.ts#L13) +Defined in: [src/parser/classes/SubFeedOption.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubFeedOption.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SubFeedOption.ts:13](https://github.com/LuanRT/Y > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/SubFeedOption.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubFeedOption.ts#L11) +Defined in: [src/parser/classes/SubFeedOption.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubFeedOption.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SubFeedOption.ts:11](https://github.com/LuanRT/Y > **is\_selected**: `boolean` -Defined in: [src/parser/classes/SubFeedOption.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubFeedOption.ts#L10) +Defined in: [src/parser/classes/SubFeedOption.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubFeedOption.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SubFeedOption.ts:10](https://github.com/LuanRT/Y > **name**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SubFeedOption.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubFeedOption.ts#L9) +Defined in: [src/parser/classes/SubFeedOption.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubFeedOption.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/SubFeedOption.ts:9](https://github.com/LuanRT/Yo > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SubFeedOption'` -Defined in: [src/parser/classes/SubFeedOption.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubFeedOption.ts#L7) +Defined in: [src/parser/classes/SubFeedOption.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubFeedOption.ts#L7) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/SubFeedOption.ts:7](https://github.com/LuanRT/Yo > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SubFeedOption & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SubFeedSelector.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SubFeedSelector.md index de36c70a..c27bc9a3 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SubFeedSelector.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SubFeedSelector.md @@ -2,7 +2,7 @@ # Class: SubFeedSelector -Defined in: [src/parser/classes/SubFeedSelector.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubFeedSelector.ts#L6) +Defined in: [src/parser/classes/SubFeedSelector.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubFeedSelector.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SubFeedSelector.ts:6](https://github.com/LuanRT/ > **new SubFeedSelector**(`data`): `SubFeedSelector` -Defined in: [src/parser/classes/SubFeedSelector.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubFeedSelector.ts#L12) +Defined in: [src/parser/classes/SubFeedSelector.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubFeedSelector.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SubFeedSelector.ts:12](https://github.com/LuanRT > **options**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`SubFeedOption`](SubFeedOption.md)\> -Defined in: [src/parser/classes/SubFeedSelector.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubFeedSelector.ts#L10) +Defined in: [src/parser/classes/SubFeedSelector.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubFeedSelector.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SubFeedSelector.ts:10](https://github.com/LuanRT > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SubFeedSelector.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubFeedSelector.ts#L9) +Defined in: [src/parser/classes/SubFeedSelector.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubFeedSelector.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SubFeedSelector.ts:9](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SubFeedSelector'` -Defined in: [src/parser/classes/SubFeedSelector.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubFeedSelector.ts#L7) +Defined in: [src/parser/classes/SubFeedSelector.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubFeedSelector.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/SubFeedSelector.ts:7](https://github.com/LuanRT/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SubFeedSelector & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SubscribeButton.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SubscribeButton.md index 9cc4a58c..6db225e4 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SubscribeButton.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SubscribeButton.md @@ -2,7 +2,7 @@ # Class: SubscribeButton -Defined in: [src/parser/classes/SubscribeButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButton.ts#L7) +Defined in: [src/parser/classes/SubscribeButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButton.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SubscribeButton.ts:7](https://github.com/LuanRT/ > **new SubscribeButton**(`data`): `SubscribeButton` -Defined in: [src/parser/classes/SubscribeButton.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButton.ts#L28) +Defined in: [src/parser/classes/SubscribeButton.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButton.ts#L28) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SubscribeButton.ts:28](https://github.com/LuanRT > **button\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SubscribeButton.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButton.ts#L10) +Defined in: [src/parser/classes/SubscribeButton.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButton.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SubscribeButton.ts:10](https://github.com/LuanRT > **channel\_id**: `string` -Defined in: [src/parser/classes/SubscribeButton.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButton.ts#L14) +Defined in: [src/parser/classes/SubscribeButton.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButton.ts#L14) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/SubscribeButton.ts:14](https://github.com/LuanRT > **enabled**: `boolean` -Defined in: [src/parser/classes/SubscribeButton.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButton.ts#L12) +Defined in: [src/parser/classes/SubscribeButton.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButton.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/SubscribeButton.ts:12](https://github.com/LuanRT > **item\_type**: `string` -Defined in: [src/parser/classes/SubscribeButton.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButton.ts#L13) +Defined in: [src/parser/classes/SubscribeButton.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButton.ts#L13) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/SubscribeButton.ts:13](https://github.com/LuanRT > **notification\_preference\_button**: [`SubscriptionNotificationToggleButton`](SubscriptionNotificationToggleButton.md) \| `null` -Defined in: [src/parser/classes/SubscribeButton.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButton.ts#L19) +Defined in: [src/parser/classes/SubscribeButton.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButton.ts#L19) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/SubscribeButton.ts:19](https://github.com/LuanRT > `optional` **on\_subscribe\_endpoints**: [`NavigationEndpoint`](NavigationEndpoint.md)[] -Defined in: [src/parser/classes/SubscribeButton.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButton.ts#L21) +Defined in: [src/parser/classes/SubscribeButton.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButton.ts#L21) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/SubscribeButton.ts:21](https://github.com/LuanRT > `optional` **on\_unsubscribe\_endpoints**: [`NavigationEndpoint`](NavigationEndpoint.md)[] -Defined in: [src/parser/classes/SubscribeButton.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButton.ts#L22) +Defined in: [src/parser/classes/SubscribeButton.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButton.ts#L22) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/SubscribeButton.ts:22](https://github.com/LuanRT > `optional` **service\_endpoints**: [`NavigationEndpoint`](NavigationEndpoint.md)[] -Defined in: [src/parser/classes/SubscribeButton.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButton.ts#L20) +Defined in: [src/parser/classes/SubscribeButton.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButton.ts#L20) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/SubscribeButton.ts:20](https://github.com/LuanRT > **show\_preferences**: `boolean` -Defined in: [src/parser/classes/SubscribeButton.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButton.ts#L15) +Defined in: [src/parser/classes/SubscribeButton.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButton.ts#L15) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/SubscribeButton.ts:15](https://github.com/LuanRT > `optional` **subscribe\_accessibility\_label**: `string` -Defined in: [src/parser/classes/SubscribeButton.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButton.ts#L25) +Defined in: [src/parser/classes/SubscribeButton.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButton.ts#L25) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/SubscribeButton.ts:25](https://github.com/LuanRT > **subscribed**: `boolean` -Defined in: [src/parser/classes/SubscribeButton.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButton.ts#L11) +Defined in: [src/parser/classes/SubscribeButton.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButton.ts#L11) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/SubscribeButton.ts:11](https://github.com/LuanRT > `optional` **subscribed\_entity\_key**: `string` -Defined in: [src/parser/classes/SubscribeButton.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButton.ts#L23) +Defined in: [src/parser/classes/SubscribeButton.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButton.ts#L23) *** @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/SubscribeButton.ts:23](https://github.com/LuanRT > `optional` **subscribed\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SubscribeButton.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButton.ts#L16) +Defined in: [src/parser/classes/SubscribeButton.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButton.ts#L16) *** @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/SubscribeButton.ts:16](https://github.com/LuanRT > `optional` **target\_id**: `string` -Defined in: [src/parser/classes/SubscribeButton.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButton.ts#L24) +Defined in: [src/parser/classes/SubscribeButton.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButton.ts#L24) *** @@ -148,7 +148,7 @@ Defined in: [src/parser/classes/SubscribeButton.ts:24](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -160,7 +160,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **unsubscribe\_accessibility\_label**: `string` -Defined in: [src/parser/classes/SubscribeButton.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButton.ts#L26) +Defined in: [src/parser/classes/SubscribeButton.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButton.ts#L26) *** @@ -168,7 +168,7 @@ Defined in: [src/parser/classes/SubscribeButton.ts:26](https://github.com/LuanRT > `optional` **unsubscribe\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SubscribeButton.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButton.ts#L18) +Defined in: [src/parser/classes/SubscribeButton.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButton.ts#L18) *** @@ -176,7 +176,7 @@ Defined in: [src/parser/classes/SubscribeButton.ts:18](https://github.com/LuanRT > `optional` **unsubscribed\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/SubscribeButton.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButton.ts#L17) +Defined in: [src/parser/classes/SubscribeButton.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButton.ts#L17) *** @@ -184,7 +184,7 @@ Defined in: [src/parser/classes/SubscribeButton.ts:17](https://github.com/LuanRT > `static` **type**: `string` = `'SubscribeButton'` -Defined in: [src/parser/classes/SubscribeButton.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButton.ts#L8) +Defined in: [src/parser/classes/SubscribeButton.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButton.ts#L8) #### Overrides @@ -196,7 +196,7 @@ Defined in: [src/parser/classes/SubscribeButton.ts:8](https://github.com/LuanRT/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -238,7 +238,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SubscribeButton & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -276,7 +276,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -314,7 +314,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SubscribeButtonView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SubscribeButtonView.md index 09741a05..2a5f2bfc 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SubscribeButtonView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SubscribeButtonView.md @@ -2,7 +2,7 @@ # Class: SubscribeButtonView -Defined in: [src/parser/classes/SubscribeButtonView.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButtonView.ts#L13) +Defined in: [src/parser/classes/SubscribeButtonView.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButtonView.ts#L25) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SubscribeButtonView.ts:13](https://github.com/Lu > **new SubscribeButtonView**(`data`): `SubscribeButtonView` -Defined in: [src/parser/classes/SubscribeButtonView.ts:36](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButtonView.ts#L36) +Defined in: [src/parser/classes/SubscribeButtonView.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButtonView.ts#L40) #### Parameters @@ -36,47 +36,23 @@ Defined in: [src/parser/classes/SubscribeButtonView.ts:36](https://github.com/Lu > **background\_style**: `string` -Defined in: [src/parser/classes/SubscribeButtonView.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButtonView.ts#L24) +Defined in: [src/parser/classes/SubscribeButtonView.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButtonView.ts#L33) *** -### bell\_accessiblity\_data +### bell\_accessibility\_data? -> **bell\_accessiblity\_data**: `object` +> `optional` **bell\_accessibility\_data**: `BellAccessibilityData` -Defined in: [src/parser/classes/SubscribeButtonView.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButtonView.ts#L29) - -#### all\_label - -> **all\_label**: `string` - -#### disabled\_label - -> **disabled\_label**: `string` - -#### occasional\_label - -> **occasional\_label**: `string` - -#### off\_label - -> **off\_label**: `string` +Defined in: [src/parser/classes/SubscribeButtonView.ts:38](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButtonView.ts#L38) *** -### button\_style +### button\_style? -> **button\_style**: `object` +> `optional` **button\_style**: `ButtonStyle` -Defined in: [src/parser/classes/SubscribeButtonView.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButtonView.ts#L19) - -#### subscribed\_state\_style - -> **subscribed\_state\_style**: `string` - -#### unsubscribed\_state\_style - -> **unsubscribed\_state\_style**: `string` +Defined in: [src/parser/classes/SubscribeButtonView.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButtonView.ts#L31) *** @@ -84,7 +60,7 @@ Defined in: [src/parser/classes/SubscribeButtonView.ts:19](https://github.com/Lu > **channel\_id**: `string` -Defined in: [src/parser/classes/SubscribeButtonView.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButtonView.ts#L27) +Defined in: [src/parser/classes/SubscribeButtonView.ts:36](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButtonView.ts#L36) *** @@ -92,7 +68,7 @@ Defined in: [src/parser/classes/SubscribeButtonView.ts:27](https://github.com/Lu > **disable\_notification\_bell**: `boolean` -Defined in: [src/parser/classes/SubscribeButtonView.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButtonView.ts#L18) +Defined in: [src/parser/classes/SubscribeButtonView.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButtonView.ts#L30) *** @@ -100,7 +76,7 @@ Defined in: [src/parser/classes/SubscribeButtonView.ts:18](https://github.com/Lu > **disable\_subscribe\_button**: `boolean` -Defined in: [src/parser/classes/SubscribeButtonView.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButtonView.ts#L25) +Defined in: [src/parser/classes/SubscribeButtonView.ts:34](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButtonView.ts#L34) *** @@ -108,7 +84,7 @@ Defined in: [src/parser/classes/SubscribeButtonView.ts:25](https://github.com/Lu > **enable\_subscribe\_button\_post\_click\_animation**: `boolean` -Defined in: [src/parser/classes/SubscribeButtonView.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButtonView.ts#L28) +Defined in: [src/parser/classes/SubscribeButtonView.ts:37](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButtonView.ts#L37) *** @@ -116,15 +92,15 @@ Defined in: [src/parser/classes/SubscribeButtonView.ts:28](https://github.com/Lu > **is\_signed\_out**: `boolean` -Defined in: [src/parser/classes/SubscribeButtonView.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButtonView.ts#L23) +Defined in: [src/parser/classes/SubscribeButtonView.ts:32](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButtonView.ts#L32) *** -### on\_show\_subscription\_options +### on\_show\_subscription\_options? -> **on\_show\_subscription\_options**: [`NavigationEndpoint`](NavigationEndpoint.md) +> `optional` **on\_show\_subscription\_options**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/SubscribeButtonView.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButtonView.ts#L26) +Defined in: [src/parser/classes/SubscribeButtonView.ts:35](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButtonView.ts#L35) *** @@ -132,7 +108,7 @@ Defined in: [src/parser/classes/SubscribeButtonView.ts:26](https://github.com/Lu > **subscribe\_button\_content**: `ButtonContent` -Defined in: [src/parser/classes/SubscribeButtonView.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButtonView.ts#L16) +Defined in: [src/parser/classes/SubscribeButtonView.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButtonView.ts#L28) *** @@ -140,7 +116,7 @@ Defined in: [src/parser/classes/SubscribeButtonView.ts:16](https://github.com/Lu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -152,7 +128,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **unsubscribe\_button\_content**: `ButtonContent` -Defined in: [src/parser/classes/SubscribeButtonView.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButtonView.ts#L17) +Defined in: [src/parser/classes/SubscribeButtonView.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButtonView.ts#L29) *** @@ -160,7 +136,7 @@ Defined in: [src/parser/classes/SubscribeButtonView.ts:17](https://github.com/Lu > `static` **type**: `string` = `'SubscribeButtonView'` -Defined in: [src/parser/classes/SubscribeButtonView.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscribeButtonView.ts#L14) +Defined in: [src/parser/classes/SubscribeButtonView.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscribeButtonView.ts#L26) #### Overrides @@ -172,7 +148,7 @@ Defined in: [src/parser/classes/SubscribeButtonView.ts:14](https://github.com/Lu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -214,7 +190,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SubscribeButtonView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -252,7 +228,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -290,7 +266,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SubscribeEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SubscribeEndpoint.md index b56ee70b..e8c7bbfb 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SubscribeEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SubscribeEndpoint.md @@ -2,7 +2,7 @@ # Class: SubscribeEndpoint -Defined in: [src/parser/classes/endpoints/SubscribeEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/SubscribeEndpoint.ts#L6) +Defined in: [src/parser/classes/endpoints/SubscribeEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/SubscribeEndpoint.ts#L6) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/parser/classes/endpoints/SubscribeEndpoint.ts:6](https://github > **new SubscribeEndpoint**(`data`): `SubscribeEndpoint` -Defined in: [src/parser/classes/endpoints/SubscribeEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/SubscribeEndpoint.ts#L11) +Defined in: [src/parser/classes/endpoints/SubscribeEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/SubscribeEndpoint.ts#L11) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/endpoints/SubscribeEndpoint.ts:11](https://githu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -52,7 +52,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SubscribeEndpoint'` -Defined in: [src/parser/classes/endpoints/SubscribeEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/SubscribeEndpoint.ts#L7) +Defined in: [src/parser/classes/endpoints/SubscribeEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/SubscribeEndpoint.ts#L7) #### Overrides @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/endpoints/SubscribeEndpoint.ts:7](https://github > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -106,7 +106,7 @@ If the node is not of the given type > **buildRequest**(): [`SubscribeRequest`](../../../../type-aliases/SubscribeRequest.md) -Defined in: [src/parser/classes/endpoints/SubscribeEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/SubscribeEndpoint.ts#L20) +Defined in: [src/parser/classes/endpoints/SubscribeEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/SubscribeEndpoint.ts#L20) #### Returns @@ -122,7 +122,7 @@ Defined in: [src/parser/classes/endpoints/SubscribeEndpoint.ts:20](https://githu > **getApiPath**(): `string` -Defined in: [src/parser/classes/endpoints/SubscribeEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/SubscribeEndpoint.ts#L16) +Defined in: [src/parser/classes/endpoints/SubscribeEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/SubscribeEndpoint.ts#L16) #### Returns @@ -138,7 +138,7 @@ Defined in: [src/parser/classes/endpoints/SubscribeEndpoint.ts:16](https://githu > **hasKey**\<`T`, `R`\>(`key`): `this is SubscribeEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -176,7 +176,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -214,7 +214,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/SubscriptionNotificationToggleButton.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/SubscriptionNotificationToggleButton.md index 8e401408..56b0995e 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/SubscriptionNotificationToggleButton.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/SubscriptionNotificationToggleButton.md @@ -2,7 +2,7 @@ # Class: SubscriptionNotificationToggleButton -Defined in: [src/parser/classes/SubscriptionNotificationToggleButton.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscriptionNotificationToggleButton.ts#L4) +Defined in: [src/parser/classes/SubscriptionNotificationToggleButton.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscriptionNotificationToggleButton.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/SubscriptionNotificationToggleButton.ts:4](https > **new SubscriptionNotificationToggleButton**(`data`): `SubscriptionNotificationToggleButton` -Defined in: [src/parser/classes/SubscriptionNotificationToggleButton.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscriptionNotificationToggleButton.ts#L16) +Defined in: [src/parser/classes/SubscriptionNotificationToggleButton.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscriptionNotificationToggleButton.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/SubscriptionNotificationToggleButton.ts:16](http > **current\_state\_id**: `string` -Defined in: [src/parser/classes/SubscriptionNotificationToggleButton.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscriptionNotificationToggleButton.ts#L13) +Defined in: [src/parser/classes/SubscriptionNotificationToggleButton.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscriptionNotificationToggleButton.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/SubscriptionNotificationToggleButton.ts:13](http > **states**: `object` -Defined in: [src/parser/classes/SubscriptionNotificationToggleButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscriptionNotificationToggleButton.ts#L7) +Defined in: [src/parser/classes/SubscriptionNotificationToggleButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscriptionNotificationToggleButton.ts#L7) #### id @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/SubscriptionNotificationToggleButton.ts:7](https > **target\_id**: `string` -Defined in: [src/parser/classes/SubscriptionNotificationToggleButton.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscriptionNotificationToggleButton.ts#L14) +Defined in: [src/parser/classes/SubscriptionNotificationToggleButton.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscriptionNotificationToggleButton.ts#L14) *** @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/SubscriptionNotificationToggleButton.ts:14](http > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -84,7 +84,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'SubscriptionNotificationToggleButton'` -Defined in: [src/parser/classes/SubscriptionNotificationToggleButton.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/SubscriptionNotificationToggleButton.ts#L5) +Defined in: [src/parser/classes/SubscriptionNotificationToggleButton.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/SubscriptionNotificationToggleButton.ts#L5) #### Overrides @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/SubscriptionNotificationToggleButton.ts:5](https > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -138,7 +138,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is SubscriptionNotificationToggleButton & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -176,7 +176,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -214,7 +214,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Tab.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Tab.md index 608bbf7c..96bf0498 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Tab.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Tab.md @@ -2,7 +2,7 @@ # Class: Tab -Defined in: [src/parser/classes/Tab.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Tab.ts#L8) +Defined in: [src/parser/classes/Tab.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Tab.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/Tab.ts:8](https://github.com/LuanRT/YouTube.js/b > **new Tab**(`data`): `Tab` -Defined in: [src/parser/classes/Tab.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Tab.ts#L16) +Defined in: [src/parser/classes/Tab.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Tab.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/Tab.ts:16](https://github.com/LuanRT/YouTube.js/ > **content**: [`SectionList`](SectionList.md) \| [`MusicQueue`](MusicQueue.md) \| [`RichGrid`](RichGrid.md) \| `null` -Defined in: [src/parser/classes/Tab.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Tab.ts#L14) +Defined in: [src/parser/classes/Tab.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Tab.ts#L14) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/Tab.ts:14](https://github.com/LuanRT/YouTube.js/ > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/Tab.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Tab.ts#L13) +Defined in: [src/parser/classes/Tab.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Tab.ts#L13) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/Tab.ts:13](https://github.com/LuanRT/YouTube.js/ > **selected**: `boolean` -Defined in: [src/parser/classes/Tab.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Tab.ts#L12) +Defined in: [src/parser/classes/Tab.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Tab.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/Tab.ts:12](https://github.com/LuanRT/YouTube.js/ > **title**: `string` -Defined in: [src/parser/classes/Tab.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Tab.ts#L11) +Defined in: [src/parser/classes/Tab.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Tab.ts#L11) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/Tab.ts:11](https://github.com/LuanRT/YouTube.js/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'Tab'` -Defined in: [src/parser/classes/Tab.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Tab.ts#L9) +Defined in: [src/parser/classes/Tab.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Tab.ts#L9) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/Tab.ts:9](https://github.com/LuanRT/YouTube.js/b > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Tab & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Tabbed.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Tabbed.md index 28508238..a54f4343 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Tabbed.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Tabbed.md @@ -2,7 +2,7 @@ # Class: Tabbed -Defined in: [src/parser/classes/Tabbed.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Tabbed.ts#L4) +Defined in: [src/parser/classes/Tabbed.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Tabbed.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/Tabbed.ts:4](https://github.com/LuanRT/YouTube.j > **new Tabbed**(`data`): `Tabbed` -Defined in: [src/parser/classes/Tabbed.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Tabbed.ts#L9) +Defined in: [src/parser/classes/Tabbed.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Tabbed.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/Tabbed.ts:9](https://github.com/LuanRT/YouTube.j > **contents**: [`SuperParsedResult`](../../Helpers/classes/SuperParsedResult.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/Tabbed.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Tabbed.ts#L7) +Defined in: [src/parser/classes/Tabbed.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Tabbed.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/Tabbed.ts:7](https://github.com/LuanRT/YouTube.j > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'Tabbed'` -Defined in: [src/parser/classes/Tabbed.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Tabbed.ts#L5) +Defined in: [src/parser/classes/Tabbed.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Tabbed.ts#L5) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/Tabbed.ts:5](https://github.com/LuanRT/YouTube.j > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Tabbed & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/TabbedSearchResults.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/TabbedSearchResults.md index 531a0f15..c432df78 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/TabbedSearchResults.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/TabbedSearchResults.md @@ -2,7 +2,7 @@ # Class: TabbedSearchResults -Defined in: [src/parser/classes/TabbedSearchResults.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TabbedSearchResults.ts#L5) +Defined in: [src/parser/classes/TabbedSearchResults.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TabbedSearchResults.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/TabbedSearchResults.ts:5](https://github.com/Lua > **new TabbedSearchResults**(`data`): `TabbedSearchResults` -Defined in: [src/parser/classes/TabbedSearchResults.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TabbedSearchResults.ts#L10) +Defined in: [src/parser/classes/TabbedSearchResults.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TabbedSearchResults.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/TabbedSearchResults.ts:10](https://github.com/Lu > **tabs**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Tab`](Tab.md)\> -Defined in: [src/parser/classes/TabbedSearchResults.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TabbedSearchResults.ts#L8) +Defined in: [src/parser/classes/TabbedSearchResults.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TabbedSearchResults.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/TabbedSearchResults.ts:8](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'TabbedSearchResults'` -Defined in: [src/parser/classes/TabbedSearchResults.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TabbedSearchResults.ts#L6) +Defined in: [src/parser/classes/TabbedSearchResults.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TabbedSearchResults.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/TabbedSearchResults.ts:6](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is TabbedSearchResults & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/TextCarouselItemView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/TextCarouselItemView.md index a1f876cd..19b62901 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/TextCarouselItemView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/TextCarouselItemView.md @@ -2,7 +2,7 @@ # Class: TextCarouselItemView -Defined in: [src/parser/classes/TextCarouselItemView.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TextCarouselItemView.ts#L7) +Defined in: [src/parser/classes/TextCarouselItemView.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TextCarouselItemView.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/TextCarouselItemView.ts:7](https://github.com/Lu > **new TextCarouselItemView**(`data`): `TextCarouselItemView` -Defined in: [src/parser/classes/TextCarouselItemView.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TextCarouselItemView.ts#L15) +Defined in: [src/parser/classes/TextCarouselItemView.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TextCarouselItemView.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/TextCarouselItemView.ts:15](https://github.com/L > **button**: [`ButtonView`](ButtonView.md) \| `null` -Defined in: [src/parser/classes/TextCarouselItemView.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TextCarouselItemView.ts#L13) +Defined in: [src/parser/classes/TextCarouselItemView.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TextCarouselItemView.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/TextCarouselItemView.ts:13](https://github.com/L > **icon\_name**: `string` -Defined in: [src/parser/classes/TextCarouselItemView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TextCarouselItemView.ts#L10) +Defined in: [src/parser/classes/TextCarouselItemView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TextCarouselItemView.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/TextCarouselItemView.ts:10](https://github.com/L > **on\_tap\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/TextCarouselItemView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TextCarouselItemView.ts#L12) +Defined in: [src/parser/classes/TextCarouselItemView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TextCarouselItemView.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/TextCarouselItemView.ts:12](https://github.com/L > **text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/TextCarouselItemView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TextCarouselItemView.ts#L11) +Defined in: [src/parser/classes/TextCarouselItemView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TextCarouselItemView.ts#L11) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/TextCarouselItemView.ts:11](https://github.com/L > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'TextCarouselItemView'` -Defined in: [src/parser/classes/TextCarouselItemView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TextCarouselItemView.ts#L8) +Defined in: [src/parser/classes/TextCarouselItemView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TextCarouselItemView.ts#L8) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/TextCarouselItemView.ts:8](https://github.com/Lu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is TextCarouselItemView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/TextFieldView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/TextFieldView.md index fba4331c..a4280713 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/TextFieldView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/TextFieldView.md @@ -2,7 +2,7 @@ # Class: TextFieldView -Defined in: [src/parser/classes/TextFieldView.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TextFieldView.ts#L24) +Defined in: [src/parser/classes/TextFieldView.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TextFieldView.ts#L24) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/TextFieldView.ts:24](https://github.com/LuanRT/Y > **new TextFieldView**(`data`): `TextFieldView` -Defined in: [src/parser/classes/TextFieldView.ts:32](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TextFieldView.ts#L32) +Defined in: [src/parser/classes/TextFieldView.ts:32](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TextFieldView.ts#L32) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/TextFieldView.ts:32](https://github.com/LuanRT/Y > `optional` **content\_properties**: `ContentProperties` -Defined in: [src/parser/classes/TextFieldView.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TextFieldView.ts#L28) +Defined in: [src/parser/classes/TextFieldView.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TextFieldView.ts#L28) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/TextFieldView.ts:28](https://github.com/LuanRT/Y > `optional` **display\_properties**: `DisplayProperties` -Defined in: [src/parser/classes/TextFieldView.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TextFieldView.ts#L27) +Defined in: [src/parser/classes/TextFieldView.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TextFieldView.ts#L27) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/TextFieldView.ts:27](https://github.com/LuanRT/Y > `optional` **form\_field\_metadata**: `FormFieldMetadata` -Defined in: [src/parser/classes/TextFieldView.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TextFieldView.ts#L30) +Defined in: [src/parser/classes/TextFieldView.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TextFieldView.ts#L30) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/TextFieldView.ts:30](https://github.com/LuanRT/Y > `optional` **initial\_state**: `InitialState` -Defined in: [src/parser/classes/TextFieldView.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TextFieldView.ts#L29) +Defined in: [src/parser/classes/TextFieldView.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TextFieldView.ts#L29) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/TextFieldView.ts:29](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'TextFieldView'` -Defined in: [src/parser/classes/TextFieldView.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TextFieldView.ts#L25) +Defined in: [src/parser/classes/TextFieldView.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TextFieldView.ts#L25) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/TextFieldView.ts:25](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is TextFieldView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/TextHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/TextHeader.md index 1fa97afe..3f87dc98 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/TextHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/TextHeader.md @@ -2,7 +2,7 @@ # Class: TextHeader -Defined in: [src/parser/classes/TextHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TextHeader.ts#L5) +Defined in: [src/parser/classes/TextHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TextHeader.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/TextHeader.ts:5](https://github.com/LuanRT/YouTu > **new TextHeader**(`data`): `TextHeader` -Defined in: [src/parser/classes/TextHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TextHeader.ts#L11) +Defined in: [src/parser/classes/TextHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TextHeader.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/TextHeader.ts:11](https://github.com/LuanRT/YouT > **style**: `string` -Defined in: [src/parser/classes/TextHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TextHeader.ts#L9) +Defined in: [src/parser/classes/TextHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TextHeader.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/TextHeader.ts:9](https://github.com/LuanRT/YouTu > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/TextHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TextHeader.ts#L8) +Defined in: [src/parser/classes/TextHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TextHeader.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/TextHeader.ts:8](https://github.com/LuanRT/YouTu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'TextHeader'` -Defined in: [src/parser/classes/TextHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TextHeader.ts#L6) +Defined in: [src/parser/classes/TextHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TextHeader.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/TextHeader.ts:6](https://github.com/LuanRT/YouTu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is TextHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThirdPartyShareTargetSection.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThirdPartyShareTargetSection.md index 80bbbad4..d1a0c63a 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThirdPartyShareTargetSection.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThirdPartyShareTargetSection.md @@ -2,7 +2,7 @@ # Class: ThirdPartyShareTargetSection -Defined in: [src/parser/classes/ThirdPartyShareTargetSection.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThirdPartyShareTargetSection.ts#L5) +Defined in: [src/parser/classes/ThirdPartyShareTargetSection.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThirdPartyShareTargetSection.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ThirdPartyShareTargetSection.ts:5](https://githu > **new ThirdPartyShareTargetSection**(`data`): `ThirdPartyShareTargetSection` -Defined in: [src/parser/classes/ThirdPartyShareTargetSection.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThirdPartyShareTargetSection.ts#L10) +Defined in: [src/parser/classes/ThirdPartyShareTargetSection.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThirdPartyShareTargetSection.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ThirdPartyShareTargetSection.ts:10](https://gith > **share\_targets**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ShareTarget`](ShareTarget.md)\> -Defined in: [src/parser/classes/ThirdPartyShareTargetSection.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThirdPartyShareTargetSection.ts#L8) +Defined in: [src/parser/classes/ThirdPartyShareTargetSection.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThirdPartyShareTargetSection.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ThirdPartyShareTargetSection.ts:8](https://githu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ThirdPartyShareTargetSection'` -Defined in: [src/parser/classes/ThirdPartyShareTargetSection.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThirdPartyShareTargetSection.ts#L6) +Defined in: [src/parser/classes/ThirdPartyShareTargetSection.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThirdPartyShareTargetSection.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ThirdPartyShareTargetSection.ts:6](https://githu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ThirdPartyShareTargetSection & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailBadgeView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailBadgeView.md index 9bfd4cbe..72790c66 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailBadgeView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailBadgeView.md @@ -2,7 +2,7 @@ # Class: ThumbnailBadgeView -Defined in: [src/parser/classes/ThumbnailBadgeView.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailBadgeView.ts#L4) +Defined in: [src/parser/classes/ThumbnailBadgeView.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailBadgeView.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ThumbnailBadgeView.ts:4](https://github.com/Luan > **new ThumbnailBadgeView**(`data`): `ThumbnailBadgeView` -Defined in: [src/parser/classes/ThumbnailBadgeView.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailBadgeView.ts#L15) +Defined in: [src/parser/classes/ThumbnailBadgeView.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailBadgeView.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ThumbnailBadgeView.ts:15](https://github.com/Lua > `optional` **background\_color**: `object` -Defined in: [src/parser/classes/ThumbnailBadgeView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailBadgeView.ts#L10) +Defined in: [src/parser/classes/ThumbnailBadgeView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailBadgeView.ts#L10) #### dark\_theme @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ThumbnailBadgeView.ts:10](https://github.com/Lua > **badge\_style**: `string` -Defined in: [src/parser/classes/ThumbnailBadgeView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailBadgeView.ts#L9) +Defined in: [src/parser/classes/ThumbnailBadgeView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailBadgeView.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ThumbnailBadgeView.ts:9](https://github.com/Luan > `optional` **icon\_name**: `string` -Defined in: [src/parser/classes/ThumbnailBadgeView.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailBadgeView.ts#L7) +Defined in: [src/parser/classes/ThumbnailBadgeView.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailBadgeView.ts#L7) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ThumbnailBadgeView.ts:7](https://github.com/Luan > **text**: `string` -Defined in: [src/parser/classes/ThumbnailBadgeView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailBadgeView.ts#L8) +Defined in: [src/parser/classes/ThumbnailBadgeView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailBadgeView.ts#L8) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ThumbnailBadgeView.ts:8](https://github.com/Luan > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ThumbnailBadgeView'` -Defined in: [src/parser/classes/ThumbnailBadgeView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailBadgeView.ts#L5) +Defined in: [src/parser/classes/ThumbnailBadgeView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailBadgeView.ts#L5) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/ThumbnailBadgeView.ts:5](https://github.com/Luan > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ThumbnailBadgeView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailBottomOverlayView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailBottomOverlayView.md index 753c3470..472dd8ea 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailBottomOverlayView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailBottomOverlayView.md @@ -2,7 +2,7 @@ # Class: ThumbnailBottomOverlayView -Defined in: [src/parser/classes/ThumbnailBottomOverlayView.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailBottomOverlayView.ts#L7) +Defined in: [src/parser/classes/ThumbnailBottomOverlayView.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailBottomOverlayView.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ThumbnailBottomOverlayView.ts:7](https://github. > **new ThumbnailBottomOverlayView**(`data`): `ThumbnailBottomOverlayView` -Defined in: [src/parser/classes/ThumbnailBottomOverlayView.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailBottomOverlayView.ts#L13) +Defined in: [src/parser/classes/ThumbnailBottomOverlayView.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailBottomOverlayView.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ThumbnailBottomOverlayView.ts:13](https://github > **badges**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ThumbnailBadgeView`](ThumbnailBadgeView.md)\> -Defined in: [src/parser/classes/ThumbnailBottomOverlayView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailBottomOverlayView.ts#L11) +Defined in: [src/parser/classes/ThumbnailBottomOverlayView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailBottomOverlayView.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ThumbnailBottomOverlayView.ts:11](https://github > **progress\_bar**: [`ThumbnailOverlayProgressBarView`](ThumbnailOverlayProgressBarView.md) \| `null` -Defined in: [src/parser/classes/ThumbnailBottomOverlayView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailBottomOverlayView.ts#L10) +Defined in: [src/parser/classes/ThumbnailBottomOverlayView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailBottomOverlayView.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ThumbnailBottomOverlayView.ts:10](https://github > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ThumbnailBottomOverlayView'` -Defined in: [src/parser/classes/ThumbnailBottomOverlayView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailBottomOverlayView.ts#L8) +Defined in: [src/parser/classes/ThumbnailBottomOverlayView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailBottomOverlayView.ts#L8) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ThumbnailBottomOverlayView.ts:8](https://github. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ThumbnailBottomOverlayView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailHoverOverlayToggleActionsView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailHoverOverlayToggleActionsView.md index eae7f263..27905608 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailHoverOverlayToggleActionsView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailHoverOverlayToggleActionsView.md @@ -2,7 +2,7 @@ # Class: ThumbnailHoverOverlayToggleActionsView -Defined in: [src/parser/classes/ThumbnailHoverOverlayToggleActionsView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailHoverOverlayToggleActionsView.ts#L6) +Defined in: [src/parser/classes/ThumbnailHoverOverlayToggleActionsView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailHoverOverlayToggleActionsView.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ThumbnailHoverOverlayToggleActionsView.ts:6](htt > **new ThumbnailHoverOverlayToggleActionsView**(`data`): `ThumbnailHoverOverlayToggleActionsView` -Defined in: [src/parser/classes/ThumbnailHoverOverlayToggleActionsView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailHoverOverlayToggleActionsView.ts#L11) +Defined in: [src/parser/classes/ThumbnailHoverOverlayToggleActionsView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailHoverOverlayToggleActionsView.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ThumbnailHoverOverlayToggleActionsView.ts:11](ht > **buttons**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ToggleButtonView`](ToggleButtonView.md)\> -Defined in: [src/parser/classes/ThumbnailHoverOverlayToggleActionsView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailHoverOverlayToggleActionsView.ts#L9) +Defined in: [src/parser/classes/ThumbnailHoverOverlayToggleActionsView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailHoverOverlayToggleActionsView.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ThumbnailHoverOverlayToggleActionsView.ts:9](htt > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ThumbnailHoverOverlayToggleActionsView'` -Defined in: [src/parser/classes/ThumbnailHoverOverlayToggleActionsView.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailHoverOverlayToggleActionsView.ts#L7) +Defined in: [src/parser/classes/ThumbnailHoverOverlayToggleActionsView.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailHoverOverlayToggleActionsView.ts#L7) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ThumbnailHoverOverlayToggleActionsView.ts:7](htt > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ThumbnailHoverOverlayToggleActionsView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailHoverOverlayView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailHoverOverlayView.md index b76eb4f7..739591d0 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailHoverOverlayView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailHoverOverlayView.md @@ -2,7 +2,7 @@ # Class: ThumbnailHoverOverlayView -Defined in: [src/parser/classes/ThumbnailHoverOverlayView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailHoverOverlayView.ts#L5) +Defined in: [src/parser/classes/ThumbnailHoverOverlayView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailHoverOverlayView.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ThumbnailHoverOverlayView.ts:5](https://github.c > **new ThumbnailHoverOverlayView**(`data`): `ThumbnailHoverOverlayView` -Defined in: [src/parser/classes/ThumbnailHoverOverlayView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailHoverOverlayView.ts#L12) +Defined in: [src/parser/classes/ThumbnailHoverOverlayView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailHoverOverlayView.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ThumbnailHoverOverlayView.ts:12](https://github. > **icon\_name**: `string` -Defined in: [src/parser/classes/ThumbnailHoverOverlayView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailHoverOverlayView.ts#L8) +Defined in: [src/parser/classes/ThumbnailHoverOverlayView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailHoverOverlayView.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ThumbnailHoverOverlayView.ts:8](https://github.c > **style**: `string` -Defined in: [src/parser/classes/ThumbnailHoverOverlayView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailHoverOverlayView.ts#L10) +Defined in: [src/parser/classes/ThumbnailHoverOverlayView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailHoverOverlayView.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ThumbnailHoverOverlayView.ts:10](https://github. > **text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ThumbnailHoverOverlayView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailHoverOverlayView.ts#L9) +Defined in: [src/parser/classes/ThumbnailHoverOverlayView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailHoverOverlayView.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ThumbnailHoverOverlayView.ts:9](https://github.c > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ThumbnailHoverOverlayView'` -Defined in: [src/parser/classes/ThumbnailHoverOverlayView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailHoverOverlayView.ts#L6) +Defined in: [src/parser/classes/ThumbnailHoverOverlayView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailHoverOverlayView.ts#L6) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ThumbnailHoverOverlayView.ts:6](https://github.c > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ThumbnailHoverOverlayView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailLandscapePortrait.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailLandscapePortrait.md index d461d7c9..f3c082ff 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailLandscapePortrait.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailLandscapePortrait.md @@ -2,7 +2,7 @@ # Class: ThumbnailLandscapePortrait -Defined in: [src/parser/classes/ThumbnailLandscapePortrait.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailLandscapePortrait.ts#L5) +Defined in: [src/parser/classes/ThumbnailLandscapePortrait.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailLandscapePortrait.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ThumbnailLandscapePortrait.ts:5](https://github. > **new ThumbnailLandscapePortrait**(`data`): `ThumbnailLandscapePortrait` -Defined in: [src/parser/classes/ThumbnailLandscapePortrait.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailLandscapePortrait.ts#L11) +Defined in: [src/parser/classes/ThumbnailLandscapePortrait.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailLandscapePortrait.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ThumbnailLandscapePortrait.ts:11](https://github > **landscape**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/ThumbnailLandscapePortrait.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailLandscapePortrait.ts#L8) +Defined in: [src/parser/classes/ThumbnailLandscapePortrait.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailLandscapePortrait.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ThumbnailLandscapePortrait.ts:8](https://github. > **portrait**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/ThumbnailLandscapePortrait.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailLandscapePortrait.ts#L9) +Defined in: [src/parser/classes/ThumbnailLandscapePortrait.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailLandscapePortrait.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ThumbnailLandscapePortrait.ts:9](https://github. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ThumbnailLandscapePortrait'` -Defined in: [src/parser/classes/ThumbnailLandscapePortrait.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailLandscapePortrait.ts#L6) +Defined in: [src/parser/classes/ThumbnailLandscapePortrait.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailLandscapePortrait.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ThumbnailLandscapePortrait.ts:6](https://github. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ThumbnailLandscapePortrait & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayBadgeView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayBadgeView.md index 0d660cf8..525f069e 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayBadgeView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayBadgeView.md @@ -2,7 +2,7 @@ # Class: ThumbnailOverlayBadgeView -Defined in: [src/parser/classes/ThumbnailOverlayBadgeView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayBadgeView.ts#L6) +Defined in: [src/parser/classes/ThumbnailOverlayBadgeView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayBadgeView.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayBadgeView.ts:6](https://github.c > **new ThumbnailOverlayBadgeView**(`data`): `ThumbnailOverlayBadgeView` -Defined in: [src/parser/classes/ThumbnailOverlayBadgeView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayBadgeView.ts#L12) +Defined in: [src/parser/classes/ThumbnailOverlayBadgeView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayBadgeView.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayBadgeView.ts:12](https://github. > **badges**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`ThumbnailBadgeView`](ThumbnailBadgeView.md)\> -Defined in: [src/parser/classes/ThumbnailOverlayBadgeView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayBadgeView.ts#L9) +Defined in: [src/parser/classes/ThumbnailOverlayBadgeView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayBadgeView.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayBadgeView.ts:9](https://github.c > **position**: `string` -Defined in: [src/parser/classes/ThumbnailOverlayBadgeView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayBadgeView.ts#L10) +Defined in: [src/parser/classes/ThumbnailOverlayBadgeView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayBadgeView.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayBadgeView.ts:10](https://github. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ThumbnailOverlayBadgeView'` -Defined in: [src/parser/classes/ThumbnailOverlayBadgeView.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayBadgeView.ts#L7) +Defined in: [src/parser/classes/ThumbnailOverlayBadgeView.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayBadgeView.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayBadgeView.ts:7](https://github.c > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ThumbnailOverlayBadgeView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayBottomPanel.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayBottomPanel.md index e9b35a7f..078d6027 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayBottomPanel.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayBottomPanel.md @@ -2,7 +2,7 @@ # Class: ThumbnailOverlayBottomPanel -Defined in: [src/parser/classes/ThumbnailOverlayBottomPanel.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayBottomPanel.ts#L5) +Defined in: [src/parser/classes/ThumbnailOverlayBottomPanel.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayBottomPanel.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayBottomPanel.ts:5](https://github > **new ThumbnailOverlayBottomPanel**(`data`): `ThumbnailOverlayBottomPanel` -Defined in: [src/parser/classes/ThumbnailOverlayBottomPanel.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayBottomPanel.ts#L11) +Defined in: [src/parser/classes/ThumbnailOverlayBottomPanel.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayBottomPanel.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayBottomPanel.ts:11](https://githu > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/ThumbnailOverlayBottomPanel.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayBottomPanel.ts#L9) +Defined in: [src/parser/classes/ThumbnailOverlayBottomPanel.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayBottomPanel.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayBottomPanel.ts:9](https://github > `optional` **text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ThumbnailOverlayBottomPanel.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayBottomPanel.ts#L8) +Defined in: [src/parser/classes/ThumbnailOverlayBottomPanel.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayBottomPanel.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayBottomPanel.ts:8](https://github > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ThumbnailOverlayBottomPanel'` -Defined in: [src/parser/classes/ThumbnailOverlayBottomPanel.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayBottomPanel.ts#L6) +Defined in: [src/parser/classes/ThumbnailOverlayBottomPanel.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayBottomPanel.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayBottomPanel.ts:6](https://github > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ThumbnailOverlayBottomPanel & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayEndorsement.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayEndorsement.md index 12aa121d..a56f2a64 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayEndorsement.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayEndorsement.md @@ -2,7 +2,7 @@ # Class: ThumbnailOverlayEndorsement -Defined in: [src/parser/classes/ThumbnailOverlayEndorsement.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayEndorsement.ts#L5) +Defined in: [src/parser/classes/ThumbnailOverlayEndorsement.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayEndorsement.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayEndorsement.ts:5](https://github > **new ThumbnailOverlayEndorsement**(`data`): `ThumbnailOverlayEndorsement` -Defined in: [src/parser/classes/ThumbnailOverlayEndorsement.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayEndorsement.ts#L10) +Defined in: [src/parser/classes/ThumbnailOverlayEndorsement.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayEndorsement.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayEndorsement.ts:10](https://githu > **text**: `string` -Defined in: [src/parser/classes/ThumbnailOverlayEndorsement.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayEndorsement.ts#L8) +Defined in: [src/parser/classes/ThumbnailOverlayEndorsement.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayEndorsement.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayEndorsement.ts:8](https://github > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ThumbnailOverlayEndorsement'` -Defined in: [src/parser/classes/ThumbnailOverlayEndorsement.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayEndorsement.ts#L6) +Defined in: [src/parser/classes/ThumbnailOverlayEndorsement.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayEndorsement.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayEndorsement.ts:6](https://github > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ThumbnailOverlayEndorsement & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayHoverText.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayHoverText.md index a915a343..8f4ffebd 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayHoverText.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayHoverText.md @@ -2,7 +2,7 @@ # Class: ThumbnailOverlayHoverText -Defined in: [src/parser/classes/ThumbnailOverlayHoverText.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayHoverText.ts#L5) +Defined in: [src/parser/classes/ThumbnailOverlayHoverText.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayHoverText.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayHoverText.ts:5](https://github.c > **new ThumbnailOverlayHoverText**(`data`): `ThumbnailOverlayHoverText` -Defined in: [src/parser/classes/ThumbnailOverlayHoverText.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayHoverText.ts#L11) +Defined in: [src/parser/classes/ThumbnailOverlayHoverText.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayHoverText.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayHoverText.ts:11](https://github. > **icon\_type**: `string` -Defined in: [src/parser/classes/ThumbnailOverlayHoverText.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayHoverText.ts#L9) +Defined in: [src/parser/classes/ThumbnailOverlayHoverText.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayHoverText.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayHoverText.ts:9](https://github.c > **text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ThumbnailOverlayHoverText.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayHoverText.ts#L8) +Defined in: [src/parser/classes/ThumbnailOverlayHoverText.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayHoverText.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayHoverText.ts:8](https://github.c > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ThumbnailOverlayHoverText'` -Defined in: [src/parser/classes/ThumbnailOverlayHoverText.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayHoverText.ts#L6) +Defined in: [src/parser/classes/ThumbnailOverlayHoverText.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayHoverText.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayHoverText.ts:6](https://github.c > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ThumbnailOverlayHoverText & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayInlineUnplayable.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayInlineUnplayable.md index 4bc2e857..0bb7bfe7 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayInlineUnplayable.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayInlineUnplayable.md @@ -2,7 +2,7 @@ # Class: ThumbnailOverlayInlineUnplayable -Defined in: [src/parser/classes/ThumbnailOverlayInlineUnplayable.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayInlineUnplayable.ts#L5) +Defined in: [src/parser/classes/ThumbnailOverlayInlineUnplayable.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayInlineUnplayable.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayInlineUnplayable.ts:5](https://g > **new ThumbnailOverlayInlineUnplayable**(`data`): `ThumbnailOverlayInlineUnplayable` -Defined in: [src/parser/classes/ThumbnailOverlayInlineUnplayable.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayInlineUnplayable.ts#L11) +Defined in: [src/parser/classes/ThumbnailOverlayInlineUnplayable.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayInlineUnplayable.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayInlineUnplayable.ts:11](https:// > **icon\_type**: `string` -Defined in: [src/parser/classes/ThumbnailOverlayInlineUnplayable.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayInlineUnplayable.ts#L9) +Defined in: [src/parser/classes/ThumbnailOverlayInlineUnplayable.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayInlineUnplayable.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayInlineUnplayable.ts:9](https://g > **text**: `string` -Defined in: [src/parser/classes/ThumbnailOverlayInlineUnplayable.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayInlineUnplayable.ts#L8) +Defined in: [src/parser/classes/ThumbnailOverlayInlineUnplayable.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayInlineUnplayable.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayInlineUnplayable.ts:8](https://g > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ThumbnailOverlayInlineUnplayable'` -Defined in: [src/parser/classes/ThumbnailOverlayInlineUnplayable.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayInlineUnplayable.ts#L6) +Defined in: [src/parser/classes/ThumbnailOverlayInlineUnplayable.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayInlineUnplayable.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayInlineUnplayable.ts:6](https://g > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ThumbnailOverlayInlineUnplayable & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayLoadingPreview.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayLoadingPreview.md index dc96cbc7..568157be 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayLoadingPreview.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayLoadingPreview.md @@ -2,7 +2,7 @@ # Class: ThumbnailOverlayLoadingPreview -Defined in: [src/parser/classes/ThumbnailOverlayLoadingPreview.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayLoadingPreview.ts#L5) +Defined in: [src/parser/classes/ThumbnailOverlayLoadingPreview.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayLoadingPreview.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayLoadingPreview.ts:5](https://git > **new ThumbnailOverlayLoadingPreview**(`data`): `ThumbnailOverlayLoadingPreview` -Defined in: [src/parser/classes/ThumbnailOverlayLoadingPreview.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayLoadingPreview.ts#L10) +Defined in: [src/parser/classes/ThumbnailOverlayLoadingPreview.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayLoadingPreview.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayLoadingPreview.ts:10](https://gi > **text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ThumbnailOverlayLoadingPreview.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayLoadingPreview.ts#L8) +Defined in: [src/parser/classes/ThumbnailOverlayLoadingPreview.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayLoadingPreview.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayLoadingPreview.ts:8](https://git > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ThumbnailOverlayLoadingPreview'` -Defined in: [src/parser/classes/ThumbnailOverlayLoadingPreview.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayLoadingPreview.ts#L6) +Defined in: [src/parser/classes/ThumbnailOverlayLoadingPreview.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayLoadingPreview.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayLoadingPreview.ts:6](https://git > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ThumbnailOverlayLoadingPreview & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayNowPlaying.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayNowPlaying.md index 0e1c6a01..5fe8cf81 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayNowPlaying.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayNowPlaying.md @@ -2,7 +2,7 @@ # Class: ThumbnailOverlayNowPlaying -Defined in: [src/parser/classes/ThumbnailOverlayNowPlaying.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayNowPlaying.ts#L5) +Defined in: [src/parser/classes/ThumbnailOverlayNowPlaying.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayNowPlaying.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayNowPlaying.ts:5](https://github. > **new ThumbnailOverlayNowPlaying**(`data`): `ThumbnailOverlayNowPlaying` -Defined in: [src/parser/classes/ThumbnailOverlayNowPlaying.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayNowPlaying.ts#L10) +Defined in: [src/parser/classes/ThumbnailOverlayNowPlaying.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayNowPlaying.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayNowPlaying.ts:10](https://github > **text**: `string` -Defined in: [src/parser/classes/ThumbnailOverlayNowPlaying.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayNowPlaying.ts#L8) +Defined in: [src/parser/classes/ThumbnailOverlayNowPlaying.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayNowPlaying.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayNowPlaying.ts:8](https://github. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ThumbnailOverlayNowPlaying'` -Defined in: [src/parser/classes/ThumbnailOverlayNowPlaying.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayNowPlaying.ts#L6) +Defined in: [src/parser/classes/ThumbnailOverlayNowPlaying.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayNowPlaying.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayNowPlaying.ts:6](https://github. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ThumbnailOverlayNowPlaying & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayPinking.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayPinking.md index 2bcc15bb..a71f8f24 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayPinking.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayPinking.md @@ -2,7 +2,7 @@ # Class: ThumbnailOverlayPinking -Defined in: [src/parser/classes/ThumbnailOverlayPinking.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayPinking.ts#L4) +Defined in: [src/parser/classes/ThumbnailOverlayPinking.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayPinking.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayPinking.ts:4](https://github.com > **new ThumbnailOverlayPinking**(`data`): `ThumbnailOverlayPinking` -Defined in: [src/parser/classes/ThumbnailOverlayPinking.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayPinking.ts#L9) +Defined in: [src/parser/classes/ThumbnailOverlayPinking.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayPinking.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayPinking.ts:9](https://github.com > **hack**: `boolean` -Defined in: [src/parser/classes/ThumbnailOverlayPinking.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayPinking.ts#L7) +Defined in: [src/parser/classes/ThumbnailOverlayPinking.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayPinking.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayPinking.ts:7](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ThumbnailOverlayPinking'` -Defined in: [src/parser/classes/ThumbnailOverlayPinking.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayPinking.ts#L5) +Defined in: [src/parser/classes/ThumbnailOverlayPinking.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayPinking.ts#L5) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayPinking.ts:5](https://github.com > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ThumbnailOverlayPinking & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayPlaybackStatus.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayPlaybackStatus.md index 2fb38123..160b267b 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayPlaybackStatus.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayPlaybackStatus.md @@ -2,7 +2,7 @@ # Class: ThumbnailOverlayPlaybackStatus -Defined in: [src/parser/classes/ThumbnailOverlayPlaybackStatus.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayPlaybackStatus.ts#L5) +Defined in: [src/parser/classes/ThumbnailOverlayPlaybackStatus.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayPlaybackStatus.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayPlaybackStatus.ts:5](https://git > **new ThumbnailOverlayPlaybackStatus**(`data`): `ThumbnailOverlayPlaybackStatus` -Defined in: [src/parser/classes/ThumbnailOverlayPlaybackStatus.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayPlaybackStatus.ts#L10) +Defined in: [src/parser/classes/ThumbnailOverlayPlaybackStatus.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayPlaybackStatus.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayPlaybackStatus.ts:10](https://gi > **texts**: [`Text`](../../Misc/classes/Text.md)[] -Defined in: [src/parser/classes/ThumbnailOverlayPlaybackStatus.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayPlaybackStatus.ts#L8) +Defined in: [src/parser/classes/ThumbnailOverlayPlaybackStatus.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayPlaybackStatus.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayPlaybackStatus.ts:8](https://git > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ThumbnailOverlayPlaybackStatus'` -Defined in: [src/parser/classes/ThumbnailOverlayPlaybackStatus.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayPlaybackStatus.ts#L6) +Defined in: [src/parser/classes/ThumbnailOverlayPlaybackStatus.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayPlaybackStatus.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayPlaybackStatus.ts:6](https://git > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ThumbnailOverlayPlaybackStatus & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayProgressBarView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayProgressBarView.md index e9215398..8ae7b2a4 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayProgressBarView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayProgressBarView.md @@ -2,7 +2,7 @@ # Class: ThumbnailOverlayProgressBarView -Defined in: [src/parser/classes/ThumbnailOverlayProgressBarView.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayProgressBarView.ts#L4) +Defined in: [src/parser/classes/ThumbnailOverlayProgressBarView.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayProgressBarView.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayProgressBarView.ts:4](https://gi > **new ThumbnailOverlayProgressBarView**(`data`): `ThumbnailOverlayProgressBarView` -Defined in: [src/parser/classes/ThumbnailOverlayProgressBarView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayProgressBarView.ts#L9) +Defined in: [src/parser/classes/ThumbnailOverlayProgressBarView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayProgressBarView.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayProgressBarView.ts:9](https://gi > **start\_percent**: `number` -Defined in: [src/parser/classes/ThumbnailOverlayProgressBarView.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayProgressBarView.ts#L7) +Defined in: [src/parser/classes/ThumbnailOverlayProgressBarView.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayProgressBarView.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayProgressBarView.ts:7](https://gi > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ThumbnailOverlayProgressBarView'` -Defined in: [src/parser/classes/ThumbnailOverlayProgressBarView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayProgressBarView.ts#L5) +Defined in: [src/parser/classes/ThumbnailOverlayProgressBarView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayProgressBarView.ts#L5) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayProgressBarView.ts:5](https://gi > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ThumbnailOverlayProgressBarView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayResumePlayback.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayResumePlayback.md index 427ade15..4451464d 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayResumePlayback.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayResumePlayback.md @@ -2,7 +2,7 @@ # Class: ThumbnailOverlayResumePlayback -Defined in: [src/parser/classes/ThumbnailOverlayResumePlayback.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayResumePlayback.ts#L4) +Defined in: [src/parser/classes/ThumbnailOverlayResumePlayback.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayResumePlayback.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayResumePlayback.ts:4](https://git > **new ThumbnailOverlayResumePlayback**(`data`): `ThumbnailOverlayResumePlayback` -Defined in: [src/parser/classes/ThumbnailOverlayResumePlayback.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayResumePlayback.ts#L9) +Defined in: [src/parser/classes/ThumbnailOverlayResumePlayback.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayResumePlayback.ts#L9) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayResumePlayback.ts:9](https://git > **percent\_duration\_watched**: `number` -Defined in: [src/parser/classes/ThumbnailOverlayResumePlayback.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayResumePlayback.ts#L7) +Defined in: [src/parser/classes/ThumbnailOverlayResumePlayback.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayResumePlayback.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayResumePlayback.ts:7](https://git > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ThumbnailOverlayResumePlayback'` -Defined in: [src/parser/classes/ThumbnailOverlayResumePlayback.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayResumePlayback.ts#L5) +Defined in: [src/parser/classes/ThumbnailOverlayResumePlayback.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayResumePlayback.ts#L5) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayResumePlayback.ts:5](https://git > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ThumbnailOverlayResumePlayback & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlaySidePanel.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlaySidePanel.md index 2737c7b2..1e4107ed 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlaySidePanel.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlaySidePanel.md @@ -2,7 +2,7 @@ # Class: ThumbnailOverlaySidePanel -Defined in: [src/parser/classes/ThumbnailOverlaySidePanel.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlaySidePanel.ts#L5) +Defined in: [src/parser/classes/ThumbnailOverlaySidePanel.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlaySidePanel.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ThumbnailOverlaySidePanel.ts:5](https://github.c > **new ThumbnailOverlaySidePanel**(`data`): `ThumbnailOverlaySidePanel` -Defined in: [src/parser/classes/ThumbnailOverlaySidePanel.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlaySidePanel.ts#L11) +Defined in: [src/parser/classes/ThumbnailOverlaySidePanel.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlaySidePanel.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ThumbnailOverlaySidePanel.ts:11](https://github. > **icon\_type**: `string` -Defined in: [src/parser/classes/ThumbnailOverlaySidePanel.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlaySidePanel.ts#L9) +Defined in: [src/parser/classes/ThumbnailOverlaySidePanel.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlaySidePanel.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ThumbnailOverlaySidePanel.ts:9](https://github.c > **text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ThumbnailOverlaySidePanel.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlaySidePanel.ts#L8) +Defined in: [src/parser/classes/ThumbnailOverlaySidePanel.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlaySidePanel.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ThumbnailOverlaySidePanel.ts:8](https://github.c > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ThumbnailOverlaySidePanel'` -Defined in: [src/parser/classes/ThumbnailOverlaySidePanel.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlaySidePanel.ts#L6) +Defined in: [src/parser/classes/ThumbnailOverlaySidePanel.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlaySidePanel.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ThumbnailOverlaySidePanel.ts:6](https://github.c > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ThumbnailOverlaySidePanel & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayTimeStatus.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayTimeStatus.md index f2ae6eac..9980555d 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayTimeStatus.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayTimeStatus.md @@ -2,7 +2,7 @@ # Class: ThumbnailOverlayTimeStatus -Defined in: [src/parser/classes/ThumbnailOverlayTimeStatus.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayTimeStatus.ts#L5) +Defined in: [src/parser/classes/ThumbnailOverlayTimeStatus.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayTimeStatus.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayTimeStatus.ts:5](https://github. > **new ThumbnailOverlayTimeStatus**(`data`): `ThumbnailOverlayTimeStatus` -Defined in: [src/parser/classes/ThumbnailOverlayTimeStatus.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayTimeStatus.ts#L11) +Defined in: [src/parser/classes/ThumbnailOverlayTimeStatus.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayTimeStatus.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayTimeStatus.ts:11](https://github > **style**: `string` -Defined in: [src/parser/classes/ThumbnailOverlayTimeStatus.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayTimeStatus.ts#L9) +Defined in: [src/parser/classes/ThumbnailOverlayTimeStatus.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayTimeStatus.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayTimeStatus.ts:9](https://github. > **text**: `string` -Defined in: [src/parser/classes/ThumbnailOverlayTimeStatus.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayTimeStatus.ts#L8) +Defined in: [src/parser/classes/ThumbnailOverlayTimeStatus.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayTimeStatus.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayTimeStatus.ts:8](https://github. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ThumbnailOverlayTimeStatus'` -Defined in: [src/parser/classes/ThumbnailOverlayTimeStatus.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayTimeStatus.ts#L6) +Defined in: [src/parser/classes/ThumbnailOverlayTimeStatus.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayTimeStatus.ts#L6) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayTimeStatus.ts:6](https://github. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ThumbnailOverlayTimeStatus & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayTitleView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayTitleView.md new file mode 100644 index 00000000..b7a6a0d5 --- /dev/null +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayTitleView.md @@ -0,0 +1,231 @@ +[youtubei.js](../../../../README.md) / [YTNodes](../README.md) / ThumbnailOverlayTitleView + +# Class: ThumbnailOverlayTitleView + +Defined in: [src/parser/classes/ThumbnailOverlayTitleView.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayTitleView.ts#L4) + +## Extends + +- [`YTNode`](../../Helpers/classes/YTNode.md) + +## Constructors + +### Constructor + +> **new ThumbnailOverlayTitleView**(`data`): `ThumbnailOverlayTitleView` + +Defined in: [src/parser/classes/ThumbnailOverlayTitleView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayTitleView.ts#L10) + +#### Parameters + +##### data + +[`RawNode`](../../../../type-aliases/RawNode.md) + +#### Returns + +`ThumbnailOverlayTitleView` + +#### Overrides + +[`YTNode`](../../Helpers/classes/YTNode.md).[`constructor`](../../Helpers/classes/YTNode.md#constructor) + +## Properties + +### subtitle + +> **subtitle**: `string` + +Defined in: [src/parser/classes/ThumbnailOverlayTitleView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayTitleView.ts#L8) + +*** + +### title + +> **title**: `string` + +Defined in: [src/parser/classes/ThumbnailOverlayTitleView.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayTitleView.ts#L7) + +*** + +### type + +> `readonly` **type**: `string` + +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`type`](../../Helpers/classes/YTNode.md#type) + +*** + +### type + +> `static` **type**: `string` = `'ThumbnailOverlayTitleView'` + +Defined in: [src/parser/classes/ThumbnailOverlayTitleView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayTitleView.ts#L5) + +#### Overrides + +[`YTNode`](../../Helpers/classes/YTNode.md).[`type`](../../Helpers/classes/YTNode.md#type-1) + +## Methods + +### as() + +> **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> + +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) + +Cast to one of the given types. + +#### Type Parameters + +##### T + +`T` *extends* [`YTNode`](../../Helpers/classes/YTNode.md) + +##### K + +`K` *extends* [`YTNodeConstructor`](../../Helpers/interfaces/YTNodeConstructor.md)\<`T`\>[] + +#### Parameters + +##### types + +...`K` + +The types to cast to + +#### Returns + +`InstanceType`\<`K`\[`number`\]\> + +The node cast to one of the given types + +#### Throws + +If the node is not of the given type + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`as`](../../Helpers/classes/YTNode.md#as) + +*** + +### hasKey() + +> **hasKey**\<`T`, `R`\>(`key`): `this is ThumbnailOverlayTitleView & { [k in string]: R }` + +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) + +Check for a key without asserting the type. + +#### Type Parameters + +##### T + +`T` *extends* `string` + +##### R + +`R` = `any` + +#### Parameters + +##### key + +`T` + +The key to check + +#### Returns + +`this is ThumbnailOverlayTitleView & { [k in string]: R }` + +Whether the node has the key + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`hasKey`](../../Helpers/classes/YTNode.md#haskey) + +*** + +### is() + +> **is**\<`T`, `K`\>(...`types`): `this is InstanceType` + +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) + +Check if the node is of the given type. + +#### Type Parameters + +##### T + +`T` *extends* [`YTNode`](../../Helpers/classes/YTNode.md) + +##### K + +`K` *extends* [`YTNodeConstructor`](../../Helpers/interfaces/YTNodeConstructor.md)\<`T`\>[] + +#### Parameters + +##### types + +...`K` + +The type to check + +#### Returns + +`this is InstanceType` + +whether the node is of the given type + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`is`](../../Helpers/classes/YTNode.md#is) + +*** + +### key() + +> **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) + +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) + +Assert that the node has the given key and return it. + +#### Type Parameters + +##### T + +`T` *extends* `string` + +##### R + +`R` = `any` + +#### Parameters + +##### key + +`T` + +The key to check + +#### Returns + +[`Maybe`](../../Helpers/classes/Maybe.md) + +The value of the key wrapped in a Maybe + +#### Throws + +If the node does not have the key + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`key`](../../Helpers/classes/YTNode.md#key) diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayToggleButton.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayToggleButton.md index a1f5f48c..4d84b229 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayToggleButton.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailOverlayToggleButton.md @@ -2,7 +2,7 @@ # Class: ThumbnailOverlayToggleButton -Defined in: [src/parser/classes/ThumbnailOverlayToggleButton.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayToggleButton.ts#L5) +Defined in: [src/parser/classes/ThumbnailOverlayToggleButton.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayToggleButton.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayToggleButton.ts:5](https://githu > **new ThumbnailOverlayToggleButton**(`data`): `ThumbnailOverlayToggleButton` -Defined in: [src/parser/classes/ThumbnailOverlayToggleButton.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayToggleButton.ts#L23) +Defined in: [src/parser/classes/ThumbnailOverlayToggleButton.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayToggleButton.ts#L23) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayToggleButton.ts:23](https://gith > **icon\_type**: `object` -Defined in: [src/parser/classes/ThumbnailOverlayToggleButton.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayToggleButton.ts#L10) +Defined in: [src/parser/classes/ThumbnailOverlayToggleButton.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayToggleButton.ts#L10) #### toggled @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayToggleButton.ts:10](https://gith > `optional` **is\_toggled**: `boolean` -Defined in: [src/parser/classes/ThumbnailOverlayToggleButton.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayToggleButton.ts#L8) +Defined in: [src/parser/classes/ThumbnailOverlayToggleButton.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayToggleButton.ts#L8) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayToggleButton.ts:8](https://githu > `optional` **toggled\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ThumbnailOverlayToggleButton.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayToggleButton.ts#L20) +Defined in: [src/parser/classes/ThumbnailOverlayToggleButton.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayToggleButton.ts#L20) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayToggleButton.ts:20](https://gith > **tooltip**: `object` -Defined in: [src/parser/classes/ThumbnailOverlayToggleButton.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayToggleButton.ts#L15) +Defined in: [src/parser/classes/ThumbnailOverlayToggleButton.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayToggleButton.ts#L15) #### toggled @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayToggleButton.ts:15](https://gith > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **untoggled\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ThumbnailOverlayToggleButton.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayToggleButton.ts#L21) +Defined in: [src/parser/classes/ThumbnailOverlayToggleButton.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayToggleButton.ts#L21) *** @@ -104,7 +104,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayToggleButton.ts:21](https://gith > `static` **type**: `string` = `'ThumbnailOverlayToggleButton'` -Defined in: [src/parser/classes/ThumbnailOverlayToggleButton.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailOverlayToggleButton.ts#L6) +Defined in: [src/parser/classes/ThumbnailOverlayToggleButton.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailOverlayToggleButton.ts#L6) #### Overrides @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/ThumbnailOverlayToggleButton.ts:6](https://githu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -158,7 +158,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ThumbnailOverlayToggleButton & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -196,7 +196,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -234,7 +234,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailView.md index e62c170b..382a450a 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ThumbnailView.md @@ -2,7 +2,7 @@ # Class: ThumbnailView -Defined in: [src/parser/classes/ThumbnailView.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailView.ts#L16) +Defined in: [src/parser/classes/ThumbnailView.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailView.ts#L16) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ThumbnailView.ts:16](https://github.com/LuanRT/Y > **new ThumbnailView**(`data`): `ThumbnailView` -Defined in: [src/parser/classes/ThumbnailView.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailView.ts#L27) +Defined in: [src/parser/classes/ThumbnailView.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailView.ts#L27) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ThumbnailView.ts:27](https://github.com/LuanRT/Y > `optional` **background\_color**: `ThumbnailBackgroundColor` -Defined in: [src/parser/classes/ThumbnailView.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailView.ts#L25) +Defined in: [src/parser/classes/ThumbnailView.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailView.ts#L25) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ThumbnailView.ts:25](https://github.com/LuanRT/Y > **image**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/ThumbnailView.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailView.ts#L19) +Defined in: [src/parser/classes/ThumbnailView.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailView.ts#L19) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ThumbnailView.ts:19](https://github.com/LuanRT/Y > **overlays**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`AnimatedThumbnailOverlayView`](AnimatedThumbnailOverlayView.md) \| [`ThumbnailHoverOverlayView`](ThumbnailHoverOverlayView.md) \| [`ThumbnailOverlayBadgeView`](ThumbnailOverlayBadgeView.md) \| [`ThumbnailHoverOverlayToggleActionsView`](ThumbnailHoverOverlayToggleActionsView.md) \| [`ThumbnailBottomOverlayView`](ThumbnailBottomOverlayView.md)\> -Defined in: [src/parser/classes/ThumbnailView.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailView.ts#L20) +Defined in: [src/parser/classes/ThumbnailView.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailView.ts#L20) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ThumbnailView.ts:20](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ThumbnailView'` -Defined in: [src/parser/classes/ThumbnailView.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ThumbnailView.ts#L17) +Defined in: [src/parser/classes/ThumbnailView.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ThumbnailView.ts#L17) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ThumbnailView.ts:17](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ThumbnailView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/TimedMarkerDecoration.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/TimedMarkerDecoration.md index 8b4ba290..03ba1715 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/TimedMarkerDecoration.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/TimedMarkerDecoration.md @@ -2,7 +2,7 @@ # Class: TimedMarkerDecoration -Defined in: [src/parser/classes/TimedMarkerDecoration.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TimedMarkerDecoration.ts#L5) +Defined in: [src/parser/classes/TimedMarkerDecoration.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TimedMarkerDecoration.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/TimedMarkerDecoration.ts:5](https://github.com/L > **new TimedMarkerDecoration**(`data`): `TimedMarkerDecoration` -Defined in: [src/parser/classes/TimedMarkerDecoration.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TimedMarkerDecoration.ts#L14) +Defined in: [src/parser/classes/TimedMarkerDecoration.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TimedMarkerDecoration.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/TimedMarkerDecoration.ts:14](https://github.com/ > **decoration\_time\_millis**: `number` -Defined in: [src/parser/classes/TimedMarkerDecoration.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TimedMarkerDecoration.ts#L10) +Defined in: [src/parser/classes/TimedMarkerDecoration.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TimedMarkerDecoration.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/TimedMarkerDecoration.ts:10](https://github.com/ > **icon**: `string` -Defined in: [src/parser/classes/TimedMarkerDecoration.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TimedMarkerDecoration.ts#L12) +Defined in: [src/parser/classes/TimedMarkerDecoration.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TimedMarkerDecoration.ts#L12) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/TimedMarkerDecoration.ts:12](https://github.com/ > **label**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/TimedMarkerDecoration.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TimedMarkerDecoration.ts#L11) +Defined in: [src/parser/classes/TimedMarkerDecoration.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TimedMarkerDecoration.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/TimedMarkerDecoration.ts:11](https://github.com/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **visible\_time\_range\_end\_millis**: `number` -Defined in: [src/parser/classes/TimedMarkerDecoration.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TimedMarkerDecoration.ts#L9) +Defined in: [src/parser/classes/TimedMarkerDecoration.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TimedMarkerDecoration.ts#L9) *** @@ -80,7 +80,7 @@ Defined in: [src/parser/classes/TimedMarkerDecoration.ts:9](https://github.com/L > **visible\_time\_range\_start\_millis**: `number` -Defined in: [src/parser/classes/TimedMarkerDecoration.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TimedMarkerDecoration.ts#L8) +Defined in: [src/parser/classes/TimedMarkerDecoration.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TimedMarkerDecoration.ts#L8) *** @@ -88,7 +88,7 @@ Defined in: [src/parser/classes/TimedMarkerDecoration.ts:8](https://github.com/L > `static` **type**: `string` = `'TimedMarkerDecoration'` -Defined in: [src/parser/classes/TimedMarkerDecoration.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TimedMarkerDecoration.ts#L6) +Defined in: [src/parser/classes/TimedMarkerDecoration.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TimedMarkerDecoration.ts#L6) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/TimedMarkerDecoration.ts:6](https://github.com/L > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is TimedMarkerDecoration & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/TitleAndButtonListHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/TitleAndButtonListHeader.md index eca1bca9..9ac5b62c 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/TitleAndButtonListHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/TitleAndButtonListHeader.md @@ -2,7 +2,7 @@ # Class: TitleAndButtonListHeader -Defined in: [src/parser/classes/TitleAndButtonListHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TitleAndButtonListHeader.ts#L5) +Defined in: [src/parser/classes/TitleAndButtonListHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TitleAndButtonListHeader.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/TitleAndButtonListHeader.ts:5](https://github.co > **new TitleAndButtonListHeader**(`data`): `TitleAndButtonListHeader` -Defined in: [src/parser/classes/TitleAndButtonListHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TitleAndButtonListHeader.ts#L10) +Defined in: [src/parser/classes/TitleAndButtonListHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TitleAndButtonListHeader.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/TitleAndButtonListHeader.ts:10](https://github.c > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/TitleAndButtonListHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TitleAndButtonListHeader.ts#L8) +Defined in: [src/parser/classes/TitleAndButtonListHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TitleAndButtonListHeader.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/TitleAndButtonListHeader.ts:8](https://github.co > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'TitleAndButtonListHeader'` -Defined in: [src/parser/classes/TitleAndButtonListHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TitleAndButtonListHeader.ts#L6) +Defined in: [src/parser/classes/TitleAndButtonListHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TitleAndButtonListHeader.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/TitleAndButtonListHeader.ts:6](https://github.co > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is TitleAndButtonListHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ToggleButton.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ToggleButton.md index 0f69b64e..0b48492a 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ToggleButton.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ToggleButton.md @@ -2,7 +2,7 @@ # Class: ToggleButton -Defined in: [src/parser/classes/ToggleButton.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleButton.ts#L6) +Defined in: [src/parser/classes/ToggleButton.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleButton.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ToggleButton.ts:6](https://github.com/LuanRT/You > **new ToggleButton**(`data`): `ToggleButton` -Defined in: [src/parser/classes/ToggleButton.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleButton.ts#L23) +Defined in: [src/parser/classes/ToggleButton.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleButton.ts#L23) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ToggleButton.ts:23](https://github.com/LuanRT/Yo > `optional` **button\_id**: `string` -Defined in: [src/parser/classes/ToggleButton.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleButton.ts#L20) +Defined in: [src/parser/classes/ToggleButton.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleButton.ts#L20) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ToggleButton.ts:20](https://github.com/LuanRT/Yo > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ToggleButton.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleButton.ts#L18) +Defined in: [src/parser/classes/ToggleButton.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleButton.ts#L18) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ToggleButton.ts:18](https://github.com/LuanRT/Yo > **icon\_type**: `string` -Defined in: [src/parser/classes/ToggleButton.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleButton.ts#L15) +Defined in: [src/parser/classes/ToggleButton.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleButton.ts#L15) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ToggleButton.ts:15](https://github.com/LuanRT/Yo > **is\_disabled**: `boolean` -Defined in: [src/parser/classes/ToggleButton.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleButton.ts#L14) +Defined in: [src/parser/classes/ToggleButton.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleButton.ts#L14) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ToggleButton.ts:14](https://github.com/LuanRT/Yo > **is\_toggled**: `boolean` -Defined in: [src/parser/classes/ToggleButton.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleButton.ts#L13) +Defined in: [src/parser/classes/ToggleButton.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleButton.ts#L13) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ToggleButton.ts:13](https://github.com/LuanRT/Yo > `optional` **like\_count**: `number` -Defined in: [src/parser/classes/ToggleButton.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleButton.ts#L16) +Defined in: [src/parser/classes/ToggleButton.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleButton.ts#L16) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ToggleButton.ts:16](https://github.com/LuanRT/Yo > `optional` **short\_like\_count**: `string` -Defined in: [src/parser/classes/ToggleButton.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleButton.ts#L17) +Defined in: [src/parser/classes/ToggleButton.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleButton.ts#L17) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/ToggleButton.ts:17](https://github.com/LuanRT/Yo > `optional` **target\_id**: `string` -Defined in: [src/parser/classes/ToggleButton.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleButton.ts#L21) +Defined in: [src/parser/classes/ToggleButton.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleButton.ts#L21) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/ToggleButton.ts:21](https://github.com/LuanRT/Yo > **text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ToggleButton.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleButton.ts#L9) +Defined in: [src/parser/classes/ToggleButton.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleButton.ts#L9) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/ToggleButton.ts:9](https://github.com/LuanRT/You > **toggled\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ToggleButton.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleButton.ts#L19) +Defined in: [src/parser/classes/ToggleButton.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleButton.ts#L19) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/ToggleButton.ts:19](https://github.com/LuanRT/Yo > **toggled\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ToggleButton.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleButton.ts#L10) +Defined in: [src/parser/classes/ToggleButton.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleButton.ts#L10) *** @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/ToggleButton.ts:10](https://github.com/LuanRT/Yo > **toggled\_tooltip**: `string` -Defined in: [src/parser/classes/ToggleButton.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleButton.ts#L12) +Defined in: [src/parser/classes/ToggleButton.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleButton.ts#L12) *** @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/ToggleButton.ts:12](https://github.com/LuanRT/Yo > **tooltip**: `string` -Defined in: [src/parser/classes/ToggleButton.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleButton.ts#L11) +Defined in: [src/parser/classes/ToggleButton.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleButton.ts#L11) *** @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/ToggleButton.ts:11](https://github.com/LuanRT/Yo > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -152,7 +152,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ToggleButton'` -Defined in: [src/parser/classes/ToggleButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleButton.ts#L7) +Defined in: [src/parser/classes/ToggleButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleButton.ts#L7) #### Overrides @@ -164,7 +164,7 @@ Defined in: [src/parser/classes/ToggleButton.ts:7](https://github.com/LuanRT/You > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -206,7 +206,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ToggleButton & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -244,7 +244,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -282,7 +282,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ToggleButtonView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ToggleButtonView.md index 3e57e1c4..6a476971 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ToggleButtonView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ToggleButtonView.md @@ -2,7 +2,7 @@ # Class: ToggleButtonView -Defined in: [src/parser/classes/ToggleButtonView.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleButtonView.ts#L5) +Defined in: [src/parser/classes/ToggleButtonView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleButtonView.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ToggleButtonView.ts:5](https://github.com/LuanRT > **new ToggleButtonView**(`data`): `ToggleButtonView` -Defined in: [src/parser/classes/ToggleButtonView.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleButtonView.ts#L14) +Defined in: [src/parser/classes/ToggleButtonView.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleButtonView.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ToggleButtonView.ts:14](https://github.com/LuanR > **default\_button**: [`ButtonView`](ButtonView.md) \| `null` -Defined in: [src/parser/classes/ToggleButtonView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleButtonView.ts#L8) +Defined in: [src/parser/classes/ToggleButtonView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleButtonView.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ToggleButtonView.ts:8](https://github.com/LuanRT > `optional` **identifier**: `string` -Defined in: [src/parser/classes/ToggleButtonView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleButtonView.ts#L11) +Defined in: [src/parser/classes/ToggleButtonView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleButtonView.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ToggleButtonView.ts:11](https://github.com/LuanR > `optional` **is\_toggled**: `boolean` -Defined in: [src/parser/classes/ToggleButtonView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleButtonView.ts#L12) +Defined in: [src/parser/classes/ToggleButtonView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleButtonView.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ToggleButtonView.ts:12](https://github.com/LuanR > **is\_toggling\_disabled**: `boolean` -Defined in: [src/parser/classes/ToggleButtonView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleButtonView.ts#L10) +Defined in: [src/parser/classes/ToggleButtonView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleButtonView.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ToggleButtonView.ts:10](https://github.com/LuanR > **toggled\_button**: [`ButtonView`](ButtonView.md) \| `null` -Defined in: [src/parser/classes/ToggleButtonView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleButtonView.ts#L9) +Defined in: [src/parser/classes/ToggleButtonView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleButtonView.ts#L9) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ToggleButtonView.ts:9](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ToggleButtonView'` -Defined in: [src/parser/classes/ToggleButtonView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleButtonView.ts#L6) +Defined in: [src/parser/classes/ToggleButtonView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleButtonView.ts#L6) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/ToggleButtonView.ts:6](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ToggleButtonView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ToggleFormField.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ToggleFormField.md index 5bfb5ef0..05903a5a 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ToggleFormField.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ToggleFormField.md @@ -2,7 +2,7 @@ # Class: ToggleFormField -Defined in: [src/parser/classes/ToggleFormField.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleFormField.ts#L5) +Defined in: [src/parser/classes/ToggleFormField.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleFormField.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ToggleFormField.ts:5](https://github.com/LuanRT/ > **new ToggleFormField**(`data`): `ToggleFormField` -Defined in: [src/parser/classes/ToggleFormField.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleFormField.ts#L13) +Defined in: [src/parser/classes/ToggleFormField.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleFormField.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ToggleFormField.ts:13](https://github.com/LuanRT > **label**: `Text` -Defined in: [src/parser/classes/ToggleFormField.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleFormField.ts#L8) +Defined in: [src/parser/classes/ToggleFormField.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleFormField.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ToggleFormField.ts:8](https://github.com/LuanRT/ > `optional` **toggle\_off\_action**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ToggleFormField.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleFormField.ts#L11) +Defined in: [src/parser/classes/ToggleFormField.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleFormField.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ToggleFormField.ts:11](https://github.com/LuanRT > `optional` **toggle\_on\_action**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ToggleFormField.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleFormField.ts#L10) +Defined in: [src/parser/classes/ToggleFormField.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleFormField.ts#L10) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ToggleFormField.ts:10](https://github.com/LuanRT > **toggled**: `boolean` -Defined in: [src/parser/classes/ToggleFormField.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleFormField.ts#L9) +Defined in: [src/parser/classes/ToggleFormField.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleFormField.ts#L9) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ToggleFormField.ts:9](https://github.com/LuanRT/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ToggleFormField'` -Defined in: [src/parser/classes/ToggleFormField.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleFormField.ts#L6) +Defined in: [src/parser/classes/ToggleFormField.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleFormField.ts#L6) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/ToggleFormField.ts:6](https://github.com/LuanRT/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ToggleFormField & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ToggleMenuServiceItem.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ToggleMenuServiceItem.md index 0070f5e7..4def72d9 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ToggleMenuServiceItem.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ToggleMenuServiceItem.md @@ -2,7 +2,7 @@ # Class: ToggleMenuServiceItem -Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleMenuServiceItem.ts#L6) +Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleMenuServiceItem.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:6](https://github.com/L > **new ToggleMenuServiceItem**(`data`): `ToggleMenuServiceItem` -Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleMenuServiceItem.ts#L16) +Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleMenuServiceItem.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:16](https://github.com/ > **default\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleMenuServiceItem.ts#L13) +Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleMenuServiceItem.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:13](https://github.com/ > **icon\_type**: `string` -Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleMenuServiceItem.ts#L11) +Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleMenuServiceItem.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:11](https://github.com/ > **text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleMenuServiceItem.ts#L9) +Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleMenuServiceItem.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:9](https://github.com/L > **toggled\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleMenuServiceItem.ts#L14) +Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleMenuServiceItem.ts#L14) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:14](https://github.com/ > **toggled\_icon\_type**: `string` -Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleMenuServiceItem.ts#L12) +Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleMenuServiceItem.ts#L12) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:12](https://github.com/ > **toggled\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleMenuServiceItem.ts#L10) +Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleMenuServiceItem.ts#L10) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:10](https://github.com/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'ToggleMenuServiceItem'` -Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ToggleMenuServiceItem.ts#L7) +Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ToggleMenuServiceItem.ts#L7) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/ToggleMenuServiceItem.ts:7](https://github.com/L > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ToggleMenuServiceItem & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Tooltip.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Tooltip.md index 4b2ed480..5e3eabe7 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Tooltip.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Tooltip.md @@ -2,7 +2,7 @@ # Class: Tooltip -Defined in: [src/parser/classes/Tooltip.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Tooltip.ts#L6) +Defined in: [src/parser/classes/Tooltip.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Tooltip.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/Tooltip.ts:6](https://github.com/LuanRT/YouTube. > **new Tooltip**(`data`): `Tooltip` -Defined in: [src/parser/classes/Tooltip.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Tooltip.ts#L22) +Defined in: [src/parser/classes/Tooltip.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Tooltip.ts#L22) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/Tooltip.ts:22](https://github.com/LuanRT/YouTube > **details**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Tooltip.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Tooltip.ts#L17) +Defined in: [src/parser/classes/Tooltip.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Tooltip.ts#L17) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/Tooltip.ts:17](https://github.com/LuanRT/YouTube > **dismiss\_stratedy**: `string` -Defined in: [src/parser/classes/Tooltip.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Tooltip.ts#L19) +Defined in: [src/parser/classes/Tooltip.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Tooltip.ts#L19) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/Tooltip.ts:19](https://github.com/LuanRT/YouTube > **dwell\_time\_ms**: `number` -Defined in: [src/parser/classes/Tooltip.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Tooltip.ts#L20) +Defined in: [src/parser/classes/Tooltip.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Tooltip.ts#L20) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/Tooltip.ts:20](https://github.com/LuanRT/YouTube > **promo\_config**: `object` -Defined in: [src/parser/classes/Tooltip.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Tooltip.ts#L9) +Defined in: [src/parser/classes/Tooltip.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Tooltip.ts#L9) #### accept @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/Tooltip.ts:9](https://github.com/LuanRT/YouTube. > **suggested\_position**: `string` -Defined in: [src/parser/classes/Tooltip.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Tooltip.ts#L18) +Defined in: [src/parser/classes/Tooltip.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Tooltip.ts#L18) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/Tooltip.ts:18](https://github.com/LuanRT/YouTube > **target\_id**: `string` -Defined in: [src/parser/classes/Tooltip.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Tooltip.ts#L16) +Defined in: [src/parser/classes/Tooltip.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Tooltip.ts#L16) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/Tooltip.ts:16](https://github.com/LuanRT/YouTube > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -112,7 +112,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'Tooltip'` -Defined in: [src/parser/classes/Tooltip.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Tooltip.ts#L7) +Defined in: [src/parser/classes/Tooltip.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Tooltip.ts#L7) #### Overrides @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/Tooltip.ts:7](https://github.com/LuanRT/YouTube. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -166,7 +166,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Tooltip & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -204,7 +204,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -242,7 +242,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/TopbarMenuButton.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/TopbarMenuButton.md index 24f0f805..600e422d 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/TopbarMenuButton.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/TopbarMenuButton.md @@ -2,7 +2,7 @@ # Class: TopbarMenuButton -Defined in: [src/parser/classes/mweb/TopbarMenuButton.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/TopbarMenuButton.ts#L4) +Defined in: [src/parser/classes/mweb/TopbarMenuButton.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/TopbarMenuButton.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/mweb/TopbarMenuButton.ts:4](https://github.com/L > **new TopbarMenuButton**(`data`): `TopbarMenuButton` -Defined in: [src/parser/classes/mweb/TopbarMenuButton.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/TopbarMenuButton.ts#L11) +Defined in: [src/parser/classes/mweb/TopbarMenuButton.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/TopbarMenuButton.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/mweb/TopbarMenuButton.ts:11](https://github.com/ > `optional` **icon\_type**: `string` -Defined in: [src/parser/classes/mweb/TopbarMenuButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/TopbarMenuButton.ts#L7) +Defined in: [src/parser/classes/mweb/TopbarMenuButton.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/TopbarMenuButton.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/mweb/TopbarMenuButton.ts:7](https://github.com/L > **menu\_renderer**: [`YTNode`](../../Helpers/classes/YTNode.md) \| `null` -Defined in: [src/parser/classes/mweb/TopbarMenuButton.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/TopbarMenuButton.ts#L8) +Defined in: [src/parser/classes/mweb/TopbarMenuButton.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/TopbarMenuButton.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/mweb/TopbarMenuButton.ts:8](https://github.com/L > **target\_id**: `string` -Defined in: [src/parser/classes/mweb/TopbarMenuButton.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/TopbarMenuButton.ts#L9) +Defined in: [src/parser/classes/mweb/TopbarMenuButton.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/TopbarMenuButton.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/mweb/TopbarMenuButton.ts:9](https://github.com/L > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'TopbarMenuButton'` -Defined in: [src/parser/classes/mweb/TopbarMenuButton.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/mweb/TopbarMenuButton.ts#L5) +Defined in: [src/parser/classes/mweb/TopbarMenuButton.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/mweb/TopbarMenuButton.ts#L5) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/mweb/TopbarMenuButton.ts:5](https://github.com/L > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is TopbarMenuButton & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/TopicChannelDetails.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/TopicChannelDetails.md index 2ae853ed..383c53f8 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/TopicChannelDetails.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/TopicChannelDetails.md @@ -2,7 +2,7 @@ # Class: TopicChannelDetails -Defined in: [src/parser/classes/TopicChannelDetails.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TopicChannelDetails.ts#L8) +Defined in: [src/parser/classes/TopicChannelDetails.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TopicChannelDetails.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/TopicChannelDetails.ts:8](https://github.com/Lua > **new TopicChannelDetails**(`data`): `TopicChannelDetails` -Defined in: [src/parser/classes/TopicChannelDetails.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TopicChannelDetails.ts#L17) +Defined in: [src/parser/classes/TopicChannelDetails.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TopicChannelDetails.ts#L17) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/TopicChannelDetails.ts:17](https://github.com/Lu > **avatar**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/TopicChannelDetails.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TopicChannelDetails.ts#L12) +Defined in: [src/parser/classes/TopicChannelDetails.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TopicChannelDetails.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/TopicChannelDetails.ts:12](https://github.com/Lu > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/TopicChannelDetails.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TopicChannelDetails.ts#L15) +Defined in: [src/parser/classes/TopicChannelDetails.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TopicChannelDetails.ts#L15) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/TopicChannelDetails.ts:15](https://github.com/Lu > **subscribe\_button**: [`SubscribeButton`](SubscribeButton.md) \| `null` -Defined in: [src/parser/classes/TopicChannelDetails.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TopicChannelDetails.ts#L14) +Defined in: [src/parser/classes/TopicChannelDetails.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TopicChannelDetails.ts#L14) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/TopicChannelDetails.ts:14](https://github.com/Lu > **subtitle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/TopicChannelDetails.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TopicChannelDetails.ts#L13) +Defined in: [src/parser/classes/TopicChannelDetails.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TopicChannelDetails.ts#L13) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/TopicChannelDetails.ts:13](https://github.com/Lu > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/TopicChannelDetails.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TopicChannelDetails.ts#L11) +Defined in: [src/parser/classes/TopicChannelDetails.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TopicChannelDetails.ts#L11) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/TopicChannelDetails.ts:11](https://github.com/Lu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'TopicChannelDetails'` -Defined in: [src/parser/classes/TopicChannelDetails.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TopicChannelDetails.ts#L9) +Defined in: [src/parser/classes/TopicChannelDetails.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TopicChannelDetails.ts#L9) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/TopicChannelDetails.ts:9](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is TopicChannelDetails & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Transcript.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Transcript.md index 7e827c6c..3c703f37 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Transcript.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Transcript.md @@ -2,7 +2,7 @@ # Class: Transcript -Defined in: [src/parser/classes/Transcript.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Transcript.ts#L6) +Defined in: [src/parser/classes/Transcript.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Transcript.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/Transcript.ts:6](https://github.com/LuanRT/YouTu > **new Transcript**(`data`): `Transcript` -Defined in: [src/parser/classes/Transcript.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Transcript.ts#L11) +Defined in: [src/parser/classes/Transcript.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Transcript.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/Transcript.ts:11](https://github.com/LuanRT/YouT > **content**: [`TranscriptSearchPanel`](TranscriptSearchPanel.md) \| `null` -Defined in: [src/parser/classes/Transcript.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Transcript.ts#L9) +Defined in: [src/parser/classes/Transcript.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Transcript.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/Transcript.ts:9](https://github.com/LuanRT/YouTu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'Transcript'` -Defined in: [src/parser/classes/Transcript.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Transcript.ts#L7) +Defined in: [src/parser/classes/Transcript.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Transcript.ts#L7) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/Transcript.ts:7](https://github.com/LuanRT/YouTu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Transcript & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/TranscriptFooter.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/TranscriptFooter.md index c8853f21..927516b6 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/TranscriptFooter.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/TranscriptFooter.md @@ -2,7 +2,7 @@ # Class: TranscriptFooter -Defined in: [src/parser/classes/TranscriptFooter.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptFooter.ts#L6) +Defined in: [src/parser/classes/TranscriptFooter.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptFooter.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/TranscriptFooter.ts:6](https://github.com/LuanRT > **new TranscriptFooter**(`data`): `TranscriptFooter` -Defined in: [src/parser/classes/TranscriptFooter.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptFooter.ts#L11) +Defined in: [src/parser/classes/TranscriptFooter.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptFooter.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/TranscriptFooter.ts:11](https://github.com/LuanR > **language\_menu**: [`SortFilterSubMenu`](SortFilterSubMenu.md) \| `null` -Defined in: [src/parser/classes/TranscriptFooter.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptFooter.ts#L9) +Defined in: [src/parser/classes/TranscriptFooter.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptFooter.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/TranscriptFooter.ts:9](https://github.com/LuanRT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'TranscriptFooter'` -Defined in: [src/parser/classes/TranscriptFooter.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptFooter.ts#L7) +Defined in: [src/parser/classes/TranscriptFooter.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptFooter.ts#L7) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/TranscriptFooter.ts:7](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is TranscriptFooter & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/TranscriptSearchBox.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/TranscriptSearchBox.md index 01b53a2e..0dd81598 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/TranscriptSearchBox.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/TranscriptSearchBox.md @@ -2,7 +2,7 @@ # Class: TranscriptSearchBox -Defined in: [src/parser/classes/TranscriptSearchBox.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSearchBox.ts#L8) +Defined in: [src/parser/classes/TranscriptSearchBox.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSearchBox.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/TranscriptSearchBox.ts:8](https://github.com/Lua > **new TranscriptSearchBox**(`data`): `TranscriptSearchBox` -Defined in: [src/parser/classes/TranscriptSearchBox.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSearchBox.ts#L16) +Defined in: [src/parser/classes/TranscriptSearchBox.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSearchBox.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/TranscriptSearchBox.ts:16](https://github.com/Lu > **clear\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/TranscriptSearchBox.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSearchBox.ts#L12) +Defined in: [src/parser/classes/TranscriptSearchBox.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSearchBox.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/TranscriptSearchBox.ts:12](https://github.com/Lu > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/TranscriptSearchBox.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSearchBox.ts#L13) +Defined in: [src/parser/classes/TranscriptSearchBox.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSearchBox.ts#L13) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/TranscriptSearchBox.ts:13](https://github.com/Lu > **formatted\_placeholder**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/TranscriptSearchBox.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSearchBox.ts#L11) +Defined in: [src/parser/classes/TranscriptSearchBox.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSearchBox.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/TranscriptSearchBox.ts:11](https://github.com/Lu > **search\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/TranscriptSearchBox.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSearchBox.ts#L14) +Defined in: [src/parser/classes/TranscriptSearchBox.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSearchBox.ts#L14) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/TranscriptSearchBox.ts:14](https://github.com/Lu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'TranscriptSearchBox'` -Defined in: [src/parser/classes/TranscriptSearchBox.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSearchBox.ts#L9) +Defined in: [src/parser/classes/TranscriptSearchBox.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSearchBox.ts#L9) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/TranscriptSearchBox.ts:9](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is TranscriptSearchBox & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/TranscriptSearchPanel.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/TranscriptSearchPanel.md index 53f6c07e..81f11d3d 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/TranscriptSearchPanel.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/TranscriptSearchPanel.md @@ -2,7 +2,7 @@ # Class: TranscriptSearchPanel -Defined in: [src/parser/classes/TranscriptSearchPanel.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSearchPanel.ts#L8) +Defined in: [src/parser/classes/TranscriptSearchPanel.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSearchPanel.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/TranscriptSearchPanel.ts:8](https://github.com/L > **new TranscriptSearchPanel**(`data`): `TranscriptSearchPanel` -Defined in: [src/parser/classes/TranscriptSearchPanel.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSearchPanel.ts#L16) +Defined in: [src/parser/classes/TranscriptSearchPanel.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSearchPanel.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/TranscriptSearchPanel.ts:16](https://github.com/ > **body**: [`TranscriptSegmentList`](TranscriptSegmentList.md) \| `null` -Defined in: [src/parser/classes/TranscriptSearchPanel.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSearchPanel.ts#L12) +Defined in: [src/parser/classes/TranscriptSearchPanel.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSearchPanel.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/TranscriptSearchPanel.ts:12](https://github.com/ > **footer**: [`TranscriptFooter`](TranscriptFooter.md) \| `null` -Defined in: [src/parser/classes/TranscriptSearchPanel.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSearchPanel.ts#L13) +Defined in: [src/parser/classes/TranscriptSearchPanel.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSearchPanel.ts#L13) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/TranscriptSearchPanel.ts:13](https://github.com/ > **header**: [`TranscriptSearchBox`](TranscriptSearchBox.md) \| `null` -Defined in: [src/parser/classes/TranscriptSearchPanel.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSearchPanel.ts#L11) +Defined in: [src/parser/classes/TranscriptSearchPanel.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSearchPanel.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/TranscriptSearchPanel.ts:11](https://github.com/ > **target\_id**: `string` -Defined in: [src/parser/classes/TranscriptSearchPanel.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSearchPanel.ts#L14) +Defined in: [src/parser/classes/TranscriptSearchPanel.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSearchPanel.ts#L14) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/TranscriptSearchPanel.ts:14](https://github.com/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'TranscriptSearchPanel'` -Defined in: [src/parser/classes/TranscriptSearchPanel.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSearchPanel.ts#L9) +Defined in: [src/parser/classes/TranscriptSearchPanel.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSearchPanel.ts#L9) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/TranscriptSearchPanel.ts:9](https://github.com/L > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is TranscriptSearchPanel & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/TranscriptSectionHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/TranscriptSectionHeader.md index ee7163c7..b6c29140 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/TranscriptSectionHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/TranscriptSectionHeader.md @@ -2,7 +2,7 @@ # Class: TranscriptSectionHeader -Defined in: [src/parser/classes/TranscriptSectionHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSectionHeader.ts#L5) +Defined in: [src/parser/classes/TranscriptSectionHeader.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSectionHeader.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/TranscriptSectionHeader.ts:5](https://github.com > **new TranscriptSectionHeader**(`data`): `TranscriptSectionHeader` -Defined in: [src/parser/classes/TranscriptSectionHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSectionHeader.ts#L12) +Defined in: [src/parser/classes/TranscriptSectionHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSectionHeader.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/TranscriptSectionHeader.ts:12](https://github.co > **end\_ms**: `string` -Defined in: [src/parser/classes/TranscriptSectionHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSectionHeader.ts#L9) +Defined in: [src/parser/classes/TranscriptSectionHeader.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSectionHeader.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/TranscriptSectionHeader.ts:9](https://github.com > **snippet**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/TranscriptSectionHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSectionHeader.ts#L10) +Defined in: [src/parser/classes/TranscriptSectionHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSectionHeader.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/TranscriptSectionHeader.ts:10](https://github.co > **start\_ms**: `string` -Defined in: [src/parser/classes/TranscriptSectionHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSectionHeader.ts#L8) +Defined in: [src/parser/classes/TranscriptSectionHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSectionHeader.ts#L8) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/TranscriptSectionHeader.ts:8](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'TranscriptSectionHeader'` -Defined in: [src/parser/classes/TranscriptSectionHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSectionHeader.ts#L6) +Defined in: [src/parser/classes/TranscriptSectionHeader.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSectionHeader.ts#L6) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/TranscriptSectionHeader.ts:6](https://github.com > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is TranscriptSectionHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/TranscriptSegment.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/TranscriptSegment.md index a03d880f..c8b3eb40 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/TranscriptSegment.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/TranscriptSegment.md @@ -2,7 +2,7 @@ # Class: TranscriptSegment -Defined in: [src/parser/classes/TranscriptSegment.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSegment.ts#L5) +Defined in: [src/parser/classes/TranscriptSegment.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSegment.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/TranscriptSegment.ts:5](https://github.com/LuanR > **new TranscriptSegment**(`data`): `TranscriptSegment` -Defined in: [src/parser/classes/TranscriptSegment.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSegment.ts#L14) +Defined in: [src/parser/classes/TranscriptSegment.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSegment.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/TranscriptSegment.ts:14](https://github.com/Luan > **end\_ms**: `string` -Defined in: [src/parser/classes/TranscriptSegment.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSegment.ts#L9) +Defined in: [src/parser/classes/TranscriptSegment.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSegment.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/TranscriptSegment.ts:9](https://github.com/LuanR > **snippet**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/TranscriptSegment.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSegment.ts#L10) +Defined in: [src/parser/classes/TranscriptSegment.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSegment.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/TranscriptSegment.ts:10](https://github.com/Luan > **start\_ms**: `string` -Defined in: [src/parser/classes/TranscriptSegment.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSegment.ts#L8) +Defined in: [src/parser/classes/TranscriptSegment.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSegment.ts#L8) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/TranscriptSegment.ts:8](https://github.com/LuanR > **start\_time\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/TranscriptSegment.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSegment.ts#L11) +Defined in: [src/parser/classes/TranscriptSegment.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSegment.ts#L11) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/TranscriptSegment.ts:11](https://github.com/Luan > **target\_id**: `string` -Defined in: [src/parser/classes/TranscriptSegment.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSegment.ts#L12) +Defined in: [src/parser/classes/TranscriptSegment.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSegment.ts#L12) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/TranscriptSegment.ts:12](https://github.com/Luan > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'TranscriptSegment'` -Defined in: [src/parser/classes/TranscriptSegment.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSegment.ts#L6) +Defined in: [src/parser/classes/TranscriptSegment.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSegment.ts#L6) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/TranscriptSegment.ts:6](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is TranscriptSegment & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/TranscriptSegmentList.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/TranscriptSegmentList.md index e06f466d..d9c62f86 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/TranscriptSegmentList.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/TranscriptSegmentList.md @@ -2,7 +2,7 @@ # Class: TranscriptSegmentList -Defined in: [src/parser/classes/TranscriptSegmentList.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSegmentList.ts#L9) +Defined in: [src/parser/classes/TranscriptSegmentList.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSegmentList.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/TranscriptSegmentList.ts:9](https://github.com/L > **new TranscriptSegmentList**(`data`): `TranscriptSegmentList` -Defined in: [src/parser/classes/TranscriptSegmentList.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSegmentList.ts#L17) +Defined in: [src/parser/classes/TranscriptSegmentList.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSegmentList.ts#L17) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/TranscriptSegmentList.ts:17](https://github.com/ > **initial\_segments**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`TranscriptSectionHeader`](TranscriptSectionHeader.md) \| [`TranscriptSegment`](TranscriptSegment.md)\> -Defined in: [src/parser/classes/TranscriptSegmentList.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSegmentList.ts#L12) +Defined in: [src/parser/classes/TranscriptSegmentList.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSegmentList.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/TranscriptSegmentList.ts:12](https://github.com/ > **no\_result\_label**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/TranscriptSegmentList.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSegmentList.ts#L13) +Defined in: [src/parser/classes/TranscriptSegmentList.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSegmentList.ts#L13) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/TranscriptSegmentList.ts:13](https://github.com/ > **retry\_label**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/TranscriptSegmentList.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSegmentList.ts#L14) +Defined in: [src/parser/classes/TranscriptSegmentList.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSegmentList.ts#L14) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/TranscriptSegmentList.ts:14](https://github.com/ > **touch\_captions\_enabled**: `boolean` -Defined in: [src/parser/classes/TranscriptSegmentList.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSegmentList.ts#L15) +Defined in: [src/parser/classes/TranscriptSegmentList.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSegmentList.ts#L15) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/TranscriptSegmentList.ts:15](https://github.com/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'TranscriptSegmentList'` -Defined in: [src/parser/classes/TranscriptSegmentList.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TranscriptSegmentList.ts#L10) +Defined in: [src/parser/classes/TranscriptSegmentList.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TranscriptSegmentList.ts#L10) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/TranscriptSegmentList.ts:10](https://github.com/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is TranscriptSegmentList & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/TwoColumnBrowseResults.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/TwoColumnBrowseResults.md index dd998350..1a8b4b60 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/TwoColumnBrowseResults.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/TwoColumnBrowseResults.md @@ -2,7 +2,7 @@ # Class: TwoColumnBrowseResults -Defined in: [src/parser/classes/TwoColumnBrowseResults.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TwoColumnBrowseResults.ts#L10) +Defined in: [src/parser/classes/TwoColumnBrowseResults.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TwoColumnBrowseResults.ts#L10) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/parser/classes/TwoColumnBrowseResults.ts:10](https://github.com > **new TwoColumnBrowseResults**(`data`): `TwoColumnBrowseResults` -Defined in: [src/parser/classes/TwoColumnBrowseResults.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TwoColumnBrowseResults.ts#L16) +Defined in: [src/parser/classes/TwoColumnBrowseResults.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TwoColumnBrowseResults.ts#L16) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/TwoColumnBrowseResults.ts:16](https://github.com > **secondary\_contents**: [`SectionList`](SectionList.md) \| [`BrowseFeedActions`](BrowseFeedActions.md) \| [`ProfileColumn`](ProfileColumn.md) \| `null` -Defined in: [src/parser/classes/TwoColumnBrowseResults.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TwoColumnBrowseResults.ts#L14) +Defined in: [src/parser/classes/TwoColumnBrowseResults.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TwoColumnBrowseResults.ts#L14) *** @@ -48,7 +48,7 @@ Defined in: [src/parser/classes/TwoColumnBrowseResults.ts:14](https://github.com > **tabs**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Tab`](Tab.md) \| [`ExpandableTab`](ExpandableTab.md)\> -Defined in: [src/parser/classes/TwoColumnBrowseResults.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TwoColumnBrowseResults.ts#L13) +Defined in: [src/parser/classes/TwoColumnBrowseResults.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TwoColumnBrowseResults.ts#L13) *** @@ -56,7 +56,7 @@ Defined in: [src/parser/classes/TwoColumnBrowseResults.ts:13](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -68,7 +68,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'TwoColumnBrowseResults'` -Defined in: [src/parser/classes/TwoColumnBrowseResults.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TwoColumnBrowseResults.ts#L11) +Defined in: [src/parser/classes/TwoColumnBrowseResults.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TwoColumnBrowseResults.ts#L11) #### Overrides @@ -80,7 +80,7 @@ Defined in: [src/parser/classes/TwoColumnBrowseResults.ts:11](https://github.com > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -122,7 +122,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is TwoColumnBrowseResults & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -160,7 +160,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -198,7 +198,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/TwoColumnSearchResults.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/TwoColumnSearchResults.md index af57e888..a2e7deb2 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/TwoColumnSearchResults.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/TwoColumnSearchResults.md @@ -2,7 +2,7 @@ # Class: TwoColumnSearchResults -Defined in: [src/parser/classes/TwoColumnSearchResults.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TwoColumnSearchResults.ts#L7) +Defined in: [src/parser/classes/TwoColumnSearchResults.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TwoColumnSearchResults.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/TwoColumnSearchResults.ts:7](https://github.com/ > **new TwoColumnSearchResults**(`data`): `TwoColumnSearchResults` -Defined in: [src/parser/classes/TwoColumnSearchResults.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TwoColumnSearchResults.ts#L15) +Defined in: [src/parser/classes/TwoColumnSearchResults.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TwoColumnSearchResults.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/TwoColumnSearchResults.ts:15](https://github.com > **header**: [`YTNode`](../../Helpers/classes/YTNode.md) \| `null` -Defined in: [src/parser/classes/TwoColumnSearchResults.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TwoColumnSearchResults.ts#L10) +Defined in: [src/parser/classes/TwoColumnSearchResults.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TwoColumnSearchResults.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/TwoColumnSearchResults.ts:10](https://github.com > **primary\_contents**: [`SectionList`](SectionList.md) \| [`RichGrid`](RichGrid.md) \| `null` -Defined in: [src/parser/classes/TwoColumnSearchResults.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TwoColumnSearchResults.ts#L11) +Defined in: [src/parser/classes/TwoColumnSearchResults.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TwoColumnSearchResults.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/TwoColumnSearchResults.ts:11](https://github.com > **secondary\_contents**: [`SecondarySearchContainer`](SecondarySearchContainer.md) \| `null` -Defined in: [src/parser/classes/TwoColumnSearchResults.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TwoColumnSearchResults.ts#L12) +Defined in: [src/parser/classes/TwoColumnSearchResults.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TwoColumnSearchResults.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/TwoColumnSearchResults.ts:12](https://github.com > `optional` **target\_id**: `string` -Defined in: [src/parser/classes/TwoColumnSearchResults.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TwoColumnSearchResults.ts#L13) +Defined in: [src/parser/classes/TwoColumnSearchResults.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TwoColumnSearchResults.ts#L13) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/TwoColumnSearchResults.ts:13](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'TwoColumnSearchResults'` -Defined in: [src/parser/classes/TwoColumnSearchResults.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TwoColumnSearchResults.ts#L8) +Defined in: [src/parser/classes/TwoColumnSearchResults.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TwoColumnSearchResults.ts#L8) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/TwoColumnSearchResults.ts:8](https://github.com/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is TwoColumnSearchResults & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/TwoColumnWatchNextResults.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/TwoColumnWatchNextResults.md index 45ac2023..6ade822f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/TwoColumnWatchNextResults.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/TwoColumnWatchNextResults.md @@ -2,7 +2,7 @@ # Class: TwoColumnWatchNextResults -Defined in: [src/parser/classes/TwoColumnWatchNextResults.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TwoColumnWatchNextResults.ts#L13) +Defined in: [src/parser/classes/TwoColumnWatchNextResults.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TwoColumnWatchNextResults.ts#L13) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/TwoColumnWatchNextResults.ts:13](https://github. > **new TwoColumnWatchNextResults**(`data`): `TwoColumnWatchNextResults` -Defined in: [src/parser/classes/TwoColumnWatchNextResults.ts:34](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TwoColumnWatchNextResults.ts#L34) +Defined in: [src/parser/classes/TwoColumnWatchNextResults.ts:34](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TwoColumnWatchNextResults.ts#L34) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/TwoColumnWatchNextResults.ts:34](https://github. > `optional` **autoplay**: `object` -Defined in: [src/parser/classes/TwoColumnWatchNextResults.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TwoColumnWatchNextResults.ts#L28) +Defined in: [src/parser/classes/TwoColumnWatchNextResults.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TwoColumnWatchNextResults.ts#L28) #### count\_down\_secs? @@ -56,7 +56,7 @@ Defined in: [src/parser/classes/TwoColumnWatchNextResults.ts:28](https://github. > **conversation\_bar**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/TwoColumnWatchNextResults.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TwoColumnWatchNextResults.ts#L18) +Defined in: [src/parser/classes/TwoColumnWatchNextResults.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TwoColumnWatchNextResults.ts#L18) *** @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/TwoColumnWatchNextResults.ts:18](https://github. > `optional` **playlist**: `object` -Defined in: [src/parser/classes/TwoColumnWatchNextResults.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TwoColumnWatchNextResults.ts#L19) +Defined in: [src/parser/classes/TwoColumnWatchNextResults.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TwoColumnWatchNextResults.ts#L19) #### author @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/TwoColumnWatchNextResults.ts:19](https://github. > **results**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/TwoColumnWatchNextResults.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TwoColumnWatchNextResults.ts#L16) +Defined in: [src/parser/classes/TwoColumnWatchNextResults.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TwoColumnWatchNextResults.ts#L16) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/TwoColumnWatchNextResults.ts:16](https://github. > **secondary\_results**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/TwoColumnWatchNextResults.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TwoColumnWatchNextResults.ts#L17) +Defined in: [src/parser/classes/TwoColumnWatchNextResults.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TwoColumnWatchNextResults.ts#L17) *** @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/TwoColumnWatchNextResults.ts:17](https://github. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -128,7 +128,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'TwoColumnWatchNextResults'` -Defined in: [src/parser/classes/TwoColumnWatchNextResults.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TwoColumnWatchNextResults.ts#L14) +Defined in: [src/parser/classes/TwoColumnWatchNextResults.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TwoColumnWatchNextResults.ts#L14) #### Overrides @@ -140,7 +140,7 @@ Defined in: [src/parser/classes/TwoColumnWatchNextResults.ts:14](https://github. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -182,7 +182,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is TwoColumnWatchNextResults & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -220,7 +220,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -258,7 +258,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/UnifiedSharePanel.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/UnifiedSharePanel.md index 2c8419d0..f2686a34 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/UnifiedSharePanel.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/UnifiedSharePanel.md @@ -2,7 +2,7 @@ # Class: UnifiedSharePanel -Defined in: [src/parser/classes/UnifiedSharePanel.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UnifiedSharePanel.ts#L15) +Defined in: [src/parser/classes/UnifiedSharePanel.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UnifiedSharePanel.ts#L15) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/UnifiedSharePanel.ts:15](https://github.com/Luan > **new UnifiedSharePanel**(`data`): `UnifiedSharePanel` -Defined in: [src/parser/classes/UnifiedSharePanel.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UnifiedSharePanel.ts#L23) +Defined in: [src/parser/classes/UnifiedSharePanel.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UnifiedSharePanel.ts#L23) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/UnifiedSharePanel.ts:23](https://github.com/Luan > **header**: [`SharePanelHeader`](SharePanelHeader.md) \| `null` -Defined in: [src/parser/classes/UnifiedSharePanel.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UnifiedSharePanel.ts#L19) +Defined in: [src/parser/classes/UnifiedSharePanel.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UnifiedSharePanel.ts#L19) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/UnifiedSharePanel.ts:19](https://github.com/Luan > **share\_panel\_version**: `number` -Defined in: [src/parser/classes/UnifiedSharePanel.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UnifiedSharePanel.ts#L20) +Defined in: [src/parser/classes/UnifiedSharePanel.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UnifiedSharePanel.ts#L20) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/UnifiedSharePanel.ts:20](https://github.com/Luan > `optional` **show\_loading\_spinner**: `boolean` -Defined in: [src/parser/classes/UnifiedSharePanel.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UnifiedSharePanel.ts#L21) +Defined in: [src/parser/classes/UnifiedSharePanel.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UnifiedSharePanel.ts#L21) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/UnifiedSharePanel.ts:21](https://github.com/Luan > `optional` **third\_party\_network\_section**: `ThirdPartyNetworkSection` -Defined in: [src/parser/classes/UnifiedSharePanel.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UnifiedSharePanel.ts#L18) +Defined in: [src/parser/classes/UnifiedSharePanel.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UnifiedSharePanel.ts#L18) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/UnifiedSharePanel.ts:18](https://github.com/Luan > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'UnifiedSharePanel'` -Defined in: [src/parser/classes/UnifiedSharePanel.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UnifiedSharePanel.ts#L16) +Defined in: [src/parser/classes/UnifiedSharePanel.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UnifiedSharePanel.ts#L16) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/UnifiedSharePanel.ts:16](https://github.com/Luan > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is UnifiedSharePanel & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/UniversalWatchCard.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/UniversalWatchCard.md index cb3e9f92..26a0d74b 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/UniversalWatchCard.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/UniversalWatchCard.md @@ -2,7 +2,7 @@ # Class: UniversalWatchCard -Defined in: [src/parser/classes/UniversalWatchCard.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UniversalWatchCard.ts#L5) +Defined in: [src/parser/classes/UniversalWatchCard.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UniversalWatchCard.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/UniversalWatchCard.ts:5](https://github.com/Luan > **new UniversalWatchCard**(`data`): `UniversalWatchCard` -Defined in: [src/parser/classes/UniversalWatchCard.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UniversalWatchCard.ts#L13) +Defined in: [src/parser/classes/UniversalWatchCard.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UniversalWatchCard.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/UniversalWatchCard.ts:13](https://github.com/Lua > **call\_to\_action**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/UniversalWatchCard.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UniversalWatchCard.ts#L9) +Defined in: [src/parser/classes/UniversalWatchCard.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UniversalWatchCard.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/UniversalWatchCard.ts:9](https://github.com/Luan > `optional` **collapsed\_label**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/UniversalWatchCard.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UniversalWatchCard.ts#L11) +Defined in: [src/parser/classes/UniversalWatchCard.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UniversalWatchCard.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/UniversalWatchCard.ts:11](https://github.com/Lua > **header**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/UniversalWatchCard.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UniversalWatchCard.ts#L8) +Defined in: [src/parser/classes/UniversalWatchCard.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UniversalWatchCard.ts#L8) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/UniversalWatchCard.ts:8](https://github.com/Luan > **sections**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/UniversalWatchCard.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UniversalWatchCard.ts#L10) +Defined in: [src/parser/classes/UniversalWatchCard.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UniversalWatchCard.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/UniversalWatchCard.ts:10](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'UniversalWatchCard'` -Defined in: [src/parser/classes/UniversalWatchCard.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UniversalWatchCard.ts#L6) +Defined in: [src/parser/classes/UniversalWatchCard.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UniversalWatchCard.ts#L6) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/UniversalWatchCard.ts:6](https://github.com/Luan > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is UniversalWatchCard & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/UnsubscribeEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/UnsubscribeEndpoint.md index 313982d9..c5e98230 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/UnsubscribeEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/UnsubscribeEndpoint.md @@ -2,7 +2,7 @@ # Class: UnsubscribeEndpoint -Defined in: [src/parser/classes/endpoints/UnsubscribeEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/UnsubscribeEndpoint.ts#L6) +Defined in: [src/parser/classes/endpoints/UnsubscribeEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/UnsubscribeEndpoint.ts#L6) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/parser/classes/endpoints/UnsubscribeEndpoint.ts:6](https://gith > **new UnsubscribeEndpoint**(`data`): `UnsubscribeEndpoint` -Defined in: [src/parser/classes/endpoints/UnsubscribeEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/UnsubscribeEndpoint.ts#L11) +Defined in: [src/parser/classes/endpoints/UnsubscribeEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/UnsubscribeEndpoint.ts#L11) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/endpoints/UnsubscribeEndpoint.ts:11](https://git > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -52,7 +52,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'UnsubscribeEndpoint'` -Defined in: [src/parser/classes/endpoints/UnsubscribeEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/UnsubscribeEndpoint.ts#L7) +Defined in: [src/parser/classes/endpoints/UnsubscribeEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/UnsubscribeEndpoint.ts#L7) #### Overrides @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/endpoints/UnsubscribeEndpoint.ts:7](https://gith > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -106,7 +106,7 @@ If the node is not of the given type > **buildRequest**(): [`UnsubscribeRequest`](../../../../type-aliases/UnsubscribeRequest.md) -Defined in: [src/parser/classes/endpoints/UnsubscribeEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/UnsubscribeEndpoint.ts#L20) +Defined in: [src/parser/classes/endpoints/UnsubscribeEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/UnsubscribeEndpoint.ts#L20) #### Returns @@ -122,7 +122,7 @@ Defined in: [src/parser/classes/endpoints/UnsubscribeEndpoint.ts:20](https://git > **getApiPath**(): `string` -Defined in: [src/parser/classes/endpoints/UnsubscribeEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/UnsubscribeEndpoint.ts#L16) +Defined in: [src/parser/classes/endpoints/UnsubscribeEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/UnsubscribeEndpoint.ts#L16) #### Returns @@ -138,7 +138,7 @@ Defined in: [src/parser/classes/endpoints/UnsubscribeEndpoint.ts:16](https://git > **hasKey**\<`T`, `R`\>(`key`): `this is UnsubscribeEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -176,7 +176,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -214,7 +214,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateChannelSwitcherPageAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateChannelSwitcherPageAction.md index e5f8e68a..bf6df835 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateChannelSwitcherPageAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateChannelSwitcherPageAction.md @@ -2,7 +2,7 @@ # Class: UpdateChannelSwitcherPageAction -Defined in: [src/parser/classes/actions/UpdateChannelSwitcherPageAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/UpdateChannelSwitcherPageAction.ts#L6) +Defined in: [src/parser/classes/actions/UpdateChannelSwitcherPageAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/UpdateChannelSwitcherPageAction.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/actions/UpdateChannelSwitcherPageAction.ts:6](ht > **new UpdateChannelSwitcherPageAction**(`data`): `UpdateChannelSwitcherPageAction` -Defined in: [src/parser/classes/actions/UpdateChannelSwitcherPageAction.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/UpdateChannelSwitcherPageAction.ts#L12) +Defined in: [src/parser/classes/actions/UpdateChannelSwitcherPageAction.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/UpdateChannelSwitcherPageAction.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/actions/UpdateChannelSwitcherPageAction.ts:12](h > `optional` **contents**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> \| `null` -Defined in: [src/parser/classes/actions/UpdateChannelSwitcherPageAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/UpdateChannelSwitcherPageAction.ts#L10) +Defined in: [src/parser/classes/actions/UpdateChannelSwitcherPageAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/UpdateChannelSwitcherPageAction.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/actions/UpdateChannelSwitcherPageAction.ts:10](h > `optional` **header**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/actions/UpdateChannelSwitcherPageAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/UpdateChannelSwitcherPageAction.ts#L9) +Defined in: [src/parser/classes/actions/UpdateChannelSwitcherPageAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/UpdateChannelSwitcherPageAction.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/actions/UpdateChannelSwitcherPageAction.ts:9](ht > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'UpdateChannelSwitcherPageAction'` -Defined in: [src/parser/classes/actions/UpdateChannelSwitcherPageAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/UpdateChannelSwitcherPageAction.ts#L7) +Defined in: [src/parser/classes/actions/UpdateChannelSwitcherPageAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/UpdateChannelSwitcherPageAction.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/actions/UpdateChannelSwitcherPageAction.ts:7](ht > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is UpdateChannelSwitcherPageAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateDateTextAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateDateTextAction.md index 018f1df8..8524ac92 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateDateTextAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateDateTextAction.md @@ -2,7 +2,7 @@ # Class: UpdateDateTextAction -Defined in: [src/parser/classes/livechat/UpdateDateTextAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateDateTextAction.ts#L5) +Defined in: [src/parser/classes/livechat/UpdateDateTextAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateDateTextAction.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/UpdateDateTextAction.ts:5](https://gith > **new UpdateDateTextAction**(`data`): `UpdateDateTextAction` -Defined in: [src/parser/classes/livechat/UpdateDateTextAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateDateTextAction.ts#L10) +Defined in: [src/parser/classes/livechat/UpdateDateTextAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateDateTextAction.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/UpdateDateTextAction.ts:10](https://git > **date\_text**: `string` -Defined in: [src/parser/classes/livechat/UpdateDateTextAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateDateTextAction.ts#L8) +Defined in: [src/parser/classes/livechat/UpdateDateTextAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateDateTextAction.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/UpdateDateTextAction.ts:8](https://gith > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'UpdateDateTextAction'` -Defined in: [src/parser/classes/livechat/UpdateDateTextAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateDateTextAction.ts#L6) +Defined in: [src/parser/classes/livechat/UpdateDateTextAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateDateTextAction.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/UpdateDateTextAction.ts:6](https://gith > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is UpdateDateTextAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateDescriptionAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateDescriptionAction.md index 8f784703..f614ad08 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateDescriptionAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateDescriptionAction.md @@ -2,7 +2,7 @@ # Class: UpdateDescriptionAction -Defined in: [src/parser/classes/livechat/UpdateDescriptionAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateDescriptionAction.ts#L5) +Defined in: [src/parser/classes/livechat/UpdateDescriptionAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateDescriptionAction.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/UpdateDescriptionAction.ts:5](https://g > **new UpdateDescriptionAction**(`data`): `UpdateDescriptionAction` -Defined in: [src/parser/classes/livechat/UpdateDescriptionAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateDescriptionAction.ts#L10) +Defined in: [src/parser/classes/livechat/UpdateDescriptionAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateDescriptionAction.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/UpdateDescriptionAction.ts:10](https:// > **description**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/UpdateDescriptionAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateDescriptionAction.ts#L8) +Defined in: [src/parser/classes/livechat/UpdateDescriptionAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateDescriptionAction.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/UpdateDescriptionAction.ts:8](https://g > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'UpdateDescriptionAction'` -Defined in: [src/parser/classes/livechat/UpdateDescriptionAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateDescriptionAction.ts#L6) +Defined in: [src/parser/classes/livechat/UpdateDescriptionAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateDescriptionAction.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/UpdateDescriptionAction.ts:6](https://g > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is UpdateDescriptionAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateEngagementPanelAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateEngagementPanelAction.md index 5e79b7df..f3648479 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateEngagementPanelAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateEngagementPanelAction.md @@ -2,7 +2,7 @@ # Class: UpdateEngagementPanelAction -Defined in: [src/parser/classes/actions/UpdateEngagementPanelAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/UpdateEngagementPanelAction.ts#L6) +Defined in: [src/parser/classes/actions/UpdateEngagementPanelAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/UpdateEngagementPanelAction.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/actions/UpdateEngagementPanelAction.ts:6](https: > **new UpdateEngagementPanelAction**(`data`): `UpdateEngagementPanelAction` -Defined in: [src/parser/classes/actions/UpdateEngagementPanelAction.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/UpdateEngagementPanelAction.ts#L12) +Defined in: [src/parser/classes/actions/UpdateEngagementPanelAction.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/UpdateEngagementPanelAction.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/actions/UpdateEngagementPanelAction.ts:12](https > **content**: [`Transcript`](Transcript.md) \| `null` -Defined in: [src/parser/classes/actions/UpdateEngagementPanelAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/UpdateEngagementPanelAction.ts#L10) +Defined in: [src/parser/classes/actions/UpdateEngagementPanelAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/UpdateEngagementPanelAction.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/actions/UpdateEngagementPanelAction.ts:10](https > **target\_id**: `string` -Defined in: [src/parser/classes/actions/UpdateEngagementPanelAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/UpdateEngagementPanelAction.ts#L9) +Defined in: [src/parser/classes/actions/UpdateEngagementPanelAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/UpdateEngagementPanelAction.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/actions/UpdateEngagementPanelAction.ts:9](https: > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'UpdateEngagementPanelAction'` -Defined in: [src/parser/classes/actions/UpdateEngagementPanelAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/UpdateEngagementPanelAction.ts#L7) +Defined in: [src/parser/classes/actions/UpdateEngagementPanelAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/UpdateEngagementPanelAction.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/actions/UpdateEngagementPanelAction.ts:7](https: > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is UpdateEngagementPanelAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateEngagementPanelContentCommand.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateEngagementPanelContentCommand.md index 9c41ff04..17f9ac11 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateEngagementPanelContentCommand.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateEngagementPanelContentCommand.md @@ -2,7 +2,7 @@ # Class: UpdateEngagementPanelContentCommand -Defined in: [src/parser/classes/commands/UpdateEngagementPanelContentCommand.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/UpdateEngagementPanelContentCommand.ts#L9) +Defined in: [src/parser/classes/commands/UpdateEngagementPanelContentCommand.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/UpdateEngagementPanelContentCommand.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/commands/UpdateEngagementPanelContentCommand.ts: > **new UpdateEngagementPanelContentCommand**(`data`): `UpdateEngagementPanelContentCommand` -Defined in: [src/parser/classes/commands/UpdateEngagementPanelContentCommand.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/UpdateEngagementPanelContentCommand.ts#L15) +Defined in: [src/parser/classes/commands/UpdateEngagementPanelContentCommand.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/UpdateEngagementPanelContentCommand.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/commands/UpdateEngagementPanelContentCommand.ts: > `optional` **content\_source\_panel\_identifier**: `Identifier` -Defined in: [src/parser/classes/commands/UpdateEngagementPanelContentCommand.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/UpdateEngagementPanelContentCommand.ts#L12) +Defined in: [src/parser/classes/commands/UpdateEngagementPanelContentCommand.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/UpdateEngagementPanelContentCommand.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/commands/UpdateEngagementPanelContentCommand.ts: > `optional` **target\_panel\_identifier**: `Identifier` -Defined in: [src/parser/classes/commands/UpdateEngagementPanelContentCommand.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/UpdateEngagementPanelContentCommand.ts#L13) +Defined in: [src/parser/classes/commands/UpdateEngagementPanelContentCommand.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/UpdateEngagementPanelContentCommand.ts#L13) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/commands/UpdateEngagementPanelContentCommand.ts: > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'UpdateEngagementPanelContentCommand'` -Defined in: [src/parser/classes/commands/UpdateEngagementPanelContentCommand.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/commands/UpdateEngagementPanelContentCommand.ts#L10) +Defined in: [src/parser/classes/commands/UpdateEngagementPanelContentCommand.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/commands/UpdateEngagementPanelContentCommand.ts#L10) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/commands/UpdateEngagementPanelContentCommand.ts: > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is UpdateEngagementPanelContentCommand & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateLiveChatPollAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateLiveChatPollAction.md index 11e3931e..9d0c5f4c 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateLiveChatPollAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateLiveChatPollAction.md @@ -2,7 +2,7 @@ # Class: UpdateLiveChatPollAction -Defined in: [src/parser/classes/livechat/UpdateLiveChatPollAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateLiveChatPollAction.ts#L5) +Defined in: [src/parser/classes/livechat/UpdateLiveChatPollAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateLiveChatPollAction.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/UpdateLiveChatPollAction.ts:5](https:// > **new UpdateLiveChatPollAction**(`data`): `UpdateLiveChatPollAction` -Defined in: [src/parser/classes/livechat/UpdateLiveChatPollAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateLiveChatPollAction.ts#L10) +Defined in: [src/parser/classes/livechat/UpdateLiveChatPollAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateLiveChatPollAction.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/UpdateLiveChatPollAction.ts:10](https:/ > **poll\_to\_update**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/livechat/UpdateLiveChatPollAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateLiveChatPollAction.ts#L8) +Defined in: [src/parser/classes/livechat/UpdateLiveChatPollAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateLiveChatPollAction.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/UpdateLiveChatPollAction.ts:8](https:// > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'UpdateLiveChatPollAction'` -Defined in: [src/parser/classes/livechat/UpdateLiveChatPollAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateLiveChatPollAction.ts#L6) +Defined in: [src/parser/classes/livechat/UpdateLiveChatPollAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateLiveChatPollAction.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/UpdateLiveChatPollAction.ts:6](https:// > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is UpdateLiveChatPollAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateSubscribeButtonAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateSubscribeButtonAction.md index 63d86e81..e307d755 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateSubscribeButtonAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateSubscribeButtonAction.md @@ -2,7 +2,7 @@ # Class: UpdateSubscribeButtonAction -Defined in: [src/parser/classes/actions/UpdateSubscribeButtonAction.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/UpdateSubscribeButtonAction.ts#L4) +Defined in: [src/parser/classes/actions/UpdateSubscribeButtonAction.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/UpdateSubscribeButtonAction.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/actions/UpdateSubscribeButtonAction.ts:4](https: > **new UpdateSubscribeButtonAction**(`data`): `UpdateSubscribeButtonAction` -Defined in: [src/parser/classes/actions/UpdateSubscribeButtonAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/UpdateSubscribeButtonAction.ts#L10) +Defined in: [src/parser/classes/actions/UpdateSubscribeButtonAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/UpdateSubscribeButtonAction.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/actions/UpdateSubscribeButtonAction.ts:10](https > **channel\_id**: `string` -Defined in: [src/parser/classes/actions/UpdateSubscribeButtonAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/UpdateSubscribeButtonAction.ts#L7) +Defined in: [src/parser/classes/actions/UpdateSubscribeButtonAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/UpdateSubscribeButtonAction.ts#L7) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/actions/UpdateSubscribeButtonAction.ts:7](https: > **subscribed**: `boolean` -Defined in: [src/parser/classes/actions/UpdateSubscribeButtonAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/UpdateSubscribeButtonAction.ts#L8) +Defined in: [src/parser/classes/actions/UpdateSubscribeButtonAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/UpdateSubscribeButtonAction.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/actions/UpdateSubscribeButtonAction.ts:8](https: > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'UpdateSubscribeButtonAction'` -Defined in: [src/parser/classes/actions/UpdateSubscribeButtonAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/actions/UpdateSubscribeButtonAction.ts#L5) +Defined in: [src/parser/classes/actions/UpdateSubscribeButtonAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/actions/UpdateSubscribeButtonAction.ts#L5) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/actions/UpdateSubscribeButtonAction.ts:5](https: > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is UpdateSubscribeButtonAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateTitleAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateTitleAction.md index 82164bf5..57de7aa9 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateTitleAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateTitleAction.md @@ -2,7 +2,7 @@ # Class: UpdateTitleAction -Defined in: [src/parser/classes/livechat/UpdateTitleAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateTitleAction.ts#L5) +Defined in: [src/parser/classes/livechat/UpdateTitleAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateTitleAction.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/UpdateTitleAction.ts:5](https://github. > **new UpdateTitleAction**(`data`): `UpdateTitleAction` -Defined in: [src/parser/classes/livechat/UpdateTitleAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateTitleAction.ts#L10) +Defined in: [src/parser/classes/livechat/UpdateTitleAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateTitleAction.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/UpdateTitleAction.ts:10](https://github > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/livechat/UpdateTitleAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateTitleAction.ts#L8) +Defined in: [src/parser/classes/livechat/UpdateTitleAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateTitleAction.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/UpdateTitleAction.ts:8](https://github. > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'UpdateTitleAction'` -Defined in: [src/parser/classes/livechat/UpdateTitleAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateTitleAction.ts#L6) +Defined in: [src/parser/classes/livechat/UpdateTitleAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateTitleAction.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/livechat/UpdateTitleAction.ts:6](https://github. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is UpdateTitleAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateToggleButtonTextAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateToggleButtonTextAction.md index cd87bd9e..8a5a13c6 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateToggleButtonTextAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateToggleButtonTextAction.md @@ -2,7 +2,7 @@ # Class: UpdateToggleButtonTextAction -Defined in: [src/parser/classes/livechat/UpdateToggleButtonTextAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateToggleButtonTextAction.ts#L5) +Defined in: [src/parser/classes/livechat/UpdateToggleButtonTextAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateToggleButtonTextAction.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/UpdateToggleButtonTextAction.ts:5](http > **new UpdateToggleButtonTextAction**(`data`): `UpdateToggleButtonTextAction` -Defined in: [src/parser/classes/livechat/UpdateToggleButtonTextAction.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateToggleButtonTextAction.ts#L12) +Defined in: [src/parser/classes/livechat/UpdateToggleButtonTextAction.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateToggleButtonTextAction.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/livechat/UpdateToggleButtonTextAction.ts:12](htt > **button\_id**: `string` -Defined in: [src/parser/classes/livechat/UpdateToggleButtonTextAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateToggleButtonTextAction.ts#L10) +Defined in: [src/parser/classes/livechat/UpdateToggleButtonTextAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateToggleButtonTextAction.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/livechat/UpdateToggleButtonTextAction.ts:10](htt > **default\_text**: `string` -Defined in: [src/parser/classes/livechat/UpdateToggleButtonTextAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateToggleButtonTextAction.ts#L8) +Defined in: [src/parser/classes/livechat/UpdateToggleButtonTextAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateToggleButtonTextAction.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/livechat/UpdateToggleButtonTextAction.ts:8](http > **toggled\_text**: `string` -Defined in: [src/parser/classes/livechat/UpdateToggleButtonTextAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateToggleButtonTextAction.ts#L9) +Defined in: [src/parser/classes/livechat/UpdateToggleButtonTextAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateToggleButtonTextAction.ts#L9) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/livechat/UpdateToggleButtonTextAction.ts:9](http > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'UpdateToggleButtonTextAction'` -Defined in: [src/parser/classes/livechat/UpdateToggleButtonTextAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateToggleButtonTextAction.ts#L6) +Defined in: [src/parser/classes/livechat/UpdateToggleButtonTextAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateToggleButtonTextAction.ts#L6) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/livechat/UpdateToggleButtonTextAction.ts:6](http > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is UpdateToggleButtonTextAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateViewershipAction.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateViewershipAction.md index 092dd81d..ab205aa7 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateViewershipAction.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/UpdateViewershipAction.md @@ -2,7 +2,7 @@ # Class: UpdateViewershipAction -Defined in: [src/parser/classes/livechat/UpdateViewershipAction.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateViewershipAction.ts#L5) +Defined in: [src/parser/classes/livechat/UpdateViewershipAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateViewershipAction.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/livechat/UpdateViewershipAction.ts:5](https://gi > **new UpdateViewershipAction**(`data`): `UpdateViewershipAction` -Defined in: [src/parser/classes/livechat/UpdateViewershipAction.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateViewershipAction.ts#L14) +Defined in: [src/parser/classes/livechat/UpdateViewershipAction.ts:53](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateViewershipAction.ts#L53) #### Parameters @@ -32,35 +32,11 @@ Defined in: [src/parser/classes/livechat/UpdateViewershipAction.ts:14](https://g ## Properties -### extra\_short\_view\_count - -> **extra\_short\_view\_count**: [`Text`](../../Misc/classes/Text.md) - -Defined in: [src/parser/classes/livechat/UpdateViewershipAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateViewershipAction.ts#L9) - -*** - -### is\_live - -> **is\_live**: `boolean` - -Defined in: [src/parser/classes/livechat/UpdateViewershipAction.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateViewershipAction.ts#L12) - -*** - -### original\_view\_count - -> **original\_view\_count**: `number` - -Defined in: [src/parser/classes/livechat/UpdateViewershipAction.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateViewershipAction.ts#L10) - -*** - ### type > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -68,19 +44,11 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ *** -### unlabeled\_view\_count\_value +### view\_count\_node -> **unlabeled\_view\_count\_value**: [`Text`](../../Misc/classes/Text.md) +> **view\_count\_node**: [`VideoViewCount`](VideoViewCount.md) \| `null` -Defined in: [src/parser/classes/livechat/UpdateViewershipAction.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateViewershipAction.ts#L11) - -*** - -### view\_count - -> **view\_count**: [`Text`](../../Misc/classes/Text.md) - -Defined in: [src/parser/classes/livechat/UpdateViewershipAction.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateViewershipAction.ts#L8) +Defined in: [src/parser/classes/livechat/UpdateViewershipAction.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateViewershipAction.ts#L9) *** @@ -88,19 +56,127 @@ Defined in: [src/parser/classes/livechat/UpdateViewershipAction.ts:8](https://gi > `static` **type**: `string` = `'UpdateViewershipAction'` -Defined in: [src/parser/classes/livechat/UpdateViewershipAction.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/livechat/UpdateViewershipAction.ts#L6) +Defined in: [src/parser/classes/livechat/UpdateViewershipAction.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateViewershipAction.ts#L7) #### Overrides [`YTNode`](../../Helpers/classes/YTNode.md).[`type`](../../Helpers/classes/YTNode.md#type-1) +## Accessors + +### extra\_short\_view\_count + +#### Get Signature + +> **get** **extra\_short\_view\_count**(): [`Text`](../../Misc/classes/Text.md) \| `undefined` + +Defined in: [src/parser/classes/livechat/UpdateViewershipAction.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateViewershipAction.ts#L21) + +##### Deprecated + +Use `view_count_node.extra_short_view_count` instead. + +##### Returns + +[`Text`](../../Misc/classes/Text.md) \| `undefined` + +*** + +### is\_live + +#### Get Signature + +> **get** **is\_live**(): `boolean` \| `undefined` + +Defined in: [src/parser/classes/livechat/UpdateViewershipAction.ts:49](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateViewershipAction.ts#L49) + +##### Deprecated + +Use `view_count_node.is_live` instead. + +##### Returns + +`boolean` \| `undefined` + +*** + +### original\_view\_count + +#### Get Signature + +> **get** **original\_view\_count**(): `number` \| `undefined` + +Defined in: [src/parser/classes/livechat/UpdateViewershipAction.ts:35](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateViewershipAction.ts#L35) + +##### Deprecated + +Use `view_count_node.original_view_count` instead. + +##### Returns + +`number` \| `undefined` + +*** + +### short\_view\_count + +#### Get Signature + +> **get** **short\_view\_count**(): [`Text`](../../Misc/classes/Text.md) \| `undefined` + +Defined in: [src/parser/classes/livechat/UpdateViewershipAction.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateViewershipAction.ts#L28) + +##### Deprecated + +Use `view_count_node.short_view_count` instead. + +##### Returns + +[`Text`](../../Misc/classes/Text.md) \| `undefined` + +*** + +### unlabeled\_view\_count\_value + +#### Get Signature + +> **get** **unlabeled\_view\_count\_value**(): [`Text`](../../Misc/classes/Text.md) \| `undefined` + +Defined in: [src/parser/classes/livechat/UpdateViewershipAction.ts:42](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateViewershipAction.ts#L42) + +##### Deprecated + +Use `view_count_node.unlabeled_view_count_value` instead. + +##### Returns + +[`Text`](../../Misc/classes/Text.md) \| `undefined` + +*** + +### view\_count + +#### Get Signature + +> **get** **view\_count**(): [`Text`](../../Misc/classes/Text.md) \| `undefined` + +Defined in: [src/parser/classes/livechat/UpdateViewershipAction.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/livechat/UpdateViewershipAction.ts#L14) + +##### Deprecated + +Use `view_count_node.view_count` instead. + +##### Returns + +[`Text`](../../Misc/classes/Text.md) \| `undefined` + ## Methods ### as() > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +218,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is UpdateViewershipAction & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +256,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +294,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/UploadTimeFactoid.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/UploadTimeFactoid.md index 5c41f3d2..361e788a 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/UploadTimeFactoid.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/UploadTimeFactoid.md @@ -2,7 +2,7 @@ # Class: UploadTimeFactoid -Defined in: [src/parser/classes/UploadTimeFactoid.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UploadTimeFactoid.ts#L6) +Defined in: [src/parser/classes/UploadTimeFactoid.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UploadTimeFactoid.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/UploadTimeFactoid.ts:6](https://github.com/LuanR > **new UploadTimeFactoid**(`data`): `UploadTimeFactoid` -Defined in: [src/parser/classes/UploadTimeFactoid.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UploadTimeFactoid.ts#L11) +Defined in: [src/parser/classes/UploadTimeFactoid.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UploadTimeFactoid.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/UploadTimeFactoid.ts:11](https://github.com/Luan > **factoid**: [`Factoid`](Factoid.md) \| `null` -Defined in: [src/parser/classes/UploadTimeFactoid.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UploadTimeFactoid.ts#L9) +Defined in: [src/parser/classes/UploadTimeFactoid.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UploadTimeFactoid.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/UploadTimeFactoid.ts:9](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'UploadTimeFactoid'` -Defined in: [src/parser/classes/UploadTimeFactoid.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UploadTimeFactoid.ts#L7) +Defined in: [src/parser/classes/UploadTimeFactoid.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UploadTimeFactoid.ts#L7) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/UploadTimeFactoid.ts:7](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is UploadTimeFactoid & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/UpsellDialog.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/UpsellDialog.md index dd0bc062..a45b48d5 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/UpsellDialog.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/UpsellDialog.md @@ -2,7 +2,7 @@ # Class: UpsellDialog -Defined in: [src/parser/classes/UpsellDialog.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UpsellDialog.ts#L6) +Defined in: [src/parser/classes/UpsellDialog.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UpsellDialog.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/UpsellDialog.ts:6](https://github.com/LuanRT/You > **new UpsellDialog**(`data`): `UpsellDialog` -Defined in: [src/parser/classes/UpsellDialog.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UpsellDialog.ts#L15) +Defined in: [src/parser/classes/UpsellDialog.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UpsellDialog.ts#L15) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/UpsellDialog.ts:15](https://github.com/LuanRT/Yo > **action\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/UpsellDialog.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UpsellDialog.ts#L11) +Defined in: [src/parser/classes/UpsellDialog.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UpsellDialog.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/UpsellDialog.ts:11](https://github.com/LuanRT/Yo > **dismiss\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/UpsellDialog.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UpsellDialog.ts#L12) +Defined in: [src/parser/classes/UpsellDialog.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UpsellDialog.ts#L12) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/UpsellDialog.ts:12](https://github.com/LuanRT/Yo > **is\_visible**: `boolean` -Defined in: [src/parser/classes/UpsellDialog.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UpsellDialog.ts#L13) +Defined in: [src/parser/classes/UpsellDialog.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UpsellDialog.ts#L13) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/UpsellDialog.ts:13](https://github.com/LuanRT/Yo > **message\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/UpsellDialog.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UpsellDialog.ts#L10) +Defined in: [src/parser/classes/UpsellDialog.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UpsellDialog.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/UpsellDialog.ts:10](https://github.com/LuanRT/Yo > **message\_title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/UpsellDialog.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UpsellDialog.ts#L9) +Defined in: [src/parser/classes/UpsellDialog.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UpsellDialog.ts#L9) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/UpsellDialog.ts:9](https://github.com/LuanRT/You > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'UpsellDialog'` -Defined in: [src/parser/classes/UpsellDialog.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/UpsellDialog.ts#L7) +Defined in: [src/parser/classes/UpsellDialog.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/UpsellDialog.ts#L7) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/UpsellDialog.ts:7](https://github.com/LuanRT/You > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is UpsellDialog & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/VerticalList.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/VerticalList.md index 221d6d36..2c7b842f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/VerticalList.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/VerticalList.md @@ -2,7 +2,7 @@ # Class: VerticalList -Defined in: [src/parser/classes/VerticalList.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VerticalList.ts#L5) +Defined in: [src/parser/classes/VerticalList.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VerticalList.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/VerticalList.ts:5](https://github.com/LuanRT/You > **new VerticalList**(`data`): `VerticalList` -Defined in: [src/parser/classes/VerticalList.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VerticalList.ts#L12) +Defined in: [src/parser/classes/VerticalList.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VerticalList.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/VerticalList.ts:12](https://github.com/LuanRT/Yo > **collapsed\_item\_count**: `string` -Defined in: [src/parser/classes/VerticalList.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VerticalList.ts#L9) +Defined in: [src/parser/classes/VerticalList.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VerticalList.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/VerticalList.ts:9](https://github.com/LuanRT/You > **collapsed\_state\_button\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VerticalList.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VerticalList.ts#L10) +Defined in: [src/parser/classes/VerticalList.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VerticalList.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/VerticalList.ts:10](https://github.com/LuanRT/Yo > **items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/VerticalList.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VerticalList.ts#L8) +Defined in: [src/parser/classes/VerticalList.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VerticalList.ts#L8) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/VerticalList.ts:8](https://github.com/LuanRT/You > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'VerticalList'` -Defined in: [src/parser/classes/VerticalList.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VerticalList.ts#L6) +Defined in: [src/parser/classes/VerticalList.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VerticalList.ts#L6) #### Overrides @@ -86,7 +86,7 @@ Defined in: [src/parser/classes/VerticalList.ts:6](https://github.com/LuanRT/You > **get** **contents**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/VerticalList.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VerticalList.ts#L20) +Defined in: [src/parser/classes/VerticalList.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VerticalList.ts#L20) ##### Returns @@ -98,7 +98,7 @@ Defined in: [src/parser/classes/VerticalList.ts:20](https://github.com/LuanRT/Yo > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -140,7 +140,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is VerticalList & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -178,7 +178,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -216,7 +216,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/VerticalWatchCardList.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/VerticalWatchCardList.md index 1dc35fff..e1ac8a47 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/VerticalWatchCardList.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/VerticalWatchCardList.md @@ -2,7 +2,7 @@ # Class: VerticalWatchCardList -Defined in: [src/parser/classes/VerticalWatchCardList.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VerticalWatchCardList.ts#L6) +Defined in: [src/parser/classes/VerticalWatchCardList.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VerticalWatchCardList.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/VerticalWatchCardList.ts:6](https://github.com/L > **new VerticalWatchCardList**(`data`): `VerticalWatchCardList` -Defined in: [src/parser/classes/VerticalWatchCardList.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VerticalWatchCardList.ts#L13) +Defined in: [src/parser/classes/VerticalWatchCardList.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VerticalWatchCardList.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/VerticalWatchCardList.ts:13](https://github.com/ > **items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/VerticalWatchCardList.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VerticalWatchCardList.ts#L9) +Defined in: [src/parser/classes/VerticalWatchCardList.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VerticalWatchCardList.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/VerticalWatchCardList.ts:9](https://github.com/L > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **view\_all\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/VerticalWatchCardList.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VerticalWatchCardList.ts#L11) +Defined in: [src/parser/classes/VerticalWatchCardList.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VerticalWatchCardList.ts#L11) *** @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/VerticalWatchCardList.ts:11](https://github.com/ > **view\_all\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VerticalWatchCardList.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VerticalWatchCardList.ts#L10) +Defined in: [src/parser/classes/VerticalWatchCardList.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VerticalWatchCardList.ts#L10) *** @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/VerticalWatchCardList.ts:10](https://github.com/ > `static` **type**: `string` = `'VerticalWatchCardList'` -Defined in: [src/parser/classes/VerticalWatchCardList.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VerticalWatchCardList.ts#L7) +Defined in: [src/parser/classes/VerticalWatchCardList.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VerticalWatchCardList.ts#L7) #### Overrides @@ -86,7 +86,7 @@ Defined in: [src/parser/classes/VerticalWatchCardList.ts:7](https://github.com/L > **get** **contents**(): [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/VerticalWatchCardList.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VerticalWatchCardList.ts#L21) +Defined in: [src/parser/classes/VerticalWatchCardList.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VerticalWatchCardList.ts#L21) ##### Returns @@ -98,7 +98,7 @@ Defined in: [src/parser/classes/VerticalWatchCardList.ts:21](https://github.com/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -140,7 +140,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is VerticalWatchCardList & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -178,7 +178,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -216,7 +216,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/Video.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/Video.md index b431ae11..f7db06e1 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/Video.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/Video.md @@ -2,7 +2,7 @@ # Class: Video -Defined in: [src/parser/classes/Video.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L13) +Defined in: [src/parser/classes/Video.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L13) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/parser/classes/Video.ts:13](https://github.com/LuanRT/YouTube.j > **new Video**(`data`): `Video` -Defined in: [src/parser/classes/Video.ts:43](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L43) +Defined in: [src/parser/classes/Video.ts:43](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L43) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/Video.ts:43](https://github.com/LuanRT/YouTube.j > `optional` **additional\_metadatas**: [`Text`](../../Misc/classes/Text.md)[] -Defined in: [src/parser/classes/Video.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L22) +Defined in: [src/parser/classes/Video.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L22) *** @@ -48,7 +48,7 @@ Defined in: [src/parser/classes/Video.ts:22](https://github.com/LuanRT/YouTube.j > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/Video.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L26) +Defined in: [src/parser/classes/Video.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L26) *** @@ -56,7 +56,7 @@ Defined in: [src/parser/classes/Video.ts:26](https://github.com/LuanRT/YouTube.j > **badges**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MetadataBadge`](MetadataBadge.md)\> -Defined in: [src/parser/classes/Video.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L27) +Defined in: [src/parser/classes/Video.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L27) *** @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/Video.ts:27](https://github.com/LuanRT/YouTube.j > `optional` **byline\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Video.ts:37](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L37) +Defined in: [src/parser/classes/Video.ts:37](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L37) *** @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/Video.ts:37](https://github.com/LuanRT/YouTube.j > `optional` **description\_snippet**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Video.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L19) +Defined in: [src/parser/classes/Video.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L19) *** @@ -80,7 +80,7 @@ Defined in: [src/parser/classes/Video.ts:19](https://github.com/LuanRT/YouTube.j > `optional` **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/Video.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L28) +Defined in: [src/parser/classes/Video.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L28) *** @@ -88,7 +88,7 @@ Defined in: [src/parser/classes/Video.ts:28](https://github.com/LuanRT/YouTube.j > **expandable\_metadata**: [`ExpandableMetadata`](ExpandableMetadata.md) \| `null` -Defined in: [src/parser/classes/Video.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L21) +Defined in: [src/parser/classes/Video.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L21) *** @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/Video.ts:21](https://github.com/LuanRT/YouTube.j > **is\_watched**: `boolean` -Defined in: [src/parser/classes/Video.ts:35](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L35) +Defined in: [src/parser/classes/Video.ts:35](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L35) *** @@ -104,7 +104,7 @@ Defined in: [src/parser/classes/Video.ts:35](https://github.com/LuanRT/YouTube.j > `optional` **length\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Video.ts:33](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L33) +Defined in: [src/parser/classes/Video.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L33) *** @@ -112,7 +112,7 @@ Defined in: [src/parser/classes/Video.ts:33](https://github.com/LuanRT/YouTube.j > **menu**: [`Menu`](Menu.md) \| `null` -Defined in: [src/parser/classes/Video.ts:36](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L36) +Defined in: [src/parser/classes/Video.ts:36](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L36) *** @@ -120,7 +120,7 @@ Defined in: [src/parser/classes/Video.ts:36](https://github.com/LuanRT/YouTube.j > `optional` **published**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Video.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L29) +Defined in: [src/parser/classes/Video.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L29) *** @@ -128,7 +128,7 @@ Defined in: [src/parser/classes/Video.ts:29](https://github.com/LuanRT/YouTube.j > `optional` **rich\_thumbnail**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/Video.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L25) +Defined in: [src/parser/classes/Video.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L25) *** @@ -136,7 +136,7 @@ Defined in: [src/parser/classes/Video.ts:25](https://github.com/LuanRT/YouTube.j > `optional` **search\_video\_result\_entity\_key**: `string` -Defined in: [src/parser/classes/Video.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L38) +Defined in: [src/parser/classes/Video.ts:38](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L38) *** @@ -144,7 +144,7 @@ Defined in: [src/parser/classes/Video.ts:38](https://github.com/LuanRT/YouTube.j > `optional` **service\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/Video.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L40) +Defined in: [src/parser/classes/Video.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L40) *** @@ -152,7 +152,7 @@ Defined in: [src/parser/classes/Video.ts:40](https://github.com/LuanRT/YouTube.j > `optional` **service\_endpoints**: [`NavigationEndpoint`](NavigationEndpoint.md)[] -Defined in: [src/parser/classes/Video.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L39) +Defined in: [src/parser/classes/Video.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L39) *** @@ -160,7 +160,7 @@ Defined in: [src/parser/classes/Video.ts:39](https://github.com/LuanRT/YouTube.j > `optional` **short\_view\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Video.ts:31](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L31) +Defined in: [src/parser/classes/Video.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L31) *** @@ -168,7 +168,7 @@ Defined in: [src/parser/classes/Video.ts:31](https://github.com/LuanRT/YouTube.j > **show\_action\_menu**: `boolean` -Defined in: [src/parser/classes/Video.ts:34](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L34) +Defined in: [src/parser/classes/Video.ts:34](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L34) *** @@ -176,7 +176,7 @@ Defined in: [src/parser/classes/Video.ts:34](https://github.com/LuanRT/YouTube.j > `optional` **snippets**: `object`[] -Defined in: [src/parser/classes/Video.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L20) +Defined in: [src/parser/classes/Video.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L20) #### hover\_text @@ -192,7 +192,7 @@ Defined in: [src/parser/classes/Video.ts:20](https://github.com/LuanRT/YouTube.j > `optional` **style**: `"VIDEO_STYLE_TYPE_UNKNOWN"` \| `"VIDEO_STYLE_TYPE_NORMAL"` \| `"VIDEO_STYLE_TYPE_POST"` \| `"VIDEO_STYLE_TYPE_SUB"` \| `"VIDEO_STYLE_TYPE_LIVE_POST"` \| `"VIDEO_STYLE_TYPE_FULL_BLEED_ISOLATED"` \| `"VIDEO_STYLE_TYPE_WITH_EXPANDED_METADATA"` -Defined in: [src/parser/classes/Video.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L41) +Defined in: [src/parser/classes/Video.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L41) *** @@ -200,7 +200,7 @@ Defined in: [src/parser/classes/Video.ts:41](https://github.com/LuanRT/YouTube.j > **thumbnail\_overlays**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/Video.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L24) +Defined in: [src/parser/classes/Video.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L24) *** @@ -208,7 +208,7 @@ Defined in: [src/parser/classes/Video.ts:24](https://github.com/LuanRT/YouTube.j > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/Video.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L23) +Defined in: [src/parser/classes/Video.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L23) *** @@ -216,7 +216,7 @@ Defined in: [src/parser/classes/Video.ts:23](https://github.com/LuanRT/YouTube.j > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Video.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L17) +Defined in: [src/parser/classes/Video.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L17) *** @@ -224,7 +224,7 @@ Defined in: [src/parser/classes/Video.ts:17](https://github.com/LuanRT/YouTube.j > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -236,7 +236,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **untranslated\_title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Video.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L18) +Defined in: [src/parser/classes/Video.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L18) *** @@ -244,7 +244,7 @@ Defined in: [src/parser/classes/Video.ts:18](https://github.com/LuanRT/YouTube.j > `optional` **upcoming**: `Date` -Defined in: [src/parser/classes/Video.ts:32](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L32) +Defined in: [src/parser/classes/Video.ts:32](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L32) *** @@ -252,7 +252,7 @@ Defined in: [src/parser/classes/Video.ts:32](https://github.com/LuanRT/YouTube.j > **video\_id**: `string` -Defined in: [src/parser/classes/Video.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L16) +Defined in: [src/parser/classes/Video.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L16) *** @@ -260,7 +260,7 @@ Defined in: [src/parser/classes/Video.ts:16](https://github.com/LuanRT/YouTube.j > `optional` **view\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Video.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L30) +Defined in: [src/parser/classes/Video.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L30) *** @@ -268,7 +268,7 @@ Defined in: [src/parser/classes/Video.ts:30](https://github.com/LuanRT/YouTube.j > `static` **type**: `string` = `'Video'` -Defined in: [src/parser/classes/Video.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L14) +Defined in: [src/parser/classes/Video.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L14) #### Overrides @@ -282,7 +282,7 @@ Defined in: [src/parser/classes/Video.ts:14](https://github.com/LuanRT/YouTube.j > **get** **best\_thumbnail**(): [`Thumbnail`](../../Misc/classes/Thumbnail.md) \| `undefined` -Defined in: [src/parser/classes/Video.ts:148](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L148) +Defined in: [src/parser/classes/Video.ts:148](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L148) ##### Returns @@ -296,7 +296,7 @@ Defined in: [src/parser/classes/Video.ts:148](https://github.com/LuanRT/YouTube. > **get** **description**(): `string` -Defined in: [src/parser/classes/Video.ts:119](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L119) +Defined in: [src/parser/classes/Video.ts:119](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L119) ##### Returns @@ -310,7 +310,7 @@ Defined in: [src/parser/classes/Video.ts:119](https://github.com/LuanRT/YouTube. > **get** **duration**(): `object` -Defined in: [src/parser/classes/Video.ts:152](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L152) +Defined in: [src/parser/classes/Video.ts:152](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L152) ##### Returns @@ -332,7 +332,7 @@ Defined in: [src/parser/classes/Video.ts:152](https://github.com/LuanRT/YouTube. > **get** **has\_captions**(): `boolean` -Defined in: [src/parser/classes/Video.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L144) +Defined in: [src/parser/classes/Video.ts:144](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L144) ##### Returns @@ -346,7 +346,7 @@ Defined in: [src/parser/classes/Video.ts:144](https://github.com/LuanRT/YouTube. > **get** **id**(): `string` -Defined in: [src/parser/classes/Video.ts:115](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L115) +Defined in: [src/parser/classes/Video.ts:115](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L115) ##### Deprecated @@ -364,7 +364,7 @@ Use [`video_id`](#video_id) instead. > **get** **is\_4k**(): `boolean` -Defined in: [src/parser/classes/Video.ts:140](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L140) +Defined in: [src/parser/classes/Video.ts:140](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L140) ##### Returns @@ -378,7 +378,7 @@ Defined in: [src/parser/classes/Video.ts:140](https://github.com/LuanRT/YouTube. > **get** **is\_live**(): `boolean` -Defined in: [src/parser/classes/Video.ts:125](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L125) +Defined in: [src/parser/classes/Video.ts:125](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L125) ##### Returns @@ -392,7 +392,7 @@ Defined in: [src/parser/classes/Video.ts:125](https://github.com/LuanRT/YouTube. > **get** **is\_premiere**(): `boolean` -Defined in: [src/parser/classes/Video.ts:136](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L136) +Defined in: [src/parser/classes/Video.ts:136](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L136) ##### Returns @@ -406,7 +406,7 @@ Defined in: [src/parser/classes/Video.ts:136](https://github.com/LuanRT/YouTube. > **get** **is\_upcoming**(): `boolean` \| `undefined` -Defined in: [src/parser/classes/Video.ts:132](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L132) +Defined in: [src/parser/classes/Video.ts:132](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L132) ##### Returns @@ -418,7 +418,7 @@ Defined in: [src/parser/classes/Video.ts:132](https://github.com/LuanRT/YouTube. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -460,7 +460,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is Video & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -498,7 +498,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -536,7 +536,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoAttributeView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoAttributeView.md index 61d22e2b..62bd5f54 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoAttributeView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoAttributeView.md @@ -2,7 +2,7 @@ # Class: VideoAttributeView -Defined in: [src/parser/classes/VideoAttributeView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoAttributeView.ts#L10) +Defined in: [src/parser/classes/VideoAttributeView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoAttributeView.ts#L10) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/VideoAttributeView.ts:10](https://github.com/Lua > **new VideoAttributeView**(`data`): `VideoAttributeView` -Defined in: [src/parser/classes/VideoAttributeView.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoAttributeView.ts#L25) +Defined in: [src/parser/classes/VideoAttributeView.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoAttributeView.ts#L25) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/VideoAttributeView.ts:25](https://github.com/Lua > **image**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] \| [`ContentPreviewImageView`](ContentPreviewImageView.md) \| `null` -Defined in: [src/parser/classes/VideoAttributeView.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoAttributeView.ts#L13) +Defined in: [src/parser/classes/VideoAttributeView.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoAttributeView.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/VideoAttributeView.ts:13](https://github.com/Lua > **image\_style**: `string` -Defined in: [src/parser/classes/VideoAttributeView.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoAttributeView.ts#L14) +Defined in: [src/parser/classes/VideoAttributeView.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoAttributeView.ts#L14) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/VideoAttributeView.ts:14](https://github.com/Lua > **orientation**: `string` -Defined in: [src/parser/classes/VideoAttributeView.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoAttributeView.ts#L20) +Defined in: [src/parser/classes/VideoAttributeView.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoAttributeView.ts#L20) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/VideoAttributeView.ts:20](https://github.com/Lua > **overflow\_menu\_a11y\_label**: `string` -Defined in: [src/parser/classes/VideoAttributeView.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoAttributeView.ts#L23) +Defined in: [src/parser/classes/VideoAttributeView.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoAttributeView.ts#L23) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/VideoAttributeView.ts:23](https://github.com/Lua > **overflow\_menu\_on\_tap**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/VideoAttributeView.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoAttributeView.ts#L22) +Defined in: [src/parser/classes/VideoAttributeView.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoAttributeView.ts#L22) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/VideoAttributeView.ts:22](https://github.com/Lua > `optional` **secondary\_subtitle**: `object` -Defined in: [src/parser/classes/VideoAttributeView.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoAttributeView.ts#L17) +Defined in: [src/parser/classes/VideoAttributeView.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoAttributeView.ts#L17) #### content @@ -88,7 +88,7 @@ Defined in: [src/parser/classes/VideoAttributeView.ts:17](https://github.com/Lua > **sizing\_rule**: `string` -Defined in: [src/parser/classes/VideoAttributeView.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoAttributeView.ts#L21) +Defined in: [src/parser/classes/VideoAttributeView.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoAttributeView.ts#L21) *** @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/VideoAttributeView.ts:21](https://github.com/Lua > **subtitle**: `string` -Defined in: [src/parser/classes/VideoAttributeView.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoAttributeView.ts#L16) +Defined in: [src/parser/classes/VideoAttributeView.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoAttributeView.ts#L16) *** @@ -104,7 +104,7 @@ Defined in: [src/parser/classes/VideoAttributeView.ts:16](https://github.com/Lua > **title**: `string` -Defined in: [src/parser/classes/VideoAttributeView.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoAttributeView.ts#L15) +Defined in: [src/parser/classes/VideoAttributeView.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoAttributeView.ts#L15) *** @@ -112,7 +112,7 @@ Defined in: [src/parser/classes/VideoAttributeView.ts:15](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -124,7 +124,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'VideoAttributeView'` -Defined in: [src/parser/classes/VideoAttributeView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoAttributeView.ts#L11) +Defined in: [src/parser/classes/VideoAttributeView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoAttributeView.ts#L11) #### Overrides @@ -136,7 +136,7 @@ Defined in: [src/parser/classes/VideoAttributeView.ts:11](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -178,7 +178,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is VideoAttributeView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -216,7 +216,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -254,7 +254,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoAttributesSectionView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoAttributesSectionView.md index f6336f4f..15ca9c64 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoAttributesSectionView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoAttributesSectionView.md @@ -2,7 +2,7 @@ # Class: VideoAttributesSectionView -Defined in: [src/parser/classes/VideoAttributesSectionView.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoAttributesSectionView.ts#L7) +Defined in: [src/parser/classes/VideoAttributesSectionView.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoAttributesSectionView.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/VideoAttributesSectionView.ts:7](https://github. > **new VideoAttributesSectionView**(`data`): `VideoAttributesSectionView` -Defined in: [src/parser/classes/VideoAttributesSectionView.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoAttributesSectionView.ts#L16) +Defined in: [src/parser/classes/VideoAttributesSectionView.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoAttributesSectionView.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/VideoAttributesSectionView.ts:16](https://github > **header\_subtitle**: `string` -Defined in: [src/parser/classes/VideoAttributesSectionView.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoAttributesSectionView.ts#L11) +Defined in: [src/parser/classes/VideoAttributesSectionView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoAttributesSectionView.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/VideoAttributesSectionView.ts:11](https://github > **header\_title**: `string` -Defined in: [src/parser/classes/VideoAttributesSectionView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoAttributesSectionView.ts#L10) +Defined in: [src/parser/classes/VideoAttributesSectionView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoAttributesSectionView.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/VideoAttributesSectionView.ts:10](https://github > **next\_button**: [`ButtonView`](ButtonView.md) \| `null` -Defined in: [src/parser/classes/VideoAttributesSectionView.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoAttributesSectionView.ts#L14) +Defined in: [src/parser/classes/VideoAttributesSectionView.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoAttributesSectionView.ts#L14) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/VideoAttributesSectionView.ts:14](https://github > **previous\_button**: [`ButtonView`](ButtonView.md) \| `null` -Defined in: [src/parser/classes/VideoAttributesSectionView.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoAttributesSectionView.ts#L13) +Defined in: [src/parser/classes/VideoAttributesSectionView.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoAttributesSectionView.ts#L13) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/VideoAttributesSectionView.ts:13](https://github > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_attributes**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`VideoAttributeView`](VideoAttributeView.md)\> -Defined in: [src/parser/classes/VideoAttributesSectionView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoAttributesSectionView.ts#L12) +Defined in: [src/parser/classes/VideoAttributesSectionView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoAttributesSectionView.ts#L12) *** @@ -88,7 +88,7 @@ Defined in: [src/parser/classes/VideoAttributesSectionView.ts:12](https://github > `static` **type**: `string` = `'VideoAttributesSectionView'` -Defined in: [src/parser/classes/VideoAttributesSectionView.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoAttributesSectionView.ts#L8) +Defined in: [src/parser/classes/VideoAttributesSectionView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoAttributesSectionView.ts#L8) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/VideoAttributesSectionView.ts:8](https://github. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is VideoAttributesSectionView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoCard.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoCard.md index b1a8ca97..a6624506 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoCard.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoCard.md @@ -2,7 +2,7 @@ # Class: VideoCard -Defined in: [src/parser/classes/VideoCard.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoCard.ts#L6) +Defined in: [src/parser/classes/VideoCard.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoCard.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/VideoCard.ts:6](https://github.com/LuanRT/YouTub > **new VideoCard**(`data`): `VideoCard` -Defined in: [src/parser/classes/VideoCard.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoCard.ts#L11) +Defined in: [src/parser/classes/VideoCard.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoCard.ts#L11) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/VideoCard.ts:11](https://github.com/LuanRT/YouTu > `optional` **additional\_metadatas**: [`Text`](../../Misc/classes/Text.md)[] -Defined in: [src/parser/classes/Video.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L22) +Defined in: [src/parser/classes/Video.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L22) #### Inherited from @@ -48,7 +48,7 @@ Defined in: [src/parser/classes/Video.ts:22](https://github.com/LuanRT/YouTube.j > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/Video.ts:26](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L26) +Defined in: [src/parser/classes/Video.ts:26](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L26) #### Inherited from @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/Video.ts:26](https://github.com/LuanRT/YouTube.j > **badges**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MetadataBadge`](MetadataBadge.md)\> -Defined in: [src/parser/classes/Video.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L27) +Defined in: [src/parser/classes/Video.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L27) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/Video.ts:27](https://github.com/LuanRT/YouTube.j > `optional` **byline\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Video.ts:37](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L37) +Defined in: [src/parser/classes/Video.ts:37](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L37) #### Inherited from @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/Video.ts:37](https://github.com/LuanRT/YouTube.j > `optional` **description\_snippet**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Video.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L19) +Defined in: [src/parser/classes/Video.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L19) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/Video.ts:19](https://github.com/LuanRT/YouTube.j > `optional` **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/Video.ts:28](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L28) +Defined in: [src/parser/classes/Video.ts:28](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L28) #### Inherited from @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/Video.ts:28](https://github.com/LuanRT/YouTube.j > **expandable\_metadata**: [`ExpandableMetadata`](ExpandableMetadata.md) \| `null` -Defined in: [src/parser/classes/Video.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L21) +Defined in: [src/parser/classes/Video.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L21) #### Inherited from @@ -120,7 +120,7 @@ Defined in: [src/parser/classes/Video.ts:21](https://github.com/LuanRT/YouTube.j > **is\_watched**: `boolean` -Defined in: [src/parser/classes/Video.ts:35](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L35) +Defined in: [src/parser/classes/Video.ts:35](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L35) #### Inherited from @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/Video.ts:35](https://github.com/LuanRT/YouTube.j > `optional` **length\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Video.ts:33](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L33) +Defined in: [src/parser/classes/Video.ts:33](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L33) #### Inherited from @@ -144,7 +144,7 @@ Defined in: [src/parser/classes/Video.ts:33](https://github.com/LuanRT/YouTube.j > **menu**: [`Menu`](Menu.md) \| `null` -Defined in: [src/parser/classes/Video.ts:36](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L36) +Defined in: [src/parser/classes/Video.ts:36](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L36) #### Inherited from @@ -156,7 +156,7 @@ Defined in: [src/parser/classes/Video.ts:36](https://github.com/LuanRT/YouTube.j > `optional` **metadata\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoCard.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoCard.ts#L9) +Defined in: [src/parser/classes/VideoCard.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoCard.ts#L9) *** @@ -164,7 +164,7 @@ Defined in: [src/parser/classes/VideoCard.ts:9](https://github.com/LuanRT/YouTub > `optional` **published**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Video.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L29) +Defined in: [src/parser/classes/Video.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L29) #### Inherited from @@ -176,7 +176,7 @@ Defined in: [src/parser/classes/Video.ts:29](https://github.com/LuanRT/YouTube.j > `optional` **rich\_thumbnail**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/Video.ts:25](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L25) +Defined in: [src/parser/classes/Video.ts:25](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L25) #### Inherited from @@ -188,7 +188,7 @@ Defined in: [src/parser/classes/Video.ts:25](https://github.com/LuanRT/YouTube.j > `optional` **search\_video\_result\_entity\_key**: `string` -Defined in: [src/parser/classes/Video.ts:38](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L38) +Defined in: [src/parser/classes/Video.ts:38](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L38) #### Inherited from @@ -200,7 +200,7 @@ Defined in: [src/parser/classes/Video.ts:38](https://github.com/LuanRT/YouTube.j > `optional` **service\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/Video.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L40) +Defined in: [src/parser/classes/Video.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L40) #### Inherited from @@ -212,7 +212,7 @@ Defined in: [src/parser/classes/Video.ts:40](https://github.com/LuanRT/YouTube.j > `optional` **service\_endpoints**: [`NavigationEndpoint`](NavigationEndpoint.md)[] -Defined in: [src/parser/classes/Video.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L39) +Defined in: [src/parser/classes/Video.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L39) #### Inherited from @@ -224,7 +224,7 @@ Defined in: [src/parser/classes/Video.ts:39](https://github.com/LuanRT/YouTube.j > `optional` **short\_view\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Video.ts:31](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L31) +Defined in: [src/parser/classes/Video.ts:31](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L31) #### Inherited from @@ -236,7 +236,7 @@ Defined in: [src/parser/classes/Video.ts:31](https://github.com/LuanRT/YouTube.j > **show\_action\_menu**: `boolean` -Defined in: [src/parser/classes/Video.ts:34](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L34) +Defined in: [src/parser/classes/Video.ts:34](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L34) #### Inherited from @@ -248,7 +248,7 @@ Defined in: [src/parser/classes/Video.ts:34](https://github.com/LuanRT/YouTube.j > `optional` **snippets**: `object`[] -Defined in: [src/parser/classes/Video.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L20) +Defined in: [src/parser/classes/Video.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L20) #### hover\_text @@ -268,7 +268,7 @@ Defined in: [src/parser/classes/Video.ts:20](https://github.com/LuanRT/YouTube.j > `optional` **style**: `"VIDEO_STYLE_TYPE_UNKNOWN"` \| `"VIDEO_STYLE_TYPE_NORMAL"` \| `"VIDEO_STYLE_TYPE_POST"` \| `"VIDEO_STYLE_TYPE_SUB"` \| `"VIDEO_STYLE_TYPE_LIVE_POST"` \| `"VIDEO_STYLE_TYPE_FULL_BLEED_ISOLATED"` \| `"VIDEO_STYLE_TYPE_WITH_EXPANDED_METADATA"` -Defined in: [src/parser/classes/Video.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L41) +Defined in: [src/parser/classes/Video.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L41) #### Inherited from @@ -280,7 +280,7 @@ Defined in: [src/parser/classes/Video.ts:41](https://github.com/LuanRT/YouTube.j > **thumbnail\_overlays**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/Video.ts:24](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L24) +Defined in: [src/parser/classes/Video.ts:24](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L24) #### Inherited from @@ -292,7 +292,7 @@ Defined in: [src/parser/classes/Video.ts:24](https://github.com/LuanRT/YouTube.j > **thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/Video.ts:23](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L23) +Defined in: [src/parser/classes/Video.ts:23](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L23) #### Inherited from @@ -304,7 +304,7 @@ Defined in: [src/parser/classes/Video.ts:23](https://github.com/LuanRT/YouTube.j > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Video.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L17) +Defined in: [src/parser/classes/Video.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L17) #### Inherited from @@ -316,7 +316,7 @@ Defined in: [src/parser/classes/Video.ts:17](https://github.com/LuanRT/YouTube.j > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -328,7 +328,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `optional` **untranslated\_title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Video.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L18) +Defined in: [src/parser/classes/Video.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L18) #### Inherited from @@ -340,7 +340,7 @@ Defined in: [src/parser/classes/Video.ts:18](https://github.com/LuanRT/YouTube.j > `optional` **upcoming**: `Date` -Defined in: [src/parser/classes/Video.ts:32](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L32) +Defined in: [src/parser/classes/Video.ts:32](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L32) #### Inherited from @@ -352,7 +352,7 @@ Defined in: [src/parser/classes/Video.ts:32](https://github.com/LuanRT/YouTube.j > **video\_id**: `string` -Defined in: [src/parser/classes/Video.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L16) +Defined in: [src/parser/classes/Video.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L16) #### Inherited from @@ -364,7 +364,7 @@ Defined in: [src/parser/classes/Video.ts:16](https://github.com/LuanRT/YouTube.j > `optional` **view\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/Video.ts:30](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L30) +Defined in: [src/parser/classes/Video.ts:30](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L30) #### Inherited from @@ -376,7 +376,7 @@ Defined in: [src/parser/classes/Video.ts:30](https://github.com/LuanRT/YouTube.j > `static` **type**: `string` = `'VideoCard'` -Defined in: [src/parser/classes/VideoCard.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoCard.ts#L7) +Defined in: [src/parser/classes/VideoCard.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoCard.ts#L7) #### Overrides @@ -390,7 +390,7 @@ Defined in: [src/parser/classes/VideoCard.ts:7](https://github.com/LuanRT/YouTub > **get** **best\_thumbnail**(): [`Thumbnail`](../../Misc/classes/Thumbnail.md) \| `undefined` -Defined in: [src/parser/classes/Video.ts:148](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L148) +Defined in: [src/parser/classes/Video.ts:148](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L148) ##### Returns @@ -408,7 +408,7 @@ Defined in: [src/parser/classes/Video.ts:148](https://github.com/LuanRT/YouTube. > **get** **description**(): `string` -Defined in: [src/parser/classes/Video.ts:119](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L119) +Defined in: [src/parser/classes/Video.ts:119](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L119) ##### Returns @@ -426,7 +426,7 @@ Defined in: [src/parser/classes/Video.ts:119](https://github.com/LuanRT/YouTube. > **get** **duration**(): `object` -Defined in: [src/parser/classes/Video.ts:152](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L152) +Defined in: [src/parser/classes/Video.ts:152](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L152) ##### Returns @@ -452,7 +452,7 @@ Defined in: [src/parser/classes/Video.ts:152](https://github.com/LuanRT/YouTube. > **get** **has\_captions**(): `boolean` -Defined in: [src/parser/classes/Video.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L144) +Defined in: [src/parser/classes/Video.ts:144](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L144) ##### Returns @@ -470,7 +470,7 @@ Defined in: [src/parser/classes/Video.ts:144](https://github.com/LuanRT/YouTube. > **get** **id**(): `string` -Defined in: [src/parser/classes/Video.ts:115](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L115) +Defined in: [src/parser/classes/Video.ts:115](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L115) ##### Deprecated @@ -492,7 +492,7 @@ Use [`video_id`](Video.md#video_id) instead. > **get** **is\_4k**(): `boolean` -Defined in: [src/parser/classes/Video.ts:140](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L140) +Defined in: [src/parser/classes/Video.ts:140](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L140) ##### Returns @@ -510,7 +510,7 @@ Defined in: [src/parser/classes/Video.ts:140](https://github.com/LuanRT/YouTube. > **get** **is\_live**(): `boolean` -Defined in: [src/parser/classes/Video.ts:125](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L125) +Defined in: [src/parser/classes/Video.ts:125](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L125) ##### Returns @@ -528,7 +528,7 @@ Defined in: [src/parser/classes/Video.ts:125](https://github.com/LuanRT/YouTube. > **get** **is\_premiere**(): `boolean` -Defined in: [src/parser/classes/Video.ts:136](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L136) +Defined in: [src/parser/classes/Video.ts:136](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L136) ##### Returns @@ -546,7 +546,7 @@ Defined in: [src/parser/classes/Video.ts:136](https://github.com/LuanRT/YouTube. > **get** **is\_upcoming**(): `boolean` \| `undefined` -Defined in: [src/parser/classes/Video.ts:132](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/Video.ts#L132) +Defined in: [src/parser/classes/Video.ts:132](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/Video.ts#L132) ##### Returns @@ -562,7 +562,7 @@ Defined in: [src/parser/classes/Video.ts:132](https://github.com/LuanRT/YouTube. > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -604,7 +604,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is VideoCard & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -642,7 +642,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -680,7 +680,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoDescriptionCourseSection.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoDescriptionCourseSection.md index 348fd4fa..12b0bb8f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoDescriptionCourseSection.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoDescriptionCourseSection.md @@ -2,7 +2,7 @@ # Class: VideoDescriptionCourseSection -Defined in: [src/parser/classes/VideoDescriptionCourseSection.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionCourseSection.ts#L8) +Defined in: [src/parser/classes/VideoDescriptionCourseSection.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionCourseSection.ts#L8) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/VideoDescriptionCourseSection.ts:8](https://gith > **new VideoDescriptionCourseSection**(`data`): `VideoDescriptionCourseSection` -Defined in: [src/parser/classes/VideoDescriptionCourseSection.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionCourseSection.ts#L14) +Defined in: [src/parser/classes/VideoDescriptionCourseSection.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionCourseSection.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/VideoDescriptionCourseSection.ts:14](https://git > **media\_lockups**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`StructuredDescriptionPlaylistLockup`](StructuredDescriptionPlaylistLockup.md)\> -Defined in: [src/parser/classes/VideoDescriptionCourseSection.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionCourseSection.ts#L12) +Defined in: [src/parser/classes/VideoDescriptionCourseSection.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionCourseSection.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/VideoDescriptionCourseSection.ts:12](https://git > **section\_title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoDescriptionCourseSection.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionCourseSection.ts#L11) +Defined in: [src/parser/classes/VideoDescriptionCourseSection.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionCourseSection.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/VideoDescriptionCourseSection.ts:11](https://git > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'VideoDescriptionCourseSection'` -Defined in: [src/parser/classes/VideoDescriptionCourseSection.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionCourseSection.ts#L9) +Defined in: [src/parser/classes/VideoDescriptionCourseSection.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionCourseSection.ts#L9) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/VideoDescriptionCourseSection.ts:9](https://gith > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is VideoDescriptionCourseSection & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoDescriptionHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoDescriptionHeader.md index 220b279b..3a336e2f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoDescriptionHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoDescriptionHeader.md @@ -2,7 +2,7 @@ # Class: VideoDescriptionHeader -Defined in: [src/parser/classes/VideoDescriptionHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionHeader.ts#L10) +Defined in: [src/parser/classes/VideoDescriptionHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionHeader.ts#L10) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/VideoDescriptionHeader.ts:10](https://github.com > **new VideoDescriptionHeader**(`data`): `VideoDescriptionHeader` -Defined in: [src/parser/classes/VideoDescriptionHeader.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionHeader.ts#L21) +Defined in: [src/parser/classes/VideoDescriptionHeader.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionHeader.ts#L21) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/VideoDescriptionHeader.ts:21](https://github.com > **channel**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoDescriptionHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionHeader.ts#L13) +Defined in: [src/parser/classes/VideoDescriptionHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionHeader.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/VideoDescriptionHeader.ts:13](https://github.com > `optional` **channel\_navigation\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/VideoDescriptionHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionHeader.ts#L14) +Defined in: [src/parser/classes/VideoDescriptionHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionHeader.ts#L14) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/VideoDescriptionHeader.ts:14](https://github.com > **channel\_thumbnail**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/VideoDescriptionHeader.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionHeader.ts#L15) +Defined in: [src/parser/classes/VideoDescriptionHeader.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionHeader.ts#L15) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/VideoDescriptionHeader.ts:15](https://github.com > **factoids**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Factoid`](Factoid.md) \| [`UploadTimeFactoid`](UploadTimeFactoid.md) \| [`ViewCountFactoid`](ViewCountFactoid.md) \| [`HypePointsFactoid`](HypePointsFactoid.md)\> -Defined in: [src/parser/classes/VideoDescriptionHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionHeader.ts#L16) +Defined in: [src/parser/classes/VideoDescriptionHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionHeader.ts#L16) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/VideoDescriptionHeader.ts:16](https://github.com > **publish\_date**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoDescriptionHeader.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionHeader.ts#L17) +Defined in: [src/parser/classes/VideoDescriptionHeader.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionHeader.ts#L17) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/VideoDescriptionHeader.ts:17](https://github.com > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoDescriptionHeader.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionHeader.ts#L18) +Defined in: [src/parser/classes/VideoDescriptionHeader.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionHeader.ts#L18) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/VideoDescriptionHeader.ts:18](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **views**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoDescriptionHeader.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionHeader.ts#L19) +Defined in: [src/parser/classes/VideoDescriptionHeader.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionHeader.ts#L19) *** @@ -104,7 +104,7 @@ Defined in: [src/parser/classes/VideoDescriptionHeader.ts:19](https://github.com > `static` **type**: `string` = `'VideoDescriptionHeader'` -Defined in: [src/parser/classes/VideoDescriptionHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionHeader.ts#L11) +Defined in: [src/parser/classes/VideoDescriptionHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionHeader.ts#L11) #### Overrides @@ -116,7 +116,7 @@ Defined in: [src/parser/classes/VideoDescriptionHeader.ts:11](https://github.com > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -158,7 +158,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is VideoDescriptionHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -196,7 +196,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -234,7 +234,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoDescriptionInfocardsSection.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoDescriptionInfocardsSection.md index 20d9d91a..129d9e86 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoDescriptionInfocardsSection.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoDescriptionInfocardsSection.md @@ -2,7 +2,7 @@ # Class: VideoDescriptionInfocardsSection -Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionInfocardsSection.ts#L9) +Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionInfocardsSection.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:9](https://g > **new VideoDescriptionInfocardsSection**(`data`): `VideoDescriptionInfocardsSection` -Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionInfocardsSection.ts#L19) +Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionInfocardsSection.ts#L19) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:19](https:// > **channel\_avatar**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionInfocardsSection.ts#L16) +Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionInfocardsSection.ts#L16) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:16](https:// > **channel\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionInfocardsSection.ts#L17) +Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionInfocardsSection.ts#L17) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:17](https:// > **creator\_about\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionInfocardsSection.ts#L14) +Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionInfocardsSection.ts#L14) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:14](https:// > **creator\_videos\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionInfocardsSection.ts#L13) +Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionInfocardsSection.ts#L13) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:13](https:// > **section\_subtitle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionInfocardsSection.ts#L15) +Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionInfocardsSection.ts#L15) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:15](https:// > **section\_title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionInfocardsSection.ts#L12) +Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionInfocardsSection.ts#L12) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:12](https:// > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -96,7 +96,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'VideoDescriptionInfocardsSection'` -Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionInfocardsSection.ts#L10) +Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionInfocardsSection.ts#L10) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/VideoDescriptionInfocardsSection.ts:10](https:// > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is VideoDescriptionInfocardsSection & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoDescriptionMusicSection.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoDescriptionMusicSection.md index c2b4a51f..179269f1 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoDescriptionMusicSection.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoDescriptionMusicSection.md @@ -2,7 +2,7 @@ # Class: VideoDescriptionMusicSection -Defined in: [src/parser/classes/VideoDescriptionMusicSection.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionMusicSection.ts#L6) +Defined in: [src/parser/classes/VideoDescriptionMusicSection.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionMusicSection.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/VideoDescriptionMusicSection.ts:6](https://githu > **new VideoDescriptionMusicSection**(`data`): `VideoDescriptionMusicSection` -Defined in: [src/parser/classes/VideoDescriptionMusicSection.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionMusicSection.ts#L12) +Defined in: [src/parser/classes/VideoDescriptionMusicSection.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionMusicSection.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/VideoDescriptionMusicSection.ts:12](https://gith > **carousel\_lockups**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CarouselLockup`](CarouselLockup.md)\> -Defined in: [src/parser/classes/VideoDescriptionMusicSection.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionMusicSection.ts#L9) +Defined in: [src/parser/classes/VideoDescriptionMusicSection.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionMusicSection.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/VideoDescriptionMusicSection.ts:9](https://githu > **section\_title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoDescriptionMusicSection.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionMusicSection.ts#L10) +Defined in: [src/parser/classes/VideoDescriptionMusicSection.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionMusicSection.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/VideoDescriptionMusicSection.ts:10](https://gith > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'VideoDescriptionMusicSection'` -Defined in: [src/parser/classes/VideoDescriptionMusicSection.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionMusicSection.ts#L7) +Defined in: [src/parser/classes/VideoDescriptionMusicSection.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionMusicSection.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/VideoDescriptionMusicSection.ts:7](https://githu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is VideoDescriptionMusicSection & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoDescriptionTranscriptSection.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoDescriptionTranscriptSection.md index 82186f12..65bf5268 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoDescriptionTranscriptSection.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoDescriptionTranscriptSection.md @@ -2,7 +2,7 @@ # Class: VideoDescriptionTranscriptSection -Defined in: [src/parser/classes/VideoDescriptionTranscriptSection.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionTranscriptSection.ts#L7) +Defined in: [src/parser/classes/VideoDescriptionTranscriptSection.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionTranscriptSection.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/VideoDescriptionTranscriptSection.ts:7](https:// > **new VideoDescriptionTranscriptSection**(`data`): `VideoDescriptionTranscriptSection` -Defined in: [src/parser/classes/VideoDescriptionTranscriptSection.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionTranscriptSection.ts#L14) +Defined in: [src/parser/classes/VideoDescriptionTranscriptSection.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionTranscriptSection.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/VideoDescriptionTranscriptSection.ts:14](https:/ > **primary\_button**: [`Button`](Button.md) \| `null` -Defined in: [src/parser/classes/VideoDescriptionTranscriptSection.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionTranscriptSection.ts#L12) +Defined in: [src/parser/classes/VideoDescriptionTranscriptSection.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionTranscriptSection.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/VideoDescriptionTranscriptSection.ts:12](https:/ > **section\_title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoDescriptionTranscriptSection.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionTranscriptSection.ts#L10) +Defined in: [src/parser/classes/VideoDescriptionTranscriptSection.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionTranscriptSection.ts#L10) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/VideoDescriptionTranscriptSection.ts:10](https:/ > **sub\_header\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoDescriptionTranscriptSection.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionTranscriptSection.ts#L11) +Defined in: [src/parser/classes/VideoDescriptionTranscriptSection.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionTranscriptSection.ts#L11) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/VideoDescriptionTranscriptSection.ts:11](https:/ > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'VideoDescriptionTranscriptSection'` -Defined in: [src/parser/classes/VideoDescriptionTranscriptSection.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoDescriptionTranscriptSection.ts#L8) +Defined in: [src/parser/classes/VideoDescriptionTranscriptSection.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoDescriptionTranscriptSection.ts#L8) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/VideoDescriptionTranscriptSection.ts:8](https:// > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is VideoDescriptionTranscriptSection & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoInfoCardContent.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoInfoCardContent.md index 814e4344..de02c3ee 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoInfoCardContent.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoInfoCardContent.md @@ -2,7 +2,7 @@ # Class: VideoInfoCardContent -Defined in: [src/parser/classes/VideoInfoCardContent.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoInfoCardContent.ts#L7) +Defined in: [src/parser/classes/VideoInfoCardContent.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoInfoCardContent.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/VideoInfoCardContent.ts:7](https://github.com/Lu > **new VideoInfoCardContent**(`data`): `VideoInfoCardContent` -Defined in: [src/parser/classes/VideoInfoCardContent.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoInfoCardContent.ts#L17) +Defined in: [src/parser/classes/VideoInfoCardContent.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoInfoCardContent.ts#L17) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/VideoInfoCardContent.ts:17](https://github.com/L > **channel\_name**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoInfoCardContent.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoInfoCardContent.ts#L11) +Defined in: [src/parser/classes/VideoInfoCardContent.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoInfoCardContent.ts#L11) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/VideoInfoCardContent.ts:11](https://github.com/L > **duration**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoInfoCardContent.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoInfoCardContent.ts#L14) +Defined in: [src/parser/classes/VideoInfoCardContent.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoInfoCardContent.ts#L14) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/VideoInfoCardContent.ts:14](https://github.com/L > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/VideoInfoCardContent.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoInfoCardContent.ts#L15) +Defined in: [src/parser/classes/VideoInfoCardContent.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoInfoCardContent.ts#L15) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/VideoInfoCardContent.ts:15](https://github.com/L > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoInfoCardContent.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoInfoCardContent.ts#L10) +Defined in: [src/parser/classes/VideoInfoCardContent.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoInfoCardContent.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/VideoInfoCardContent.ts:10](https://github.com/L > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_thumbnails**: [`Thumbnail`](../../Misc/classes/Thumbnail.md)[] -Defined in: [src/parser/classes/VideoInfoCardContent.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoInfoCardContent.ts#L13) +Defined in: [src/parser/classes/VideoInfoCardContent.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoInfoCardContent.ts#L13) *** @@ -88,7 +88,7 @@ Defined in: [src/parser/classes/VideoInfoCardContent.ts:13](https://github.com/L > **view\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoInfoCardContent.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoInfoCardContent.ts#L12) +Defined in: [src/parser/classes/VideoInfoCardContent.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoInfoCardContent.ts#L12) *** @@ -96,7 +96,7 @@ Defined in: [src/parser/classes/VideoInfoCardContent.ts:12](https://github.com/L > `static` **type**: `string` = `'VideoInfoCardContent'` -Defined in: [src/parser/classes/VideoInfoCardContent.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoInfoCardContent.ts#L8) +Defined in: [src/parser/classes/VideoInfoCardContent.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoInfoCardContent.ts#L8) #### Overrides @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/VideoInfoCardContent.ts:8](https://github.com/Lu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -150,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is VideoInfoCardContent & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -188,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -226,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoMetadataCarouselView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoMetadataCarouselView.md index 66d686e1..9e9ed97d 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoMetadataCarouselView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoMetadataCarouselView.md @@ -2,7 +2,7 @@ # Class: VideoMetadataCarouselView -Defined in: [src/parser/classes/VideoMetadataCarouselView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoMetadataCarouselView.ts#L6) +Defined in: [src/parser/classes/VideoMetadataCarouselView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoMetadataCarouselView.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/VideoMetadataCarouselView.ts:6](https://github.c > **new VideoMetadataCarouselView**(`data`): `VideoMetadataCarouselView` -Defined in: [src/parser/classes/VideoMetadataCarouselView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoMetadataCarouselView.ts#L12) +Defined in: [src/parser/classes/VideoMetadataCarouselView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoMetadataCarouselView.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/VideoMetadataCarouselView.ts:12](https://github. > **carousel\_items**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CarouselItemView`](CarouselItemView.md)\> \| `null` -Defined in: [src/parser/classes/VideoMetadataCarouselView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoMetadataCarouselView.ts#L10) +Defined in: [src/parser/classes/VideoMetadataCarouselView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoMetadataCarouselView.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/VideoMetadataCarouselView.ts:10](https://github. > **carousel\_titles**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`CarouselTitleView`](CarouselTitleView.md)\> \| `null` -Defined in: [src/parser/classes/VideoMetadataCarouselView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoMetadataCarouselView.ts#L9) +Defined in: [src/parser/classes/VideoMetadataCarouselView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoMetadataCarouselView.ts#L9) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/VideoMetadataCarouselView.ts:9](https://github.c > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'VideoMetadataCarouselView'` -Defined in: [src/parser/classes/VideoMetadataCarouselView.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoMetadataCarouselView.ts#L7) +Defined in: [src/parser/classes/VideoMetadataCarouselView.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoMetadataCarouselView.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/VideoMetadataCarouselView.ts:7](https://github.c > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is VideoMetadataCarouselView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoOwner.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoOwner.md index 36ccb8b6..eb3b3d34 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoOwner.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoOwner.md @@ -2,7 +2,7 @@ # Class: VideoOwner -Defined in: [src/parser/classes/VideoOwner.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoOwner.ts#L7) +Defined in: [src/parser/classes/VideoOwner.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoOwner.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/VideoOwner.ts:7](https://github.com/LuanRT/YouTu > **new VideoOwner**(`data`): `VideoOwner` -Defined in: [src/parser/classes/VideoOwner.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoOwner.ts#L14) +Defined in: [src/parser/classes/VideoOwner.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoOwner.ts#L14) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/VideoOwner.ts:14](https://github.com/LuanRT/YouT > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/VideoOwner.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoOwner.ts#L12) +Defined in: [src/parser/classes/VideoOwner.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoOwner.ts#L12) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/VideoOwner.ts:12](https://github.com/LuanRT/YouT > **subscriber\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoOwner.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoOwner.ts#L11) +Defined in: [src/parser/classes/VideoOwner.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoOwner.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/VideoOwner.ts:11](https://github.com/LuanRT/YouT > `optional` **subscription\_button**: [`SubscriptionButton`](../../Misc/classes/SubscriptionButton.md) -Defined in: [src/parser/classes/VideoOwner.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoOwner.ts#L10) +Defined in: [src/parser/classes/VideoOwner.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoOwner.ts#L10) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/VideoOwner.ts:10](https://github.com/LuanRT/YouT > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'VideoOwner'` -Defined in: [src/parser/classes/VideoOwner.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoOwner.ts#L8) +Defined in: [src/parser/classes/VideoOwner.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoOwner.ts#L8) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/VideoOwner.ts:8](https://github.com/LuanRT/YouTu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is VideoOwner & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoPrimaryInfo.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoPrimaryInfo.md index 5e056b5d..137a87fb 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoPrimaryInfo.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoPrimaryInfo.md @@ -2,7 +2,7 @@ # Class: VideoPrimaryInfo -Defined in: [src/parser/classes/VideoPrimaryInfo.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoPrimaryInfo.ts#L9) +Defined in: [src/parser/classes/VideoPrimaryInfo.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoPrimaryInfo.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/VideoPrimaryInfo.ts:9](https://github.com/LuanRT > **new VideoPrimaryInfo**(`data`): `VideoPrimaryInfo` -Defined in: [src/parser/classes/VideoPrimaryInfo.ts:21](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoPrimaryInfo.ts#L21) +Defined in: [src/parser/classes/VideoPrimaryInfo.ts:21](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoPrimaryInfo.ts#L21) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/VideoPrimaryInfo.ts:21](https://github.com/LuanR > **badges**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`MetadataBadge`](MetadataBadge.md)\> -Defined in: [src/parser/classes/VideoPrimaryInfo.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoPrimaryInfo.ts#L16) +Defined in: [src/parser/classes/VideoPrimaryInfo.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoPrimaryInfo.ts#L16) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/VideoPrimaryInfo.ts:16](https://github.com/LuanR > **menu**: [`Menu`](Menu.md) \| `null` -Defined in: [src/parser/classes/VideoPrimaryInfo.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoPrimaryInfo.ts#L19) +Defined in: [src/parser/classes/VideoPrimaryInfo.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoPrimaryInfo.ts#L19) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/VideoPrimaryInfo.ts:19](https://github.com/LuanR > **published**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoPrimaryInfo.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoPrimaryInfo.ts#L17) +Defined in: [src/parser/classes/VideoPrimaryInfo.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoPrimaryInfo.ts#L17) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/VideoPrimaryInfo.ts:17](https://github.com/LuanR > **relative\_date**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoPrimaryInfo.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoPrimaryInfo.ts#L18) +Defined in: [src/parser/classes/VideoPrimaryInfo.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoPrimaryInfo.ts#L18) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/VideoPrimaryInfo.ts:18](https://github.com/LuanR > `optional` **station\_name**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoPrimaryInfo.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoPrimaryInfo.ts#L14) +Defined in: [src/parser/classes/VideoPrimaryInfo.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoPrimaryInfo.ts#L14) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/VideoPrimaryInfo.ts:14](https://github.com/LuanR > `optional` **super\_title\_link**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoPrimaryInfo.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoPrimaryInfo.ts#L13) +Defined in: [src/parser/classes/VideoPrimaryInfo.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoPrimaryInfo.ts#L13) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/VideoPrimaryInfo.ts:13](https://github.com/LuanR > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoPrimaryInfo.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoPrimaryInfo.ts#L12) +Defined in: [src/parser/classes/VideoPrimaryInfo.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoPrimaryInfo.ts#L12) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/VideoPrimaryInfo.ts:12](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -104,7 +104,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **view\_count**: [`VideoViewCount`](VideoViewCount.md) \| `null` -Defined in: [src/parser/classes/VideoPrimaryInfo.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoPrimaryInfo.ts#L15) +Defined in: [src/parser/classes/VideoPrimaryInfo.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoPrimaryInfo.ts#L15) *** @@ -112,7 +112,7 @@ Defined in: [src/parser/classes/VideoPrimaryInfo.ts:15](https://github.com/LuanR > `static` **type**: `string` = `'VideoPrimaryInfo'` -Defined in: [src/parser/classes/VideoPrimaryInfo.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoPrimaryInfo.ts#L10) +Defined in: [src/parser/classes/VideoPrimaryInfo.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoPrimaryInfo.ts#L10) #### Overrides @@ -124,7 +124,7 @@ Defined in: [src/parser/classes/VideoPrimaryInfo.ts:10](https://github.com/LuanR > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -166,7 +166,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is VideoPrimaryInfo & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -204,7 +204,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -242,7 +242,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoSecondaryInfo.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoSecondaryInfo.md index a13553ff..da9e9c7f 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoSecondaryInfo.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoSecondaryInfo.md @@ -2,7 +2,7 @@ # Class: VideoSecondaryInfo -Defined in: [src/parser/classes/VideoSecondaryInfo.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoSecondaryInfo.ts#L9) +Defined in: [src/parser/classes/VideoSecondaryInfo.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoSecondaryInfo.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/VideoSecondaryInfo.ts:9](https://github.com/Luan > **new VideoSecondaryInfo**(`data`): `VideoSecondaryInfo` -Defined in: [src/parser/classes/VideoSecondaryInfo.ts:22](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoSecondaryInfo.ts#L22) +Defined in: [src/parser/classes/VideoSecondaryInfo.ts:22](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoSecondaryInfo.ts#L22) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/VideoSecondaryInfo.ts:22](https://github.com/Lua > **default\_expanded**: `string` -Defined in: [src/parser/classes/VideoSecondaryInfo.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoSecondaryInfo.ts#L19) +Defined in: [src/parser/classes/VideoSecondaryInfo.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoSecondaryInfo.ts#L19) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/VideoSecondaryInfo.ts:19](https://github.com/Lua > **description**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoSecondaryInfo.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoSecondaryInfo.ts#L13) +Defined in: [src/parser/classes/VideoSecondaryInfo.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoSecondaryInfo.ts#L13) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/VideoSecondaryInfo.ts:13](https://github.com/Lua > **description\_collapsed\_lines**: `string` -Defined in: [src/parser/classes/VideoSecondaryInfo.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoSecondaryInfo.ts#L20) +Defined in: [src/parser/classes/VideoSecondaryInfo.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoSecondaryInfo.ts#L20) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/VideoSecondaryInfo.ts:20](https://github.com/Lua > `optional` **description\_placeholder**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoSecondaryInfo.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoSecondaryInfo.ts#L14) +Defined in: [src/parser/classes/VideoSecondaryInfo.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoSecondaryInfo.ts#L14) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/VideoSecondaryInfo.ts:14](https://github.com/Lua > **metadata**: [`MetadataRowContainer`](MetadataRowContainer.md) \| `null` -Defined in: [src/parser/classes/VideoSecondaryInfo.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoSecondaryInfo.ts#L16) +Defined in: [src/parser/classes/VideoSecondaryInfo.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoSecondaryInfo.ts#L16) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/VideoSecondaryInfo.ts:16](https://github.com/Lua > **owner**: [`VideoOwner`](VideoOwner.md) \| `null` -Defined in: [src/parser/classes/VideoSecondaryInfo.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoSecondaryInfo.ts#L12) +Defined in: [src/parser/classes/VideoSecondaryInfo.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoSecondaryInfo.ts#L12) *** @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/VideoSecondaryInfo.ts:12](https://github.com/Lua > **show\_less\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoSecondaryInfo.ts:18](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoSecondaryInfo.ts#L18) +Defined in: [src/parser/classes/VideoSecondaryInfo.ts:18](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoSecondaryInfo.ts#L18) *** @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/VideoSecondaryInfo.ts:18](https://github.com/Lua > **show\_more\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoSecondaryInfo.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoSecondaryInfo.ts#L17) +Defined in: [src/parser/classes/VideoSecondaryInfo.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoSecondaryInfo.ts#L17) *** @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/VideoSecondaryInfo.ts:17](https://github.com/Lua > **subscribe\_button**: [`Button`](Button.md) \| [`SubscribeButton`](SubscribeButton.md) \| `null` -Defined in: [src/parser/classes/VideoSecondaryInfo.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoSecondaryInfo.ts#L15) +Defined in: [src/parser/classes/VideoSecondaryInfo.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoSecondaryInfo.ts#L15) *** @@ -108,7 +108,7 @@ Defined in: [src/parser/classes/VideoSecondaryInfo.ts:15](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -120,7 +120,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'VideoSecondaryInfo'` -Defined in: [src/parser/classes/VideoSecondaryInfo.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoSecondaryInfo.ts#L10) +Defined in: [src/parser/classes/VideoSecondaryInfo.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoSecondaryInfo.ts#L10) #### Overrides @@ -132,7 +132,7 @@ Defined in: [src/parser/classes/VideoSecondaryInfo.ts:10](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -174,7 +174,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is VideoSecondaryInfo & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -212,7 +212,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -250,7 +250,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoSummaryContentView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoSummaryContentView.md new file mode 100644 index 00000000..054913bb --- /dev/null +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoSummaryContentView.md @@ -0,0 +1,239 @@ +[youtubei.js](../../../../README.md) / [YTNodes](../README.md) / VideoSummaryContentView + +# Class: VideoSummaryContentView + +Defined in: [src/parser/classes/VideoSummaryContentView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoSummaryContentView.ts#L8) + +## Extends + +- [`YTNode`](../../Helpers/classes/YTNode.md) + +## Constructors + +### Constructor + +> **new VideoSummaryContentView**(`data`): `VideoSummaryContentView` + +Defined in: [src/parser/classes/VideoSummaryContentView.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoSummaryContentView.ts#L15) + +#### Parameters + +##### data + +[`RawNode`](../../../../type-aliases/RawNode.md) + +#### Returns + +`VideoSummaryContentView` + +#### Overrides + +[`YTNode`](../../Helpers/classes/YTNode.md).[`constructor`](../../Helpers/classes/YTNode.md#constructor) + +## Properties + +### dislike\_button\_view? + +> `optional` **dislike\_button\_view**: [`DislikeButtonView`](DislikeButtonView.md) \| `null` + +Defined in: [src/parser/classes/VideoSummaryContentView.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoSummaryContentView.ts#L11) + +*** + +### like\_button\_view? + +> `optional` **like\_button\_view**: [`LikeButtonView`](LikeButtonView.md) \| `null` + +Defined in: [src/parser/classes/VideoSummaryContentView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoSummaryContentView.ts#L12) + +*** + +### paragraphs + +> **paragraphs**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`VideoSummaryParagraphView`](VideoSummaryParagraphView.md)\> + +Defined in: [src/parser/classes/VideoSummaryContentView.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoSummaryContentView.ts#L13) + +*** + +### type + +> `readonly` **type**: `string` + +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`type`](../../Helpers/classes/YTNode.md#type) + +*** + +### type + +> `static` **type**: `string` = `'VideoSummaryContentView'` + +Defined in: [src/parser/classes/VideoSummaryContentView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoSummaryContentView.ts#L9) + +#### Overrides + +[`YTNode`](../../Helpers/classes/YTNode.md).[`type`](../../Helpers/classes/YTNode.md#type-1) + +## Methods + +### as() + +> **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> + +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) + +Cast to one of the given types. + +#### Type Parameters + +##### T + +`T` *extends* [`YTNode`](../../Helpers/classes/YTNode.md) + +##### K + +`K` *extends* [`YTNodeConstructor`](../../Helpers/interfaces/YTNodeConstructor.md)\<`T`\>[] + +#### Parameters + +##### types + +...`K` + +The types to cast to + +#### Returns + +`InstanceType`\<`K`\[`number`\]\> + +The node cast to one of the given types + +#### Throws + +If the node is not of the given type + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`as`](../../Helpers/classes/YTNode.md#as) + +*** + +### hasKey() + +> **hasKey**\<`T`, `R`\>(`key`): `this is VideoSummaryContentView & { [k in string]: R }` + +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) + +Check for a key without asserting the type. + +#### Type Parameters + +##### T + +`T` *extends* `string` + +##### R + +`R` = `any` + +#### Parameters + +##### key + +`T` + +The key to check + +#### Returns + +`this is VideoSummaryContentView & { [k in string]: R }` + +Whether the node has the key + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`hasKey`](../../Helpers/classes/YTNode.md#haskey) + +*** + +### is() + +> **is**\<`T`, `K`\>(...`types`): `this is InstanceType` + +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) + +Check if the node is of the given type. + +#### Type Parameters + +##### T + +`T` *extends* [`YTNode`](../../Helpers/classes/YTNode.md) + +##### K + +`K` *extends* [`YTNodeConstructor`](../../Helpers/interfaces/YTNodeConstructor.md)\<`T`\>[] + +#### Parameters + +##### types + +...`K` + +The type to check + +#### Returns + +`this is InstanceType` + +whether the node is of the given type + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`is`](../../Helpers/classes/YTNode.md#is) + +*** + +### key() + +> **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) + +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) + +Assert that the node has the given key and return it. + +#### Type Parameters + +##### T + +`T` *extends* `string` + +##### R + +`R` = `any` + +#### Parameters + +##### key + +`T` + +The key to check + +#### Returns + +[`Maybe`](../../Helpers/classes/Maybe.md) + +The value of the key wrapped in a Maybe + +#### Throws + +If the node does not have the key + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`key`](../../Helpers/classes/YTNode.md#key) diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoSummaryParagraphView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoSummaryParagraphView.md new file mode 100644 index 00000000..5105c828 --- /dev/null +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoSummaryParagraphView.md @@ -0,0 +1,223 @@ +[youtubei.js](../../../../README.md) / [YTNodes](../README.md) / VideoSummaryParagraphView + +# Class: VideoSummaryParagraphView + +Defined in: [src/parser/classes/VideoSummaryParagraphView.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoSummaryParagraphView.ts#L5) + +## Extends + +- [`YTNode`](../../Helpers/classes/YTNode.md) + +## Constructors + +### Constructor + +> **new VideoSummaryParagraphView**(`data`): `VideoSummaryParagraphView` + +Defined in: [src/parser/classes/VideoSummaryParagraphView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoSummaryParagraphView.ts#L10) + +#### Parameters + +##### data + +[`RawNode`](../../../../type-aliases/RawNode.md) + +#### Returns + +`VideoSummaryParagraphView` + +#### Overrides + +[`YTNode`](../../Helpers/classes/YTNode.md).[`constructor`](../../Helpers/classes/YTNode.md#constructor) + +## Properties + +### text + +> **text**: [`Text`](../../Misc/classes/Text.md) + +Defined in: [src/parser/classes/VideoSummaryParagraphView.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoSummaryParagraphView.ts#L8) + +*** + +### type + +> `readonly` **type**: `string` + +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`type`](../../Helpers/classes/YTNode.md#type) + +*** + +### type + +> `static` **type**: `string` = `'VideoSummaryParagraphView'` + +Defined in: [src/parser/classes/VideoSummaryParagraphView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoSummaryParagraphView.ts#L6) + +#### Overrides + +[`YTNode`](../../Helpers/classes/YTNode.md).[`type`](../../Helpers/classes/YTNode.md#type-1) + +## Methods + +### as() + +> **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> + +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) + +Cast to one of the given types. + +#### Type Parameters + +##### T + +`T` *extends* [`YTNode`](../../Helpers/classes/YTNode.md) + +##### K + +`K` *extends* [`YTNodeConstructor`](../../Helpers/interfaces/YTNodeConstructor.md)\<`T`\>[] + +#### Parameters + +##### types + +...`K` + +The types to cast to + +#### Returns + +`InstanceType`\<`K`\[`number`\]\> + +The node cast to one of the given types + +#### Throws + +If the node is not of the given type + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`as`](../../Helpers/classes/YTNode.md#as) + +*** + +### hasKey() + +> **hasKey**\<`T`, `R`\>(`key`): `this is VideoSummaryParagraphView & { [k in string]: R }` + +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) + +Check for a key without asserting the type. + +#### Type Parameters + +##### T + +`T` *extends* `string` + +##### R + +`R` = `any` + +#### Parameters + +##### key + +`T` + +The key to check + +#### Returns + +`this is VideoSummaryParagraphView & { [k in string]: R }` + +Whether the node has the key + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`hasKey`](../../Helpers/classes/YTNode.md#haskey) + +*** + +### is() + +> **is**\<`T`, `K`\>(...`types`): `this is InstanceType` + +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) + +Check if the node is of the given type. + +#### Type Parameters + +##### T + +`T` *extends* [`YTNode`](../../Helpers/classes/YTNode.md) + +##### K + +`K` *extends* [`YTNodeConstructor`](../../Helpers/interfaces/YTNodeConstructor.md)\<`T`\>[] + +#### Parameters + +##### types + +...`K` + +The type to check + +#### Returns + +`this is InstanceType` + +whether the node is of the given type + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`is`](../../Helpers/classes/YTNode.md#is) + +*** + +### key() + +> **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) + +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) + +Assert that the node has the given key and return it. + +#### Type Parameters + +##### T + +`T` *extends* `string` + +##### R + +`R` = `any` + +#### Parameters + +##### key + +`T` + +The key to check + +#### Returns + +[`Maybe`](../../Helpers/classes/Maybe.md) + +The value of the key wrapped in a Maybe + +#### Throws + +If the node does not have the key + +#### Inherited from + +[`YTNode`](../../Helpers/classes/YTNode.md).[`key`](../../Helpers/classes/YTNode.md#key) diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoViewCount.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoViewCount.md index 1df7d430..1de9c9a5 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoViewCount.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/VideoViewCount.md @@ -2,7 +2,7 @@ # Class: VideoViewCount -Defined in: [src/parser/classes/VideoViewCount.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoViewCount.ts#L5) +Defined in: [src/parser/classes/VideoViewCount.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoViewCount.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/VideoViewCount.ts:5](https://github.com/LuanRT/Y > **new VideoViewCount**(`data`): `VideoViewCount` -Defined in: [src/parser/classes/VideoViewCount.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoViewCount.ts#L13) +Defined in: [src/parser/classes/VideoViewCount.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoViewCount.ts#L15) #### Parameters @@ -32,27 +32,35 @@ Defined in: [src/parser/classes/VideoViewCount.ts:13](https://github.com/LuanRT/ ## Properties -### extra\_short\_view\_count +### extra\_short\_view\_count? -> **extra\_short\_view\_count**: [`Text`](../../Misc/classes/Text.md) +> `optional` **extra\_short\_view\_count**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoViewCount.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoViewCount.ts#L10) +Defined in: [src/parser/classes/VideoViewCount.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoViewCount.ts#L11) *** -### original\_view\_count +### is\_live -> **original\_view\_count**: `string` +> **is\_live**: `boolean` -Defined in: [src/parser/classes/VideoViewCount.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoViewCount.ts#L8) +Defined in: [src/parser/classes/VideoViewCount.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoViewCount.ts#L13) *** -### short\_view\_count +### original\_view\_count? -> **short\_view\_count**: [`Text`](../../Misc/classes/Text.md) +> `optional` **original\_view\_count**: `number` -Defined in: [src/parser/classes/VideoViewCount.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoViewCount.ts#L9) +Defined in: [src/parser/classes/VideoViewCount.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoViewCount.ts#L8) + +*** + +### short\_view\_count? + +> `optional` **short\_view\_count**: [`Text`](../../Misc/classes/Text.md) + +Defined in: [src/parser/classes/VideoViewCount.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoViewCount.ts#L10) *** @@ -60,7 +68,7 @@ Defined in: [src/parser/classes/VideoViewCount.ts:9](https://github.com/LuanRT/Y > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -68,11 +76,19 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ *** -### view\_count +### unlabeled\_view\_count\_value? -> **view\_count**: [`Text`](../../Misc/classes/Text.md) +> `optional` **unlabeled\_view\_count\_value**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/VideoViewCount.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoViewCount.ts#L11) +Defined in: [src/parser/classes/VideoViewCount.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoViewCount.ts#L9) + +*** + +### view\_count? + +> `optional` **view\_count**: [`Text`](../../Misc/classes/Text.md) + +Defined in: [src/parser/classes/VideoViewCount.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoViewCount.ts#L12) *** @@ -80,7 +96,7 @@ Defined in: [src/parser/classes/VideoViewCount.ts:11](https://github.com/LuanRT/ > `static` **type**: `string` = `'VideoViewCount'` -Defined in: [src/parser/classes/VideoViewCount.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/VideoViewCount.ts#L6) +Defined in: [src/parser/classes/VideoViewCount.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/VideoViewCount.ts#L6) #### Overrides @@ -92,7 +108,7 @@ Defined in: [src/parser/classes/VideoViewCount.ts:6](https://github.com/LuanRT/Y > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +150,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is VideoViewCount & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +188,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +226,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/ViewCountFactoid.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/ViewCountFactoid.md index ceff1044..8b91cf41 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/ViewCountFactoid.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/ViewCountFactoid.md @@ -2,7 +2,7 @@ # Class: ViewCountFactoid -Defined in: [src/parser/classes/ViewCountFactoid.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ViewCountFactoid.ts#L6) +Defined in: [src/parser/classes/ViewCountFactoid.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ViewCountFactoid.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/ViewCountFactoid.ts:6](https://github.com/LuanRT > **new ViewCountFactoid**(`data`): `ViewCountFactoid` -Defined in: [src/parser/classes/ViewCountFactoid.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ViewCountFactoid.ts#L13) +Defined in: [src/parser/classes/ViewCountFactoid.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ViewCountFactoid.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/ViewCountFactoid.ts:13](https://github.com/LuanR > **factoid**: [`Factoid`](Factoid.md) \| `null` -Defined in: [src/parser/classes/ViewCountFactoid.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ViewCountFactoid.ts#L10) +Defined in: [src/parser/classes/ViewCountFactoid.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ViewCountFactoid.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/ViewCountFactoid.ts:10](https://github.com/LuanR > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **view\_count\_entity\_key**: `string` -Defined in: [src/parser/classes/ViewCountFactoid.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ViewCountFactoid.ts#L9) +Defined in: [src/parser/classes/ViewCountFactoid.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ViewCountFactoid.ts#L9) *** @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/ViewCountFactoid.ts:9](https://github.com/LuanRT > **view\_count\_type**: `string` -Defined in: [src/parser/classes/ViewCountFactoid.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ViewCountFactoid.ts#L11) +Defined in: [src/parser/classes/ViewCountFactoid.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ViewCountFactoid.ts#L11) *** @@ -72,7 +72,7 @@ Defined in: [src/parser/classes/ViewCountFactoid.ts:11](https://github.com/LuanR > `static` **type**: `string` = `'ViewCountFactoid'` -Defined in: [src/parser/classes/ViewCountFactoid.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/ViewCountFactoid.ts#L7) +Defined in: [src/parser/classes/ViewCountFactoid.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/ViewCountFactoid.ts#L7) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/ViewCountFactoid.ts:7](https://github.com/LuanRT > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is ViewCountFactoid & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/VoiceReplyContainerView.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/VoiceReplyContainerView.md index caf546b7..2cdfeadf 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/VoiceReplyContainerView.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/VoiceReplyContainerView.md @@ -2,7 +2,7 @@ # Class: VoiceReplyContainerView -Defined in: [src/parser/classes/comments/VoiceReplyContainerView.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/VoiceReplyContainerView.ts#L6) +Defined in: [src/parser/classes/comments/VoiceReplyContainerView.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/VoiceReplyContainerView.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/comments/VoiceReplyContainerView.ts:6](https://g > **new VoiceReplyContainerView**(`data`): `VoiceReplyContainerView` -Defined in: [src/parser/classes/comments/VoiceReplyContainerView.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/VoiceReplyContainerView.ts#L12) +Defined in: [src/parser/classes/comments/VoiceReplyContainerView.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/VoiceReplyContainerView.ts#L12) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/comments/VoiceReplyContainerView.ts:12](https:// > **transcript\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/comments/VoiceReplyContainerView.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/VoiceReplyContainerView.ts#L10) +Defined in: [src/parser/classes/comments/VoiceReplyContainerView.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/VoiceReplyContainerView.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/comments/VoiceReplyContainerView.ts:10](https:// > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **voice\_reply\_unavailable\_text**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/comments/VoiceReplyContainerView.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/VoiceReplyContainerView.ts#L9) +Defined in: [src/parser/classes/comments/VoiceReplyContainerView.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/VoiceReplyContainerView.ts#L9) *** @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/comments/VoiceReplyContainerView.ts:9](https://g > `static` **type**: `string` = `'VoiceReplyContainerView'` -Defined in: [src/parser/classes/comments/VoiceReplyContainerView.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/comments/VoiceReplyContainerView.ts#L7) +Defined in: [src/parser/classes/comments/VoiceReplyContainerView.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/comments/VoiceReplyContainerView.ts#L7) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/comments/VoiceReplyContainerView.ts:7](https://g > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is VoiceReplyContainerView & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchCardCompactVideo.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchCardCompactVideo.md index 5dc499e6..7c9388bd 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchCardCompactVideo.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchCardCompactVideo.md @@ -2,7 +2,7 @@ # Class: WatchCardCompactVideo -Defined in: [src/parser/classes/WatchCardCompactVideo.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardCompactVideo.ts#L6) +Defined in: [src/parser/classes/WatchCardCompactVideo.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardCompactVideo.ts#L6) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/WatchCardCompactVideo.ts:6](https://github.com/L > **new WatchCardCompactVideo**(`data`): `WatchCardCompactVideo` -Defined in: [src/parser/classes/WatchCardCompactVideo.ts:17](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardCompactVideo.ts#L17) +Defined in: [src/parser/classes/WatchCardCompactVideo.ts:17](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardCompactVideo.ts#L17) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/WatchCardCompactVideo.ts:17](https://github.com/ > **duration**: `object` -Defined in: [src/parser/classes/WatchCardCompactVideo.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardCompactVideo.ts#L11) +Defined in: [src/parser/classes/WatchCardCompactVideo.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardCompactVideo.ts#L11) #### seconds @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/WatchCardCompactVideo.ts:11](https://github.com/ > **style**: `string` -Defined in: [src/parser/classes/WatchCardCompactVideo.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardCompactVideo.ts#L15) +Defined in: [src/parser/classes/WatchCardCompactVideo.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardCompactVideo.ts#L15) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/WatchCardCompactVideo.ts:15](https://github.com/ > **subtitle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/WatchCardCompactVideo.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardCompactVideo.ts#L10) +Defined in: [src/parser/classes/WatchCardCompactVideo.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardCompactVideo.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/WatchCardCompactVideo.ts:10](https://github.com/ > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/WatchCardCompactVideo.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardCompactVideo.ts#L9) +Defined in: [src/parser/classes/WatchCardCompactVideo.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardCompactVideo.ts#L9) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/WatchCardCompactVideo.ts:9](https://github.com/L > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'WatchCardCompactVideo'` -Defined in: [src/parser/classes/WatchCardCompactVideo.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardCompactVideo.ts#L7) +Defined in: [src/parser/classes/WatchCardCompactVideo.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardCompactVideo.ts#L7) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/WatchCardCompactVideo.ts:7](https://github.com/L > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is WatchCardCompactVideo & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchCardHeroVideo.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchCardHeroVideo.md index bcf439b1..d02b7c84 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchCardHeroVideo.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchCardHeroVideo.md @@ -2,7 +2,7 @@ # Class: WatchCardHeroVideo -Defined in: [src/parser/classes/WatchCardHeroVideo.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardHeroVideo.ts#L5) +Defined in: [src/parser/classes/WatchCardHeroVideo.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardHeroVideo.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/WatchCardHeroVideo.ts:5](https://github.com/Luan > **new WatchCardHeroVideo**(`data`): `WatchCardHeroVideo` -Defined in: [src/parser/classes/WatchCardHeroVideo.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardHeroVideo.ts#L13) +Defined in: [src/parser/classes/WatchCardHeroVideo.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardHeroVideo.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/WatchCardHeroVideo.ts:13](https://github.com/Lua > **call\_to\_action\_button**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/WatchCardHeroVideo.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardHeroVideo.ts#L9) +Defined in: [src/parser/classes/WatchCardHeroVideo.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardHeroVideo.ts#L9) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/WatchCardHeroVideo.ts:9](https://github.com/Luan > **endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/WatchCardHeroVideo.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardHeroVideo.ts#L8) +Defined in: [src/parser/classes/WatchCardHeroVideo.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardHeroVideo.ts#L8) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/WatchCardHeroVideo.ts:8](https://github.com/Luan > **hero\_image**: [`YTNode`](../../Helpers/classes/YTNode.md) -Defined in: [src/parser/classes/WatchCardHeroVideo.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardHeroVideo.ts#L10) +Defined in: [src/parser/classes/WatchCardHeroVideo.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardHeroVideo.ts#L10) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/WatchCardHeroVideo.ts:10](https://github.com/Lua > **label**: `string` -Defined in: [src/parser/classes/WatchCardHeroVideo.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardHeroVideo.ts#L11) +Defined in: [src/parser/classes/WatchCardHeroVideo.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardHeroVideo.ts#L11) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/WatchCardHeroVideo.ts:11](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -80,7 +80,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'WatchCardHeroVideo'` -Defined in: [src/parser/classes/WatchCardHeroVideo.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardHeroVideo.ts#L6) +Defined in: [src/parser/classes/WatchCardHeroVideo.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardHeroVideo.ts#L6) #### Overrides @@ -92,7 +92,7 @@ Defined in: [src/parser/classes/WatchCardHeroVideo.ts:6](https://github.com/Luan > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -134,7 +134,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is WatchCardHeroVideo & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -172,7 +172,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -210,7 +210,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchCardRichHeader.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchCardRichHeader.md index 28723738..797d69b1 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchCardRichHeader.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchCardRichHeader.md @@ -2,7 +2,7 @@ # Class: WatchCardRichHeader -Defined in: [src/parser/classes/WatchCardRichHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardRichHeader.ts#L7) +Defined in: [src/parser/classes/WatchCardRichHeader.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardRichHeader.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/WatchCardRichHeader.ts:7](https://github.com/Lua > **new WatchCardRichHeader**(`data`): `WatchCardRichHeader` -Defined in: [src/parser/classes/WatchCardRichHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardRichHeader.ts#L16) +Defined in: [src/parser/classes/WatchCardRichHeader.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardRichHeader.ts#L16) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/WatchCardRichHeader.ts:16](https://github.com/Lu > **author**: [`Author`](../../Misc/classes/Author.md) -Defined in: [src/parser/classes/WatchCardRichHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardRichHeader.ts#L13) +Defined in: [src/parser/classes/WatchCardRichHeader.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardRichHeader.ts#L13) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/WatchCardRichHeader.ts:13](https://github.com/Lu > **style**: `string` -Defined in: [src/parser/classes/WatchCardRichHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardRichHeader.ts#L14) +Defined in: [src/parser/classes/WatchCardRichHeader.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardRichHeader.ts#L14) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/WatchCardRichHeader.ts:14](https://github.com/Lu > **subtitle**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/WatchCardRichHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardRichHeader.ts#L12) +Defined in: [src/parser/classes/WatchCardRichHeader.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardRichHeader.ts#L12) *** @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/WatchCardRichHeader.ts:12](https://github.com/Lu > **title**: [`Text`](../../Misc/classes/Text.md) -Defined in: [src/parser/classes/WatchCardRichHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardRichHeader.ts#L10) +Defined in: [src/parser/classes/WatchCardRichHeader.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardRichHeader.ts#L10) *** @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/WatchCardRichHeader.ts:10](https://github.com/Lu > **title\_endpoint**: [`NavigationEndpoint`](NavigationEndpoint.md) -Defined in: [src/parser/classes/WatchCardRichHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardRichHeader.ts#L11) +Defined in: [src/parser/classes/WatchCardRichHeader.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardRichHeader.ts#L11) *** @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/WatchCardRichHeader.ts:11](https://github.com/Lu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -88,7 +88,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'WatchCardRichHeader'` -Defined in: [src/parser/classes/WatchCardRichHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardRichHeader.ts#L8) +Defined in: [src/parser/classes/WatchCardRichHeader.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardRichHeader.ts#L8) #### Overrides @@ -100,7 +100,7 @@ Defined in: [src/parser/classes/WatchCardRichHeader.ts:8](https://github.com/Lua > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -142,7 +142,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is WatchCardRichHeader & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchCardSectionSequence.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchCardSectionSequence.md index f031e22b..e6665c85 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchCardSectionSequence.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchCardSectionSequence.md @@ -2,7 +2,7 @@ # Class: WatchCardSectionSequence -Defined in: [src/parser/classes/WatchCardSectionSequence.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardSectionSequence.ts#L5) +Defined in: [src/parser/classes/WatchCardSectionSequence.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardSectionSequence.ts#L5) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/WatchCardSectionSequence.ts:5](https://github.co > **new WatchCardSectionSequence**(`data`): `WatchCardSectionSequence` -Defined in: [src/parser/classes/WatchCardSectionSequence.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardSectionSequence.ts#L10) +Defined in: [src/parser/classes/WatchCardSectionSequence.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardSectionSequence.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/WatchCardSectionSequence.ts:10](https://github.c > **lists**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`YTNode`](../../Helpers/classes/YTNode.md)\> -Defined in: [src/parser/classes/WatchCardSectionSequence.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardSectionSequence.ts#L8) +Defined in: [src/parser/classes/WatchCardSectionSequence.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardSectionSequence.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/WatchCardSectionSequence.ts:8](https://github.co > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'WatchCardSectionSequence'` -Defined in: [src/parser/classes/WatchCardSectionSequence.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchCardSectionSequence.ts#L6) +Defined in: [src/parser/classes/WatchCardSectionSequence.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchCardSectionSequence.ts#L6) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/WatchCardSectionSequence.ts:6](https://github.co > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is WatchCardSectionSequence & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -148,7 +148,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -186,7 +186,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchEndpoint.md index a463c792..58c5554a 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchEndpoint.md @@ -2,7 +2,7 @@ # Class: WatchEndpoint -Defined in: [src/parser/classes/endpoints/WatchEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/WatchEndpoint.ts#L6) +Defined in: [src/parser/classes/endpoints/WatchEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/WatchEndpoint.ts#L6) ## Extends @@ -22,7 +22,7 @@ Defined in: [src/parser/classes/endpoints/WatchEndpoint.ts:6](https://github.com > **new WatchEndpoint**(`data`): `WatchEndpoint` -Defined in: [src/parser/classes/endpoints/WatchEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/WatchEndpoint.ts#L11) +Defined in: [src/parser/classes/endpoints/WatchEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/WatchEndpoint.ts#L11) #### Parameters @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/endpoints/WatchEndpoint.ts:11](https://github.co > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'WatchEndpoint'` -Defined in: [src/parser/classes/endpoints/WatchEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/WatchEndpoint.ts#L7) +Defined in: [src/parser/classes/endpoints/WatchEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/WatchEndpoint.ts#L7) #### Overrides @@ -68,7 +68,7 @@ Defined in: [src/parser/classes/endpoints/WatchEndpoint.ts:7](https://github.com > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -110,7 +110,7 @@ If the node is not of the given type > **buildRequest**(): [`WatchRequest`](../../../../type-aliases/WatchRequest.md) -Defined in: [src/parser/classes/endpoints/WatchEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/WatchEndpoint.ts#L20) +Defined in: [src/parser/classes/endpoints/WatchEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/WatchEndpoint.ts#L20) #### Returns @@ -126,7 +126,7 @@ Defined in: [src/parser/classes/endpoints/WatchEndpoint.ts:20](https://github.co > **getApiPath**(): `string` -Defined in: [src/parser/classes/endpoints/WatchEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/WatchEndpoint.ts#L16) +Defined in: [src/parser/classes/endpoints/WatchEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/WatchEndpoint.ts#L16) #### Returns @@ -142,7 +142,7 @@ Defined in: [src/parser/classes/endpoints/WatchEndpoint.ts:16](https://github.co > **hasKey**\<`T`, `R`\>(`key`): `this is WatchEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -180,7 +180,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -218,7 +218,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchNextEndScreen.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchNextEndScreen.md index 4834d8b0..197c5503 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchNextEndScreen.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchNextEndScreen.md @@ -2,7 +2,7 @@ # Class: WatchNextEndScreen -Defined in: [src/parser/classes/WatchNextEndScreen.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchNextEndScreen.ts#L7) +Defined in: [src/parser/classes/WatchNextEndScreen.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchNextEndScreen.ts#L7) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/WatchNextEndScreen.ts:7](https://github.com/Luan > **new WatchNextEndScreen**(`data`): `WatchNextEndScreen` -Defined in: [src/parser/classes/WatchNextEndScreen.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchNextEndScreen.ts#L13) +Defined in: [src/parser/classes/WatchNextEndScreen.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchNextEndScreen.ts#L13) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/WatchNextEndScreen.ts:13](https://github.com/Lua > **results**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`EndScreenPlaylist`](EndScreenPlaylist.md) \| [`EndScreenVideo`](EndScreenVideo.md)\> -Defined in: [src/parser/classes/WatchNextEndScreen.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchNextEndScreen.ts#L10) +Defined in: [src/parser/classes/WatchNextEndScreen.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchNextEndScreen.ts#L10) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/WatchNextEndScreen.ts:10](https://github.com/Lua > **title**: `string` -Defined in: [src/parser/classes/WatchNextEndScreen.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchNextEndScreen.ts#L11) +Defined in: [src/parser/classes/WatchNextEndScreen.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchNextEndScreen.ts#L11) *** @@ -52,7 +52,7 @@ Defined in: [src/parser/classes/WatchNextEndScreen.ts:11](https://github.com/Lua > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -64,7 +64,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'WatchNextEndScreen'` -Defined in: [src/parser/classes/WatchNextEndScreen.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchNextEndScreen.ts#L8) +Defined in: [src/parser/classes/WatchNextEndScreen.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchNextEndScreen.ts#L8) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/WatchNextEndScreen.ts:8](https://github.com/Luan > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is WatchNextEndScreen & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchNextEndpoint.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchNextEndpoint.md index e6dfb968..c4628cac 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchNextEndpoint.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchNextEndpoint.md @@ -2,7 +2,7 @@ # Class: WatchNextEndpoint -Defined in: [src/parser/classes/endpoints/WatchNextEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/WatchNextEndpoint.ts#L6) +Defined in: [src/parser/classes/endpoints/WatchNextEndpoint.ts:6](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/WatchNextEndpoint.ts#L6) ## Extends @@ -18,7 +18,7 @@ Defined in: [src/parser/classes/endpoints/WatchNextEndpoint.ts:6](https://github > **new WatchNextEndpoint**(`data`): `WatchNextEndpoint` -Defined in: [src/parser/classes/endpoints/WatchNextEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/WatchNextEndpoint.ts#L11) +Defined in: [src/parser/classes/endpoints/WatchNextEndpoint.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/WatchNextEndpoint.ts#L11) #### Parameters @@ -40,7 +40,7 @@ Defined in: [src/parser/classes/endpoints/WatchNextEndpoint.ts:11](https://githu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -52,7 +52,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'WatchNextEndpoint'` -Defined in: [src/parser/classes/endpoints/WatchNextEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/WatchNextEndpoint.ts#L7) +Defined in: [src/parser/classes/endpoints/WatchNextEndpoint.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/WatchNextEndpoint.ts#L7) #### Overrides @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/endpoints/WatchNextEndpoint.ts:7](https://github > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -106,7 +106,7 @@ If the node is not of the given type > **buildRequest**(): [`WatchNextRequest`](../../../../type-aliases/WatchNextRequest.md) -Defined in: [src/parser/classes/endpoints/WatchNextEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/WatchNextEndpoint.ts#L20) +Defined in: [src/parser/classes/endpoints/WatchNextEndpoint.ts:20](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/WatchNextEndpoint.ts#L20) #### Returns @@ -122,7 +122,7 @@ Defined in: [src/parser/classes/endpoints/WatchNextEndpoint.ts:20](https://githu > **getApiPath**(): `string` -Defined in: [src/parser/classes/endpoints/WatchNextEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/endpoints/WatchNextEndpoint.ts#L16) +Defined in: [src/parser/classes/endpoints/WatchNextEndpoint.ts:16](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/endpoints/WatchNextEndpoint.ts#L16) #### Returns @@ -138,7 +138,7 @@ Defined in: [src/parser/classes/endpoints/WatchNextEndpoint.ts:16](https://githu > **hasKey**\<`T`, `R`\>(`key`): `this is WatchNextEndpoint & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -176,7 +176,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -214,7 +214,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchNextTabbedResults.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchNextTabbedResults.md index 6da5af9e..ac36f8cd 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchNextTabbedResults.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/WatchNextTabbedResults.md @@ -2,7 +2,7 @@ # Class: WatchNextTabbedResults -Defined in: [src/parser/classes/WatchNextTabbedResults.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchNextTabbedResults.ts#L4) +Defined in: [src/parser/classes/WatchNextTabbedResults.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchNextTabbedResults.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/WatchNextTabbedResults.ts:4](https://github.com/ > **new WatchNextTabbedResults**(`data`): `WatchNextTabbedResults` -Defined in: [src/parser/classes/WatchNextTabbedResults.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchNextTabbedResults.ts#L7) +Defined in: [src/parser/classes/WatchNextTabbedResults.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchNextTabbedResults.ts#L7) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/WatchNextTabbedResults.ts:7](https://github.com/ > **secondary\_contents**: [`SectionList`](SectionList.md) \| [`BrowseFeedActions`](BrowseFeedActions.md) \| [`ProfileColumn`](ProfileColumn.md) \| `null` -Defined in: [src/parser/classes/TwoColumnBrowseResults.ts:14](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TwoColumnBrowseResults.ts#L14) +Defined in: [src/parser/classes/TwoColumnBrowseResults.ts:14](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TwoColumnBrowseResults.ts#L14) #### Inherited from @@ -48,7 +48,7 @@ Defined in: [src/parser/classes/TwoColumnBrowseResults.ts:14](https://github.com > **tabs**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`Tab`](Tab.md) \| [`ExpandableTab`](ExpandableTab.md)\> -Defined in: [src/parser/classes/TwoColumnBrowseResults.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/TwoColumnBrowseResults.ts#L13) +Defined in: [src/parser/classes/TwoColumnBrowseResults.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/TwoColumnBrowseResults.ts#L13) #### Inherited from @@ -60,7 +60,7 @@ Defined in: [src/parser/classes/TwoColumnBrowseResults.ts:13](https://github.com > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -72,7 +72,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > `static` **type**: `string` = `'WatchNextTabbedResults'` -Defined in: [src/parser/classes/WatchNextTabbedResults.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/WatchNextTabbedResults.ts#L5) +Defined in: [src/parser/classes/WatchNextTabbedResults.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/WatchNextTabbedResults.ts#L5) #### Overrides @@ -84,7 +84,7 @@ Defined in: [src/parser/classes/WatchNextTabbedResults.ts:5](https://github.com/ > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -126,7 +126,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is WatchNextTabbedResults & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -164,7 +164,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -202,7 +202,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTNodes/classes/YpcTrailer.md b/docs/api/youtubei.js/namespaces/YTNodes/classes/YpcTrailer.md index b28eb4ce..4302019c 100644 --- a/docs/api/youtubei.js/namespaces/YTNodes/classes/YpcTrailer.md +++ b/docs/api/youtubei.js/namespaces/YTNodes/classes/YpcTrailer.md @@ -2,7 +2,7 @@ # Class: YpcTrailer -Defined in: [src/parser/classes/YpcTrailer.ts:4](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/YpcTrailer.ts#L4) +Defined in: [src/parser/classes/YpcTrailer.ts:4](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/YpcTrailer.ts#L4) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/classes/YpcTrailer.ts:4](https://github.com/LuanRT/YouTu > **new YpcTrailer**(`data`): `YpcTrailer` -Defined in: [src/parser/classes/YpcTrailer.ts:10](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/YpcTrailer.ts#L10) +Defined in: [src/parser/classes/YpcTrailer.ts:10](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/YpcTrailer.ts#L10) #### Parameters @@ -36,7 +36,7 @@ Defined in: [src/parser/classes/YpcTrailer.ts:10](https://github.com/LuanRT/YouT > **player\_response**: [`IRawResponse`](../../../../interfaces/IRawResponse.md) -Defined in: [src/parser/classes/YpcTrailer.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/YpcTrailer.ts#L8) +Defined in: [src/parser/classes/YpcTrailer.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/YpcTrailer.ts#L8) *** @@ -44,7 +44,7 @@ Defined in: [src/parser/classes/YpcTrailer.ts:8](https://github.com/LuanRT/YouTu > `readonly` **type**: `string` -Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L8) +Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L8) #### Inherited from @@ -56,7 +56,7 @@ Defined in: [src/parser/helpers.ts:8](https://github.com/LuanRT/YouTube.js/blob/ > **video\_message**: `string` -Defined in: [src/parser/classes/YpcTrailer.ts:7](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/YpcTrailer.ts#L7) +Defined in: [src/parser/classes/YpcTrailer.ts:7](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/YpcTrailer.ts#L7) *** @@ -64,7 +64,7 @@ Defined in: [src/parser/classes/YpcTrailer.ts:7](https://github.com/LuanRT/YouTu > `static` **type**: `string` = `'YpcTrailer'` -Defined in: [src/parser/classes/YpcTrailer.ts:5](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/classes/YpcTrailer.ts#L5) +Defined in: [src/parser/classes/YpcTrailer.ts:5](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/classes/YpcTrailer.ts#L5) #### Overrides @@ -76,7 +76,7 @@ Defined in: [src/parser/classes/YpcTrailer.ts:5](https://github.com/LuanRT/YouTu > **as**\<`T`, `K`\>(...`types`): `InstanceType`\<`K`\[`number`\]\> -Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L29) +Defined in: [src/parser/helpers.ts:29](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L29) Cast to one of the given types. @@ -118,7 +118,7 @@ If the node is not of the given type > **hasKey**\<`T`, `R`\>(`key`): `this is YpcTrailer & { [k in string]: R }` -Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L41) +Defined in: [src/parser/helpers.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L41) Check for a key without asserting the type. @@ -156,7 +156,7 @@ Whether the node has the key > **is**\<`T`, `K`\>(...`types`): `this is InstanceType` -Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L19) +Defined in: [src/parser/helpers.ts:19](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L19) Check if the node is of the given type. @@ -194,7 +194,7 @@ whether the node is of the given type > **key**\<`T`, `R`\>(`key`): [`Maybe`](../../Helpers/classes/Maybe.md) -Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/helpers.ts#L51) +Defined in: [src/parser/helpers.ts:51](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/helpers.ts#L51) Assert that the node has the given key and return it. diff --git a/docs/api/youtubei.js/namespaces/YTShorts/classes/ShortFormVideoInfo.md b/docs/api/youtubei.js/namespaces/YTShorts/classes/ShortFormVideoInfo.md index 60c62419..c9bf3285 100644 --- a/docs/api/youtubei.js/namespaces/YTShorts/classes/ShortFormVideoInfo.md +++ b/docs/api/youtubei.js/namespaces/YTShorts/classes/ShortFormVideoInfo.md @@ -2,7 +2,7 @@ # Class: ShortFormVideoInfo -Defined in: [src/parser/ytshorts/ShortFormVideoInfo.ts:9](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytshorts/ShortFormVideoInfo.ts#L9) +Defined in: [src/parser/ytshorts/ShortFormVideoInfo.ts:9](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytshorts/ShortFormVideoInfo.ts#L9) ## Extends @@ -14,7 +14,7 @@ Defined in: [src/parser/ytshorts/ShortFormVideoInfo.ts:9](https://github.com/Lua > **new ShortFormVideoInfo**(`data`, `actions`, `cpn`, `reel_watch_sequence_response`): `ShortFormVideoInfo` -Defined in: [src/parser/ytshorts/ShortFormVideoInfo.ts:15](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytshorts/ShortFormVideoInfo.ts#L15) +Defined in: [src/parser/ytshorts/ShortFormVideoInfo.ts:15](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytshorts/ShortFormVideoInfo.ts#L15) #### Parameters @@ -48,7 +48,7 @@ Defined in: [src/parser/ytshorts/ShortFormVideoInfo.ts:15](https://github.com/Lu > `optional` **annotations**: [`ObservedArray`](../../Helpers/type-aliases/ObservedArray.md)\<[`PlayerAnnotationsExpanded`](../../YTNodes/classes/PlayerAnnotationsExpanded.md)\> -Defined in: [src/core/mixins/MediaInfo.ts:40](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L40) +Defined in: [src/core/mixins/MediaInfo.ts:40](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L40) #### Inherited from @@ -60,7 +60,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:40](https://github.com/LuanRT/YouTube. > **basic\_info**: `object` -Defined in: [src/core/mixins/MediaInfo.ts:39](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L39) +Defined in: [src/core/mixins/MediaInfo.ts:39](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L39) #### allow\_ratings? @@ -204,7 +204,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:39](https://github.com/LuanRT/YouTube. > `optional` **captions**: [`PlayerCaptionsTracklist`](../../YTNodes/classes/PlayerCaptionsTracklist.md) -Defined in: [src/core/mixins/MediaInfo.ts:43](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L43) +Defined in: [src/core/mixins/MediaInfo.ts:43](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L43) #### Inherited from @@ -216,7 +216,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:43](https://github.com/LuanRT/YouTube. > `optional` **cards**: [`CardCollection`](../../YTNodes/classes/CardCollection.md) -Defined in: [src/core/mixins/MediaInfo.ts:44](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L44) +Defined in: [src/core/mixins/MediaInfo.ts:44](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L44) #### Inherited from @@ -228,7 +228,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:44](https://github.com/LuanRT/YouTube. > `optional` **current\_video\_endpoint**: [`NavigationEndpoint`](../../YTNodes/classes/NavigationEndpoint.md) -Defined in: [src/parser/ytshorts/ShortFormVideoInfo.ts:12](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytshorts/ShortFormVideoInfo.ts#L12) +Defined in: [src/parser/ytshorts/ShortFormVideoInfo.ts:12](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytshorts/ShortFormVideoInfo.ts#L12) *** @@ -236,7 +236,7 @@ Defined in: [src/parser/ytshorts/ShortFormVideoInfo.ts:12](https://github.com/Lu > `optional` **endscreen**: [`Endscreen`](../../YTNodes/classes/Endscreen.md) -Defined in: [src/core/mixins/MediaInfo.ts:42](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L42) +Defined in: [src/core/mixins/MediaInfo.ts:42](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L42) #### Inherited from @@ -248,7 +248,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:42](https://github.com/LuanRT/YouTube. > `optional` **playability\_status**: [`IPlayabilityStatus`](../../../../interfaces/IPlayabilityStatus.md) -Defined in: [src/core/mixins/MediaInfo.ts:46](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L46) +Defined in: [src/core/mixins/MediaInfo.ts:46](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L46) #### Inherited from @@ -260,7 +260,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:46](https://github.com/LuanRT/YouTube. > `optional` **player\_config**: [`IPlayerConfig`](../../../../interfaces/IPlayerConfig.md) -Defined in: [src/core/mixins/MediaInfo.ts:47](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L47) +Defined in: [src/core/mixins/MediaInfo.ts:47](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L47) #### Inherited from @@ -272,7 +272,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:47](https://github.com/LuanRT/YouTube. > `optional` **player\_overlays**: [`PlayerOverlay`](../../YTNodes/classes/PlayerOverlay.md) -Defined in: [src/parser/ytshorts/ShortFormVideoInfo.ts:13](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytshorts/ShortFormVideoInfo.ts#L13) +Defined in: [src/parser/ytshorts/ShortFormVideoInfo.ts:13](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytshorts/ShortFormVideoInfo.ts#L13) *** @@ -280,7 +280,7 @@ Defined in: [src/parser/ytshorts/ShortFormVideoInfo.ts:13](https://github.com/Lu > `optional` **storyboards**: [`PlayerStoryboardSpec`](../../YTNodes/classes/PlayerStoryboardSpec.md) \| [`PlayerLiveStoryboardSpec`](../../YTNodes/classes/PlayerLiveStoryboardSpec.md) -Defined in: [src/core/mixins/MediaInfo.ts:41](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L41) +Defined in: [src/core/mixins/MediaInfo.ts:41](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L41) #### Inherited from @@ -292,7 +292,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:41](https://github.com/LuanRT/YouTube. > `optional` **streaming\_data**: [`IStreamingData`](../../../../interfaces/IStreamingData.md) -Defined in: [src/core/mixins/MediaInfo.ts:45](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L45) +Defined in: [src/core/mixins/MediaInfo.ts:45](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L45) #### Inherited from @@ -304,7 +304,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:45](https://github.com/LuanRT/YouTube. > `optional` **watch\_next\_feed**: [`NavigationEndpoint`](../../YTNodes/classes/NavigationEndpoint.md)[] -Defined in: [src/parser/ytshorts/ShortFormVideoInfo.ts:11](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytshorts/ShortFormVideoInfo.ts#L11) +Defined in: [src/parser/ytshorts/ShortFormVideoInfo.ts:11](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytshorts/ShortFormVideoInfo.ts#L11) ## Accessors @@ -314,7 +314,7 @@ Defined in: [src/parser/ytshorts/ShortFormVideoInfo.ts:11](https://github.com/Lu > **get** **actions**(): [`Actions`](../../../../classes/Actions.md) -Defined in: [src/core/mixins/MediaInfo.ts:247](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L247) +Defined in: [src/core/mixins/MediaInfo.ts:247](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L247) ##### Returns @@ -332,7 +332,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:247](https://github.com/LuanRT/YouTube > **get** **cpn**(): `string` -Defined in: [src/core/mixins/MediaInfo.ts:254](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L254) +Defined in: [src/core/mixins/MediaInfo.ts:254](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L254) Content Playback Nonce. @@ -352,7 +352,7 @@ Content Playback Nonce. > **get** **page**(): \[[`IPlayerResponse`](../../../../type-aliases/IPlayerResponse.md), [`INextResponse`](../../../../type-aliases/INextResponse.md)?\] -Defined in: [src/core/mixins/MediaInfo.ts:261](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L261) +Defined in: [src/core/mixins/MediaInfo.ts:261](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L261) Parsed InnerTube response. @@ -372,7 +372,7 @@ Parsed InnerTube response. > **get** **wn\_has\_continuation**(): `boolean` -Defined in: [src/parser/ytshorts/ShortFormVideoInfo.ts:47](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytshorts/ShortFormVideoInfo.ts#L47) +Defined in: [src/parser/ytshorts/ShortFormVideoInfo.ts:47](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytshorts/ShortFormVideoInfo.ts#L47) Checks if continuation is available for the watch next feed. @@ -386,7 +386,7 @@ Checks if continuation is available for the watch next feed. > **addToWatchHistory**(`client_name?`, `client_version?`, `replacement?`): `Promise`\<`Response`\> -Defined in: [src/core/mixins/MediaInfo.ts:208](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L208) +Defined in: [src/core/mixins/MediaInfo.ts:208](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L208) #### Parameters @@ -416,7 +416,7 @@ Defined in: [src/core/mixins/MediaInfo.ts:208](https://github.com/LuanRT/YouTube > **chooseFormat**(`options`): [`Format`](../../Misc/classes/Format.md) -Defined in: [src/core/mixins/MediaInfo.ts:161](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L161) +Defined in: [src/core/mixins/MediaInfo.ts:161](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L161) Selects the format that best matches the given options. @@ -440,15 +440,15 @@ Options ### download() -> **download**(`options`): `Promise`\<`ReadableStream`\<`Uint8Array`\>\> +> **download**(`options?`): `Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\> -Defined in: [src/core/mixins/MediaInfo.ts:169](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L169) +Defined in: [src/core/mixins/MediaInfo.ts:169](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L169) Downloads the video. #### Parameters -##### options +##### options? [`DownloadOptions`](../../Types/interfaces/DownloadOptions.md) = `{}` @@ -456,7 +456,7 @@ Download options. #### Returns -`Promise`\<`ReadableStream`\<`Uint8Array`\>\> +`Promise`\<`ReadableStream`\<`Uint8Array`\<`ArrayBufferLike`\>\>\> #### Inherited from @@ -468,7 +468,7 @@ Download options. > **getStreamingInfo**(`url_transformer?`, `format_filter?`): `Promise`\<`StreamingInfo`\> -Defined in: [src/core/mixins/MediaInfo.ts:144](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L144) +Defined in: [src/core/mixins/MediaInfo.ts:144](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L144) Get a cleaned up representation of the adaptive_formats @@ -496,7 +496,7 @@ Get a cleaned up representation of the adaptive_formats > **getTranscript**(): `Promise`\<[`TranscriptInfo`](../../YT/classes/TranscriptInfo.md)\> -Defined in: [src/core/mixins/MediaInfo.ts:182](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L182) +Defined in: [src/core/mixins/MediaInfo.ts:182](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L182) Retrieves the video's transcript. @@ -514,7 +514,7 @@ Retrieves the video's transcript. > **getWatchNextContinuation**(): `Promise`\<`ShortFormVideoInfo`\> -Defined in: [src/parser/ytshorts/ShortFormVideoInfo.ts:27](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/parser/ytshorts/ShortFormVideoInfo.ts#L27) +Defined in: [src/parser/ytshorts/ShortFormVideoInfo.ts:27](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/parser/ytshorts/ShortFormVideoInfo.ts#L27) #### Returns @@ -524,15 +524,15 @@ Defined in: [src/parser/ytshorts/ShortFormVideoInfo.ts:27](https://github.com/Lu ### toDash() -> **toDash**(`options`): `Promise`\<`string`\> +> **toDash**(`options?`): `Promise`\<`string`\> -Defined in: [src/core/mixins/MediaInfo.ts:104](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L104) +Defined in: [src/core/mixins/MediaInfo.ts:104](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L104) Generates a DASH manifest from the streaming data. #### Parameters -##### options +##### options? ###### format_filter? @@ -560,9 +560,9 @@ DASH manifest ### updateWatchTime() -> **updateWatchTime**(`startTime`, `client_name`, `client_version`, `replacement`): `Promise`\<`Response`\> +> **updateWatchTime**(`startTime`, `client_name?`, `client_version?`, `replacement?`): `Promise`\<`Response`\> -Defined in: [src/core/mixins/MediaInfo.ts:227](https://github.com/LuanRT/YouTube.js/blob/0733f60b57877f6b8b87dfd5cc6195b5085f5c09/src/core/mixins/MediaInfo.ts#L227) +Defined in: [src/core/mixins/MediaInfo.ts:227](https://github.com/LuanRT/YouTube.js/blob/faaf5fc5c15ff93eac8442b2fbdb4767d9a47b3f/src/core/mixins/MediaInfo.ts#L227) #### Parameters @@ -570,15 +570,15 @@ Defined in: [src/core/mixins/MediaInfo.ts:227](https://github.com/LuanRT/YouTube `number` -##### client\_name +##### client\_name? `string` = `Constants.CLIENTS.WEB.NAME` -##### client\_version +##### client\_version? `string` = `Constants.CLIENTS.WEB.VERSION` -##### replacement +##### replacement? `string` = `'https://www.'`