Refactor download queue

This commit is contained in:
Geomitron
2020-05-10 12:18:25 -04:00
parent 6f8f69c087
commit 1cfb5f4e93
15 changed files with 678 additions and 490 deletions

View File

@@ -4,7 +4,7 @@ import { DriveChart } from './songDetails.interface'
* Represents a user's request to interact with the download system.
*/
export interface Download {
action: 'add' | 'retry' | 'continue' | 'cancel'
action: 'add' | 'retry' | 'cancel'
versionID: number
data?: NewDownload // Should be defined if action == 'add'
}