diff --git a/src/components/ServerHealth.vue b/src/components/ServerHealth.vue
index 8b3add6..f3a941d 100644
--- a/src/components/ServerHealth.vue
+++ b/src/components/ServerHealth.vue
@@ -1,5 +1,5 @@
@@ -30,6 +33,9 @@ function restartApplication() {
+
+ Enable notifications
+
Account
@@ -61,7 +67,6 @@ function restartApplication() {
padding-inline: 1em;
}
-
.disabled {
background: red;
}
diff --git a/tsconfig.json b/tsconfig.json
index 9e59f31..cdcc707 100644
--- a/tsconfig.json
+++ b/tsconfig.json
@@ -1,26 +1,35 @@
{
"compilerOptions": {
- "target": "esnext",
+ "target": "ES2020",
"useDefineForClassFields": true,
- "module": "esnext",
- "moduleResolution": "node",
- "strict": true,
+ "module": "ESNext",
+ "lib": ["ES2020", "DOM", "DOM.Iterable"],
+ "skipLibCheck": true,
+
+ /* Bundler mode */
+ "moduleResolution": "Bundler",
+ "allowImportingTsExtensions": true,
+ "resolveJsonModule": true,
+ "isolatedModules": true,
+ "noEmit": true,
"jsx": "preserve",
+
+ /* Lintin */
+ "strict": true,
"sourceMap": true,
"noImplicitAny": true,
- "resolveJsonModule": true,
- "esModuleInterop": true,
- "incremental": false,
- "skipLibCheck": true,
"noUnusedLocals": true,
"strictNullChecks": true,
"forceConsistentCasingInFileNames": true,
- "lib": ["esnext", "dom"],
+ "noFallthroughCasesInSwitch": true,
+
"types": ["vite/client", "@types/node"],
"paths": {
"@/*": ["./src/*"]
}
},
"include": ["src/**/*.ts", "tests/**/*.ts", "src/**/*.vue", "*.d.ts"],
- "exclude": ["dist", "node_modules"]
-}
+ "exclude": ["dist", "node_modules"],
+ "references": [{ "path": "./tsconfig.node.json" }]
+
+}
\ No newline at end of file
diff --git a/tsconfig.node.json b/tsconfig.node.json
new file mode 100644
index 0000000..42872c5
--- /dev/null
+++ b/tsconfig.node.json
@@ -0,0 +1,10 @@
+{
+ "compilerOptions": {
+ "composite": true,
+ "skipLibCheck": true,
+ "module": "ESNext",
+ "moduleResolution": "bundler",
+ "allowSyntheticDefaultImports": true
+ },
+ "include": ["vite.config.ts"]
+}