QueryLibrary: Make query library available outside of Explore (#99319)

This commit is contained in:
Andrej Ocenas
2025-01-30 14:53:01 +01:00
committed by GitHub
parent a92c8145f1
commit 86a68627dd
32 changed files with 968 additions and 347 deletions

View File

@@ -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>;