mirror of
https://github.com/certd/certd.git
synced 2026-05-17 05:37:30 +08:00
26 lines
486 B
TypeScript
26 lines
486 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;
|
|
mainDomain?: string;
|
|
};
|
|
|
|
export type ICnameProxyService = {
|
|
getByDomain: (domain: string) => Promise<CnameRecord>;
|
|
};
|