mirror of https://github.com/Ombi-app/Ombi
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
141 lines
3.1 KiB
141 lines
3.1 KiB
import { ISettings } from "./ICommon";
|
|
|
|
export interface IExternalSettings extends ISettings {
|
|
ssl: boolean;
|
|
subDir: string;
|
|
ip: string;
|
|
port: number;
|
|
}
|
|
|
|
export interface IOmbiSettings extends ISettings {
|
|
baseUrl: string;
|
|
collectAnalyticData: boolean;
|
|
wizard: boolean;
|
|
apiKey: string;
|
|
ignoreCertificateErrors: boolean;
|
|
}
|
|
|
|
export interface IUpdateSettings extends ISettings {
|
|
autoUpdateEnabled: boolean;
|
|
username: string;
|
|
password: string;
|
|
processName: string;
|
|
useScript: boolean;
|
|
scriptLocation: string;
|
|
}
|
|
|
|
export interface IEmbySettings extends ISettings {
|
|
enable: boolean;
|
|
servers: IEmbyServer[];
|
|
}
|
|
|
|
export interface IEmbyServer extends IExternalSettings {
|
|
name: string;
|
|
apiKey: string;
|
|
administratorId: string;
|
|
enableEpisodeSearching: boolean;
|
|
}
|
|
|
|
export interface IPlexSettings extends ISettings {
|
|
|
|
enable: boolean;
|
|
servers: IPlexServer[];
|
|
}
|
|
|
|
export interface IPlexServer extends IExternalSettings {
|
|
name: string;
|
|
enableEpisodeSearching: boolean;
|
|
plexAuthToken: string;
|
|
machineIdentifier: string;
|
|
episodeBatchSize: number;
|
|
plexSelectedLibraries: IPlexLibrariesSettings[];
|
|
}
|
|
|
|
export interface IPlexLibrariesSettings {
|
|
key: string;
|
|
title: string;
|
|
enabled: boolean;
|
|
}
|
|
|
|
export interface ISonarrSettings extends IExternalSettings {
|
|
apiKey: string;
|
|
enabled: boolean;
|
|
qualityProfile: string;
|
|
seasonFolders: boolean;
|
|
rootPath: string;
|
|
fullRootPath: string;
|
|
addOnly: boolean;
|
|
}
|
|
|
|
export interface IRadarrSettings extends IExternalSettings {
|
|
enabled: boolean;
|
|
apiKey: string;
|
|
defaultQualityProfile: string;
|
|
defaultRootPath: string;
|
|
fullRootPath: string;
|
|
addOnly: boolean;
|
|
minimumAvailability: string;
|
|
}
|
|
|
|
export interface ILandingPageSettings extends ISettings {
|
|
enabled: boolean;
|
|
|
|
noticeEnabled: boolean;
|
|
noticeText: string;
|
|
|
|
timeLimit: boolean;
|
|
startDateTime: Date;
|
|
endDateTime: Date;
|
|
expired: boolean;
|
|
}
|
|
|
|
export interface ICustomizationSettings extends ISettings {
|
|
applicationName: string;
|
|
applicationUrl: string;
|
|
logo: string;
|
|
}
|
|
|
|
export interface IAuthenticationSettings extends ISettings {
|
|
|
|
allowExternalUsersToAuthenticate: boolean;
|
|
// Password
|
|
|
|
requiredDigit: boolean;
|
|
requiredLength: number;
|
|
requiredLowercase: boolean;
|
|
requireNonAlphanumeric: boolean;
|
|
requireUppercase: boolean;
|
|
}
|
|
|
|
export interface IUserManagementSettings extends ISettings {
|
|
importPlexUsers: boolean;
|
|
importEmbyUsers: boolean;
|
|
defaultRoles: string[];
|
|
bannedPlexUserIds: string[];
|
|
bannedEmbyUserIds: string[];
|
|
}
|
|
|
|
export interface IAbout {
|
|
version: string;
|
|
branch: string;
|
|
osArchitecture: string;
|
|
osDescription: string;
|
|
processArchitecture: string;
|
|
applicationBasePath: string;
|
|
}
|
|
|
|
export interface ICouchPotatoSettings extends IExternalSettings {
|
|
enabled: boolean;
|
|
apiKey: string;
|
|
defaultProfileId: string;
|
|
username: string;
|
|
password: string;
|
|
}
|
|
|
|
export interface IDogNzbSettings extends ISettings {
|
|
enabled: boolean;
|
|
apiKey: string;
|
|
movies: boolean;
|
|
tvShows: boolean;
|
|
}
|