@mindconnect/mindconnect-nodejs
Version:
MindConnect Library for NodeJS (community based)
28 lines (27 loc) • 1.53 kB
TypeScript
import { AssetManagementModels } from "../../api/sdk";
export declare const serviceCredentialLog: (color?: Function) => void;
export declare function colorizeStatus(message: string): any;
export declare const subtractSecond: (date: Date, seconds: number) => Date;
export declare const displayCsvHelp: (color: (chalk: string) => string) => void;
export declare const directoryReadyLog: ({ path, runCommand, jobCommand }: {
path: string;
runCommand: string;
jobCommand: string;
}) => void;
export declare function modeInformation(asset: AssetManagementModels.AssetResourceWithHierarchyPath, options: any): void;
export declare function getColor(name: string): any;
export declare function agentConfigLog({ gateway, host, tenant, agentid, color }: {
gateway: string;
host: string;
tenant: string;
agentid: string | undefined;
color: Function;
}): void;
export declare const errorLog: (err: any, verbose: any) => never;
export declare const verboseLog: (message: any, verbose: any, spinner?: any) => void;
export declare const proxyLog: (verbose: any, color: Function) => void;
export declare const homeDirLog: (verbose: any, color: Function) => void;
export declare const retrylog: (operation: string, c?: Function) => () => void;
export declare const humanFileSize: (size: number) => string;
export declare function generateTestData(size: number, fn: (x: number) => number | undefined, variableName?: string): any[];
export declare function buildFilter(options: any): any;