chore: 新网dns完善

This commit is contained in:
xiaojunnuo
2025-09-23 23:24:36 +08:00
parent 105f0bfde2
commit 298f7d9d52
10 changed files with 395 additions and 151 deletions

View File

@@ -1,5 +1,5 @@
import { HttpClient, ILogger, utils } from "@certd/basic";
import { IAccess, Registrable } from "@certd/pipeline";
import { IAccess, IServiceGetter, Registrable } from "@certd/pipeline";
export type DnsProviderDefine = Registrable & {
accessType: string;
@@ -25,6 +25,7 @@ export type DnsProviderContext = {
http: HttpClient;
utils: typeof utils;
domainParser: IDomainParser;
serviceGetter: IServiceGetter;
};
export interface IDnsProvider<T = any> {

View File

@@ -524,6 +524,7 @@ export class CertApplyPlugin extends CertApplyBasePlugin {
http: this.ctx.http,
utils,
domainParser,
serviceGetter: this.ctx.serviceGetter,
};
return await createDnsProvider({
dnsProviderType,