mirror of
https://github.com/certd/certd.git
synced 2026-04-14 12:30:54 +08:00
25 lines
463 B
TypeScript
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>;
|
|
};
|