Compare commits
8 Commits
Author | SHA1 | Date | |
---|---|---|---|
267dca249f | |||
0b8249a21f | |||
cf4d90ecbd | |||
92d9f441d1 | |||
44d62df972 | |||
289ddfc153 | |||
a1cef67eee | |||
5b75506634 |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@uptime.link/interfaces",
|
"name": "@uptime.link/interfaces",
|
||||||
"version": "2.0.7",
|
"version": "2.0.11",
|
||||||
"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",
|
||||||
|
@ -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.11',
|
||||||
description: 'TypeScript interface for the uptime.link API and modules'
|
description: 'TypeScript interface for the uptime.link API and modules'
|
||||||
}
|
}
|
||||||
|
13
ts/data/domainsnapshot.ts
Normal file
13
ts/data/domainsnapshot.ts
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
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[];
|
||||||
|
mxRecords: plugins.tsclass.network.IDnsRecord[];
|
||||||
|
whoisServers: {
|
||||||
|
serverUrl: string;
|
||||||
|
content: string;
|
||||||
|
}[];
|
||||||
|
}
|
@ -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
|
||||||
|
}
|
||||||
|
@ -1,3 +1,4 @@
|
|||||||
export * from './requests.checks.js';
|
export * from './requests.checks.js';
|
||||||
export * from './requests.incidents.js';
|
export * from './requests.incidents.js';
|
||||||
|
export * from './requests.snapshot.js';
|
||||||
export * from './requests.status.js';
|
export * from './requests.status.js';
|
||||||
|
16
ts/requests/requests.snapshot.ts
Normal file
16
ts/requests/requests.snapshot.ts
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
Reference in New Issue
Block a user