Files
streamyfin/utils/atoms/tvRequestModal.ts
Fredrik Burmester 0353a718f3 feat(tv): seerr
2026-01-20 22:15:00 +01:00

14 lines
436 B
TypeScript

import { atom } from "jotai";
import type { MediaType } from "@/utils/jellyseerr/server/constants/media";
import type { MediaRequestBody } from "@/utils/jellyseerr/server/interfaces/api/requestInterfaces";
export type TVRequestModalState = {
requestBody: MediaRequestBody;
title: string;
id: number;
mediaType: MediaType;
onRequested: () => void;
} | null;
export const tvRequestModalAtom = atom<TVRequestModalState>(null);