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

@@ -3,7 +3,7 @@ import config from 'app/core/config';
import * as dateMath from 'app/core/utils/datemath';
import { angularMocks, sinon } from '../lib/common';
import { PanelModel } from 'app/features/dashboard/state/PanelModel';
import { PanelPlugin } from 'app/types';
import { PanelPluginMeta } from 'app/types';
import { RawTimeRange } from '@grafana/ui/src/types';
export function ControllerTestContext(this: any) {
@@ -64,7 +64,7 @@ export function ControllerTestContext(this: any) {
$rootScope.colors.push('#' + i);
}
config.panels['test'] = { info: {} } as PanelPlugin;
config.panels['test'] = { info: {} } as PanelPluginMeta;
self.ctrl = $controller(
Ctrl,
{ $scope: self.scope },