mirror of
https://github.com/ajnart/homarr.git
synced 2026-02-27 17:00:54 +01:00
feat: support aria2 integration (#2226)
This commit is contained in:
@@ -20,8 +20,8 @@ export const downloadClientItemSchema = z.object({
|
||||
index: z.number(),
|
||||
/** Filename */
|
||||
name: z.string(),
|
||||
/** Torrent/Usenet identifier */
|
||||
type: z.enum(["torrent", "usenet"]),
|
||||
/** Download Client identifier */
|
||||
type: z.enum(["torrent", "usenet", "miscellaneous"]),
|
||||
/** Item size in Bytes */
|
||||
size: z.number(),
|
||||
/** Total uploaded in Bytes, only required for Torrent items */
|
||||
|
||||
@@ -8,7 +8,7 @@ export interface DownloadClientStatus {
|
||||
down: number;
|
||||
up?: number;
|
||||
};
|
||||
type: "usenet" | "torrent";
|
||||
types: ("usenet" | "torrent" | "miscellaneous")[];
|
||||
}
|
||||
export interface ExtendedClientStatus {
|
||||
integration: Pick<Integration, "id" | "name" | "kind"> & { updatedAt: Date };
|
||||
|
||||
Reference in New Issue
Block a user