Plugins: ReactPanelPlugin to VizPanelPlugin (#16779)

* Plugins: ReactPanelPlugin renamed

* Plugins: renamed PanelPlugin to PanelPluginMeta and VizPanelPlugin to PanelPlugin
This commit is contained in:
Torkel Ödegaard
2019-04-26 19:16:38 +02:00
committed by GitHub
parent e38762665b
commit 060e97bea8
25 changed files with 83 additions and 85 deletions

View File

@@ -4,7 +4,7 @@ import config from 'app/core/config';
import { DashboardModel } from '../../state/DashboardModel';
import DatasourceSrv from 'app/features/plugins/datasource_srv';
import { PanelModel } from 'app/features/dashboard/state';
import { PanelPlugin } from 'app/types/plugins';
import { PanelPluginMeta } from 'app/types/plugins';
interface Input {
name: string;
@@ -119,7 +119,7 @@ export class DashboardExporter {
}
}
const panelDef: PanelPlugin = config.panels[panel.type];
const panelDef: PanelPluginMeta = config.panels[panel.type];
if (panelDef) {
requires['panel' + panelDef.id] = {
type: 'panel',