mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-14 09:25:47 +01:00
Add new types
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user