@types/express-status-monitor
Advanced tools
Comparing version 1.2.3 to 1.2.4
@@ -13,20 +13,20 @@ // Type definitions for express-status-monitor 1.2 | ||
interface ExpressStatusMonitorConfig { | ||
title?: string; | ||
theme?: string; | ||
path?: string; | ||
socketPath?: string; | ||
websocket?: SocketIO.Server | null; // References a socket.io instance | ||
spans?: RetentionSpan[]; | ||
title?: string | undefined; | ||
theme?: string | undefined; | ||
path?: string | undefined; | ||
socketPath?: string | undefined; | ||
websocket?: SocketIO.Server | null | undefined; // References a socket.io instance | ||
spans?: RetentionSpan[] | undefined; | ||
chartVisibility?: { | ||
cpu?: boolean; | ||
mem?: boolean; | ||
load?: boolean; | ||
cpu?: boolean | undefined; | ||
mem?: boolean | undefined; | ||
load?: boolean | undefined; | ||
/** @default true */ | ||
heap?: boolean; | ||
responseTime?: boolean; | ||
rps?: boolean; | ||
statusCodes?: boolean; | ||
}; | ||
healthChecks?: HealthCheck[]; | ||
ignoreStartsWith?: string; | ||
heap?: boolean | undefined; | ||
responseTime?: boolean | undefined; | ||
rps?: boolean | undefined; | ||
statusCodes?: boolean | undefined; | ||
} | undefined; | ||
healthChecks?: HealthCheck[] | undefined; | ||
ignoreStartsWith?: string | undefined; | ||
} | ||
@@ -33,0 +33,0 @@ |
{ | ||
"name": "@types/express-status-monitor", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "TypeScript definitions for express-status-monitor", | ||
"homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-status-monitor", | ||
"license": "MIT", | ||
@@ -25,4 +26,4 @@ "contributors": [ | ||
}, | ||
"typesPublisherContentHash": "4a8b63474a3d5271bff66606f795d3159c692dcced68a0b4e1371f02f205d1c0", | ||
"typeScriptVersion": "3.5" | ||
"typesPublisherContentHash": "ddc6543466eb1257814762658b4aaaed1c0de947f1c349b90d1e53f374573bd1", | ||
"typeScriptVersion": "3.6" | ||
} |
@@ -9,5 +9,56 @@ # Installation | ||
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-status-monitor. | ||
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-status-monitor/index.d.ts) | ||
````ts | ||
// Type definitions for express-status-monitor 1.2 | ||
// Project: https://github.com/RafalWilinski/express-status-monitor#readme | ||
// Definitions by: Alex Anderson <https://github.com/alexanderson1993> | ||
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped | ||
// TypeScript Version: 2.3 | ||
/// <reference types="socket.io" /> | ||
import express = require('express'); | ||
declare namespace e { | ||
interface ExpressStatusMonitorConfig { | ||
title?: string | undefined; | ||
theme?: string | undefined; | ||
path?: string | undefined; | ||
socketPath?: string | undefined; | ||
websocket?: SocketIO.Server | null | undefined; // References a socket.io instance | ||
spans?: RetentionSpan[] | undefined; | ||
chartVisibility?: { | ||
cpu?: boolean | undefined; | ||
mem?: boolean | undefined; | ||
load?: boolean | undefined; | ||
/** @default true */ | ||
heap?: boolean | undefined; | ||
responseTime?: boolean | undefined; | ||
rps?: boolean | undefined; | ||
statusCodes?: boolean | undefined; | ||
} | undefined; | ||
healthChecks?: HealthCheck[] | undefined; | ||
ignoreStartsWith?: string | undefined; | ||
} | ||
interface RetentionSpan { | ||
interval: number; | ||
retention: number; | ||
} | ||
interface HealthCheck { | ||
protocol: string; | ||
host: string; | ||
path: string; | ||
port: string | number; | ||
} | ||
} | ||
declare function e(config?: e.ExpressStatusMonitorConfig): express.RequestHandler; | ||
export = e; | ||
```` | ||
### Additional Details | ||
* Last updated: Fri, 14 May 2021 19:01:36 GMT | ||
* Last updated: Thu, 08 Jul 2021 12:01:23 GMT | ||
* Dependencies: [@types/express](https://npmjs.com/package/@types/express), [@types/socket.io](https://npmjs.com/package/@types/socket.io) | ||
@@ -14,0 +65,0 @@ * Global values: none |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No website
QualityPackage does not have a website.
Found 1 instance in 1 package
5941
0
68