fix(core): update
This commit is contained in:
@ -3,6 +3,6 @@
|
||||
*/
|
||||
export const commitinfo = {
|
||||
name: '@uptime.link/interfaces',
|
||||
version: '2.0.5',
|
||||
version: '2.0.6',
|
||||
description: 'TypeScript interface for the uptime.link API and modules'
|
||||
}
|
||||
|
@ -3,8 +3,6 @@ import * as search from './search.js';
|
||||
|
||||
import * as checks from './checks/index.js';
|
||||
|
||||
|
||||
|
||||
export interface ICheckCollection {
|
||||
id: string;
|
||||
intervalMs: number;
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { TCheckResultStatus, TExecutionTiming } from "./index.js";
|
||||
import { TCheckResultStatus, TExecutionTiming } from './index.js';
|
||||
|
||||
export interface IFunctionCheck {
|
||||
checkId: string;
|
||||
@ -11,5 +11,5 @@ export interface IFunctionCheck {
|
||||
status: TCheckResultStatus;
|
||||
data: any;
|
||||
checkLog: string[];
|
||||
}>
|
||||
}
|
||||
}>;
|
||||
}
|
||||
|
@ -14,6 +14,6 @@ export interface IPageRankCheck {
|
||||
executionResults: Array<{
|
||||
timing: TExecutionTiming;
|
||||
status: TCheckResultStatus;
|
||||
pageRankResult: search.IPageRankResult
|
||||
}>
|
||||
}
|
||||
pageRankResult: search.IPageRankResult;
|
||||
}>;
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
import { TCheckResultStatus } from "./index.js";
|
||||
import { TCheckResultStatus } from './index.js';
|
||||
|
||||
export interface IPwaCheck {
|
||||
inputData: { domain: string };
|
||||
|
@ -7,4 +7,4 @@ export class IUplinkProperty {
|
||||
type: 'website' | 'app' | 'api' | 'other';
|
||||
access: 'private' | 'public' | 'auth';
|
||||
checkCollectionIdRefs: string[];
|
||||
}
|
||||
}
|
||||
|
@ -18,4 +18,4 @@ export interface IPageRankResult {
|
||||
google: ISearchResult[];
|
||||
bing: ISearchResult[];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
@ -1,12 +1,12 @@
|
||||
import * as plugins from '../ul-interfaces.plugins.js';
|
||||
|
||||
export interface IStatus {
|
||||
last90days: IDailyStatus[];
|
||||
last90days: IDailyStatus[];
|
||||
}
|
||||
|
||||
export interface IDailyStatus {
|
||||
timezone: 'UTC',
|
||||
timezone: 'UTC';
|
||||
date: plugins.tsclass.general.IDate;
|
||||
overallStatus: 'ok' | 'reduced' | 'outage';
|
||||
incidentRefs: string[];
|
||||
}
|
||||
}
|
||||
|
@ -12,5 +12,5 @@ export interface IRequest_CheckExchange
|
||||
};
|
||||
response: {
|
||||
checkCollection: ICheckCollection;
|
||||
}
|
||||
};
|
||||
}
|
||||
|
@ -5,6 +5,4 @@ export { typedRequestInterfaces };
|
||||
// tsclass scope
|
||||
import * as tsclass from '@tsclass/tsclass';
|
||||
|
||||
export {
|
||||
tsclass
|
||||
}
|
||||
export { tsclass };
|
||||
|
Reference in New Issue
Block a user