mirror of https://github.com/grafana/grafana.git
10 lines
382 B
TypeScript
10 lines
382 B
TypeScript
import { DataSourcePlugin } from '@grafana/data';
|
|
|
|
import { ConfigEditor } from './ConfigEditor';
|
|
import { AlertManagerDatasource } from './DataSource';
|
|
|
|
// This is not actually a data source but since 7.1,
|
|
// it is required to specify query types. Which we don't have.
|
|
// @ts-ignore
|
|
export const plugin = new DataSourcePlugin(AlertManagerDatasource).setConfigEditor(ConfigEditor);
|