mirror of
https://github.com/streamyfin/streamyfin.git
synced 2025-08-20 18:37:18 +02:00
12 lines
279 B
TypeScript
12 lines
279 B
TypeScript
import { BaseItemDto } from "@jellyfin/sdk/lib/generated-client/models";
|
|
import { atom } from "jotai";
|
|
|
|
export type ProcessItem = {
|
|
item: BaseItemDto;
|
|
progress: number;
|
|
speed?: number;
|
|
startTime?: Date;
|
|
};
|
|
|
|
export const runningProcesses = atom<ProcessItem | null>(null);
|