aboutsummaryrefslogtreecommitdiffstats
path: root/src/Types.hx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Types.hx')
-rw-r--r--src/Types.hx6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Types.hx b/src/Types.hx
index 4ef233b..eeae641 100644
--- a/src/Types.hx
+++ b/src/Types.hx
@@ -1,6 +1,7 @@
package;
import Client.ClientData;
+import utils.YoutubeUtils.YouTubeVideoInfo;
typedef VideoDataRequest = {
url:String,
@@ -204,6 +205,10 @@ typedef WsEvent = {
},
?dump:{
data:String
+ },
+ ?getYoutubeVideoInfo:{
+ url:String,
+ ?response:YouTubeVideoInfo
}
}
@@ -242,4 +247,5 @@ enum abstract WsEventType(String) {
var UpdatePlaylist;
var TogglePlaylistLock;
var Dump;
+ var GetYoutubeVideoInfo;
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage