mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
* Fix: sql plugins feature
* SQLDS: Use builtin annotation editor
Plus strict rule fixes
* MSSQL: Migrate query editor to React
* Make code editor work
* Make SQLOptions and SQLQuery in SQLDatasource and in Editor generic
* MSSQL: Fix ts issues
* Fix SQLDatasource refID
* Remove comment
* Revert "Make SQLOptions and SQLQuery in SQLDatasource and in Editor generic"
This reverts commit 1d15b4061a.
* Fix ts issues without generic
* TS
12 lines
532 B
TypeScript
12 lines
532 B
TypeScript
import { DataSourcePlugin } from '@grafana/data';
|
|
import { SqlQueryEditor } from 'app/features/plugins/sql/components/QueryEditor';
|
|
import { SQLQuery } from 'app/features/plugins/sql/types';
|
|
|
|
import { ConfigurationEditor } from './configuration/ConfigurationEditor';
|
|
import { MssqlDatasource } from './datasource';
|
|
import { MssqlOptions } from './types';
|
|
|
|
export const plugin = new DataSourcePlugin<MssqlDatasource, SQLQuery, MssqlOptions>(MssqlDatasource)
|
|
.setQueryEditor(SqlQueryEditor)
|
|
.setConfigEditor(ConfigurationEditor);
|