Compare commits
20 Commits
Author | SHA1 | Date | |
---|---|---|---|
1c196ea31a | |||
d1088270bc | |||
e7a11c2b54 | |||
9d8985d67a | |||
5afbf16906 | |||
1ef7737dc9 | |||
4d961003e8 | |||
24762468da | |||
4c57804da2 | |||
847f3a4f1c | |||
d5d896a91e | |||
53b732a3f7 | |||
f7f75a64db | |||
2a0aa6db07 | |||
6a4849f87d | |||
6ba521c1b9 | |||
267dca249f | |||
0b8249a21f | |||
cf4d90ecbd | |||
92d9f441d1 |
@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@uptime.link/interfaces",
|
"name": "@uptime.link/interfaces",
|
||||||
"version": "2.0.9",
|
"version": "2.0.19",
|
||||||
"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.9',
|
version: '2.0.19',
|
||||||
description: 'TypeScript interface for the uptime.link API and modules'
|
description: 'TypeScript interface for the uptime.link API and modules'
|
||||||
}
|
}
|
||||||
|
@ -1,12 +1,29 @@
|
|||||||
import * as plugins from '../ul-interfaces.plugins.js';
|
import * as plugins from '../ul-interfaces.plugins.js';
|
||||||
|
|
||||||
export interface IDomainSnapshot {
|
export interface IDomainSnapshot {
|
||||||
|
registration: {
|
||||||
|
isRegistered: boolean;
|
||||||
|
updatedDate: number;
|
||||||
|
createdDate: number;
|
||||||
|
expiryDate: number;
|
||||||
|
};
|
||||||
|
delegation: {
|
||||||
|
domainWithoutSuffix: string;
|
||||||
|
publicSuffix: string;
|
||||||
|
subdomain: string;
|
||||||
|
isIcann: boolean;
|
||||||
|
dnsSecEnabled: boolean;
|
||||||
|
};
|
||||||
|
phishingFlags: {
|
||||||
|
listName: string;
|
||||||
|
}[];
|
||||||
nameservers: string[];
|
nameservers: string[];
|
||||||
aRecords: plugins.tsclass.network.IDnsRecord[];
|
aRecords: plugins.tsclass.network.IDnsRecord[];
|
||||||
aaaaRecords: plugins.tsclass.network.IDnsRecord[];
|
aaaaRecords: plugins.tsclass.network.IDnsRecord[];
|
||||||
txtRecords: plugins.tsclass.network.IDnsRecord[];
|
txtRecords: plugins.tsclass.network.IDnsRecord[];
|
||||||
|
mxRecords: plugins.tsclass.network.IDnsRecord[];
|
||||||
whoisServers: {
|
whoisServers: {
|
||||||
serverUrl: string;
|
serverUrl: string;
|
||||||
content: string;
|
content: string;
|
||||||
}[];
|
}[];
|
||||||
}
|
}
|
||||||
|
@ -1,12 +1,11 @@
|
|||||||
export * from './checkcollection.js';
|
export * from './checkcollection.js';
|
||||||
export * from './domainsnapshot.js';
|
export * from './domainsnapshot.js';
|
||||||
export * from './incident.js';
|
export * from './incident.js';
|
||||||
|
export * from './linksnapshot.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';
|
import * as checks from './checks/index.js';
|
||||||
|
|
||||||
export {
|
export { checks };
|
||||||
checks
|
|
||||||
}
|
|
||||||
|
14
ts/data/linksnapshot.ts
Normal file
14
ts/data/linksnapshot.ts
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
import * as plugins from '../ul-interfaces.plugins.js';
|
||||||
|
|
||||||
|
export interface ILinkSnapshot {
|
||||||
|
httpsSupport: boolean;
|
||||||
|
httpHttpsParity: boolean;
|
||||||
|
httpToHttpsRedirect: boolean;
|
||||||
|
wwwToRootRedirect: boolean;
|
||||||
|
rootToWwwRedirect: boolean;
|
||||||
|
statusCode: number;
|
||||||
|
fullPageLoadSize: number;
|
||||||
|
fullPageLoadTimeMs: number;
|
||||||
|
cookies: any[];
|
||||||
|
gdprCompliance: boolean;
|
||||||
|
}
|
@ -1,4 +1,5 @@
|
|||||||
import { IDomainSnapshot } from '../data/domainsnapshot.js';
|
import { IDomainSnapshot } from '../data/domainsnapshot.js';
|
||||||
|
import { ILinkSnapshot } from '../data/linksnapshot.js';
|
||||||
import * as plugins from '../ul-interfaces.plugins.js';
|
import * as plugins from '../ul-interfaces.plugins.js';
|
||||||
|
|
||||||
export interface IReq_PerformDomainSnapshot
|
export interface IReq_PerformDomainSnapshot
|
||||||
@ -12,5 +13,6 @@ export interface IReq_PerformDomainSnapshot
|
|||||||
};
|
};
|
||||||
response: {
|
response: {
|
||||||
domainSnapshot: IDomainSnapshot;
|
domainSnapshot: IDomainSnapshot;
|
||||||
}
|
linkSnapshot: ILinkSnapshot;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user