aboutsummaryrefslogtreecommitdiff
path: root/scripts/config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/config.ts')
-rw-r--r--scripts/config.ts20
1 files changed, 20 insertions, 0 deletions
diff --git a/scripts/config.ts b/scripts/config.ts
new file mode 100644
index 0000000..1068c92
--- /dev/null
+++ b/scripts/config.ts
@@ -0,0 +1,20 @@
+
+export interface Config {
+ enqueue: EnqueueTask[]
+ ytdlp_flatten: {
+ filters: { [key: string]: string }
+ }
+ ytdlp_download: {
+ output: string,
+ profiles: { [key: string]: string[] }
+ }
+}
+
+export interface EnqueueTask {
+ list_file: string
+ kind: string,
+ interval: number,
+ filter?: string,
+ oneshot?: boolean,
+ data: { [key: string]: unknown }
+}