mirror of
https://github.com/certd/certd.git
synced 2026-04-24 20:57:26 +08:00
perf: 支持公共cname服务
This commit is contained in:
@@ -3,9 +3,10 @@ import { IAccess } from "../access";
|
||||
export type CnameProvider = {
|
||||
id: any;
|
||||
domain: string;
|
||||
dnsProviderType: string;
|
||||
title?: string;
|
||||
dnsProviderType?: string;
|
||||
access?: IAccess;
|
||||
accessId: any;
|
||||
accessId?: any;
|
||||
};
|
||||
|
||||
export type CnameRecord = {
|
||||
@@ -15,6 +16,7 @@ export type CnameRecord = {
|
||||
recordValue: string;
|
||||
cnameProvider: CnameProvider;
|
||||
status: string;
|
||||
commonDnsProvider?: any;
|
||||
};
|
||||
export type ICnameProxyService = {
|
||||
getByDomain: (domain: string) => Promise<CnameRecord>;
|
||||
|
||||
Reference in New Issue
Block a user