libresolver/dist/types.d.ts

25 lines
493 B
TypeScript
Raw Normal View History

2022-08-18 14:58:17 +00:00
export interface ResolverOptions {
2022-08-19 19:45:08 +00:00
type: string;
customType?: string;
options?: any;
2022-08-18 14:58:17 +00:00
}
export interface DNSResult {
2022-08-19 19:45:08 +00:00
records: DNSRecord[];
error?: Error;
2022-08-18 14:58:17 +00:00
}
export interface DNSRecord {
2022-08-19 19:45:08 +00:00
type: string;
customType?: string;
value: string;
2022-08-18 14:58:17 +00:00
}
declare const DNS_RECORD_TYPE: {
2022-08-19 19:45:08 +00:00
A: string;
CNAME: string;
NS: string;
CONTENT: string;
TEXT: string;
ALL: string;
CUSTOM: string;
2022-08-18 14:58:17 +00:00
};
export { DNS_RECORD_TYPE };
2022-08-19 19:45:08 +00:00
//# sourceMappingURL=types.d.ts.map