mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-08-29 03:55:38 -04:00
Flatten lib/types/title.ts → lib/types.ts and update all imports
- 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`
This commit is contained in:
@@ -5,7 +5,7 @@ import { persons, titleCast, titles } from "@/lib/db/schema";
|
||||
import { createLogger } from "@/lib/logger";
|
||||
import { getMovieCredits, getTvAggregateCredits } from "@/lib/tmdb/client";
|
||||
import { tmdbImageUrl } from "@/lib/tmdb/image";
|
||||
import type { CastMember } from "@/lib/types/title";
|
||||
import type { CastMember } from "@/lib/types";
|
||||
import { cacheProfilePhotos, imageCacheEnabled } from "./image-cache";
|
||||
|
||||
const log = createLogger("credits");
|
||||
|
||||
@@ -33,7 +33,7 @@ import type {
|
||||
Episode,
|
||||
ResolvedTitle,
|
||||
Season,
|
||||
} from "@/lib/types/title";
|
||||
} from "@/lib/types";
|
||||
import { refreshAvailability } from "./availability";
|
||||
import { extractAndStoreColors, parseColorPalette } from "./colors";
|
||||
import { getCastForTitle, refreshCredits } from "./credits";
|
||||
|
||||
@@ -4,7 +4,7 @@ import { persons, titleCast, titles } from "@/lib/db/schema";
|
||||
import { createLogger } from "@/lib/logger";
|
||||
import { getPersonCombinedCredits, getPersonDetails } from "@/lib/tmdb/client";
|
||||
import { tmdbImageUrl } from "@/lib/tmdb/image";
|
||||
import type { PersonCredit, ResolvedPerson } from "@/lib/types/title";
|
||||
import type { PersonCredit, ResolvedPerson } from "@/lib/types";
|
||||
|
||||
const log = createLogger("person");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user