Add certificate model for http and dns

change is_ecc to boolean, its still stored as int in sqlite
This commit is contained in:
Jamie Curnow
2023-02-28 20:55:40 +10:00
parent 7455accf58
commit fc2df47753
22 changed files with 599 additions and 71 deletions

View File

@@ -52,12 +52,16 @@ export interface Certificate {
id: number;
createdOn: number;
modifiedOn: number;
expiresOn: number | null;
type: string;
userId: number;
certificateAuthorityId: number;
dnsProviderId: number;
name: string;
acmeshServer: string;
caBundle: string;
maxDomains: number;
isWildcardSupported: boolean;
isSetup: boolean;
domainNames: string[];
status: string;
errorMessage: string;
isEcc: boolean;
}
export interface CertificateAuthority {