This commit is contained in:
Fredrik Burmester
2024-08-02 16:01:09 +02:00
parent 634f28ac28
commit 7e9ccc38e6
7 changed files with 242 additions and 150 deletions

9
utils/atoms/downloads.ts Normal file
View File

@@ -0,0 +1,9 @@
import { BaseItemDto } from "@jellyfin/sdk/lib/generated-client/models";
import { atom } from "jotai";
export type ProcessItem = {
item: BaseItemDto;
progress: number;
};
export const runningProcesses = atom<ProcessItem | null>(null);