mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
- Has better typing
- Removes use of unnusual unique symbol
- Fix welcome banner tests
- Update associated snapshots
- Start converting custom column tests to use ApplicationBuilder
- Remove old and unnused RecursiveTreeView
- Introduce new TreeView for use in CatalogMenu to fix tests
Signed-off-by: Sebastian Malton <sebastian@malton.name>
15 lines
536 B
TypeScript
15 lines
536 B
TypeScript
/**
|
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
*/
|
|
import type { LegacyLensExtension, LensExtensionId } from "@k8slens/legacy-extensions";
|
|
import { getInjectable } from "@ogre-tools/injectable";
|
|
import { observable } from "mobx";
|
|
|
|
const extensionInstancesInjectable = getInjectable({
|
|
id: "extension-instances",
|
|
instantiate: () => observable.map<LensExtensionId, LegacyLensExtension>(),
|
|
});
|
|
|
|
export default extensionInstancesInjectable;
|