aboutsummaryrefslogtreecommitdiff
path: root/scripts/config.ts
blob: 1068c9220183dea2234f522aa45f1823fa24a6dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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 }
}