@godspeedsystems/core
Version:
> 4th Generation Declarative Microservice Framework
20 lines (19 loc) • 1.13 kB
TypeScript
import { PlainObject } from './common';
import { GSStatus } from './interfaces';
export declare const isPlainObject: (value: any) => boolean;
export declare function getAtPath(obj: PlainObject, path: string): PlainObject | undefined;
export declare function setAtPath(o: PlainObject, path: string, value: any): void;
export declare function checkDatasource(workflowJson: PlainObject, datasources: PlainObject, location: PlainObject): GSStatus;
export declare function prepareScript(str: string, location: PlainObject): Function;
export declare function compileScript(args: any, location: PlainObject): Function;
export declare function checkFunctionExists(events: PlainObject, functions: PlainObject): GSStatus;
export declare function removeNulls(obj: PlainObject): PlainObject;
export declare function getParseDurationPkg(): Promise<{
(input: string, format?: import("parse-duration").Units | undefined): number | null;
[key: string]: number;
} & {
default: {
(input: string, format?: import("parse-duration").Units | undefined): number | null;
[key: string]: number;
} & any;
}>;