wip: moved plugin exports

This commit is contained in:
Torkel Ödegaard
2019-01-17 17:04:24 +01:00
parent dfe1b20f3d
commit a201c76c5f
8 changed files with 73 additions and 112 deletions

View File

@@ -1,3 +1,4 @@
export * from './series';
export * from './time';
export * from './panel';
export * from './plugin';

View File

@@ -0,0 +1,20 @@
import { ComponentClass } from 'react';
import { PanelProps, PanelOptionsProps } from './panel';
export interface PluginExports {
Datasource?: any;
QueryCtrl?: any;
QueryEditor?: any;
ConfigCtrl?: any;
AnnotationsQueryCtrl?: any;
VariableQueryEditor?: any;
ExploreQueryField?: any;
ExploreStartPage?: any;
// Panel plugin
PanelCtrl?: any;
Panel?: ComponentClass<PanelProps>;
PanelOptions?: ComponentClass<PanelOptionsProps>;
PanelDefaults?: any;
}