Code refactoring

This commit is contained in:
2022-08-29 22:44:06 +02:00
parent 32bc925fb7
commit d99899eb16
12 changed files with 62 additions and 50 deletions

View File

@@ -1,11 +1,11 @@
interface IDownloadInfo {
formats: Array<IDownloadInfoSection>,
best: IDownloadInfoSection,
export interface IDownloadMetadata {
formats: Array<IDownloadFormat>,
best: IDownloadFormat,
thumbnail: string,
title: string,
}
interface IDownloadInfoSection {
export interface IDownloadFormat {
format_id: string,
format_note: string,
fps: number,

View File

@@ -1,4 +1,5 @@
export interface ISettings {
download_path: string,
cliArgs?: string[],
port?: number,
}