2019-10-31 10:48:05 +01:00
|
|
|
import { DataSourcePlugin } from '@grafana/data';
|
2019-04-12 10:13:36 -07:00
|
|
|
|
2019-05-02 21:56:54 -07:00
|
|
|
import { InputDatasource } from './InputDatasource';
|
2019-04-12 10:13:36 -07:00
|
|
|
|
2019-05-02 21:56:54 -07:00
|
|
|
import { InputQueryEditor } from './InputQueryEditor';
|
|
|
|
|
import { InputConfigEditor } from './InputConfigEditor';
|
|
|
|
|
import { InputOptions, InputQuery } from './types';
|
|
|
|
|
|
2019-05-09 02:48:13 -07:00
|
|
|
export const plugin = new DataSourcePlugin<InputDatasource, InputQuery, InputOptions>(InputDatasource)
|
2019-05-02 21:56:54 -07:00
|
|
|
.setConfigEditor(InputConfigEditor)
|
|
|
|
|
.setQueryEditor(InputQueryEditor);
|