mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-16 10:16:20 +01:00
Reworked types
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import { type } from "os";
|
||||
|
||||
export interface Settings {
|
||||
searchUrl: string;
|
||||
searchBar: boolean;
|
||||
@@ -7,10 +9,12 @@ export interface Settings {
|
||||
export interface Config {
|
||||
services: serviceItem[];
|
||||
settings: Settings;
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
export const ServiceTypes = ['Other', 'Sonarr', 'Radarr', 'Lidarr', 'qBittorrent', 'Plex', 'Emby'];
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user