Refactor main host setup
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user