UNPKG

innertuber-rn

Version:

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

14 lines 503 B
import { YTNode } from '../helpers.js'; import { Parser } from '../index.js'; import Factoid from './Factoid.js'; class ViewCountFactoid extends YTNode { constructor(data) { super(); this.view_count_entity_key = data.viewCountEntityKey; this.factoid = Parser.parseItem(data.factoid, [Factoid]); this.view_count_type = data.viewCountType; } } ViewCountFactoid.type = 'ViewCountFactoid'; export default ViewCountFactoid; //# sourceMappingURL=ViewCountFactoid.js.map