Reworked types

This commit is contained in:
Aj - Thomas
2022-05-02 15:08:05 +02:00
parent 9159f2d907
commit 87c0532188

View File

@@ -1,3 +1,5 @@
import { type } from "os";
export interface Settings {
searchUrl: string;
searchBar: boolean;
@@ -7,10 +9,12 @@ export interface Settings {
export interface Config {
services: serviceItem[];
settings: Settings;
[key: string]: any;
}
export const ServiceTypes = ['Other', 'Sonarr', 'Radarr', 'Lidarr', 'qBittorrent', 'Plex', 'Emby'];
export const ServiceTypeList = [
'Other', 'Sonarr', 'Radarr', 'Lidarr', 'qBittorrent', 'Plex', 'Emby'
]
export type ServiceType = 'Other' | 'Sonarr' | 'Radarr' | 'Lidarr' | 'qBittorrent' | 'Plex' | 'Emby';
export interface serviceItem {
[x: string]: any;