diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 8926ecc..8fd8dc3 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@uptime.link/interfaces', - version: '2.0.7', + version: '2.0.8', description: 'TypeScript interface for the uptime.link API and modules' } diff --git a/ts/data/domainsnapshot.ts b/ts/data/domainsnapshot.ts new file mode 100644 index 0000000..cf7a395 --- /dev/null +++ b/ts/data/domainsnapshot.ts @@ -0,0 +1,12 @@ +import * as plugins from '../ul-interfaces.plugins.js'; + +export interface IDomainSnapshot { + nameservers: string[]; + aRecords: plugins.tsclass.network.IDnsRecord[]; + aaaaRecords: plugins.tsclass.network.IDnsRecord[]; + txtRecords: plugins.tsclass.network.IDnsRecord[]; + whoisServers: { + serverUrl: string; + content: string; + }[]; +} \ No newline at end of file diff --git a/ts/data/index.ts b/ts/data/index.ts index 82806b3..d95b71b 100644 --- a/ts/data/index.ts +++ b/ts/data/index.ts @@ -1,5 +1,12 @@ export * from './checkcollection.js'; +export * from './domainsnapshot.js'; export * from './incident.js'; export * from './property.js'; export * from './search.js'; export * from './status.js'; + +import * as checks from './checks/index.js'; + +export { + checks +}