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>
19 lines
611 B
TypeScript
19 lines
611 B
TypeScript
import { getInjectionToken } from "@ogre-tools/injectable";
|
|
import type {
|
|
BundledLensExtensionConstructor,
|
|
BundledLensExtensionManifest,
|
|
} from "./lens-extension";
|
|
|
|
export type BundledExtensionResult = BundledLensExtensionConstructor | null;
|
|
|
|
export interface BundledExtension {
|
|
readonly manifest: BundledLensExtensionManifest;
|
|
main: () => BundledExtensionResult | Promise<BundledExtensionResult>;
|
|
renderer: () => BundledExtensionResult | Promise<BundledExtensionResult>;
|
|
}
|
|
|
|
export const bundledExtensionInjectionToken =
|
|
getInjectionToken<BundledExtension>({
|
|
id: "bundled-extension-path",
|
|
});
|