mirror of
https://github.com/streamyfin/streamyfin.git
synced 2026-02-03 00:48:08 +00:00
19 lines
479 B
TypeScript
19 lines
479 B
TypeScript
import { atom } from "jotai";
|
|
import type { MediaStatus } from "@/utils/jellyseerr/server/constants/media";
|
|
|
|
export type TVSeasonSelectModalState = {
|
|
seasons: Array<{
|
|
id: number;
|
|
seasonNumber: number;
|
|
episodeCount: number;
|
|
status: MediaStatus;
|
|
}>;
|
|
title: string;
|
|
mediaId: number;
|
|
tvdbId?: number;
|
|
hasAdvancedRequestPermission: boolean;
|
|
onRequested: () => void;
|
|
} | null;
|
|
|
|
export const tvSeasonSelectModalAtom = atom<TVSeasonSelectModalState>(null);
|