Files
Homarr/tools/types.ts

22 lines
413 B
TypeScript
Raw Normal View History

2022-05-01 14:46:06 +02:00
export interface Settings {
searchUrl: string;
searchBar: boolean;
[key: string]: any;
}
2022-04-30 21:34:41 +02:00
export interface Config {
services: serviceItem[];
2022-05-01 14:46:06 +02:00
settings: Settings;
2022-04-30 21:51:37 +02:00
[key: string]: any;
2022-04-30 21:39:59 +02:00
}
2022-05-01 14:46:06 +02:00
export const ServiceTypes = ['Other', 'Sonarr', 'Radarr', 'Lidarr', 'qBittorrent', 'Plex', 'Emby'];
export interface serviceItem {
[x: string]: any;
name: string;
type: string;
url: string;
icon: string;
}