mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-02-03 00:48:08 +00:00
15 lines
351 B
TypeScript
15 lines
351 B
TypeScript
import { atom } from "jotai";
|
|
import type {
|
|
SavedServer,
|
|
SavedServerAccount,
|
|
} from "@/utils/secureCredentials";
|
|
|
|
export type TVAccountActionModalState = {
|
|
server: SavedServer;
|
|
account: SavedServerAccount;
|
|
onLogin: () => void;
|
|
onDelete: () => void;
|
|
} | null;
|
|
|
|
export const tvAccountActionModalAtom = atom<TVAccountActionModalState>(null);
|