mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Update dependency @kusto/monaco-kusto to v10 (#81382)
* Update dependency @kusto/monaco-kusto to v10 * match types + update mocks * Add missing esModule --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Ashley Harrison <ashley.harrison@grafana.com> Co-authored-by: Andreas Christou <andreas.christou@grafana.com>
This commit is contained in:
@@ -370,6 +370,7 @@ export default class FakeSchemaData {
|
||||
},
|
||||
],
|
||||
functions: [],
|
||||
entityGroups: [],
|
||||
majorVersion: 0,
|
||||
minorVersion: 0,
|
||||
};
|
||||
|
||||
@@ -56,6 +56,7 @@ export function transformMetadataToKustoSchema(
|
||||
functions: transformMetadataFunction(sourceSchema),
|
||||
majorVersion: 0,
|
||||
minorVersion: 0,
|
||||
entityGroups: [],
|
||||
};
|
||||
|
||||
// Adding macros as known functions
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
"@grafana/runtime": "11.1.0-pre",
|
||||
"@grafana/schema": "11.1.0-pre",
|
||||
"@grafana/ui": "11.1.0-pre",
|
||||
"@kusto/monaco-kusto": "^7.4.0",
|
||||
"@kusto/monaco-kusto": "^10.0.0",
|
||||
"fast-deep-equal": "^3.1.3",
|
||||
"i18next": "^23.0.0",
|
||||
"immer": "10.0.4",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { ScalarParameter, TabularParameter, Function } from '@kusto/monaco-kusto';
|
||||
import { ScalarParameter, TabularParameter, Function, EntityGroup } from '@kusto/monaco-kusto';
|
||||
|
||||
import {
|
||||
DataSourceInstanceSettings,
|
||||
@@ -178,6 +178,7 @@ export interface Database {
|
||||
functions: Function[];
|
||||
majorVersion: number;
|
||||
minorVersion: number;
|
||||
entityGroups: EntityGroup[];
|
||||
}
|
||||
|
||||
export interface FormatAsFieldProps extends AzureQueryEditorFieldProps {
|
||||
|
||||
@@ -11,7 +11,6 @@
|
||||
"@grafana/runtime": "11.1.0-pre",
|
||||
"@grafana/schema": "11.1.0-pre",
|
||||
"@grafana/ui": "11.1.0-pre",
|
||||
"@kusto/monaco-kusto": "^7.4.0",
|
||||
"debounce-promise": "3.1.2",
|
||||
"fast-deep-equal": "^3.1.3",
|
||||
"i18next": "^23.0.0",
|
||||
|
||||
Reference in New Issue
Block a user