feat: add Certificate interface and update ProxyHostForm and ProxyHosts components to display certificate details

This commit is contained in:
Wikid82
2025-11-25 01:06:45 +00:00
parent 0415f5da77
commit 5bfe923e37
3 changed files with 29 additions and 12 deletions

View File

@@ -8,6 +8,15 @@ export interface Location {
forward_port: number;
}
export interface Certificate {
id: number;
uuid: string;
name: string;
provider: string;
domains: string;
expires_at: string;
}
export interface ProxyHost {
uuid: string;
domain_names: string;
@@ -24,6 +33,7 @@ export interface ProxyHost {
advanced_config?: string;
enabled: boolean;
certificate_id?: number | null;
certificate?: Certificate | null;
created_at: string;
updated_at: string;
}