mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-02-03 08:58:07 +00:00
15 lines
353 B
TypeScript
15 lines
353 B
TypeScript
import { atom } from "jotai";
|
|
|
|
export type TVSeriesSeasonModalState = {
|
|
seasons: Array<{
|
|
label: string;
|
|
value: number;
|
|
selected: boolean;
|
|
}>;
|
|
selectedSeasonIndex: number | string;
|
|
itemId: string;
|
|
onSeasonSelect: (seasonIndex: number) => void;
|
|
} | null;
|
|
|
|
export const tvSeriesSeasonModalAtom = atom<TVSeriesSeasonModalState>(null);
|