mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
chore: Simplify extension dependency injection
- 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>
This commit is contained in:
1 parent
5db8fc1342
commit
82bf67cc9e
70 files changed
+7110
-2945
No files matched your search
@@ -4,10 +4,12 @@ import type {
|
||||
BundledLensExtensionManifest,
|
||||
} from "./lens-extension";
|
||||
|
||||
export type BundledExtensionResult = BundledLensExtensionConstructor | null;
|
||||
|
||||
export interface BundledExtension {
|
||||
readonly manifest: BundledLensExtensionManifest;
|
||||
main: () => Promise<BundledLensExtensionConstructor | null>;
|
||||
renderer: () => Promise<BundledLensExtensionConstructor | null>;
|
||||
main: () => BundledExtensionResult | Promise<BundledExtensionResult>;
|
||||
renderer: () => BundledExtensionResult | Promise<BundledExtensionResult>;
|
||||
}
|
||||
|
||||
export const bundledExtensionInjectionToken =
|
||||
|
||||
Reference in new issue
Block a user