UNPKG

nope-js-node

Version:

NoPE Runtime for Nodejs. For Browser-Support please use nope-browser

25 lines (24 loc) 699 B
/** * @author Martin Karkowski * @email m.karkowski@zema.de */ import { INopeDescriptor } from "../types/nope"; /** * Helper, to parse a {@link INopeDescriptor} to a * @param schema * @param toJSONSchema * @param workWithRefs * @param definitions * @returns */ export declare function parseFunctionToJsonSchema(schema: INopeDescriptor, toJSONSchema?: boolean, workWithRefs?: boolean, definitions?: { [index: string]: INopeDescriptor; }, prePathInput?: string, prePathOutput?: string, splitChar?: string): { definitions: { [index: string]: INopeDescriptor; }; order: string[]; ids: string[]; inputId: string; outputId: string; };