mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
QueryLibrary: Make query library available outside of Explore (#99319)
This commit is contained in:
@@ -13,7 +13,7 @@ import { RuntimeDataSource } from './RuntimeDataSource';
|
||||
export interface DataSourceSrv {
|
||||
/**
|
||||
* Returns the requested dataSource. If it cannot be found it rejects the promise.
|
||||
* @param ref - The datasource identifier, typically an object with UID and type,
|
||||
* @param ref - The datasource identifier, it can be a name, UID or DataSourceRef (an object with UID),
|
||||
* @param scopedVars - variables used to interpolate a templated passed as name.
|
||||
*/
|
||||
get(ref?: DataSourceRef | string | null, scopedVars?: ScopedVars): Promise<DataSourceApi>;
|
||||
|
||||
Reference in New Issue
Block a user