diff options
Diffstat (limited to 'src/Types.hx')
| -rw-r--r-- | src/Types.hx | 6 |
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; } |
