mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-09 15:05:48 +01:00
`yarn lint --fix + yarn prettier:write`
This commit is contained in:
@@ -5,7 +5,6 @@ import { Download } from 'tabler-icons-react';
|
||||
import { useConfig } from '../../tools/state';
|
||||
|
||||
export default function SaveConfigComponent(props: any) {
|
||||
|
||||
const { config } = useConfig();
|
||||
function onClick(e: any) {
|
||||
if (config) {
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import { type } from "os";
|
||||
|
||||
export interface Settings {
|
||||
searchUrl: string;
|
||||
searchBar: boolean;
|
||||
@@ -12,9 +10,22 @@ export interface Config {
|
||||
}
|
||||
|
||||
export const ServiceTypeList = [
|
||||
'Other', 'Sonarr', 'Radarr', 'Lidarr', 'qBittorrent', 'Plex', 'Emby'
|
||||
]
|
||||
export type ServiceType = 'Other' | 'Sonarr' | 'Radarr' | 'Lidarr' | 'qBittorrent' | 'Plex' | 'Emby';
|
||||
'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