Major updates

This commit is contained in:
2026-09-14 07:56:13 +01:00
parent 42224c94d3
commit e0d105beb9
17 changed files with 405 additions and 277 deletions
+1 -8
View File
@@ -174,10 +174,6 @@ const schema: BUN_SQLITE_DatabaseSchemaType = {
fieldName: "public_ip_address",
dataType: "TEXT",
},
{
fieldName: "private_key",
dataType: "TEXT",
},
{
fieldName: "public_key",
dataType: "TEXT",
@@ -203,10 +199,6 @@ const schema: BUN_SQLITE_DatabaseSchemaType = {
fieldName: "wg_ip_address",
dataType: "TEXT",
},
{
fieldName: "private_key",
dataType: "TEXT",
},
{
fieldName: "public_key",
dataType: "TEXT",
@@ -238,6 +230,7 @@ const schema: BUN_SQLITE_DatabaseSchemaType = {
fieldName: "key",
dataType: "TEXT",
options: Variables.map((v) => v.value),
unique: true,
},
{
fieldName: "value",
-2
View File
@@ -111,7 +111,6 @@ export type BUN_SQLITE_WGUI_CLIENTS = {
name?: string;
wg_ip_address?: string;
public_ip_address?: string;
private_key?: string;
public_key?: string;
allowed_ips?: string;
notes?: string;
@@ -132,7 +131,6 @@ export type BUN_SQLITE_WGUI_HOSTS = {
updated_at?: number | "";
user_id?: number | "";
wg_ip_address?: string;
private_key?: string;
public_key?: string;
}