Add user settings page
This commit is contained in:
+5
-3
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user