fix(core): update
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
import * as pagechecks from './ul-interfaces.pagechecks';
|
||||
import * as checkRequests from './ul-interfaces.checkrequest';
|
||||
|
||||
export {
|
||||
pagechecks
|
||||
checkRequests as pagechecks
|
||||
};
|
||||
|
@ -1,3 +1,67 @@
|
||||
export interface IPageCheckRequest {
|
||||
|
||||
import * as plugins from './ul-interfaces.plugins';
|
||||
|
||||
export type TCheckResultStatus = 'ok' | 'not ok' | 'timed out';
|
||||
|
||||
export interface IRequest_PageCheck_PWA {
|
||||
method: 'pwa';
|
||||
request: {
|
||||
intervalMs: number,
|
||||
domain: string;
|
||||
};
|
||||
response: {
|
||||
timeStarted: number;
|
||||
timeEnded: number;
|
||||
duration: number;
|
||||
status: TCheckResultStatus;
|
||||
data: {
|
||||
lhr: any;
|
||||
reports: any[];
|
||||
};
|
||||
checkLog: string[];
|
||||
};
|
||||
}
|
||||
|
||||
export interface IRequest_PageCheck_Function {
|
||||
method: 'checkPwa';
|
||||
request: {
|
||||
intervalMs: number,
|
||||
domain: string;
|
||||
functionDef: string;
|
||||
};
|
||||
response: {
|
||||
timeStarted: number;
|
||||
timeEnded: number;
|
||||
duration: number;
|
||||
status: TCheckResultStatus;
|
||||
data: any;
|
||||
checkLog: string[];
|
||||
};
|
||||
}
|
||||
|
||||
export interface IRequest_PageCheck_Assumption {
|
||||
method: 'assumption';
|
||||
request: {
|
||||
intervalMs: number,
|
||||
domain: string;
|
||||
title?: string;
|
||||
statusCode?: string;
|
||||
description?: string;
|
||||
dnsRecordMx?: string;
|
||||
dnsRecordTxt?: string;
|
||||
};
|
||||
response: {
|
||||
timeStarted: number;
|
||||
timeEnded: number;
|
||||
duration: number;
|
||||
status: TCheckResultStatus;
|
||||
data: {
|
||||
domain: string;
|
||||
title?: string;
|
||||
statusCode?: string;
|
||||
description?: string;
|
||||
dnsRecordMx?: string;
|
||||
dnsRecordTxt?: string;
|
||||
};
|
||||
checkLog: string[];
|
||||
};
|
||||
}
|
@ -1,7 +0,0 @@
|
||||
export interface IPageCheckSimple {};
|
||||
|
||||
export interface IPageCheckAdvanced {};
|
||||
|
||||
export interface IPageCheckPWA {
|
||||
|
||||
}
|
5
ts/ul-interfaces.plugins.ts
Normal file
5
ts/ul-interfaces.plugins.ts
Normal file
@ -0,0 +1,5 @@
|
||||
import * as typedRequestInterfaces from '@apiglobal/typedrequest-interfaces';
|
||||
|
||||
export {
|
||||
typedRequestInterfaces
|
||||
};
|
Reference in New Issue
Block a user