@np-dev/youtubei-js
Version:
A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).
12 lines • 494 B
JavaScript
import { YTNode } from '../../helpers.js';
import NavigationEndpoint from '../NavigationEndpoint.js';
class MenuServiceItemDownload extends YTNode {
constructor(data) {
super();
this.has_separator = !!data.hasSeparator;
this.endpoint = new NavigationEndpoint(data.navigationEndpoint || data.serviceEndpoint);
}
}
MenuServiceItemDownload.type = 'MenuServiceItemDownload';
export default MenuServiceItemDownload;
//# sourceMappingURL=MenuServiceItemDownload.js.map