diff --git a/tools/types.ts b/tools/types.ts index 5734e0d06..b4e8b853f 100644 --- a/tools/types.ts +++ b/tools/types.ts @@ -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; +}