✨ Add detail popover for torrents list

This commit is contained in:
Manuel committed 2023-01-18 21:47:06 +01:00
1 parent e950987359
commit 1bf3b1312b
8 files changed
+328 -85

No files matched your search

@@ -0,0 +1,28 @@
import { Label, NormalizedTorrent } from '@ctrl/shared-torrent';
export type NormalizedTorrentListResponse = {
/**
* Available labels on all torrent clients
*/
labels: Label[];
/**
* Feteched and normalized torrents of all download clients
*/
torrents: ConcatenatedTorrentList[];
/**
* Indicated wether all requests were a success
*/
allSuccess: boolean;
/**
* Missing download clients
*/
missingDownloadClients: boolean;
};
type ConcatenatedTorrentList = {
appId: string;
torrents: NormalizedTorrent[];
};