[v11.0.x] Dashboard scenes: Export isExpressionReference to be accessible from scenes (#86299)
Dashboard scenes: Export isExpressionReference to be accessible from scenes (#85228)
Export isExpressionRef to be accessible from scenes
(cherry picked from commit b7156ef2c2)
Co-authored-by: Oscar Kilhed <oscar.kilhed@grafana.com>
This commit is contained in:
co-authored by
Oscar Kilhed
parent
6d40282a82
commit
3d5e7fd7e5
@@ -17,6 +17,7 @@ export {
|
||||
type HealthCheckResultDetails,
|
||||
HealthStatus,
|
||||
type StreamOptionsProvider,
|
||||
isExpressionReference,
|
||||
} from './utils/DataSourceWithBackend';
|
||||
export {
|
||||
toDataQueryResponse,
|
||||
|
||||
@@ -43,7 +43,7 @@ export const ExpressionDatasourceRef = Object.freeze({
|
||||
});
|
||||
|
||||
/**
|
||||
* @internal
|
||||
* @public
|
||||
*/
|
||||
export function isExpressionReference(ref?: DataSourceRef | string | null): boolean {
|
||||
if (!ref) {
|
||||
|
||||
Reference in New Issue
Block a user