aboutsummaryrefslogtreecommitdiffstats
path: root/src/Types.hx
diff options
context:
space:
mode:
authorRblSb <msrblsb@gmail.com>2020-03-08 03:20:52 +0300
committerRblSb <msrblsb@gmail.com>2020-03-08 03:20:52 +0300
commit4df4f2d023d7c2413fb5d6bf9597ce409c3354be (patch)
tree9385e57e234e3c27ba1ce3433c63df38a92c3702 /src/Types.hx
parentc6709732e858d111a75d14f8b9a132c58487f8d8 (diff)
Youtube playlists and api key in config
Diffstat (limited to 'src/Types.hx')
-rw-r--r--src/Types.hx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Types.hx b/src/Types.hx
index a98c7a1..2501cc4 100644
--- a/src/Types.hx
+++ b/src/Types.hx
@@ -4,7 +4,8 @@ import Client.ClientData;
typedef VideoData = {
duration:Float,
- ?title:String
+ ?title:String,
+ ?url:String
}
typedef Config = {
@@ -16,6 +17,7 @@ typedef Config = {
totalVideoLimit:Int,
userVideoLimit:Int,
templateUrl:String,
+ youtubeApiKey:String,
permissions:{
guest:Array<Permission>,
user:Array<Permission>,
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage