mirror of
https://github.com/ajnart/homarr.git
synced 2025-11-09 23:15:46 +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';
|
import { useConfig } from '../../tools/state';
|
||||||
|
|
||||||
export default function SaveConfigComponent(props: any) {
|
export default function SaveConfigComponent(props: any) {
|
||||||
|
|
||||||
const { config } = useConfig();
|
const { config } = useConfig();
|
||||||
function onClick(e: any) {
|
function onClick(e: any) {
|
||||||
if (config) {
|
if (config) {
|
||||||
|
|||||||
@@ -1,5 +1,3 @@
|
|||||||
import { type } from "os";
|
|
||||||
|
|
||||||
export interface Settings {
|
export interface Settings {
|
||||||
searchUrl: string;
|
searchUrl: string;
|
||||||
searchBar: boolean;
|
searchBar: boolean;
|
||||||
@@ -12,9 +10,22 @@ export interface Config {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const ServiceTypeList = [
|
export const ServiceTypeList = [
|
||||||
'Other', 'Sonarr', 'Radarr', 'Lidarr', 'qBittorrent', 'Plex', 'Emby'
|
'Other',
|
||||||
]
|
'Sonarr',
|
||||||
export type ServiceType = 'Other' | 'Sonarr' | 'Radarr' | 'Lidarr' | 'qBittorrent' | 'Plex' | 'Emby';
|
'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