mirror of
https://github.com/LuanRT/YouTube.js.git
synced 2026-06-25 07:42:11 +00:00
feat(Parser): Add ClipSection (#532)
* feat: add `ClipSection` * fix: Update src/parser/classes/ClipCreation.ts --------- Co-authored-by: absidue <48293849+absidue@users.noreply.github.com>
This commit is contained in:
17
src/parser/classes/ClipCreationTextInput.ts
Normal file
17
src/parser/classes/ClipCreationTextInput.ts
Normal file
@@ -0,0 +1,17 @@
|
||||
import { YTNode } from '../helpers.js';
|
||||
import Text from './misc/Text.js';
|
||||
|
||||
import type { RawNode } from '../types/index.js';
|
||||
|
||||
export default class ClipCreationTextInput extends YTNode {
|
||||
static type = 'ClipCreationTextInput';
|
||||
|
||||
placeholder_text: Text;
|
||||
max_character_limit: number;
|
||||
|
||||
constructor(data: RawNode) {
|
||||
super();
|
||||
this.placeholder_text = new Text(data.placeholderText);
|
||||
this.max_character_limit = data.maxCharacterLimit;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user