feat: ui模式

BREAKING CHANGE: 接口配置变更
This commit is contained in:
xiaojunnuo
2023-05-23 18:01:20 +08:00
parent 8c152371a1
commit 6f6606d76d
40 changed files with 303 additions and 262 deletions
@@ -5,7 +5,11 @@ import { Challenge } from "@certd/acme-client/types/rfc8555";
import { Logger } from "log4js";
import { IContext } from "@certd/pipeline/src/core/context";
import { IDnsProvider } from "../../dns-provider";
export type CertInfo = {
crt: string;
key: string;
csr: string;
};
export class AcmeService {
userContext: IContext;
logger: Logger;
@@ -166,7 +170,7 @@ export class AcmeService {
},
});
const cert = {
const cert: CertInfo = {
crt: crt.toString(),
key: key.toString(),
csr: csr.toString(),