mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-15 05:36:17 -08:00
feat(downloads): finish missing-file recovery
This commit is contained in:
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;
|
||||
|
||||
Reference in new issue
Block a user