mirror of
https://github.com/jakejarvis/sofa.git
synced 2026-08-29 01:35:39 -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:
@@ -42,6 +42,46 @@ export interface ColorPalette {
|
||||
lightMuted: string | null;
|
||||
}
|
||||
|
||||
export interface CastMember {
|
||||
id: string;
|
||||
personId: string;
|
||||
name: string;
|
||||
character: string | null;
|
||||
department: string;
|
||||
job: string | null;
|
||||
displayOrder: number;
|
||||
episodeCount: number | null;
|
||||
profilePath: string | null;
|
||||
tmdbId: number;
|
||||
}
|
||||
|
||||
export interface ResolvedPerson {
|
||||
id: string;
|
||||
tmdbId: number;
|
||||
name: string;
|
||||
biography: string | null;
|
||||
birthday: string | null;
|
||||
deathday: string | null;
|
||||
placeOfBirth: string | null;
|
||||
profilePath: string | null;
|
||||
knownForDepartment: string | null;
|
||||
imdbId: string | null;
|
||||
}
|
||||
|
||||
export interface PersonCredit {
|
||||
titleId: string;
|
||||
tmdbId: number;
|
||||
type: "movie" | "tv";
|
||||
title: string;
|
||||
posterPath: string | null;
|
||||
releaseDate: string | null;
|
||||
firstAirDate: string | null;
|
||||
voteAverage: number | null;
|
||||
character: string | null;
|
||||
department: string;
|
||||
job: string | null;
|
||||
}
|
||||
|
||||
export interface ResolvedTitle {
|
||||
id: string;
|
||||
tmdbId: number;
|
||||
|
||||
Reference in New Issue
Block a user