Simple settings page #3
This commit is contained in:
@@ -1,5 +0,0 @@
|
||||
export interface ClientSettings {
|
||||
theme: "light" | "dark";
|
||||
}
|
||||
|
||||
export interface AccountSettings {}
|
||||
@@ -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",
|
||||
};
|
||||
Reference in New Issue
Block a user