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