mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-19 20:41:17 +00:00
88 lines
1.8 KiB
TypeScript
88 lines
1.8 KiB
TypeScript
export = NavigationEndpoint;
|
|
declare class NavigationEndpoint {
|
|
constructor(data: any);
|
|
type: string;
|
|
payload: any;
|
|
dialog: any;
|
|
metadata: {};
|
|
browse: {
|
|
id: any;
|
|
params: any;
|
|
base_url: any;
|
|
page_type: any;
|
|
};
|
|
watch: {
|
|
video_id: any;
|
|
playlist_id: any;
|
|
params: any;
|
|
index: any;
|
|
supported_onesie_config: any;
|
|
music_video_type: any;
|
|
};
|
|
search: {
|
|
query: any;
|
|
params: any;
|
|
};
|
|
subscribe: {
|
|
channel_ids: any;
|
|
params: any;
|
|
};
|
|
unsubscribe: {
|
|
channel_ids: any;
|
|
params: any;
|
|
};
|
|
like: {
|
|
status: any;
|
|
target: {
|
|
video_id: any;
|
|
playlist_id: any;
|
|
};
|
|
params: any;
|
|
};
|
|
perform_comment_action: {
|
|
action: any;
|
|
};
|
|
offline_video: {
|
|
video_id: any;
|
|
on_add_command: {
|
|
get_download_action: {
|
|
video_id: any;
|
|
params: any;
|
|
};
|
|
};
|
|
};
|
|
continuation: {
|
|
request: any;
|
|
token: any;
|
|
};
|
|
feedback: {
|
|
token: any;
|
|
};
|
|
watch_playlist: {
|
|
playlist_id: any;
|
|
};
|
|
playlist_edit: {
|
|
playlist_id: any;
|
|
actions: any;
|
|
};
|
|
add_to_playlist: {
|
|
video_id: any;
|
|
};
|
|
get_report_form: {
|
|
params: any;
|
|
};
|
|
live_chat_item_context_menu: {
|
|
params: any;
|
|
};
|
|
send_live_chat_vote: {
|
|
params: any;
|
|
};
|
|
/**
|
|
* Calls the endpoint. (This is an experiment and may replace {@link call()} in the future.).
|
|
* @param {import('../../../core/Actions')} actions
|
|
* @param {object} args
|
|
*/
|
|
callTest(actions: any, args?: object): Promise<any>;
|
|
call(actions: any, client: any): Promise<any>;
|
|
}
|