feat(frontend): add ShowSummary, SeasonSummary types + library shows/seasons API methods

This commit is contained in:
2026-03-20 01:14:43 +01:00
parent 23722a771b
commit dd69470ee4
3 changed files with 36 additions and 0 deletions

View File

@@ -303,6 +303,20 @@ export interface LibraryItemFull extends LibraryItemResponse {
collection_name?: string | null;
}
export interface ShowSummary {
series_name: string;
episode_count: number;
season_count: number;
thumbnail_url?: string | null;
genres: string[];
}
export interface SeasonSummary {
season_number: number;
episode_count: number;
thumbnail_url?: string | null;
}
export interface PagedLibraryResponse {
items: LibraryItemFull[];
total: number;