@knime/scripting-editor 0.0.66 → 0.0.67

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -47,11 +47,14 @@ export type UseCodeEditorReturn = {
47
47
  insertColumnReference: (textToInsert: string, requiredImport?: string) => void;
48
48
  /**
49
49
  * Inserts the specified function reference at the current cursor position in the editor.
50
- * Uses snippets to give really nice insertion behavior for function arguments.
50
+ * Uses snippets to give really nice insertion behavior for function arguments. If the
51
+ * arguments are null, the function will be inserted without arguments OR brackets.
52
+ * If the arguments are an empty list, the function will be inserted with empty brackets.
53
+ *
51
54
  * @param functionName
52
55
  * @param functionArgs the arguments to the function.
53
56
  */
54
- insertFunctionReference: (functionName: string, functionArgs: string[]) => void;
57
+ insertFunctionReference: (functionName: string, functionArgs: string[] | null) => void;
55
58
  };
56
59
  export type UseDiffEditorParams = ContainerParams & {
57
60
  originalModel: monaco.editor.ITextModel;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@knime/scripting-editor",
3
3
  "type": "module",
4
- "version": "0.0.66",
4
+ "version": "0.0.67",
5
5
  "description": "Shared Scripting Editor components for KNIME",
6
6
  "author": "KNIME AG, Zurich, Switzerland",
7
7
  "license": "See the file license.txt",