aboutsummaryrefslogtreecommitdiffstats
path: root/src/Types.hx
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2024-08-02 06:25:45 +0300
committerRblSb <msrblsb@gmail.com>2024-08-02 06:25:45 +0300
commit7ee893a287c8992196b0b5f51124074fa7c47f4f (patch)
treeec32c22b059727ecdd6b909870f97da12aceb097 /src/Types.hx
parent4df711e1568fedcccb45cd86737d89be6a02e7ad (diff)
Streamable support
closes #49
Diffstat (limited to 'src/Types.hx')
-rw-r--r--src/Types.hx14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/Types.hx b/src/Types.hx
index 27b2cce..a02b4a9 100644
--- a/src/Types.hx
+++ b/src/Types.hx
@@ -4,16 +4,16 @@ import Client.ClientData;
import utils.YoutubeUtils.YouTubeVideoInfo;
typedef VideoDataRequest = {
- url:String,
- atEnd:Bool
+ final url:String;
+ final atEnd:Bool;
}
typedef VideoData = {
- duration:Float,
- ?title:String,
- ?url:String,
- ?subs:String,
- ?isIframe:Bool
+ final duration:Float;
+ var ?title:String;
+ var ?url:String;
+ var ?subs:String;
+ var ?isIframe:Bool;
}
typedef Config = {
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage