feat(frontend): add ShowSummary, SeasonSummary types + library shows/seasons API methods
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user