chore: v5.0.0 release

This commit is contained in:
LuanRT
2023-04-29 05:15:47 +00:00
parent b19d687eed
commit 48dc99e28b
445 changed files with 4076 additions and 3578 deletions

View File

@@ -1,17 +1,16 @@
import Text from './misc/Text.ts';
import { YTNode } from '../helpers.ts';
import type { RawNode } from '../index.ts';
import Text from './misc/Text.ts';
class SimpleCardTeaser extends YTNode {
export default class SimpleCardTeaser extends YTNode {
static type = 'SimpleCardTeaser';
message: Text;
prominent: boolean; // TODO: or string?
prominent: boolean; // @TODO: or string?
constructor(data: any) {
constructor(data: RawNode) {
super();
this.message = new Text(data.message);
this.prominent = data.prominent;
}
}
export default SimpleCardTeaser;
}