- Preparing search index...
- The search index is not available
nope-js-node
Function parseFunctionToJsonSchema
- parseFunctionToJsonSchema(schema, toJSONSchema?, workWithRefs?, definitions?, prePathInput?, prePathOutput?, splitChar?): {
definitions: {
[index: string]: INopeDescriptor;
};
ids: string[];
inputId: string;
order: string[];
outputId: string;
}
-
Parameters
-
-
toJSONSchema: boolean = true
-
workWithRefs: boolean = true
-
definitions: {
[index: string]: INopeDescriptor;
} = {}
-
prePathInput: string = "input"
-
prePathOutput: string = "output"
-
splitChar: string = SPLITCHAR
Returns {
definitions: {
[index: string]: INopeDescriptor;
};
ids: string[];
inputId: string;
order: string[];
outputId: string;
}
-
definitions: {
[index: string]: INopeDescriptor;
}
-
ids: string[]
-
inputId: string
-
order: string[]
-
outputId: string
Helper, to parse a INopeDescriptor to a
Returns