Files
streamyfin/utils/atoms/tvAccountSelectModal.ts
Fredrik Burmester 85a74a9a6a refactor: login page
2026-01-31 10:52:21 +01:00

15 lines
389 B
TypeScript

import { atom } from "jotai";
import type {
SavedServer,
SavedServerAccount,
} from "@/utils/secureCredentials";
export type TVAccountSelectModalState = {
server: SavedServer;
onAccountAction: (account: SavedServerAccount) => void;
onAddAccount: () => void;
onDeleteServer: () => void;
} | null;
export const tvAccountSelectModalAtom = atom<TVAccountSelectModalState>(null);