UNPKG

@duell10111/youtubei.js

Version:

A JavaScript client for YouTube's private API, known as InnerTube.

50 lines (49 loc) 1.69 kB
import { YTNode, type ObservedArray } from '../helpers.js'; import { type RawNode } from '../index.js'; import ItemSection from './ItemSection.js'; import SectionList from './SectionList.js'; import Text from './misc/Text.js'; import AutonavEndpoint from './endpoints/AutonavEndpoint.js'; import MaybeHistoryEndpoint from './MaybeHistoryEndpoint.js'; import Author from './misc/Author.js'; import Menu from './menus/Menu.js'; import type NavigationEndpoint from './NavigationEndpoint.js'; import AutoplayEndpoint from './endpoints/AutoplayEndpoint.js'; export default class SingleColumnWatchNextResults extends YTNode { static type: string; results: { results: { contents: ObservedArray<ItemSection> | null; tracking_params: string; }; }; autoplay: { autoplay: { sets: { mode: string; autoplay_video_renderer: AutonavEndpoint | AutoplayEndpoint | null; next_video_renderer: MaybeHistoryEndpoint | null; previous_video_renderer: MaybeHistoryEndpoint | null; }[]; title: Text; count_down_secs: number; replay_video_renderer: YTNode | null; tracking_params: string; }; }; playlist?: { id: string; title: string; author: Text | Author; contents: YTNode[]; current_index: number; is_infinite: boolean; menu: Menu | null; endpoint: NavigationEndpoint; isEditable: boolean; totalVideos: number; totalVideosText: Text; }; pivot: SectionList | null; constructor(data: RawNode); }