Resolve PR issues

This commit is contained in:
Tuan Dang
2024-06-12 13:11:21 -07:00
parent 868d0345d6
commit f5322abe85
26 changed files with 244 additions and 243 deletions
+4 -2
View File
@@ -7,6 +7,7 @@ export type TCertificateAuthority = {
projectId: string;
type: CaType;
status: CaStatus;
friendlyName: string;
organization: string;
ou: string;
country: string;
@@ -25,6 +26,7 @@ export type TCertificateAuthority = {
export type TCreateCaDTO = {
projectSlug: string;
type: string;
friendlyName?: string;
organization: string;
ou: string;
country: string;
@@ -74,12 +76,12 @@ export type TImportCaCertificateResponse = {
caId: string;
};
// TODO: add TTL
export type TCreateCertificateDTO = {
projectSlug: string;
caId: string;
friendlyName?: string;
commonName: string;
ttl?: number;
ttl: string; // string compatible with ms
notBefore?: string;
notAfter?: string;
};
@@ -4,6 +4,7 @@ export type TCertificate = {
id: string;
caId: string;
status: CertStatus;
friendlyName: string;
commonName: string;
serialNumber: string;
notBefore: string;