Add user settings page

This commit is contained in:
2026-09-20 11:42:05 +01:00
parent fd0af3172d
commit 7910a578e6
8 changed files with 141 additions and 15 deletions
+5 -3
View File
@@ -47,6 +47,10 @@ export type PagePropsType = {
persons?: BUN_SQLITE_WGUI_USERS_JOIN[] | null;
host?: BUN_SQLITE_WGUI_HOSTS_JOIN | null;
hosts?: BUN_SQLITE_WGUI_HOSTS[] | null;
existing_user?: UserFormObject | null;
existing_user_full?: BUN_SQLITE_WGUI_USERS | null;
single_user?: BUN_SQLITE_WGUI_USERS_JOIN | null;
single_users?: BUN_SQLITE_WGUI_USERS_JOIN[] | null;
variables?: BUN_SQLITE_WGUI_VARIABLES[] | null;
client?: BUN_SQLITE_WGUI_CLIENTS | null;
clients?: BUN_SQLITE_WGUI_CLIENTS[] | null;
@@ -306,9 +310,7 @@ export type AdminFetchParams<T extends {} = BUN_SQLITE_WGUI_ALL_TYPEDEFS> = {
method?: "PUT" | "DELETE" | "POST" | "GET";
};
export type UserFormObject = BUN_SQLITE_WGUI_USERS & {
user_types?: UserType[];
};
export type UserFormObject = BUN_SQLITE_WGUI_USERS_JOIN;
export type PageQueryObject = {
user_id?: string;