[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:
grafana-delivery-bot[bot]
2024-04-16 13:31:57 +01:00
committed by GitHub
co-authored by Oscar Kilhed
parent 6d40282a82
commit 3d5e7fd7e5
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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) {