mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-17 02:31:18 +01:00
Reworked types
This commit is contained in:
@@ -1,3 +1,5 @@
|
|||||||
|
import { type } from "os";
|
||||||
|
|
||||||
export interface Settings {
|
export interface Settings {
|
||||||
searchUrl: string;
|
searchUrl: string;
|
||||||
searchBar: boolean;
|
searchBar: boolean;
|
||||||
@@ -7,10 +9,12 @@ export interface Settings {
|
|||||||
export interface Config {
|
export interface Config {
|
||||||
services: serviceItem[];
|
services: serviceItem[];
|
||||||
settings: Settings;
|
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 {
|
export interface serviceItem {
|
||||||
[x: string]: any;
|
[x: string]: any;
|
||||||
|
|||||||
Reference in New Issue
Block a user