diff --git a/packages/grafana-runtime/src/index.ts b/packages/grafana-runtime/src/index.ts index 4061ac76f2f..f5fc864e640 100644 --- a/packages/grafana-runtime/src/index.ts +++ b/packages/grafana-runtime/src/index.ts @@ -17,6 +17,7 @@ export { type HealthCheckResultDetails, HealthStatus, type StreamOptionsProvider, + isExpressionReference, } from './utils/DataSourceWithBackend'; export { toDataQueryResponse, diff --git a/packages/grafana-runtime/src/utils/DataSourceWithBackend.ts b/packages/grafana-runtime/src/utils/DataSourceWithBackend.ts index 74f76dbb7c8..f867d1762cf 100644 --- a/packages/grafana-runtime/src/utils/DataSourceWithBackend.ts +++ b/packages/grafana-runtime/src/utils/DataSourceWithBackend.ts @@ -43,7 +43,7 @@ export const ExpressionDatasourceRef = Object.freeze({ }); /** - * @internal + * @public */ export function isExpressionReference(ref?: DataSourceRef | string | null): boolean { if (!ref) {