mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-20 05:54:19 +02:00
add library field to types in types.ts
This commit is contained in:
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user