Initialize client forms

This commit is contained in:
2026-09-17 07:22:20 +01:00
parent e0d105beb9
commit 90ee3debf0
28 changed files with 584 additions and 145 deletions
+4
View File
@@ -195,6 +195,10 @@ const schema: BUN_SQLITE_DatabaseSchemaType = {
fieldName: "user_id",
dataType: "INTEGER",
},
{
fieldName: "public_ip_address",
dataType: "TEXT",
},
{
fieldName: "wg_ip_address",
dataType: "TEXT",
+2 -1
View File
@@ -130,6 +130,7 @@ export type BUN_SQLITE_WGUI_HOSTS = {
*/
updated_at?: number | "";
user_id?: number | "";
public_ip_address?: string;
wg_ip_address?: string;
public_key?: string;
}
@@ -165,7 +166,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_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" | "";
value?: string;
}