Add TLS feature with Caddy
This commit is contained in:
+58
-1
@@ -6,6 +6,8 @@ export const BunSQLiteTables = [
|
||||
"clients",
|
||||
"hosts",
|
||||
"client_rules",
|
||||
"client_routes",
|
||||
"tls_certificates",
|
||||
"variables",
|
||||
] as const
|
||||
|
||||
@@ -162,6 +164,61 @@ export type BUN_SQLITE_WGUI_CLIENT_RULES = {
|
||||
protocol?: "any" | "tcp" | "udp" | "";
|
||||
}
|
||||
|
||||
export type BUN_SQLITE_WGUI_CLIENT_ROUTES = {
|
||||
/**
|
||||
* The unique identifier of the record.
|
||||
*/
|
||||
id?: number | "";
|
||||
/**
|
||||
* The time when the record was created. (Unix Timestamp)
|
||||
*/
|
||||
created_at?: number | "";
|
||||
/**
|
||||
* The time when the record was updated. (Unix Timestamp)
|
||||
*/
|
||||
updated_at?: number | "";
|
||||
user_id?: number | "";
|
||||
host_id?: number | "";
|
||||
name?: string;
|
||||
hostname?: string;
|
||||
path_prefix?: string;
|
||||
strip_prefix?: 0 | 1 | "";
|
||||
upstream_url?: string;
|
||||
upstream_tls_verify?: 0 | 1 | "";
|
||||
enabled?: 0 | 1 | "";
|
||||
notes?: string;
|
||||
acme_email?: string;
|
||||
acme_dns_provider?: string;
|
||||
acme_staging?: 0 | 1 | "";
|
||||
acme_credentials?: string;
|
||||
}
|
||||
|
||||
export type BUN_SQLITE_WGUI_TLS_CERTIFICATES = {
|
||||
/**
|
||||
* The unique identifier of the record.
|
||||
*/
|
||||
id?: number | "";
|
||||
/**
|
||||
* The time when the record was created. (Unix Timestamp)
|
||||
*/
|
||||
created_at?: number | "";
|
||||
/**
|
||||
* The time when the record was updated. (Unix Timestamp)
|
||||
*/
|
||||
updated_at?: number | "";
|
||||
user_id?: number | "";
|
||||
hostname?: string;
|
||||
provider?: string;
|
||||
challenge?: string;
|
||||
dns_provider?: string;
|
||||
cert_path?: string;
|
||||
key_path?: string;
|
||||
expires_at?: number | "";
|
||||
status?: "missing" | "issuing" | "active" | "error" | "expiring" | "";
|
||||
last_error?: string;
|
||||
auto_renew?: 0 | 1 | "";
|
||||
}
|
||||
|
||||
export type BUN_SQLITE_WGUI_VARIABLES = {
|
||||
/**
|
||||
* The unique identifier of the record.
|
||||
@@ -179,4 +236,4 @@ export type BUN_SQLITE_WGUI_VARIABLES = {
|
||||
value?: string;
|
||||
}
|
||||
|
||||
export type BUN_SQLITE_WGUI_ALL_TYPEDEFS = BUN_SQLITE_WGUI_USERS & BUN_SQLITE_WGUI_USER_TYPES & BUN_SQLITE_WGUI_MEDIA & BUN_SQLITE_WGUI_MEDIA_PARADIGMS & BUN_SQLITE_WGUI_CLIENTS & BUN_SQLITE_WGUI_HOSTS & BUN_SQLITE_WGUI_CLIENT_RULES & BUN_SQLITE_WGUI_VARIABLES
|
||||
export type BUN_SQLITE_WGUI_ALL_TYPEDEFS = BUN_SQLITE_WGUI_USERS & BUN_SQLITE_WGUI_USER_TYPES & BUN_SQLITE_WGUI_MEDIA & BUN_SQLITE_WGUI_MEDIA_PARADIGMS & BUN_SQLITE_WGUI_CLIENTS & BUN_SQLITE_WGUI_HOSTS & BUN_SQLITE_WGUI_CLIENT_RULES & BUN_SQLITE_WGUI_CLIENT_ROUTES & BUN_SQLITE_WGUI_TLS_CERTIFICATES & BUN_SQLITE_WGUI_VARIABLES
|
||||
Reference in New Issue
Block a user