@k8slens/extensions 6.2.0-git.f4d5097d2f.0 → 6.2.0-git.fadcba1d75.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/common/runnable/run-many-for.d.ts +4 -0
- package/dist/src/common/runnable/run-many-sync-for.d.ts +11 -3
- package/dist/src/common/utils/channel/listening-on-message-channels.injectable.d.ts +1 -5
- package/dist/src/common/utils/get-startable-stoppable.d.ts +7 -7
- package/dist/src/extensions/extension-api.js +32 -32
- package/dist/src/extensions/lens-renderer-extension.d.ts +2 -0
- package/dist/src/features/application-menu/main/application-menu-reactivity.injectable.d.ts +1 -5
- package/dist/src/features/application-menu/main/stop-application-menu.injectable.d.ts +1 -1
- package/dist/src/features/application-update/child-features/periodical-checking-of-updates/main/periodical-check-for-updates.global-override-for-injectable.d.ts +2 -10
- package/dist/src/features/application-update/child-features/periodical-checking-of-updates/main/periodical-check-for-updates.injectable.d.ts +1 -5
- package/dist/src/features/application-update/child-features/periodical-checking-of-updates/main/stop-checking-for-updates.injectable.d.ts +1 -1
- package/dist/src/features/application-update/main/watch-if-update-should-happen-on-quit/stop-watching-if-update-should-happen-on-quit.injectable.d.ts +1 -1
- package/dist/src/features/application-update/main/watch-if-update-should-happen-on-quit/watch-if-update-should-happen-on-quit.injectable.d.ts +1 -5
- package/dist/src/features/cluster/legacy-extension-adding-cluster-frame-components.test.d.ts +1 -0
- package/dist/src/features/preferences/common/preferences-route-for-legacy-extensions.injectable.d.ts +6 -0
- package/dist/src/features/preferences/renderer/preferences-route-component-for-legacy-extensions.injectable.d.ts +13 -0
- package/dist/src/features/preferences/urls-of-legacy-extensions.test.d.ts +1 -0
- package/dist/src/main/app-paths/setup-app-paths.injectable.d.ts +1 -1
- package/dist/src/main/catalog-sync-to-renderer/catalog-sync-to-renderer.injectable.d.ts +1 -5
- package/dist/src/main/catalog-sync-to-renderer/stop-catalog-sync.injectable.d.ts +1 -1
- package/dist/src/main/electron-app/features/sync-theme-from-operating-system.injectable.d.ts +1 -5
- package/dist/src/main/electron-app/runnables/clean-up-deep-linking.injectable.d.ts +1 -1
- package/dist/src/main/electron-app/runnables/dock-visibility/hide-dock-for-last-closed-window.injectable.d.ts +1 -1
- package/dist/src/main/electron-app/runnables/enforce-single-application-instance.injectable.d.ts +1 -1
- package/dist/src/main/electron-app/runnables/setup-application-name.injectable.d.ts +1 -1
- package/dist/src/main/electron-app/runnables/setup-runnables-after-window-is-opened.injectable.d.ts +1 -1
- package/dist/src/main/electron-app/runnables/setup-runnables-before-closing-of-application.injectable.d.ts +1 -1
- package/dist/src/main/start-main-application/runnables/clean-up-shell-sessions.injectable.d.ts +1 -1
- package/dist/src/main/start-main-application/runnables/emit-close-to-event-bus.injectable.d.ts +1 -1
- package/dist/src/main/start-main-application/runnables/flag-renderer/flag-renderer-as-not-loaded.injectable.d.ts +1 -1
- package/dist/src/main/start-main-application/runnables/kube-config-sync/stop-kube-config-sync.injectable.d.ts +1 -1
- package/dist/src/main/start-main-application/runnables/sentry/setup.injectable.d.ts +1 -1
- package/dist/src/main/start-main-application/runnables/setup-hardware-acceleration.injectable.d.ts +1 -1
- package/dist/src/main/start-main-application/runnables/setup-immer.injectable.d.ts +1 -1
- package/dist/src/main/start-main-application/runnables/setup-mobx.injectable.d.ts +1 -1
- package/dist/src/main/start-main-application/runnables/setup-proxy-env.injectable.d.ts +1 -1
- package/dist/src/main/start-main-application/runnables/stop-cluster-manager.injectable.d.ts +1 -1
- package/dist/src/main/theme/broadcast-theme-change/broadcast-theme-change.injectable.d.ts +1 -5
- package/dist/src/main/theme/broadcast-theme-change/stop-broadcasting-theme-change.injectable.d.ts +1 -1
- package/dist/src/main/theme/sync-theme-from-os/stop-syncing-theme-from-operating-system.injectable.d.ts +1 -1
- package/dist/src/main/tray/electron-tray/stop-tray.injectable.d.ts +2 -2
- package/dist/src/main/tray/menu-icon/reactive.injectable.d.ts +1 -5
- package/dist/src/main/tray/menu-icon/stop-reactivity.injectable.d.ts +1 -1
- package/dist/src/main/tray/reactive-tray-menu-items/reactive-tray-menu-items.injectable.d.ts +1 -5
- package/dist/src/main/tray/reactive-tray-menu-items/stop-reactive-tray-menu-items.injectable.d.ts +1 -1
- package/dist/src/main/utils/channel/channel-listeners/listening-on-request-channels.injectable.d.ts +1 -5
- package/dist/src/main/utils/channel/channel-listeners/start-listening-on-channels.injectable.d.ts +1 -1
- package/dist/src/main/utils/shell-env/compute-unix-shell-environment.injectable.d.ts +3 -2
- package/dist/src/main/utils/shell-env/compute-unix-shell-environment.test.d.ts +5 -0
- package/dist/src/main/utils/shell-env/env.injectable.d.ts +3 -0
- package/dist/src/main/utils/shell-env/execPath.injectable.d.ts +2 -0
- package/dist/src/renderer/frames/cluster-frame/cluster-frame-component-registrator.injectable.d.ts +3 -0
- package/dist/src/renderer/frames/cluster-frame/cluster-frame.d.ts +2 -1
- package/dist/src/renderer/utils/jsonPath.d.ts +3 -1
- package/package.json +1 -1
- package/dist/src/common/runnable/throw-with-incorrect-hierarchy-for.d.ts +0 -7
@@ -24,10 +24,12 @@ import type { LensRendererExtensionDependencies } from "./lens-extension-set-dep
|
|
24
24
|
import type { KubeObjectHandlerRegistration } from "../renderer/kube-object/handler";
|
25
25
|
import type { AppPreferenceTabRegistration } from "../features/preferences/renderer/compliance-for-legacy-extension-api/app-preference-tab-registration";
|
26
26
|
import type { KubeObjectDetailRegistration } from "../renderer/components/kube-object-details/kube-object-detail-registration";
|
27
|
+
import type { ClusterFrameChildComponent } from "../renderer/frames/cluster-frame/cluster-frame-child-component-injection-token";
|
27
28
|
export declare class LensRendererExtension extends LensExtension<LensRendererExtensionDependencies> {
|
28
29
|
globalPages: registries.PageRegistration[];
|
29
30
|
clusterPages: registries.PageRegistration[];
|
30
31
|
clusterPageMenus: registries.ClusterPageMenuRegistration[];
|
32
|
+
clusterFrameComponents: ClusterFrameChildComponent[];
|
31
33
|
kubeObjectStatusTexts: KubeObjectStatusRegistration[];
|
32
34
|
appPreferences: AppPreferenceRegistration[];
|
33
35
|
appPreferenceTabs: AppPreferenceTabRegistration[];
|
@@ -1,6 +1,2 @@
|
|
1
|
-
declare const applicationMenuReactivityInjectable: import("@ogre-tools/injectable").Injectable<
|
2
|
-
readonly started: boolean;
|
3
|
-
start: () => Promise<void>;
|
4
|
-
stop: () => Promise<void>;
|
5
|
-
}, unknown, void>;
|
1
|
+
declare const applicationMenuReactivityInjectable: import("@ogre-tools/injectable").Injectable<import("../../../common/utils/get-startable-stoppable").StartableStoppable, unknown, void>;
|
6
2
|
export default applicationMenuReactivityInjectable;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const stopApplicationMenuInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
2
|
id: string;
|
3
|
-
run: () =>
|
3
|
+
run: () => undefined;
|
4
4
|
}, import("../../../common/runnable/run-many-sync-for").RunnableSync<void>, void>;
|
5
5
|
export default stopApplicationMenuInjectable;
|
@@ -3,15 +3,7 @@
|
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
4
4
|
*/
|
5
5
|
declare const _default: {
|
6
|
-
injectable: import("@ogre-tools/injectable").Injectable<
|
7
|
-
|
8
|
-
start: () => Promise<void>;
|
9
|
-
stop: () => Promise<void>;
|
10
|
-
}, unknown, void>;
|
11
|
-
overridingInstantiate: import("@ogre-tools/injectable").Instantiate<{
|
12
|
-
readonly started: boolean;
|
13
|
-
start: () => Promise<void>;
|
14
|
-
stop: () => Promise<void>;
|
15
|
-
}, void>;
|
6
|
+
injectable: import("@ogre-tools/injectable").Injectable<import("../../../../../common/utils/get-startable-stoppable").StartableStoppable, unknown, void>;
|
7
|
+
overridingInstantiate: import("@ogre-tools/injectable").Instantiate<import("../../../../../common/utils/get-startable-stoppable").StartableStoppable, void>;
|
16
8
|
};
|
17
9
|
export default _default;
|
@@ -1,6 +1,2 @@
|
|
1
|
-
declare const periodicalCheckForUpdatesInjectable: import("@ogre-tools/injectable").Injectable<
|
2
|
-
readonly started: boolean;
|
3
|
-
start: () => Promise<void>;
|
4
|
-
stop: () => Promise<void>;
|
5
|
-
}, unknown, void>;
|
1
|
+
declare const periodicalCheckForUpdatesInjectable: import("@ogre-tools/injectable").Injectable<import("../../../../../common/utils/get-startable-stoppable").StartableStoppable, unknown, void>;
|
6
2
|
export default periodicalCheckForUpdatesInjectable;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const stopCheckingForUpdatesInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
2
|
id: string;
|
3
|
-
run: () =>
|
3
|
+
run: () => undefined;
|
4
4
|
}, import("../../../../../common/runnable/run-many-sync-for").RunnableSync<void>, void>;
|
5
5
|
export default stopCheckingForUpdatesInjectable;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const stopWatchingIfUpdateShouldHappenOnQuitInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
2
|
id: string;
|
3
|
-
run: () =>
|
3
|
+
run: () => undefined;
|
4
4
|
}, import("../../../../common/runnable/run-many-sync-for").RunnableSync<void>, void>;
|
5
5
|
export default stopWatchingIfUpdateShouldHappenOnQuitInjectable;
|
@@ -1,6 +1,2 @@
|
|
1
|
-
declare const watchIfUpdateShouldHappenOnQuitInjectable: import("@ogre-tools/injectable").Injectable<
|
2
|
-
readonly started: boolean;
|
3
|
-
start: () => Promise<void>;
|
4
|
-
stop: () => Promise<void>;
|
5
|
-
}, unknown, void>;
|
1
|
+
declare const watchIfUpdateShouldHappenOnQuitInjectable: import("@ogre-tools/injectable").Injectable<import("../../../../common/utils/get-startable-stoppable").StartableStoppable, unknown, void>;
|
6
2
|
export default watchIfUpdateShouldHappenOnQuitInjectable;
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
package/dist/src/features/preferences/common/preferences-route-for-legacy-extensions.injectable.d.ts
ADDED
@@ -0,0 +1,6 @@
|
|
1
|
+
declare const preferencesRouteForLegacyExtensionsInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
|
+
path: string;
|
3
|
+
clusterFrame: boolean;
|
4
|
+
isEnabled: import("mobx").IComputedValue<boolean>;
|
5
|
+
}, import("../../../common/front-end-routing/front-end-route-injection-token").Route<unknown>, void>;
|
6
|
+
export default preferencesRouteForLegacyExtensionsInjectable;
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const preferencesRouteComponentInjectable: import("@ogre-tools/injectable").Injectable<{
|
3
|
+
route: {
|
4
|
+
path: string;
|
5
|
+
clusterFrame: boolean;
|
6
|
+
isEnabled: import("mobx").IComputedValue<boolean>;
|
7
|
+
};
|
8
|
+
Component: import("react").FunctionComponent<{}>;
|
9
|
+
}, {
|
10
|
+
route: import("../../../common/front-end-routing/front-end-route-injection-token").Route<unknown>;
|
11
|
+
Component: import("react").ElementType<any>;
|
12
|
+
}, void>;
|
13
|
+
export default preferencesRouteComponentInjectable;
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -1,6 +1,2 @@
|
|
1
|
-
declare const catalogSyncToRendererInjectable: import("@ogre-tools/injectable").Injectable<
|
2
|
-
readonly started: boolean;
|
3
|
-
start: () => Promise<void>;
|
4
|
-
stop: () => Promise<void>;
|
5
|
-
}, unknown, void>;
|
1
|
+
declare const catalogSyncToRendererInjectable: import("@ogre-tools/injectable").Injectable<import("../../common/utils/get-startable-stoppable").StartableStoppable, unknown, void>;
|
6
2
|
export default catalogSyncToRendererInjectable;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const stopCatalogSyncInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
2
|
id: string;
|
3
|
-
run: () =>
|
3
|
+
run: () => undefined;
|
4
4
|
}, import("../../common/runnable/run-many-sync-for").RunnableSync<void>, void>;
|
5
5
|
export default stopCatalogSyncInjectable;
|
package/dist/src/main/electron-app/features/sync-theme-from-operating-system.injectable.d.ts
CHANGED
@@ -1,6 +1,2 @@
|
|
1
|
-
declare const syncThemeFromOperatingSystemInjectable: import("@ogre-tools/injectable").Injectable<
|
2
|
-
readonly started: boolean;
|
3
|
-
start: () => Promise<void>;
|
4
|
-
stop: () => Promise<void>;
|
5
|
-
}, unknown, void>;
|
1
|
+
declare const syncThemeFromOperatingSystemInjectable: import("@ogre-tools/injectable").Injectable<import("../../../common/utils/get-startable-stoppable").StartableStoppable, unknown, void>;
|
6
2
|
export default syncThemeFromOperatingSystemInjectable;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const cleanUpDeepLinkingInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
2
|
id: string;
|
3
|
-
run: () =>
|
3
|
+
run: () => undefined;
|
4
4
|
}, import("../../../common/runnable/run-many-sync-for").RunnableSync<void>, void>;
|
5
5
|
export default cleanUpDeepLinkingInjectable;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const hideDockForLastClosedWindowInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
2
|
id: string;
|
3
|
-
run: () =>
|
3
|
+
run: () => undefined;
|
4
4
|
}, import("../../../../common/runnable/run-many-sync-for").RunnableSync<void>, void>;
|
5
5
|
export default hideDockForLastClosedWindowInjectable;
|
package/dist/src/main/electron-app/runnables/enforce-single-application-instance.injectable.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const enforceSingleApplicationInstanceInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
2
|
id: string;
|
3
|
-
run: () =>
|
3
|
+
run: () => undefined;
|
4
4
|
}, import("../../../common/runnable/run-many-sync-for").RunnableSync<void>, void>;
|
5
5
|
export default enforceSingleApplicationInstanceInjectable;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const setupApplicationNameInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
2
|
id: string;
|
3
|
-
run: () =>
|
3
|
+
run: () => undefined;
|
4
4
|
}, import("../../../common/runnable/run-many-sync-for").RunnableSync<void>, void>;
|
5
5
|
export default setupApplicationNameInjectable;
|
package/dist/src/main/electron-app/runnables/setup-runnables-after-window-is-opened.injectable.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const setupRunnablesAfterWindowIsOpenedInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
2
|
id: string;
|
3
|
-
run: () =>
|
3
|
+
run: () => undefined;
|
4
4
|
}, import("../../../common/runnable/run-many-sync-for").RunnableSync<void>, void>;
|
5
5
|
export default setupRunnablesAfterWindowIsOpenedInjectable;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const setupRunnablesBeforeClosingOfApplicationInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
2
|
id: string;
|
3
|
-
run: () =>
|
3
|
+
run: () => undefined;
|
4
4
|
}, import("../../../common/runnable/run-many-sync-for").RunnableSync<void>, void>;
|
5
5
|
export default setupRunnablesBeforeClosingOfApplicationInjectable;
|
package/dist/src/main/start-main-application/runnables/clean-up-shell-sessions.injectable.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const cleanUpShellSessionsInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
2
|
id: string;
|
3
|
-
run: () =>
|
3
|
+
run: () => undefined;
|
4
4
|
}, import("../../../common/runnable/run-many-sync-for").RunnableSync<void>, void>;
|
5
5
|
export default cleanUpShellSessionsInjectable;
|
package/dist/src/main/start-main-application/runnables/emit-close-to-event-bus.injectable.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const emitCloseToEventBusInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
2
|
id: string;
|
3
|
-
run: () =>
|
3
|
+
run: () => undefined;
|
4
4
|
}, import("../../../common/runnable/run-many-sync-for").RunnableSync<void>, void>;
|
5
5
|
export default emitCloseToEventBusInjectable;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const flagRendererAsNotLoadedInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
2
|
id: string;
|
3
|
-
run: () =>
|
3
|
+
run: () => undefined;
|
4
4
|
}, import("../../../../common/runnable/run-many-sync-for").RunnableSync<void>, void>;
|
5
5
|
export default flagRendererAsNotLoadedInjectable;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const stopKubeConfigSyncInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
2
|
id: string;
|
3
|
-
run: () =>
|
3
|
+
run: () => undefined;
|
4
4
|
}, import("../../../../common/runnable/run-many-sync-for").RunnableSync<void>, void>;
|
5
5
|
export default stopKubeConfigSyncInjectable;
|
package/dist/src/main/start-main-application/runnables/setup-hardware-acceleration.injectable.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const setupHardwareAccelerationInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
2
|
id: string;
|
3
|
-
run: () =>
|
3
|
+
run: () => undefined;
|
4
4
|
}, import("../../../common/runnable/run-many-sync-for").RunnableSync<void>, void>;
|
5
5
|
export default setupHardwareAccelerationInjectable;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const stopClusterManagerInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
2
|
id: string;
|
3
|
-
run: () =>
|
3
|
+
run: () => undefined;
|
4
4
|
}, import("../../../common/runnable/run-many-sync-for").RunnableSync<void>, void>;
|
5
5
|
export default stopClusterManagerInjectable;
|
@@ -1,6 +1,2 @@
|
|
1
|
-
declare const broadcastThemeChangeInjectable: import("@ogre-tools/injectable").Injectable<
|
2
|
-
readonly started: boolean;
|
3
|
-
start: () => Promise<void>;
|
4
|
-
stop: () => Promise<void>;
|
5
|
-
}, unknown, void>;
|
1
|
+
declare const broadcastThemeChangeInjectable: import("@ogre-tools/injectable").Injectable<import("../../../common/utils/get-startable-stoppable").StartableStoppable, unknown, void>;
|
6
2
|
export default broadcastThemeChangeInjectable;
|
package/dist/src/main/theme/broadcast-theme-change/stop-broadcasting-theme-change.injectable.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const stopBroadcastingThemeChangeInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
2
|
id: string;
|
3
|
-
run: () =>
|
3
|
+
run: () => undefined;
|
4
4
|
}, import("../../../common/runnable/run-many-sync-for").RunnableSync<void>, void>;
|
5
5
|
export default stopBroadcastingThemeChangeInjectable;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const stopSyncingThemeFromOperatingSystemInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
2
|
id: string;
|
3
|
-
run: () =>
|
3
|
+
run: () => undefined;
|
4
4
|
}, import("../../../common/runnable/run-many-sync-for").RunnableSync<void>, void>;
|
5
5
|
export default stopSyncingThemeFromOperatingSystemInjectable;
|
@@ -1,9 +1,9 @@
|
|
1
1
|
declare const stopTrayInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
2
|
id: string;
|
3
|
-
run: () =>
|
3
|
+
run: () => undefined;
|
4
4
|
runAfter: {
|
5
5
|
id: string;
|
6
|
-
run: () =>
|
6
|
+
run: () => undefined;
|
7
7
|
};
|
8
8
|
}, import("../../../common/runnable/run-many-sync-for").RunnableSync<void>, void>;
|
9
9
|
export default stopTrayInjectable;
|
@@ -1,6 +1,2 @@
|
|
1
|
-
declare const reactiveTrayMenuIconInjectable: import("@ogre-tools/injectable").Injectable<
|
2
|
-
readonly started: boolean;
|
3
|
-
start: () => Promise<void>;
|
4
|
-
stop: () => Promise<void>;
|
5
|
-
}, unknown, void>;
|
1
|
+
declare const reactiveTrayMenuIconInjectable: import("@ogre-tools/injectable").Injectable<import("../../../common/utils/get-startable-stoppable").StartableStoppable, unknown, void>;
|
6
2
|
export default reactiveTrayMenuIconInjectable;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const stopReactiveTrayMenuIconInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
2
|
id: string;
|
3
|
-
run: () =>
|
3
|
+
run: () => undefined;
|
4
4
|
}, import("../../../common/runnable/run-many-sync-for").RunnableSync<void>, void>;
|
5
5
|
export default stopReactiveTrayMenuIconInjectable;
|
package/dist/src/main/tray/reactive-tray-menu-items/reactive-tray-menu-items.injectable.d.ts
CHANGED
@@ -1,6 +1,2 @@
|
|
1
|
-
declare const reactiveTrayMenuItemsInjectable: import("@ogre-tools/injectable").Injectable<
|
2
|
-
readonly started: boolean;
|
3
|
-
start: () => Promise<void>;
|
4
|
-
stop: () => Promise<void>;
|
5
|
-
}, unknown, void>;
|
1
|
+
declare const reactiveTrayMenuItemsInjectable: import("@ogre-tools/injectable").Injectable<import("../../../common/utils/get-startable-stoppable").StartableStoppable, unknown, void>;
|
6
2
|
export default reactiveTrayMenuItemsInjectable;
|
package/dist/src/main/tray/reactive-tray-menu-items/stop-reactive-tray-menu-items.injectable.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const stopReactiveTrayMenuItemsInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
2
|
id: string;
|
3
|
-
run: () =>
|
3
|
+
run: () => undefined;
|
4
4
|
}, import("../../../common/runnable/run-many-sync-for").RunnableSync<void>, void>;
|
5
5
|
export default stopReactiveTrayMenuItemsInjectable;
|
package/dist/src/main/utils/channel/channel-listeners/listening-on-request-channels.injectable.d.ts
CHANGED
@@ -1,6 +1,2 @@
|
|
1
|
-
declare const listeningOnRequestChannelsInjectable: import("@ogre-tools/injectable").Injectable<
|
2
|
-
readonly started: boolean;
|
3
|
-
start: () => Promise<void>;
|
4
|
-
stop: () => Promise<void>;
|
5
|
-
}, unknown, void>;
|
1
|
+
declare const listeningOnRequestChannelsInjectable: import("@ogre-tools/injectable").Injectable<import("../../../../common/utils/get-startable-stoppable").StartableStoppable, unknown, void>;
|
6
2
|
export default listeningOnRequestChannelsInjectable;
|
package/dist/src/main/utils/channel/channel-listeners/start-listening-on-channels.injectable.d.ts
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const startListeningOnChannelsInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
2
|
id: string;
|
3
|
-
run: () =>
|
3
|
+
run: () => void;
|
4
4
|
}, import("../../../../common/runnable/run-many-for").Runnable<void>, void>;
|
5
5
|
export default startListeningOnChannelsInjectable;
|
@@ -3,9 +3,10 @@
|
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
4
4
|
*/
|
5
5
|
import type { EnvironmentVariables } from "./compute-shell-environment.injectable";
|
6
|
+
import type { AsyncResult } from "../../../common/utils/async-result";
|
6
7
|
export interface UnixShellEnvOptions {
|
7
|
-
signal
|
8
|
+
signal: AbortSignal;
|
8
9
|
}
|
9
|
-
export declare type ComputeUnixShellEnvironment = (shell: string, opts
|
10
|
+
export declare type ComputeUnixShellEnvironment = (shell: string, opts: UnixShellEnvOptions) => Promise<AsyncResult<EnvironmentVariables, string>>;
|
10
11
|
declare const computeUnixShellEnvironmentInjectable: import("@ogre-tools/injectable").Injectable<ComputeUnixShellEnvironment, unknown, void>;
|
11
12
|
export default computeUnixShellEnvironmentInjectable;
|
package/dist/src/renderer/frames/cluster-frame/cluster-frame-component-registrator.injectable.d.ts
ADDED
@@ -0,0 +1,3 @@
|
|
1
|
+
import type { ExtensionRegistrator } from "../../../extensions/extension-loader/extension-registrator-injection-token";
|
2
|
+
declare const clusterFrameComponentRegistratorInjectable: import("@ogre-tools/injectable").Injectable<ExtensionRegistrator, ExtensionRegistrator, void>;
|
3
|
+
export default clusterFrameComponentRegistratorInjectable;
|
@@ -6,10 +6,11 @@ import React from "react";
|
|
6
6
|
import type { NamespaceStore } from "../../components/+namespaces/store";
|
7
7
|
import type { SubscribeStores } from "../../kube-watch-api/kube-watch-api";
|
8
8
|
import type { ClusterFrameChildComponent } from "./cluster-frame-child-component-injection-token";
|
9
|
+
import type { IComputedValue } from "mobx";
|
9
10
|
interface Dependencies {
|
10
11
|
namespaceStore: NamespaceStore;
|
11
12
|
subscribeStores: SubscribeStores;
|
12
|
-
childComponents: ClusterFrameChildComponent[]
|
13
|
+
childComponents: IComputedValue<ClusterFrameChildComponent[]>;
|
13
14
|
watchHistoryState: () => () => void;
|
14
15
|
}
|
15
16
|
export declare const NonInjectedClusterFrame: ({ namespaceStore, subscribeStores, childComponents, watchHistoryState, }: Dependencies) => JSX.Element;
|
@@ -9,6 +9,7 @@
|
|
9
9
|
*
|
10
10
|
* Known shorthands:
|
11
11
|
* - Leading `$` is optional (but implied)
|
12
|
+
* - The string `/` can be used without a leading `\` escapement
|
12
13
|
* - The string `\.` is used to denote the "value of '.'" and not "next key"
|
13
14
|
* - The string `-` can be used while not in quotes
|
14
15
|
* - `[]` as shorthand for `[0]`
|
@@ -16,9 +17,10 @@
|
|
16
17
|
* - Allow `...foo` as well as `..foo`
|
17
18
|
*/
|
18
19
|
export declare function convertKubectlJsonPathToNodeJsonPath(jsonPath: string): string;
|
20
|
+
export declare function formatJSONValue(value: unknown): string;
|
19
21
|
/**
|
20
22
|
* This function is a safer version of `JSONPath.value(obj, path)` with untrusted jsonpath strings
|
21
23
|
*
|
22
24
|
* This function will also stringify the value retreived from the object
|
23
25
|
*/
|
24
|
-
export declare function safeJSONPathValue(obj: object, path: string):
|
26
|
+
export declare function safeJSONPathValue(obj: object, path: string): unknown;
|
package/package.json
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
"name": "@k8slens/extensions",
|
3
3
|
"productName": "OpenLens extensions",
|
4
4
|
"description": "OpenLens - Open Source Kubernetes IDE: extensions",
|
5
|
-
"version": "6.2.0-git.
|
5
|
+
"version": "6.2.0-git.fadcba1d75.0",
|
6
6
|
"copyright": "© 2022 OpenLens Authors",
|
7
7
|
"license": "MIT",
|
8
8
|
"main": "dist/src/extensions/extension-api.js",
|
@@ -1,7 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* Copyright (c) OpenLens Authors. All rights reserved.
|
3
|
-
* Licensed under MIT License. See LICENSE in root directory for more information.
|
4
|
-
*/
|
5
|
-
import type { Runnable } from "./run-many-for";
|
6
|
-
import type { RunnableSync } from "./run-many-sync-for";
|
7
|
-
export declare const throwWithIncorrectHierarchyFor: (injectionTokenId: string, allRunnables: Runnable<any>[] | RunnableSync<any>[]) => (runnable: Runnable<any> | RunnableSync<any>) => void;
|