UNPKG

innertuber-rn

Version:

A wrapper around YouTube's private API. Supports YouTube, YouTube Music, YouTube Kids and YouTube Studio (WIP).

17 lines 634 B
import { YTNode } from '../helpers.js'; import NavigationEndpoint from './NavigationEndpoint.js'; import Text from './misc/Text.js'; class FeedNudge extends YTNode { constructor(data) { super(); this.title = new Text(data.title); this.subtitle = new Text(data.subtitle); this.endpoint = new NavigationEndpoint(data.impressionEndpoint); this.apply_modernized_style = data.applyModernizedStyle; this.trim_style = data.trimStyle; this.background_style = data.backgroundStyle; } } FeedNudge.type = 'FeedNudge'; export default FeedNudge; //# sourceMappingURL=FeedNudge.js.map