4 Commits

Author SHA1 Message Date
e7a11c2b54 2.0.18 2023-04-17 14:54:27 +02:00
9d8985d67a fix(core): update 2023-04-17 14:54:26 +02:00
5afbf16906 2.0.17 2023-04-17 13:56:55 +02:00
1ef7737dc9 fix(core): update 2023-04-17 13:56:55 +02:00
5 changed files with 20 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{
"name": "@uptime.link/interfaces",
"version": "2.0.16",
"version": "2.0.18",
"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.16',
version: '2.0.18',
description: 'TypeScript interface for the uptime.link API and modules'
}

View File

@ -3,7 +3,8 @@ import * as plugins from '../ul-interfaces.plugins.js';
export interface IDomainSnapshot {
registration: {
isRegistered: boolean;
createionDate: number;
updatedDate: number;
createdDate: number;
expiryDate: number;
};
delegation: {

14
ts/data/linksnapshot.ts Normal file
View 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;
}

View File

@ -1,4 +1,5 @@
import { IDomainSnapshot } from '../data/domainsnapshot.js';
import { ILinkSnapshot } from '../data/linksnapshot.js';
import * as plugins from '../ul-interfaces.plugins.js';
export interface IReq_PerformDomainSnapshot
@ -12,5 +13,6 @@ export interface IReq_PerformDomainSnapshot
};
response: {
domainSnapshot: IDomainSnapshot;
linkSnapshot: ILinkSnapshot;
};
}