feat(downloads): finish missing-file recovery

This commit is contained in:
4gray committed 2026-08-01 16:29:50 +02:00
1 parent 5808511658
commit 51d80c5c0c
41 files changed
+358 -208

No files matched your search

@@ -138,9 +138,7 @@ export type ElectronBridgeDownloadStatus =
(typeof ELECTRON_BRIDGE_DOWNLOAD_STATUSES)[keyof typeof ELECTRON_BRIDGE_DOWNLOAD_STATUSES];
export type ElectronDownloadFileAvailability =
| 'available'
| 'missing'
| 'not-applicable';
'available' | 'missing' | 'not-applicable';
export const ELECTRON_BRIDGE_APP_UPDATE_STATUSES = {
Unsupported: 'unsupported',
@@ -391,8 +389,7 @@ export interface ElectronBridgePlaylistRow {
}
export type ElectronBridgePlaylistUpsertInput =
| Playlist
| ElectronBridgePlaylistInput;
Playlist | ElectronBridgePlaylistInput;
export interface ElectronBridgeCategoryRow {
id: number;
@@ -938,9 +935,7 @@ export interface ElectronBridgeApi {
playlistId: string,
pins: VodSourcePin[]
) => Promise<ElectronBridgeResult>;
dbClearVodSourcePin: (
matchKeys: string[]
) => Promise<ElectronBridgeResult>;
dbClearVodSourcePin: (matchKeys: string[]) => Promise<ElectronBridgeResult>;
onChannelChange?: (
callback: (data: { direction: 'up' | 'down' }) => void
) => () => void;