diff --git a/server/lib/settings.ts b/server/lib/settings.ts index b3030c8d8..61ed6899e 100644 --- a/server/lib/settings.ts +++ b/server/lib/settings.ts @@ -44,7 +44,6 @@ export interface TautulliSettings { externalUrl?: string; } -export interface DVRSettings { export interface ArrSettings { id: number; name: string; @@ -57,7 +56,6 @@ export interface ArrSettings { activeProfileName: string; activeDirectory: string; tags: number[]; - is4k: boolean; isDefault: boolean; externalUrl?: string; syncEnabled: boolean; @@ -85,6 +83,7 @@ export interface SonarrSettings extends DVRSettings { enableSeasonFolders: boolean; } + interface Quota { quotaLimit?: number; quotaDays?: number; @@ -491,9 +490,11 @@ class Settings { get lidarr(): ArrSettings[] { return this.data.lidarr; } + set lidarr(data: ArrSettings[]) { this.data.lidarr = data; } + get public(): PublicSettings { return this.data.public; }