From e0a7e115e4a463a5cf3f59e852cb627f73cd9196 Mon Sep 17 00:00:00 2001 From: maxDorninger <97409287+maxDorninger@users.noreply.github.com> Date: Wed, 16 Jul 2025 13:42:57 +0200 Subject: [PATCH] add library field to types in types.ts --- web/src/lib/types.ts | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/web/src/lib/types.ts b/web/src/lib/types.ts index a1a2568..a2b5346 100644 --- a/web/src/lib/types.ts +++ b/web/src/lib/types.ts @@ -114,6 +114,8 @@ export interface Show { id: string; // type: string, format: uuid continuous_download: boolean; ended: boolean; + library: string; + } export interface PublicShow { @@ -126,6 +128,8 @@ export interface PublicShow { id: string; // type: string, format: uuid continuous_download: boolean; ended: boolean; + library: string; + } export interface Movie { @@ -135,6 +139,7 @@ export interface Movie { external_id: number; // type: integer metadata_provider: string; id: string; // type: string, format: uuid + library: string; } export interface PublicMovie { @@ -145,6 +150,8 @@ export interface PublicMovie { metadata_provider: string; id: string; // type: string, format: uuid downloaded: boolean; + library: string; + } export interface Torrent { @@ -204,7 +211,7 @@ export interface RichShowTorrent { } export interface RichMovieTorrent { - show_id: string; + movie_id: string; name: string; year: number | null; metadata_provider: string; @@ -232,3 +239,8 @@ export interface SeasonRequest extends SeasonRequestBase { authorized_by?: User; show: Show; } + +export interface LibraryItem{ + name: string; + path: string +} \ No newline at end of file