Update hosts form
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user