mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-21 21:42:25 +00:00
feat(parser): add MusicCardShelf (#358)
This commit is contained in:
14
src/parser/classes/MusicCardShelfHeaderBasic.ts
Normal file
14
src/parser/classes/MusicCardShelfHeaderBasic.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
import { YTNode } from '../helpers.js';
|
||||
import { RawNode } from '../index.js';
|
||||
import Text from './misc/Text.js';
|
||||
|
||||
export default class MusicCardShelfHeaderBasic extends YTNode {
|
||||
static type = 'MusicCardShelfHeaderBasic';
|
||||
|
||||
title: Text;
|
||||
|
||||
constructor(data: RawNode) {
|
||||
super();
|
||||
this.title = new Text(data.title);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user