|
|
@ -44,7 +44,6 @@ export interface TautulliSettings {
|
|
|
|
externalUrl?: string;
|
|
|
|
externalUrl?: string;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
export interface DVRSettings {
|
|
|
|
|
|
|
|
export interface ArrSettings {
|
|
|
|
export interface ArrSettings {
|
|
|
|
id: number;
|
|
|
|
id: number;
|
|
|
|
name: string;
|
|
|
|
name: string;
|
|
|
@ -57,7 +56,6 @@ export interface ArrSettings {
|
|
|
|
activeProfileName: string;
|
|
|
|
activeProfileName: string;
|
|
|
|
activeDirectory: string;
|
|
|
|
activeDirectory: string;
|
|
|
|
tags: number[];
|
|
|
|
tags: number[];
|
|
|
|
is4k: boolean;
|
|
|
|
|
|
|
|
isDefault: boolean;
|
|
|
|
isDefault: boolean;
|
|
|
|
externalUrl?: string;
|
|
|
|
externalUrl?: string;
|
|
|
|
syncEnabled: boolean;
|
|
|
|
syncEnabled: boolean;
|
|
|
@ -85,6 +83,7 @@ export interface SonarrSettings extends DVRSettings {
|
|
|
|
enableSeasonFolders: boolean;
|
|
|
|
enableSeasonFolders: boolean;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
interface Quota {
|
|
|
|
interface Quota {
|
|
|
|
quotaLimit?: number;
|
|
|
|
quotaLimit?: number;
|
|
|
|
quotaDays?: number;
|
|
|
|
quotaDays?: number;
|
|
|
@ -491,9 +490,11 @@ class Settings {
|
|
|
|
get lidarr(): ArrSettings[] {
|
|
|
|
get lidarr(): ArrSettings[] {
|
|
|
|
return this.data.lidarr;
|
|
|
|
return this.data.lidarr;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
set lidarr(data: ArrSettings[]) {
|
|
|
|
set lidarr(data: ArrSettings[]) {
|
|
|
|
this.data.lidarr = data;
|
|
|
|
this.data.lidarr = data;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
get public(): PublicSettings {
|
|
|
|
get public(): PublicSettings {
|
|
|
|
return this.data.public;
|
|
|
|
return this.data.public;
|
|
|
|
}
|
|
|
|
}
|
|
|
|