feat(parser): Add UnifiedSharePanel

This commit is contained in:
Luan
2024-11-10 04:08:23 -03:00
parent fdb754043b
commit 4a1397f1bc
7 changed files with 123 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
import { type RawNode, Parser } from '../index.js';
import { type ObservedArray, YTNode } from '../helpers.js';
import ShareTarget from './ShareTarget.js';
export default class ThirdPartyShareTargetSection extends YTNode {
static type = 'ThirdPartyShareTargetSection';
public share_targets: ObservedArray<ShareTarget>;
constructor(data: RawNode) {
super();
this.share_targets = Parser.parseArray(data.shareTargets, ShareTarget);
}
}