mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-03 12:05:57 +01:00
39 lines
573 B
TypeScript
39 lines
573 B
TypeScript
export interface Settings {
|
|
searchUrl: string;
|
|
searchBar: boolean;
|
|
enabledModules: string[];
|
|
[key: string]: any;
|
|
}
|
|
|
|
export interface Config {
|
|
name: string;
|
|
services: serviceItem[];
|
|
settings: Settings;
|
|
}
|
|
|
|
export const ServiceTypeList = [
|
|
'Other',
|
|
'Sonarr',
|
|
'Radarr',
|
|
'Lidarr',
|
|
'qBittorrent',
|
|
'Plex',
|
|
'Emby',
|
|
];
|
|
export type ServiceType =
|
|
| 'Other'
|
|
| 'Sonarr'
|
|
| 'Radarr'
|
|
| 'Lidarr'
|
|
| 'qBittorrent'
|
|
| 'Plex'
|
|
| 'Emby';
|
|
|
|
export interface serviceItem {
|
|
[x: string]: any;
|
|
name: string;
|
|
type: string;
|
|
url: string;
|
|
icon: string;
|
|
}
|