8 Commits

Author SHA1 Message Date
6a4849f87d 2.0.12 2023-04-10 14:04:13 +02:00
6ba521c1b9 fix(core): update 2023-04-10 14:04:13 +02:00
267dca249f 2.0.11 2023-04-06 19:22:14 +02:00
0b8249a21f fix(core): update 2023-04-06 19:22:13 +02:00
cf4d90ecbd 2.0.10 2023-04-06 18:15:13 +02:00
92d9f441d1 fix(core): update 2023-04-06 18:15:12 +02:00
44d62df972 2.0.9 2023-04-03 17:12:02 +02:00
289ddfc153 fix(core): update 2023-04-03 17:12:01 +02:00
5 changed files with 31 additions and 2 deletions

View File

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

View File

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

View File

@ -1,10 +1,22 @@
import * as plugins from '../ul-interfaces.plugins.js';
export interface IDomainSnapshot {
registered: boolean;
delegation: {
domainWithoutSuffix: string;
publicSuffix: string;
subdomain: string;
isIcann: boolean;
dnsSecEnabled: boolean;
};
phishingFlags: {
listName: string;
}[];
nameservers: string[];
aRecords: plugins.tsclass.network.IDnsRecord[];
aaaaRecords: plugins.tsclass.network.IDnsRecord[];
txtRecords: plugins.tsclass.network.IDnsRecord[];
mxRecords: plugins.tsclass.network.IDnsRecord[];
whoisServers: {
serverUrl: string;
content: string;

View File

@ -1,3 +1,4 @@
export * from './requests.checks.js';
export * from './requests.incidents.js';
export * from './requests.snapshot.js';
export * from './requests.status.js';

View File

@ -0,0 +1,16 @@
import { IDomainSnapshot } from '../data/domainsnapshot.js';
import * as plugins from '../ul-interfaces.plugins.js';
export interface IReq_PerformDomainSnapshot
extends plugins.typedRequestInterfaces.implementsTR<
plugins.typedRequestInterfaces.ITypedRequest,
IReq_PerformDomainSnapshot
> {
method: 'performDomainSnapshot';
request: {
domainName: string;
};
response: {
domainSnapshot: IDomainSnapshot;
}
}