mysterium-tequilapi
Version:
Api library to control mysterium client and node
23 lines (21 loc) • 619 B
Flow
// @flow
/**
* Flowtype definitions for node-healthcheck
* Generated by Flowgen from a Typescript Definition
* Flowgen v1.5.8
* Author: [Joar Wilk](http://twitter.com/joarwilk)
* Repo: http://github.com/joarwilk/flowgen
*/
import { NodeBuildInfoDTO } from "./node-build-info";
export interface NodeHealthcheckDTO {
uptime: string;
process: number;
version: string;
buildInfo: NodeBuildInfoDTO;
}
/**
* Validates and converts mixed type into NodeHealthcheckDTO.
* @param data to be conveted
* @returns converted type
*/
declare export function parseHealthcheckResponse(data: any): NodeHealthcheckDTO;