Refactor main host setup

This commit is contained in:
2026-09-20 15:37:57 +01:00
parent 3c1d2b61f6
commit 69111e461e
47 changed files with 669 additions and 591 deletions
+4
View File
@@ -67,6 +67,9 @@ export type PagePropsType = {
main_host_dir_names?: ReturnType<typeof grabHostDirnames> | null;
network_interfaces?: string[] | null;
next_listen_port?: number | null;
is_main_host?: boolean | null;
main_host?: BUN_SQLITE_WGUI_HOSTS | null;
next_available_client_ip?: string | null;
};
export type AppContextObject = {
@@ -262,6 +265,7 @@ export type ApiReqParams<
ip_address?: string;
wg_ip_address?: string | null;
is_main_host?: boolean | null;
};
export type UserAuthReturn = {