Files
certd/packages/core/pipeline/src/service/cname.ts
2025-01-02 00:28:13 +08:00

25 lines
463 B
TypeScript

import { IAccess } from "../access";
export type CnameProvider = {
id: any;
domain: string;
title?: string;
dnsProviderType?: string;
access?: IAccess;
accessId?: any;
};
export type CnameRecord = {
id: any;
domain: string;
hostRecord: string;
recordValue: string;
cnameProvider: CnameProvider;
status: string;
commonDnsProvider?: any;
};
export type ICnameProxyService = {
getByDomain: (domain: string) => Promise<CnameRecord>;
};