feat(parser): add GridShow and ShowCustomThumbnail

Closes #459
This commit is contained in:
LuanRT
2023-03-15 05:15:16 -03:00
parent b71f03caf2
commit 8ef4b42d44
5 changed files with 64 additions and 9 deletions

View File

@@ -0,0 +1,14 @@
import { YTNode } from '../helpers.js';
import { RawNode } from '../index.js';
import Thumbnail from './misc/Thumbnail.js';
export default class ShowCustomThumbnail extends YTNode {
static type = 'ShowCustomThumbnail';
thumbnail: Thumbnail[];
constructor(data: RawNode) {
super();
this.thumbnail = Thumbnail.fromResponse(data.thumbnail);
}
}