Add public IP field and Network interface to host form

This commit is contained in:
2026-09-20 12:22:54 +01:00
parent 957f2de13c
commit 8b40a876a1
17 changed files with 327 additions and 21 deletions
+4
View File
@@ -222,6 +222,10 @@ const schema: BUN_SQLITE_DatabaseSchemaType = {
fieldName: "public_ip_address",
dataType: "TEXT",
},
{
fieldName: "interface",
dataType: "TEXT",
},
{
fieldName: "wg_ip_address",
dataType: "TEXT",
+2 -1
View File
@@ -132,6 +132,7 @@ export type BUN_SQLITE_WGUI_HOSTS = {
updated_at?: number | "";
user_id?: number | "";
public_ip_address?: string;
interface?: string;
wg_ip_address?: string;
public_key?: string;
}
@@ -171,7 +172,7 @@ export type BUN_SQLITE_WGUI_VARIABLES = {
* The time when the record was updated. (Unix Timestamp)
*/
updated_at?: number | "";
key?: "main_host_wg_ip_address" | "main_host_public_ip_address" | "main_host_wg_public_key" | "main_host_wg_private_key" | "";
key?: "main_host_wg_ip_address" | "main_host_public_ip_address" | "main_host_wg_public_key" | "main_host_wg_private_key" | "main_host_public_interface" | "";
value?: string;
}