mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-01-31 23:48:07 +00:00
15 lines
417 B
TypeScript
15 lines
417 B
TypeScript
import { atom } from "jotai";
|
|
import type {
|
|
SavedServer,
|
|
SavedServerAccount,
|
|
} from "@/utils/secureCredentials";
|
|
|
|
export type TVAccountSelectModalState = {
|
|
server: SavedServer;
|
|
onAccountSelect: (account: SavedServerAccount) => void;
|
|
onAddAccount: () => void;
|
|
onDeleteAccount: (account: SavedServerAccount) => void;
|
|
} | null;
|
|
|
|
export const tvAccountSelectModalAtom = atom<TVAccountSelectModalState>(null);
|