mirror of
https://github.com/grafana/grafana.git
synced 2025-08-01 22:32:24 +08:00

* add new test plugin * add some field validation tests * update lockfile * fix bad test file name
10 lines
426 B
TypeScript
10 lines
426 B
TypeScript
import { DataSourcePlugin } from '@grafana/data';
|
|
import { DataSource } from './datasource';
|
|
import { ConfigEditor } from './components/ConfigEditor';
|
|
import { QueryEditor } from './components/QueryEditor';
|
|
import { MyQuery, MyDataSourceOptions } from './types';
|
|
|
|
export const plugin = new DataSourcePlugin<DataSource, MyQuery, MyDataSourceOptions>(DataSource)
|
|
.setConfigEditor(ConfigEditor)
|
|
.setQueryEditor(QueryEditor);
|