Dashboard: replace datasource name with a reference object (#33817)

Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
Co-authored-by: Elfo404 <me@giordanoricci.com>
This commit is contained in:
Ryan McKinley
2021-10-29 10:57:24 -07:00
committed by GitHub
parent 61fbdb60ff
commit 7319efe077
78 changed files with 759 additions and 320 deletions

View File

@@ -1,4 +1,4 @@
import { DataQuery } from '@grafana/data';
import { DataQuery, DataSourceRef } from '@grafana/data';
import { ExpressionQuery } from '../features/expressions/types';
export interface QueryGroupOptions {
@@ -14,8 +14,7 @@ export interface QueryGroupOptions {
};
}
export interface QueryGroupDataSource {
export interface QueryGroupDataSource extends DataSourceRef {
name?: string | null;
uid?: string;
default?: boolean;
}