Move types

This commit is contained in:
Thomas "ajnart" Camlong
2022-05-01 14:46:26 +02:00
parent 07449b9272
commit 1bd7694b52
2 changed files with 3 additions and 6 deletions

View File

@@ -1,4 +1,4 @@
import { serviceItem } from '../components/AppShelf/AppShelf.d';
import { serviceItem } from './types';
export function pingQbittorrent(service: serviceItem): any {
console.log('Getting service.cookie for service: ', service);

View File

@@ -1,3 +1,5 @@
import { Settings } from './types';
export function loadSettings(path: string): Settings | null {
const item = localStorage.getItem(path);
if (!item) {
@@ -10,8 +12,3 @@ export function loadSettings(path: string): Settings | null {
return null;
}
}
export interface Settings {
searchUrl: string;
searchBar: boolean;
}