Add public IP field and Network interface to host form
This commit is contained in:
@@ -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
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user