mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
- remove all static uses of `createPageParam` (and then removed the legacy global) - Made LensRendererExtension and LensMainExtension just used dependencies and not the getLegacyDi - Fixed circular dep in extension-loader Signed-off-by: Sebastian Malton <sebastian@malton.name>
13 lines
588 B
TypeScript
13 lines
588 B
TypeScript
/**
|
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
*/
|
|
|
|
import { asLegacyGlobalFunctionForExtensionApi } from "../../../../extensions/as-legacy-globals-for-extension-api/as-legacy-global-function-for-extension-api";
|
|
import getActiveClusterEntityInjectable from "./get-active-cluster-entity.injectable";
|
|
|
|
/**
|
|
* @deprecated use `di.inject(getActiveClusterEntityInjectable)` instead
|
|
*/
|
|
export const getActiveClusterEntity = asLegacyGlobalFunctionForExtensionApi(getActiveClusterEntityInjectable);
|