Update hosts form

This commit is contained in:
2026-09-20 13:48:35 +01:00
parent a9ebd8fb75
commit 3c1d2b61f6
20 changed files with 308 additions and 66 deletions
+6
View File
@@ -1,3 +1,4 @@
import { AppData } from "@/src/data/app-data";
import {
ClientRuleProtocols,
ClientRuleTypes,
@@ -231,6 +232,11 @@ const schema: BUN_SQLITE_DatabaseSchemaType = {
fieldName: "public_ip_address",
dataType: "TEXT",
},
{
fieldName: "listen_port",
dataType: "INTEGER",
defaultValue: AppData["DefaultWGListenPort"],
},
{
fieldName: "interface",
dataType: "TEXT",
+1
View File
@@ -134,6 +134,7 @@ export type BUN_SQLITE_WGUI_HOSTS = {
name?: string;
short_description?: string;
public_ip_address?: string;
listen_port?: number | "";
interface?: string;
wg_ip_address?: string;
public_key?: string;