mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Chore: Remove angular dependency from data sources (#27735)
* Chore: Remove angular dependency from data sources * Removes default export for time and template srvs Also uses @grafana/runtime versions of the interfaces where possible * Replace usage of internal templateSrv where possible * Use runtime templateSrv in a couple more places
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { PluginMeta } from '@grafana/data';
|
||||
import { PanelPlugin } from '@grafana/data';
|
||||
import { TemplateSrv } from '@grafana/runtime';
|
||||
|
||||
export interface PluginDashboard {
|
||||
dashboardId: number;
|
||||
@@ -34,5 +35,5 @@ export interface VariableQueryProps {
|
||||
query: any;
|
||||
onChange: (query: any, definition: string) => void;
|
||||
datasource: any;
|
||||
templateSrv: any;
|
||||
templateSrv: TemplateSrv;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user