@kusto/monaco-kusto 5.3.12 → 5.5.0

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.
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 5.3.12(undefined)
3
+ * monaco-kusto version: 5.5.0(undefined)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 5.3.12(undefined)
3
+ * monaco-kusto version: 5.5.0(undefined)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
@@ -1,6 +1,6 @@
1
1
  /*!-----------------------------------------------------------------------------
2
2
  * Copyright (c) Microsoft Corporation. All rights reserved.
3
- * monaco-kusto version: 5.3.12(undefined)
3
+ * monaco-kusto version: 5.5.0(undefined)
4
4
  * Released under the MIT license
5
5
  * https://https://github.com/Azure/monaco-kusto/blob/master/README.md
6
6
  *-----------------------------------------------------------------------------*/
@@ -26,6 +26,7 @@ declare module monaco.languages.kusto {
26
26
  enableQueryWarnings?: boolean;
27
27
  enableQuerySuggestions?: boolean;
28
28
  disabledDiagnosticCodes?: string[];
29
+ quickFixCodeActions?: QuickFixCodeActionOptions[];
29
30
  }
30
31
 
31
32
  export interface SyntaxErrorAsMarkDownOptions {
@@ -34,6 +35,8 @@ declare module monaco.languages.kusto {
34
35
  enableSyntaxErrorAsMarkDown?: boolean;
35
36
  }
36
37
 
38
+ export type QuickFixCodeActionOptions = 'Extract Expression' | 'Extract Function' | 'Change to';
39
+
37
40
  export interface FormatterOptions {
38
41
  indentationSize?: number;
39
42
  pipeOperatorStyle?: FormatterPlacementStyle;
@@ -112,8 +115,12 @@ declare module monaco.languages.kusto {
112
115
  * statement.
113
116
  * It is also different from getGlobalParams that will return all global parameters whether used or not.
114
117
  */
115
- getReferencedGlobalParams(uri: string, cursorOffset: number): Promise<{ name: string; type: string }[]>;
118
+ getReferencedGlobalParams(uri: string, cursorOffset?: number): Promise<{ name: string; type: string }[]>;
116
119
 
120
+ getReferencedSymbols(
121
+ document: TextDocument,
122
+ cursorOffset?: number
123
+ ): Promise<{ name: string; kind: string; display: string }[]>;
117
124
  /**
118
125
  * Get visualization options in render command if present (null otherwise).
119
126
  */