Files
certd/packages/core/pipeline/src/service/cname.ts
T

25 lines
463 B
TypeScript
Raw Normal View History

import { IAccess } from "../access";
export type CnameProvider = {
id: any;
domain: string;
2024-11-08 01:31:20 +08:00
title?: string;
dnsProviderType?: string;
access?: IAccess;
2024-11-08 01:31:20 +08:00
accessId?: any;
};
export type CnameRecord = {
id: any;
domain: string;
hostRecord: string;
recordValue: string;
cnameProvider: CnameProvider;
status: string;
2024-11-08 01:31:20 +08:00
commonDnsProvider?: any;
};
2025-01-02 00:28:13 +08:00
export type ICnameProxyService = {
getByDomain: (domain: string) => Promise<CnameRecord>;
};