Simple settings page #3

This commit is contained in:
2025-10-02 12:10:59 +02:00
parent d1c0650b4d
commit 99a1b3b264
10 changed files with 489 additions and 7 deletions
-5
View File
@@ -1,5 +0,0 @@
export interface ClientSettings {
theme: "light" | "dark";
}
export interface AccountSettings {}
+15
View File
@@ -0,0 +1,15 @@
import { SettingsSchema } from "@/app/settings/settings";
export interface ClientSettings {
theme: "light" | "dark";
}
export interface AccountSettings {}
export const CLIENT_SCHEMA: SettingsSchema = {
theme: ["light", "dark"],
};
export const ACCOUNT_SCHEMA: SettingsSchema = {
node_ip: "string",
};