mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Restore extensionPreferenceItemInjectionToken file
Signed-off-by: Alex Andreev <alex.andreev.email@gmail.com>
This commit is contained in:
parent
f860dd4301
commit
76ab4576e9
@ -0,0 +1,17 @@
|
|||||||
|
/**
|
||||||
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
||||||
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||||
|
*/
|
||||||
|
|
||||||
|
import { getInjectionToken } from "@ogre-tools/injectable";
|
||||||
|
import type { LensRendererExtension } from "../../../extensions/lens-renderer-extension";
|
||||||
|
import type { RegisteredAppPreference } from "./app-preferences/app-preference-registration";
|
||||||
|
|
||||||
|
interface ExtensionPreferenceItem extends RegisteredAppPreference {
|
||||||
|
extension: LensRendererExtension;
|
||||||
|
}
|
||||||
|
|
||||||
|
export const extensionPreferenceItemInjectionToken = getInjectionToken<ExtensionPreferenceItem>({
|
||||||
|
id: "extension-preference-item-injection-token",
|
||||||
|
});
|
||||||
|
|
||||||
Loading…
Reference in New Issue
Block a user