chore: catch up

This commit is contained in:
Luan
2024-11-27 07:33:23 -03:00
2 changed files with 3 additions and 1 deletions

View File

@@ -14,6 +14,7 @@ export default class PageHeaderView extends YTNode {
title: DynamicTextView | null;
image: ContentPreviewImageView | DecoratedAvatarView | null;
animated_image: ContentPreviewImageView | null;
metadata: ContentMetadataView | null;
actions: FlexibleActionsView | null;
description: DescriptionPreviewView | null;
@@ -24,6 +25,7 @@ export default class PageHeaderView extends YTNode {
super();
this.title = Parser.parseItem(data.title, DynamicTextView);
this.image = Parser.parseItem(data.image, [ ContentPreviewImageView, DecoratedAvatarView ]);
this.animated_image = Parser.parseItem(data.animatedImage, ContentPreviewImageView);
this.metadata = Parser.parseItem(data.metadata, ContentMetadataView);
this.actions = Parser.parseItem(data.actions, FlexibleActionsView);
this.description = Parser.parseItem(data.description, DescriptionPreviewView);