mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-08-29 06:15:39 -04:00
- Rename `lib/types/title.ts` → `lib/types.ts` (remove nested directory) - Update all imports across services, atoms, components, and utils from `@/lib/types/title` to `@/lib/types`
12 lines
464 B
TypeScript
12 lines
464 B
TypeScript
import { atom } from "jotai";
|
|
import type { Season } from "@/lib/types";
|
|
|
|
export const titleIdAtom = atom("");
|
|
export const titleTypeAtom = atom<"movie" | "tv">("movie");
|
|
export const titleNameAtom = atom("");
|
|
export const seasonsAtom = atom<Season[]>([]);
|
|
export const userStatusAtom = atom<string | null>(null);
|
|
export const userRatingAtom = atom(0);
|
|
export const episodeWatchesAtom = atom<string[]>([]);
|
|
export const watchingEpAtom = atom<string | null>(null);
|