update
This commit is contained in:
48
dist_ts_web/elements/sz-domain-detail-view.d.ts
vendored
Normal file
48
dist_ts_web/elements/sz-domain-detail-view.d.ts
vendored
Normal file
@@ -0,0 +1,48 @@
|
||||
import { DeesElement, type TemplateResult } from '@design.estate/dees-element';
|
||||
declare global {
|
||||
interface HTMLElementTagNameMap {
|
||||
'sz-domain-detail-view': SzDomainDetailView;
|
||||
}
|
||||
}
|
||||
export interface IDomainDetail {
|
||||
id: string;
|
||||
name: string;
|
||||
status: 'active' | 'pending' | 'error';
|
||||
verified: boolean;
|
||||
createdAt: string;
|
||||
proxyRoutes?: string[];
|
||||
}
|
||||
export interface ICertificateDetail {
|
||||
id: string;
|
||||
domain: string;
|
||||
issuer: string;
|
||||
validFrom: string;
|
||||
validUntil: string;
|
||||
daysRemaining: number;
|
||||
status: 'valid' | 'expiring' | 'expired';
|
||||
autoRenew: boolean;
|
||||
chain?: string[];
|
||||
}
|
||||
export interface IDnsRecordDetail {
|
||||
id: string;
|
||||
type: 'A' | 'AAAA' | 'CNAME' | 'MX' | 'TXT' | 'NS' | 'SRV';
|
||||
name: string;
|
||||
value: string;
|
||||
ttl: number;
|
||||
priority?: number;
|
||||
}
|
||||
export declare class SzDomainDetailView extends DeesElement {
|
||||
static demo: () => TemplateResult<1>;
|
||||
accessor domain: IDomainDetail | null;
|
||||
accessor certificate: ICertificateDetail | null;
|
||||
accessor dnsRecords: IDnsRecordDetail[];
|
||||
accessor actionLoading: boolean;
|
||||
static styles: import("@design.estate/dees-element").CSSResult[];
|
||||
render(): TemplateResult;
|
||||
private handleVerify;
|
||||
private handleDelete;
|
||||
private handleRenewCertificate;
|
||||
private handleAddDnsRecord;
|
||||
private handleEditDnsRecord;
|
||||
private handleDeleteDnsRecord;
|
||||
}
|
||||
Reference in New Issue
Block a user