mirror of
https://github.com/grafana/grafana.git
synced 2025-01-09 23:53:25 -06:00
14 lines
469 B
TypeScript
14 lines
469 B
TypeScript
import OpenTsDatasource from './datasource';
|
|
import { OpenTsQueryCtrl } from './query_ctrl';
|
|
import { DataSourcePlugin } from '@grafana/data';
|
|
import { ConfigEditor } from './components/ConfigEditor';
|
|
|
|
class AnnotationsQueryCtrl {
|
|
static templateUrl = 'partials/annotations.editor.html';
|
|
}
|
|
|
|
export const plugin = new DataSourcePlugin(OpenTsDatasource)
|
|
.setQueryCtrl(OpenTsQueryCtrl)
|
|
.setConfigEditor(ConfigEditor)
|
|
.setAnnotationQueryCtrl(AnnotationsQueryCtrl);
|