Refactor: Plugin exports & data source / panel types (#16364)

* wip: began work off removing meta and pluginExports from DataSourceApi interface

* WIP: changing how plugins are exports and loaded

* Down the refactoring rabit hole that keeps expanding

* TestData now returns DataSourcePlugin

* Refactoring: fixed app config page loading, type renamings and more typings

* Refactor: Correct casing on DatasourceStatus => DataSourceStatus
This commit is contained in:
Torkel Ödegaard
2019-04-04 18:30:15 +02:00
committed by GitHub
parent e04990752c
commit 47e51cb6b3
31 changed files with 411 additions and 251 deletions

View File

@@ -62,9 +62,7 @@ export function getPanelPluginNotFound(id: string): PanelPlugin {
updated: '',
version: '',
},
exports: {
reactPanel: new ReactPanelPlugin(NotFound),
},
reactPlugin: new ReactPanelPlugin(NotFound),
angularPlugin: null,
};
}