add sidebar

This commit is contained in:
Anton Bracke
2022-02-18 01:51:35 +01:00
parent a11d19a457
commit c891fcb1bd
12 changed files with 211 additions and 78 deletions
+7
View File
@@ -1,9 +1,16 @@
import ElectronLog from "electron-log";
import Settings from "electron-settings";
type Server = {
_id: string;
name: string;
url: string;
};
type SettingsData = {
log_level: ElectronLog.LogLevel;
auto_launch_enabled: boolean;
servers: Server[];
};
let settings: SettingsData;