mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-22 22:18:14 +00:00
chore: clean up build steps
This commit is contained in:
15
src/parser/classes/MetadataRowContainer.ts
Normal file
15
src/parser/classes/MetadataRowContainer.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import Parser from '../index';
|
||||
|
||||
import { YTNode } from '../helpers';
|
||||
|
||||
class MetadataRowContainer extends YTNode {
|
||||
static type = 'MetadataRowContainer';
|
||||
rows;
|
||||
collapsed_item_count: number; // TODO: validate this assumption
|
||||
constructor(data: any) {
|
||||
super();
|
||||
this.rows = Parser.parseArray(data.rows);
|
||||
this.collapsed_item_count = data.collapsedItemCount;
|
||||
}
|
||||
}
|
||||
export default MetadataRowContainer;
|
||||
Reference in New Issue
Block a user