mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-02-02 16:38:08 +00:00
13 lines
383 B
TypeScript
13 lines
383 B
TypeScript
import { atom } from "jotai";
|
|
import type { SavedServerAccount } from "@/utils/secureCredentials";
|
|
|
|
export type TVUserSwitchModalState = {
|
|
serverUrl: string;
|
|
serverName: string;
|
|
accounts: SavedServerAccount[];
|
|
currentUserId: string;
|
|
onAccountSelect: (account: SavedServerAccount) => void;
|
|
} | null;
|
|
|
|
export const tvUserSwitchModalAtom = atom<TVUserSwitchModalState>(null);
|