mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-22 22:18:14 +00:00
* dev: start LiveChat refactor * dev: implement simple module system to separate classes + add a few Live Chat actions * dev: add fundamental Live Chat classes * chore: update type declarations * feat: finalize Live Chat Now supporting almost all kinds of messages! Next up: add a ability to send messages. * chore: update type declarations * chore: update contributors list * feat(livechat): add `sendMessage()` method * chore: remove unneeded files * style: format code * chore: remove outdated examples * chore: update tests * chore: remove trailing spaces * chore: remove trailing spaces x2
31 lines
930 B
TypeScript
31 lines
930 B
TypeScript
export = Library;
|
|
/** @namespace */
|
|
declare class Library {
|
|
/**
|
|
* @param {object} response - API response.
|
|
* @param {import('../../core/Actions')} actions
|
|
*/
|
|
constructor(response: object, actions: import('../../core/Actions'));
|
|
profile: {
|
|
stats: any;
|
|
user_info: any;
|
|
};
|
|
/** @type {{ type: string, title: import('../contents/classes/Text'), contents: object[], getAll: Promise.<Playlist | History | Feed> }[] } */
|
|
sections: {
|
|
type: string;
|
|
title: import('../contents/classes/Text');
|
|
contents: object[];
|
|
getAll: Promise<Playlist | History | Feed>;
|
|
}[];
|
|
get history(): any;
|
|
get watch_later(): any;
|
|
get liked_videos(): any;
|
|
get playlists(): any;
|
|
get clips(): any;
|
|
get page(): any;
|
|
#private;
|
|
}
|
|
import Playlist = require("./Playlist");
|
|
import History = require("./History");
|
|
import Feed = require("../../core/Feed");
|