2 Commits

Author SHA1 Message Date
a1cef67eee 2.0.8 2023-04-03 14:41:10 +02:00
5b75506634 fix(core): update 2023-04-03 14:41:09 +02:00
4 changed files with 21 additions and 2 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "@uptime.link/interfaces", "name": "@uptime.link/interfaces",
"version": "2.0.7", "version": "2.0.8",
"private": false, "private": false,
"description": "TypeScript interface for the uptime.link API and modules", "description": "TypeScript interface for the uptime.link API and modules",
"main": "dist_ts/index.js", "main": "dist_ts/index.js",

View File

@ -3,6 +3,6 @@
*/ */
export const commitinfo = { export const commitinfo = {
name: '@uptime.link/interfaces', name: '@uptime.link/interfaces',
version: '2.0.7', version: '2.0.8',
description: 'TypeScript interface for the uptime.link API and modules' description: 'TypeScript interface for the uptime.link API and modules'
} }

12
ts/data/domainsnapshot.ts Normal file
View File

@ -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;
}[];
}

View File

@ -1,5 +1,12 @@
export * from './checkcollection.js'; export * from './checkcollection.js';
export * from './domainsnapshot.js';
export * from './incident.js'; export * from './incident.js';
export * from './property.js'; export * from './property.js';
export * from './search.js'; export * from './search.js';
export * from './status.js'; export * from './status.js';
import * as checks from './checks/index.js';
export {
checks
}