Add new types

This commit is contained in:
Thomas "ajnart" Camlong
2022-05-01 14:46:06 +02:00
parent 74bef1b9e1
commit 11e55c46b4

View File

@@ -1,7 +1,21 @@
import { serviceItem } from '../components/AppShelf/AppShelf.d';
export interface Settings {
searchUrl: string;
searchBar: boolean;
[key: string]: any;
}
export interface Config {
services: serviceItem[];
settings: {};
settings: Settings;
[key: string]: any;
}
export const ServiceTypes = ['Other', 'Sonarr', 'Radarr', 'Lidarr', 'qBittorrent', 'Plex', 'Emby'];
export interface serviceItem {
[x: string]: any;
name: string;
type: string;
url: string;
icon: string;
}