Files
Homarr/tools/types.ts
Thomas "ajnart" Camlong 11e55c46b4 Add new types
2022-05-01 14:46:06 +02:00

22 lines
413 B
TypeScript

export interface Settings {
searchUrl: string;
searchBar: boolean;
[key: string]: any;
}
export interface Config {
services: serviceItem[];
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;
}