🏗️ 💥 Change the whole folder structure.

Now using src as a subfolder to the source files
This commit is contained in:
Aj - Thomas
2022-05-14 01:14:56 +02:00
parent 15bb08e5f3
commit 32f81cefe7
50 changed files with 5 additions and 6 deletions

38
src/tools/types.ts Normal file
View File

@@ -0,0 +1,38 @@
export interface Settings {
searchUrl: string;
searchBar: boolean;
enabledModules: string[];
[key: string]: any;
}
export interface Config {
name: string;
services: serviceItem[];
settings: Settings;
}
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;
name: string;
type: string;
url: string;
icon: string;
}