Add download location settings

This commit is contained in:
Geomitron
2024-07-12 15:42:41 -05:00
parent 91e80aed52
commit 7968592893
13 changed files with 168 additions and 52 deletions

View File

@@ -5,7 +5,8 @@
export interface Download {
action: 'add' | 'remove' | 'retry'
md5: string
chartName?: string // Should be defined if action === 'add'
// Should be defined if action === 'add'
chart?: { name: string; artist: string; album: string; genre: string; year: string; charter: string }
}
/**
@@ -13,7 +14,7 @@ export interface Download {
*/
export interface DownloadProgress {
md5: string
chartName: string
chart: { name: string; artist: string; album: string; genre: string; year: string; charter: string }
header: string
body: string
percent: number | null