ScopesContext: Move export from unstable to regular entrypoint (#101765)

Revert unstable export
pull/101617/head^2
Tobias Skarhed 3 months ago committed by GitHub
parent 0d32ba4d43
commit cf95a42507
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 0
      packages/grafana-runtime/src/services/ScopesContext.ts
  2. 1
      packages/grafana-runtime/src/services/index.ts
  3. 8
      packages/grafana-runtime/src/unstable.ts

@ -56,3 +56,4 @@ export {
export { isPluginExtensionLink, isPluginExtensionComponent } from './pluginExtensions/utils';
export { setCurrentUser } from './user';
export { RuntimeDataSource } from './RuntimeDataSource';
export { ScopesContext, type ScopesContextValueState, type ScopesContextValue, useScopes } from './ScopesContext';

@ -9,9 +9,5 @@
* and be subject to the standard policies
*/
export {
ScopesContext,
type ScopesContextValueState,
type ScopesContextValue,
useScopes,
} from './unstable/ScopesContext';
// Dummy export to make it a valid module. Remove when we have real exports.
export const unstable = {};

Loading…
Cancel
Save