UNPKG

keep-observers

Version:

This is a monitoring service applied to the web side Support Elasticsearch+kiban The middleware extension interface is provided by means of plug-in service compositionkeep-observers

17 lines (16 loc) 659 B
import { catchParams } from '../../../types/pipe'; import { reportParams } from '../../../types/report'; import { middlesFn } from '../../../types/middle'; declare class KeepObserverPublic { private _middleWareInstance; readonly _publicMiddleScopeNames: string[]; _develop: boolean; middleScopeNames: string[]; constructor(config?: {}); static extendReportParams: {}; static extendReport(params: any): any; useMiddle(scopeName: string, middlesFn: middlesFn): any; runMiddle(scopeName: string, ...args: any[]): Promise<any>; handleReportData(params: catchParams): reportParams<any>; } export default KeepObserverPublic;