mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-08-29 03:55:38 -04:00
Add actor/cast information with person pages and search support
Integrate TMDB credits data into the app: cast carousels on title detail pages, person detail pages with biography and filmography, and person search results in the command palette. Includes new persons/titleCast DB tables, profile image caching, and a nightly credits refresh cron job. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
+4
-1
@@ -4,11 +4,14 @@ import { fetcher } from "@/lib/swr/fetcher";
|
||||
interface SearchResponse {
|
||||
results: {
|
||||
tmdbId: number;
|
||||
type: "movie" | "tv";
|
||||
type: "movie" | "tv" | "person";
|
||||
title: string;
|
||||
posterPath: string | null;
|
||||
profilePath?: string | null;
|
||||
releaseDate: string | null;
|
||||
voteAverage: number;
|
||||
knownFor?: string[];
|
||||
knownForDepartment?: string;
|
||||
}[];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user