@k8slens/extensions 6.1.1-git.a7ea891458.0 → 6.1.1-git.b193621a68.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/app-paths/app-paths-channel.d.ts +8 -0
- package/dist/src/common/application-update/restart-and-install-update-channel.d.ts +7 -0
- package/dist/src/common/fetch/download-binary.injectable.d.ts +8 -0
- package/dist/src/common/fetch/download-json.injectable.d.ts +8 -0
- package/dist/src/common/fetch/fetch.injectable.d.ts +2 -2
- package/dist/src/common/fetch/timeout-controller.d.ts +9 -0
- package/dist/src/common/front-end-routing/app-navigation-channel.d.ts +3 -0
- package/dist/src/common/front-end-routing/cluster-frame-navigation-channel.d.ts +3 -0
- package/dist/src/common/front-end-routing/routes/cluster/config/leases/leases-route.injectable.d.ts +6 -0
- package/dist/src/common/front-end-routing/routes/cluster/config/leases/navigate-to-leases.injectable.d.ts +2 -0
- package/dist/src/common/fs/exec-file.injectable.d.ts +7 -1
- package/dist/src/common/helm/{add-helm-repository-channel.injectable.d.ts → add-helm-repository-channel.d.ts} +6 -3
- package/dist/src/common/helm/get-active-helm-repositories-channel.d.ts +9 -0
- package/dist/src/common/helm/remove-helm-repository-channel.d.ts +9 -0
- package/dist/src/common/k8s-api/endpoints/index.d.ts +1 -0
- package/dist/src/common/k8s-api/endpoints/lease.api.d.ts +28 -0
- package/dist/src/common/k8s-api/endpoints/lease.api.injectable.d.ts +3 -0
- package/dist/src/common/rbac.d.ts +1 -1
- package/dist/src/common/root-frame/root-frame-rendered-channel.d.ts +7 -0
- package/dist/src/common/user-store/resolved-shell.injectable.d.ts +2 -0
- package/dist/src/common/utils/channel/enlist-message-channel-listener-injection-token.d.ts +3 -3
- package/dist/src/common/utils/channel/listening-on-message-channels.injectable.d.ts +6 -0
- package/dist/src/common/utils/channel/message-channel-listener-injection-token.d.ts +24 -6
- package/dist/src/common/utils/channel/message-to-channel-injection-token.d.ts +5 -6
- package/dist/src/common/utils/channel/request-channel-listener-injection-token.d.ts +8 -6
- package/dist/src/common/utils/channel/request-from-channel-injection-token.d.ts +5 -3
- package/dist/src/common/utils/disposer.d.ts +2 -1
- package/dist/src/common/utils/index.d.ts +0 -1
- package/dist/src/common/utils/resolve-system-proxy/resolve-system-proxy-channel.d.ts +7 -0
- package/dist/src/common/utils/sync-box/channel-listener.injectable.d.ts +8 -0
- package/dist/src/common/utils/sync-box/channels.d.ts +16 -0
- package/dist/src/common/utils/sync-box/handler.injectable.d.ts +5 -0
- package/dist/src/common/utils/type-narrowing.d.ts +1 -1
- package/dist/src/common/vars/build-semantic-version.injectable.d.ts +1 -1
- package/dist/src/extensions/extension-api.js +75 -53
- package/dist/src/features/cluster/delete-dialog/common/clear-as-deleting-channel.d.ts +8 -0
- package/dist/src/features/cluster/delete-dialog/common/delete-channel.d.ts +8 -0
- package/dist/src/features/cluster/delete-dialog/common/set-as-deleting-channel.d.ts +8 -0
- package/dist/src/features/cluster/delete-dialog/main/clear-as-deleting-channel-listener.injectable.d.ts +5 -0
- package/dist/src/features/cluster/delete-dialog/main/delete-channel-listener.injectable.d.ts +5 -0
- package/dist/src/features/cluster/delete-dialog/main/set-as-deleteing-channel-listener.injectable.d.ts +5 -0
- package/dist/src/features/navigation/reload-page/common/channel.d.ts +7 -0
- package/dist/src/features/navigation/reload-page/renderer/register-listener.global-override-for-injectable.d.ts +15 -0
- package/dist/src/features/navigation/reload-page/renderer/register-listener.injectable.d.ts +5 -0
- package/dist/src/main/app-paths/app-paths-request-channel-listener.injectable.d.ts +4 -3
- package/dist/src/main/application-update/restart-and-install-update/restart-and-install-update-listener.injectable.d.ts +3 -3
- package/dist/src/main/build-version/setup-channel.injectable.d.ts +5 -5
- package/dist/src/main/helm/exec-helm/exec-helm.injectable.d.ts +1 -1
- package/dist/src/main/helm/repositories/add-helm-repository/add-helm-repository-channel-listener.injectable.d.ts +3 -3
- package/dist/src/main/helm/repositories/get-active-helm-repositories/get-active-helm-repositories-channel-listener.injectable.d.ts +3 -3
- package/dist/src/main/helm/repositories/remove-helm-repository/remove-helm-repository-channel-listener.injectable.d.ts +3 -3
- package/dist/src/main/{utils/channel/message-to-channel.test.d.ts → shell-session/local-shell-session/techincal.test.d.ts} +0 -0
- package/dist/src/main/shell-session/shell-session.d.ts +11 -3
- package/dist/src/main/shell-session/spawn-pty.global-override-for-injectable.d.ts +5 -0
- package/dist/src/main/shell-session/spawn-pty.injectable.d.ts +11 -0
- package/dist/src/main/start-main-application/lens-window/application-window/create-lens-window.injectable.d.ts +1 -1
- package/dist/src/main/start-main-application/runnables/{root-frame-rendered-channel-listener/root-frame-rendered-channel-listener.injectable.d.ts → root-frame-has-rendered/channel-listener.injectable.d.ts} +3 -3
- package/dist/src/main/utils/channel/channel-listeners/enlist-message-channel-listener.injectable.d.ts +1 -1
- package/dist/src/main/utils/channel/channel-listeners/enlist-request-channel-listener.injectable.d.ts +5 -1
- package/dist/src/main/utils/channel/channel-listeners/listener-tokens.d.ts +20 -0
- package/dist/src/main/utils/channel/channel-listeners/listening-on-request-channels.injectable.d.ts +6 -0
- package/dist/src/main/utils/channel/channel-listeners/{start-listening-of-channels.injectable.d.ts → start-listening-on-channels.injectable.d.ts} +2 -2
- package/dist/src/main/utils/channel/message-to-channel.injectable.d.ts +2 -2
- package/dist/src/main/utils/clear-kube-env-vars.d.ts +1 -1
- package/dist/src/main/utils/resolve-system-proxy/resolve-system-proxy-channel-responder.injectable.d.ts +3 -3
- package/dist/src/main/utils/shell-env/compute-shell-environment.injectable.d.ts +9 -0
- package/dist/src/main/utils/shell-env/compute-unix-shell-environment.global-override-for-injectable.d.ts +9 -0
- package/dist/src/main/utils/shell-env/compute-unix-shell-environment.injectable.d.ts +7 -0
- package/dist/src/main/utils/sync-box/sync-box-initial-value-channel-listener.injectable.d.ts +7 -4
- package/dist/src/renderer/{utils/channel/request-from-channel.test.d.ts → components/+config-leases/index.d.ts} +2 -1
- package/dist/src/renderer/components/+config-leases/lease-details.d.ts +13 -0
- package/dist/src/renderer/components/+config-leases/leases-route-component.injectable.d.ts +13 -0
- package/dist/src/renderer/components/+config-leases/leases-sidebar-items.injectable.d.ts +10 -0
- package/dist/src/renderer/components/+config-leases/leases.d.ts +11 -0
- package/dist/src/renderer/components/+config-leases/store.d.ts +8 -0
- package/dist/src/renderer/components/+config-leases/store.injectable.d.ts +3 -0
- package/dist/src/renderer/components/+extensions/attempt-install/attempt-install.injectable.d.ts +8 -1
- package/dist/src/renderer/components/+extensions/attempt-install/{create-temp-files-and-validate/create-temp-files-and-validate.injectable.d.ts → create-temp-files-and-validate.injectable.d.ts} +4 -4
- package/dist/src/renderer/components/+extensions/attempt-install/{get-extension-dest-folder/get-extension-dest-folder.injectable.d.ts → get-extension-dest-folder.injectable.d.ts} +1 -1
- package/dist/src/renderer/components/+extensions/attempt-install/{unpack-extension/unpack-extension.injectable.d.ts → unpack-extension.injectable.d.ts} +2 -2
- package/dist/src/renderer/components/+extensions/attempt-install/validate-package.d.ts +6 -0
- package/dist/src/renderer/components/+extensions/{attempt-installs/attempt-installs.injectable.d.ts → attempt-installs.injectable.d.ts} +0 -0
- package/dist/src/renderer/components/+extensions/install-on-drop.injectable.d.ts +3 -0
- package/dist/src/renderer/components/input/input.d.ts +2 -1
- package/dist/src/renderer/components/kube-object-details/kube-object-detail-items/implementations/lease-detail-item.injectable.d.ts +7 -0
- package/dist/src/renderer/components/status-bar/status-bar-item-injection-token.d.ts +1 -0
- package/dist/src/renderer/components/status-bar/status-bar-items.injectable.d.ts +6 -2
- package/dist/src/renderer/navigation/events.d.ts +0 -1
- package/dist/src/renderer/navigation/navigation-channel-listener.injectable.d.ts +3 -2
- package/dist/src/renderer/utils/channel/channel-listeners/enlist-message-channel-listener.injectable.d.ts +1 -1
- package/dist/src/renderer/utils/channel/message-to-channel.injectable.d.ts +2 -2
- package/dist/src/renderer/utils/channel/request-from-channel.injectable.d.ts +2 -1
- package/dist/src/renderer/utils/channel/send-to-main.injectable.d.ts +1 -2
- package/dist/src/renderer/utils/resolve-proxy/resolve-system-proxy.injectable.d.ts +1 -1
- package/dist/src/test-utils/channel-fakes/override-channels.d.ts +6 -1
- package/dist/src/test-utils/channel-fakes/override-messaging-from-main-to-window.d.ts +6 -1
- package/package.json +1 -1
- package/dist/src/common/app-paths/app-paths-channel.injectable.d.ts +0 -5
- package/dist/src/common/application-update/restart-and-install-update-channel/restart-and-install-update-channel.injectable.d.ts +0 -4
- package/dist/src/common/front-end-routing/app-navigation-channel.injectable.d.ts +0 -4
- package/dist/src/common/front-end-routing/cluster-frame-navigation-channel.injectable.d.ts +0 -4
- package/dist/src/common/helm/get-active-helm-repositories-channel.injectable.d.ts +0 -6
- package/dist/src/common/helm/remove-helm-repository-channel.injectable.d.ts +0 -5
- package/dist/src/common/root-frame-rendered-channel/root-frame-rendered-channel.injectable.d.ts +0 -4
- package/dist/src/common/utils/channel/enlist-request-channel-listener-injection-token.d.ts +0 -4
- package/dist/src/common/utils/channel/listening-of-channels.injectable.d.ts +0 -6
- package/dist/src/common/utils/channel/message-channel-injection-token.d.ts +0 -10
- package/dist/src/common/utils/channel/request-channel-injection-token.d.ts +0 -11
- package/dist/src/common/utils/downloadFile.d.ts +0 -18
- package/dist/src/common/utils/resolve-system-proxy/resolve-system-proxy-channel.injectable.d.ts +0 -4
- package/dist/src/common/utils/sync-box/sync-box-channel-listener.injectable.d.ts +0 -4
- package/dist/src/common/utils/sync-box/sync-box-channel.injectable.d.ts +0 -7
- package/dist/src/common/utils/sync-box/sync-box-initial-value-channel.injectable.d.ts +0 -7
- package/dist/src/common/utils/tentative-parse-json.d.ts +0 -1
- package/dist/src/common/utils/tentative-stringify-json.d.ts +0 -1
- package/dist/src/features/cluster/delete-dialog/common/clear-as-deleting-channel.injectable.d.ts +0 -5
- package/dist/src/features/cluster/delete-dialog/common/delete-channel.injectable.d.ts +0 -5
- package/dist/src/features/cluster/delete-dialog/common/set-as-deleting-channel.injectable.d.ts +0 -5
- package/dist/src/features/cluster/delete-dialog/main/clear-as-deleteing-channel-handler.injectable.d.ts +0 -5
- package/dist/src/features/cluster/delete-dialog/main/delete-channel-handler.injectable.d.ts +0 -5
- package/dist/src/features/cluster/delete-dialog/main/set-as-deleteing-channel-handler.injectable.d.ts +0 -5
- package/dist/src/main/start-main-application/lens-window/application-window/send-to-channel-in-electron-browser-window.injectable.d.ts +0 -4
- package/dist/src/main/utils/shell-env.d.ts +0 -15
- package/dist/src/renderer/components/+extensions/attempt-install/attempt-install.d.ts +0 -22
- package/dist/src/renderer/components/+extensions/attempt-install/install-request.d.ts +0 -9
- package/dist/src/renderer/components/+extensions/attempt-install/validate-package/validate-package.d.ts +0 -6
- package/dist/src/renderer/components/+extensions/install-on-drop/install-on-drop.d.ts +0 -5
- package/dist/src/renderer/components/+extensions/install-on-drop/install-on-drop.injectable.d.ts +0 -2
- package/dist/src/renderer/utils/channel/channel-listeners/enlist-request-channel-listener.injectable.d.ts +0 -2
- package/dist/src/renderer/utils/channel/message-to-channel.test.d.ts +0 -5
@@ -0,0 +1,8 @@
|
|
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 { ClusterId } from "../../../../common/cluster-types";
|
6
|
+
import type { RequestChannel } from "../../../../common/utils/channel/request-channel-listener-injection-token";
|
7
|
+
export declare type ClearClusterAsDeletingChannel = RequestChannel<ClusterId, void>;
|
8
|
+
export declare const clearClusterAsDeletingChannel: ClearClusterAsDeletingChannel;
|
@@ -0,0 +1,8 @@
|
|
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 { ClusterId } from "../../../../common/cluster-types";
|
6
|
+
import type { RequestChannel } from "../../../../common/utils/channel/request-channel-listener-injection-token";
|
7
|
+
export declare type DeleteClusterChannel = RequestChannel<ClusterId, void>;
|
8
|
+
export declare const deleteClusterChannel: DeleteClusterChannel;
|
@@ -0,0 +1,8 @@
|
|
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 { ClusterId } from "../../../../common/cluster-types";
|
6
|
+
import type { RequestChannel } from "../../../../common/utils/channel/request-channel-listener-injection-token";
|
7
|
+
export declare type SetClusterAsDeletingChannel = RequestChannel<ClusterId, void>;
|
8
|
+
export declare const setClusterAsDeletingChannel: SetClusterAsDeletingChannel;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
declare const clearClusterAsDeletingChannelListenerInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
|
+
channel: import("../common/clear-as-deleting-channel").ClearClusterAsDeletingChannel;
|
3
|
+
handler: (req: string) => void | Promise<void>;
|
4
|
+
}, import("../../../../main/utils/channel/channel-listeners/listener-tokens").RequestChannelListener<import("../../../../common/utils/channel/request-channel-listener-injection-token").RequestChannel<unknown, unknown>>, void>;
|
5
|
+
export default clearClusterAsDeletingChannelListenerInjectable;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
declare const deleteClusterChannelListenerInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
|
+
channel: import("../common/delete-channel").DeleteClusterChannel;
|
3
|
+
handler: (req: string) => void | Promise<void>;
|
4
|
+
}, import("../../../../main/utils/channel/channel-listeners/listener-tokens").RequestChannelListener<import("../../../../common/utils/channel/request-channel-listener-injection-token").RequestChannel<unknown, unknown>>, void>;
|
5
|
+
export default deleteClusterChannelListenerInjectable;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
declare const setClusterAsDeletingChannelHandlerInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
|
+
channel: import("../common/set-as-deleting-channel").SetClusterAsDeletingChannel;
|
3
|
+
handler: (req: string) => void | Promise<void>;
|
4
|
+
}, import("../../../../main/utils/channel/channel-listeners/listener-tokens").RequestChannelListener<import("../../../../common/utils/channel/request-channel-listener-injection-token").RequestChannel<unknown, unknown>>, void>;
|
5
|
+
export default setClusterAsDeletingChannelHandlerInjectable;
|
@@ -0,0 +1,7 @@
|
|
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 { MessageChannel } from "../../../../common/utils/channel/message-channel-listener-injection-token";
|
6
|
+
export declare type ReloadPageChannel = MessageChannel<void>;
|
7
|
+
export declare const reloadPageChannel: ReloadPageChannel;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) OpenLens Authors. All rights reserved.
|
3
|
+
* Licensed under MIT License. See LICENSE in root directory for more information.
|
4
|
+
*/
|
5
|
+
declare const _default: {
|
6
|
+
injectable: import("@ogre-tools/injectable").Injectable<{
|
7
|
+
channel: import("../common/channel").ReloadPageChannel;
|
8
|
+
handler: (message: void) => void;
|
9
|
+
}, import("../../../../common/utils/channel/message-channel-listener-injection-token").MessageChannelListener<import("../../../../common/utils/channel/message-channel-listener-injection-token").MessageChannel<unknown>>, void>;
|
10
|
+
overridingInstantiate: import("@ogre-tools/injectable").Instantiate<{
|
11
|
+
channel: import("../common/channel").ReloadPageChannel;
|
12
|
+
handler: (message: void) => void;
|
13
|
+
}, void>;
|
14
|
+
};
|
15
|
+
export default _default;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
declare const reloadPageChannelListenerInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
|
+
channel: import("../common/channel").ReloadPageChannel;
|
3
|
+
handler: (message: void) => void;
|
4
|
+
}, import("../../../../common/utils/channel/message-channel-listener-injection-token").MessageChannelListener<import("../../../../common/utils/channel/message-channel-listener-injection-token").MessageChannel<unknown>>, void>;
|
5
|
+
export default reloadPageChannelListenerInjectable;
|
@@ -1,4 +1,5 @@
|
|
1
|
-
|
2
|
-
import
|
3
|
-
|
1
|
+
declare const appPathsRequestChannelListenerInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
|
+
channel: import("../../common/app-paths/app-paths-channel").AppPathsChannel;
|
3
|
+
handler: (req: void) => import("../../common/app-paths/app-path-injection-token").AppPaths | Promise<import("../../common/app-paths/app-path-injection-token").AppPaths>;
|
4
|
+
}, import("../utils/channel/channel-listeners/listener-tokens").RequestChannelListener<import("../../common/utils/channel/request-channel-listener-injection-token").RequestChannel<unknown, unknown>>, void>;
|
4
5
|
export default appPathsRequestChannelListenerInjectable;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const restartAndInstallUpdateListenerInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
|
-
channel: import("../../../common/application-update/restart-and-install-update-channel
|
3
|
-
handler: () => void;
|
4
|
-
}, import("../../../common/utils/channel/message-channel-listener-injection-token").MessageChannelListener<import("../../../common/utils/channel/message-channel-injection-token").MessageChannel<
|
2
|
+
channel: import("../../../common/application-update/restart-and-install-update-channel").RestartAndInstallUpdateChannel;
|
3
|
+
handler: (message: void) => void;
|
4
|
+
}, import("../../../common/utils/channel/message-channel-listener-injection-token").MessageChannelListener<import("../../../common/utils/channel/message-channel-listener-injection-token").MessageChannel<unknown>>, void>;
|
5
5
|
export default restartAndInstallUpdateListenerInjectable;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
declare const
|
2
|
-
channel: import("../../common/utils/channel/request-channel-injection-token").RequestChannel<void, string>;
|
3
|
-
handler: () => string
|
4
|
-
}, import("
|
5
|
-
export default
|
1
|
+
declare const buildVersionChannelListenerInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
|
+
channel: import("../../common/utils/channel/request-channel-listener-injection-token").RequestChannel<void, string>;
|
3
|
+
handler: (req: void) => string | Promise<string>;
|
4
|
+
}, import("../utils/channel/channel-listeners/listener-tokens").RequestChannelListener<import("../../common/utils/channel/request-channel-listener-injection-token").RequestChannel<unknown, unknown>>, void>;
|
5
|
+
export default buildVersionChannelListenerInjectable;
|
@@ -1,4 +1,4 @@
|
|
1
1
|
import type { AsyncResult } from "../../../common/utils/async-result";
|
2
|
-
export declare type ExecHelm = (args: string[]) => Promise<AsyncResult<string>>;
|
2
|
+
export declare type ExecHelm = (args: string[]) => Promise<AsyncResult<string, string>>;
|
3
3
|
declare const execHelmInjectable: import("@ogre-tools/injectable").Injectable<ExecHelm, unknown, void>;
|
4
4
|
export default execHelmInjectable;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const addHelmRepositoryChannelListenerInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
|
-
channel: import("../../../../common/helm/add-helm-repository-channel
|
3
|
-
handler: (
|
4
|
-
}, import("
|
2
|
+
channel: import("../../../../common/helm/add-helm-repository-channel").AddHelmRepositoryChannel;
|
3
|
+
handler: (req: import("../../../../common/helm/helm-repo").HelmRepo) => import("../../../../common/utils/async-result").AsyncResult<string, string> | Promise<import("../../../../common/utils/async-result").AsyncResult<string, string>>;
|
4
|
+
}, import("../../../utils/channel/channel-listeners/listener-tokens").RequestChannelListener<import("../../../../common/utils/channel/request-channel-listener-injection-token").RequestChannel<unknown, unknown>>, void>;
|
5
5
|
export default addHelmRepositoryChannelListenerInjectable;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const getActiveHelmRepositoriesChannelListenerInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
|
-
channel: import("../../../../common/helm/get-active-helm-repositories-channel
|
3
|
-
handler: () => Promise<import("../../../../common/utils/async-result").AsyncResult<import("../../../../common/helm/helm-repo").HelmRepo[], string>>;
|
4
|
-
}, import("
|
2
|
+
channel: import("../../../../common/helm/get-active-helm-repositories-channel").GetActiveHelmRepositoriesChannel;
|
3
|
+
handler: (req: void) => import("../../../../common/utils/async-result").AsyncResult<import("../../../../common/helm/helm-repo").HelmRepo[], string> | Promise<import("../../../../common/utils/async-result").AsyncResult<import("../../../../common/helm/helm-repo").HelmRepo[], string>>;
|
4
|
+
}, import("../../../utils/channel/channel-listeners/listener-tokens").RequestChannelListener<import("../../../../common/utils/channel/request-channel-listener-injection-token").RequestChannel<unknown, unknown>>, void>;
|
5
5
|
export default getActiveHelmRepositoriesChannelListenerInjectable;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const removeHelmRepositoryChannelListenerInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
|
-
channel: import("../../../../common/helm/remove-helm-repository-channel
|
3
|
-
handler: (
|
4
|
-
}, import("
|
2
|
+
channel: import("../../../../common/helm/remove-helm-repository-channel").RemoveHelmRepositoryChannel;
|
3
|
+
handler: (req: import("../../../../common/helm/helm-repo").HelmRepo) => import("../../../../common/utils/async-result").AsyncResult<string, string> | Promise<import("../../../../common/utils/async-result").AsyncResult<string, string>>;
|
4
|
+
}, import("../../../utils/channel/channel-listeners/listener-tokens").RequestChannelListener<import("../../../../common/utils/channel/request-channel-listener-injection-token").RequestChannel<unknown, unknown>>, void>;
|
5
5
|
export default removeHelmRepositoryChannelListenerInjectable;
|
File without changes
|
@@ -5,9 +5,12 @@
|
|
5
5
|
import type { Cluster } from "../../common/cluster/cluster";
|
6
6
|
import type { Kubectl } from "../kubectl/kubectl";
|
7
7
|
import type WebSocket from "ws";
|
8
|
-
import * as pty from "node-pty";
|
8
|
+
import type * as pty from "node-pty";
|
9
9
|
import { type TerminalMessage } from "../../common/terminal/channels";
|
10
10
|
import type { Logger } from "../../common/logger";
|
11
|
+
import type { ComputeShellEnvironment } from "../utils/shell-env/compute-shell-environment.injectable";
|
12
|
+
import type { SpawnPty } from "./spawn-pty.injectable";
|
13
|
+
import type { InitializableState } from "../../common/initializable-state/create";
|
11
14
|
export declare class ShellOpenError extends Error {
|
12
15
|
constructor(message: string, options?: ErrorOptions);
|
13
16
|
}
|
@@ -90,6 +93,11 @@ export interface ShellSessionDependencies {
|
|
90
93
|
readonly isWindows: boolean;
|
91
94
|
readonly isMac: boolean;
|
92
95
|
readonly logger: Logger;
|
96
|
+
readonly resolvedShell: string | undefined;
|
97
|
+
readonly appName: string;
|
98
|
+
readonly buildVersion: InitializableState<string>;
|
99
|
+
computeShellEnvironment: ComputeShellEnvironment;
|
100
|
+
spawnPty: SpawnPty;
|
93
101
|
}
|
94
102
|
export interface ShellSessionArgs {
|
95
103
|
kubectl: Kubectl;
|
@@ -115,7 +123,7 @@ export declare abstract class ShellSession {
|
|
115
123
|
protected readonly websocket: WebSocket;
|
116
124
|
protected readonly cluster: Cluster;
|
117
125
|
protected abstract get cwd(): string | undefined;
|
118
|
-
protected ensureShellProcess(shell: string, args: string[], env: Record<string, string
|
126
|
+
protected ensureShellProcess(shell: string, args: string[], env: Partial<Record<string, string>>, cwd: string): {
|
119
127
|
shellProcess: pty.IPty;
|
120
128
|
resume: boolean;
|
121
129
|
};
|
@@ -125,6 +133,6 @@ export declare abstract class ShellSession {
|
|
125
133
|
protected openShellProcess(shell: string, args: string[], env: Record<string, string | undefined>): Promise<void>;
|
126
134
|
protected getPathEntries(): string[];
|
127
135
|
protected getCachedShellEnv(): Promise<Record<string, string | undefined>>;
|
128
|
-
protected getShellEnv(): Promise<Record<string,
|
136
|
+
protected getShellEnv(): Promise<Partial<Record<string, string>>>;
|
129
137
|
protected exit(code?: WebSocketCloseEvent): void;
|
130
138
|
}
|
@@ -0,0 +1,5 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
injectable: import("@ogre-tools/injectable").Injectable<import("./spawn-pty.injectable").SpawnPty, unknown, void>;
|
3
|
+
overridingInstantiate: import("@ogre-tools/injectable").Instantiate<import("./spawn-pty.injectable").SpawnPty, void>;
|
4
|
+
};
|
5
|
+
export default _default;
|
@@ -0,0 +1,11 @@
|
|
1
|
+
import type { IPty, IPtyForkOptions, IWindowsPtyForkOptions } from "node-pty";
|
2
|
+
export declare type WindowsSpawnPtyOptions = Omit<IWindowsPtyForkOptions, "env"> & {
|
3
|
+
env?: Partial<Record<string, string>>;
|
4
|
+
};
|
5
|
+
export declare type UnixSpawnPtyOptions = Omit<IPtyForkOptions, "env"> & {
|
6
|
+
env?: Partial<Record<string, string>>;
|
7
|
+
};
|
8
|
+
export declare type SpawnPtyOptions = UnixSpawnPtyOptions | WindowsSpawnPtyOptions;
|
9
|
+
export declare type SpawnPty = (file: string, args: string[], options: SpawnPtyOptions) => IPty;
|
10
|
+
declare const spawnPtyInjectable: import("@ogre-tools/injectable").Injectable<SpawnPty, unknown, void>;
|
11
|
+
export default spawnPtyInjectable;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const rootFrameRenderedChannelListenerInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
|
-
channel: import("../../../../common/root-frame
|
3
|
-
handler: () =>
|
4
|
-
}, import("../../../../common/utils/channel/message-channel-listener-injection-token").MessageChannelListener<import("../../../../common/utils/channel/message-channel-injection-token").MessageChannel<
|
2
|
+
channel: import("../../../../common/root-frame/root-frame-rendered-channel").RootFrameHasRenderedChannel;
|
3
|
+
handler: (message: void) => void;
|
4
|
+
}, import("../../../../common/utils/channel/message-channel-listener-injection-token").MessageChannelListener<import("../../../../common/utils/channel/message-channel-listener-injection-token").MessageChannel<unknown>>, void>;
|
5
5
|
export default rootFrameRenderedChannelListenerInjectable;
|
@@ -1,2 +1,2 @@
|
|
1
|
-
declare const enlistMessageChannelListenerInjectable: import("@ogre-tools/injectable").Injectable<(
|
1
|
+
declare const enlistMessageChannelListenerInjectable: import("@ogre-tools/injectable").Injectable<({ channel, handler }: import("../../../../common/utils/channel/message-channel-listener-injection-token").MessageChannelListener<import("../../../../common/utils/channel/message-channel-listener-injection-token").MessageChannel<unknown>>) => () => void, import("../../../../common/utils/channel/enlist-message-channel-listener-injection-token").EnlistMessageChannelListener, void>;
|
2
2
|
export default enlistMessageChannelListenerInjectable;
|
@@ -1,2 +1,6 @@
|
|
1
|
-
|
1
|
+
import type { Disposer } from "../../../../common/utils";
|
2
|
+
import type { RequestChannel } from "../../../../common/utils/channel/request-channel-listener-injection-token";
|
3
|
+
import type { RequestChannelListener } from "./listener-tokens";
|
4
|
+
export declare type EnlistRequestChannelListener = <TChannel extends RequestChannel<unknown, unknown>>(listener: RequestChannelListener<TChannel>) => Disposer;
|
5
|
+
declare const enlistRequestChannelListenerInjectable: import("@ogre-tools/injectable").Injectable<EnlistRequestChannelListener, unknown, void>;
|
2
6
|
export default enlistRequestChannelListenerInjectable;
|
@@ -0,0 +1,20 @@
|
|
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 { DiContainerForInjection } from "@ogre-tools/injectable";
|
6
|
+
import type { RequestChannel } from "../../../../common/utils/channel/request-channel-listener-injection-token";
|
7
|
+
export declare type RequestChannelHandler<Channel> = Channel extends RequestChannel<infer Request, infer Response> ? (req: Request) => Promise<Response> | Response : never;
|
8
|
+
export interface RequestChannelListener<Channel> {
|
9
|
+
channel: Channel;
|
10
|
+
handler: RequestChannelHandler<Channel>;
|
11
|
+
}
|
12
|
+
export declare const requestChannelListenerInjectionToken: import("@ogre-tools/injectable").InjectionToken<RequestChannelListener<RequestChannel<unknown, unknown>>, void>;
|
13
|
+
export interface GetRequestChannelListenerInjectableInfo<Channel extends RequestChannel<Request, Response>, Request, Response> {
|
14
|
+
channel: Channel;
|
15
|
+
handler: (di: DiContainerForInjection) => RequestChannelHandler<Channel>;
|
16
|
+
}
|
17
|
+
export declare function getRequestChannelListenerInjectable<Channel extends RequestChannel<Request, Response>, Request, Response>(info: GetRequestChannelListenerInjectableInfo<Channel, Request, Response>): import("@ogre-tools/injectable").Injectable<{
|
18
|
+
channel: Channel;
|
19
|
+
handler: RequestChannelHandler<Channel>;
|
20
|
+
}, RequestChannelListener<RequestChannel<unknown, unknown>>, void>;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
declare const
|
1
|
+
declare const startListeningOnChannelsInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
2
|
id: string;
|
3
3
|
run: () => Promise<void>;
|
4
4
|
}, import("../../../../common/runnable/run-many-for").Runnable<void>, void>;
|
5
|
-
export default
|
5
|
+
export default startListeningOnChannelsInjectable;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
import type {
|
2
|
-
declare const messageToChannelInjectable: import("@ogre-tools/injectable").Injectable<
|
1
|
+
import type { SendMessageToChannel } from "../../../common/utils/channel/message-to-channel-injection-token";
|
2
|
+
declare const messageToChannelInjectable: import("@ogre-tools/injectable").Injectable<SendMessageToChannel, SendMessageToChannel, void>;
|
3
3
|
export default messageToChannelInjectable;
|
@@ -10,4 +10,4 @@
|
|
10
10
|
* before KUBECONFIG and we only set KUBECONFIG.
|
11
11
|
* @param env The current copy of env
|
12
12
|
*/
|
13
|
-
export declare function clearKubeconfigEnvVars(env: Record<string,
|
13
|
+
export declare function clearKubeconfigEnvVars(env: Partial<Record<string, string>>): Partial<Record<string, string>>;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
declare const resolveSystemProxyChannelResponderInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
|
-
channel: import("../../../common/utils/resolve-system-proxy/resolve-system-proxy-channel
|
3
|
-
handler: (
|
4
|
-
}, import("
|
2
|
+
channel: import("../../../common/utils/resolve-system-proxy/resolve-system-proxy-channel").ResolveSystemProxyChannel;
|
3
|
+
handler: (req: string) => string | Promise<string>;
|
4
|
+
}, import("../channel/channel-listeners/listener-tokens").RequestChannelListener<import("../../../common/utils/channel/request-channel-listener-injection-token").RequestChannel<unknown, unknown>>, void>;
|
5
5
|
export default resolveSystemProxyChannelResponderInjectable;
|
@@ -0,0 +1,9 @@
|
|
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 { AsyncResult } from "../../../common/utils/async-result";
|
6
|
+
export declare type EnvironmentVariables = Partial<Record<string, string>>;
|
7
|
+
export declare type ComputeShellEnvironment = (shell: string) => Promise<AsyncResult<EnvironmentVariables | undefined, string>>;
|
8
|
+
declare const computeShellEnvironmentInjectable: import("@ogre-tools/injectable").Injectable<ComputeShellEnvironment, unknown, void>;
|
9
|
+
export default computeShellEnvironmentInjectable;
|
@@ -0,0 +1,9 @@
|
|
1
|
+
/**
|
2
|
+
* Copyright (c) OpenLens Authors. All rights reserved.
|
3
|
+
* Licensed under MIT License. See LICENSE in root directory for more information.
|
4
|
+
*/
|
5
|
+
declare const _default: {
|
6
|
+
injectable: import("@ogre-tools/injectable").Injectable<import("./compute-unix-shell-environment.injectable").ComputeUnixShellEnvironment, unknown, void>;
|
7
|
+
overridingInstantiate: import("@ogre-tools/injectable").Instantiate<import("./compute-unix-shell-environment.injectable").ComputeUnixShellEnvironment, void>;
|
8
|
+
};
|
9
|
+
export default _default;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import type { EnvironmentVariables } from "./compute-shell-environment.injectable";
|
2
|
+
interface UnixShellEnvOptions {
|
3
|
+
signal?: AbortSignal;
|
4
|
+
}
|
5
|
+
export declare type ComputeUnixShellEnvironment = (shell: string, opts?: UnixShellEnvOptions) => Promise<EnvironmentVariables>;
|
6
|
+
declare const computeUnixShellEnvironmentInjectable: import("@ogre-tools/injectable").Injectable<ComputeUnixShellEnvironment, unknown, void>;
|
7
|
+
export default computeUnixShellEnvironmentInjectable;
|
package/dist/src/main/utils/sync-box/sync-box-initial-value-channel-listener.injectable.d.ts
CHANGED
@@ -1,8 +1,11 @@
|
|
1
1
|
declare const syncBoxInitialValueChannelListenerInjectable: import("@ogre-tools/injectable").Injectable<{
|
2
|
-
channel: import("../../../common/utils/sync-box/
|
3
|
-
handler: () => {
|
2
|
+
channel: import("../../../common/utils/sync-box/channels").SyncBoxInitialValueChannel;
|
3
|
+
handler: (req: void) => {
|
4
4
|
id: string;
|
5
5
|
value: any;
|
6
|
-
}[]
|
7
|
-
|
6
|
+
}[] | Promise<{
|
7
|
+
id: string;
|
8
|
+
value: any;
|
9
|
+
}[]>;
|
10
|
+
}, import("../channel/channel-listeners/listener-tokens").RequestChannelListener<import("../../../common/utils/channel/request-channel-listener-injection-token").RequestChannel<unknown, unknown>>, void>;
|
8
11
|
export default syncBoxInitialValueChannelListenerInjectable;
|
@@ -0,0 +1,13 @@
|
|
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 "./lease-details.scss";
|
6
|
+
import React from "react";
|
7
|
+
import type { KubeObjectDetailsProps } from "../kube-object-details";
|
8
|
+
import type { Lease } from "../../../common/k8s-api/endpoints";
|
9
|
+
export interface LeaseDetailsProps extends KubeObjectDetailsProps<Lease> {
|
10
|
+
}
|
11
|
+
export declare class LeaseDetails extends React.Component<LeaseDetailsProps> {
|
12
|
+
render(): JSX.Element;
|
13
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/// <reference types="react" />
|
2
|
+
declare const leasesRouteComponentInjectable: 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<import("./leases").LeaseProps>;
|
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 leasesRouteComponentInjectable;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
declare const leasesSidebarItemsInjectable: import("@ogre-tools/injectable").Injectable<import("mobx").IComputedValue<{
|
2
|
+
id: string;
|
3
|
+
parentId: string;
|
4
|
+
title: string;
|
5
|
+
onClick: () => void;
|
6
|
+
isActive: import("mobx").IComputedValue<boolean>;
|
7
|
+
isVisible: import("mobx").IComputedValue<boolean>;
|
8
|
+
orderNumber: number;
|
9
|
+
}[]>, import("mobx").IComputedValue<import("../layout/sidebar-items.injectable").SidebarItemRegistration[]>, void>;
|
10
|
+
export default leasesSidebarItemsInjectable;
|
@@ -0,0 +1,11 @@
|
|
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 "./leases.scss";
|
6
|
+
import * as React from "react";
|
7
|
+
import type { Lease } from "../../../common/k8s-api/endpoints/lease.api";
|
8
|
+
import type { KubeObjectDetailsProps } from "../kube-object-details";
|
9
|
+
export interface LeaseProps extends KubeObjectDetailsProps<Lease> {
|
10
|
+
}
|
11
|
+
export declare const Leases: React.FunctionComponent<LeaseProps>;
|
@@ -0,0 +1,8 @@
|
|
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 { KubeObjectStore } from "../../../common/k8s-api/kube-object.store";
|
6
|
+
import type { Lease, LeaseApi } from "../../../common/k8s-api/endpoints/lease.api";
|
7
|
+
export declare class LeaseStore extends KubeObjectStore<Lease, LeaseApi> {
|
8
|
+
}
|
package/dist/src/renderer/components/+extensions/attempt-install/attempt-install.injectable.d.ts
CHANGED
@@ -1,2 +1,9 @@
|
|
1
|
-
|
1
|
+
/// <reference types="node" />
|
2
|
+
import type { Disposer } from "../../../../common/utils";
|
3
|
+
export interface InstallRequest {
|
4
|
+
fileName: string;
|
5
|
+
data: Buffer;
|
6
|
+
}
|
7
|
+
export declare type AttemptInstall = (request: InstallRequest, cleanup?: Disposer) => Promise<void>;
|
8
|
+
declare const attemptInstallInjectable: import("@ogre-tools/injectable").Injectable<AttemptInstall, unknown, void>;
|
2
9
|
export default attemptInstallInjectable;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
/// <reference types="node" />
|
2
|
-
import type { LensExtensionId, LensExtensionManifest } from "
|
3
|
-
import type { InstallRequest } from "
|
2
|
+
import type { LensExtensionId, LensExtensionManifest } from "../../../../extensions/lens-extension";
|
3
|
+
import type { InstallRequest } from "./attempt-install.injectable";
|
4
4
|
export interface InstallRequestValidated {
|
5
5
|
fileName: string;
|
6
6
|
data: Buffer;
|
@@ -8,6 +8,6 @@ export interface InstallRequestValidated {
|
|
8
8
|
manifest: LensExtensionManifest;
|
9
9
|
tempFile: string;
|
10
10
|
}
|
11
|
-
export declare type CreateTempFilesAndValidate = (
|
12
|
-
declare const createTempFilesAndValidateInjectable: import("@ogre-tools/injectable").Injectable<
|
11
|
+
export declare type CreateTempFilesAndValidate = (request: InstallRequest) => Promise<InstallRequestValidated | null>;
|
12
|
+
declare const createTempFilesAndValidateInjectable: import("@ogre-tools/injectable").Injectable<CreateTempFilesAndValidate, unknown, void>;
|
13
13
|
export default createTempFilesAndValidateInjectable;
|
@@ -1,3 +1,3 @@
|
|
1
|
-
export declare type GetExtensionDestFolder = (
|
1
|
+
export declare type GetExtensionDestFolder = (name: string) => string;
|
2
2
|
declare const getExtensionDestFolderInjectable: import("@ogre-tools/injectable").Injectable<GetExtensionDestFolder, unknown, void>;
|
3
3
|
export default getExtensionDestFolderInjectable;
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import type {
|
2
|
-
import type {
|
1
|
+
import type { Disposer } from "../../../../common/utils";
|
2
|
+
import type { InstallRequestValidated } from "./create-temp-files-and-validate.injectable";
|
3
3
|
export declare type UnpackExtension = (request: InstallRequestValidated, disposeDownloading?: Disposer) => Promise<void>;
|
4
4
|
declare const unpackExtensionInjectable: import("@ogre-tools/injectable").Injectable<UnpackExtension, unknown, void>;
|
5
5
|
export default unpackExtensionInjectable;
|
@@ -0,0 +1,6 @@
|
|
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 { LensExtensionManifest } from "../../../../extensions/lens-extension";
|
6
|
+
export declare function validatePackage(filePath: string): Promise<LensExtensionManifest>;
|
File without changes
|
@@ -6,6 +6,7 @@
|
|
6
6
|
import "./input.scss";
|
7
7
|
import type { DOMAttributes, InputHTMLAttributes, TextareaHTMLAttributes } from "react";
|
8
8
|
import React from "react";
|
9
|
+
import type { SingleOrMany } from "../../utils";
|
9
10
|
import type { TooltipProps } from "../tooltip";
|
10
11
|
import * as Validators from "./input_validators";
|
11
12
|
import type { InputValidator, InputValidation, InputValidationResult, SyncValidationMessage } from "./input_validators";
|
@@ -58,7 +59,7 @@ export declare type InputProps = Omit<InputElementProps, "onChange" | "onSubmit"
|
|
58
59
|
iconLeft?: IconData;
|
59
60
|
iconRight?: IconData;
|
60
61
|
contentRight?: string | React.ReactNode;
|
61
|
-
validators?:
|
62
|
+
validators?: SingleOrMany<InputValidator>;
|
62
63
|
blurOnEnter?: boolean;
|
63
64
|
onChange?(value: string, evt: React.ChangeEvent<InputElement>): void;
|
64
65
|
onSubmit?(value: string, evt: React.KeyboardEvent<InputElement>): void;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
import { LeaseDetails } from "../../../+config-leases";
|
2
|
+
declare const leaseDetailItemInjectable: import("@ogre-tools/injectable").Injectable<{
|
3
|
+
Component: typeof LeaseDetails;
|
4
|
+
enabled: import("mobx").IComputedValue<boolean>;
|
5
|
+
orderNumber: number;
|
6
|
+
}, import("../kube-object-detail-item-injection-token").KubeObjectDetailItem, void>;
|
7
|
+
export default leaseDetailItemInjectable;
|
@@ -1,9 +1,13 @@
|
|
1
1
|
/// <reference types="react" />
|
2
2
|
import type { IComputedValue } from "mobx";
|
3
3
|
import type { StatusBarItemProps } from "./status-bar-registration";
|
4
|
+
interface StatusItem {
|
5
|
+
origin?: string;
|
6
|
+
component: React.ComponentType<StatusBarItemProps>;
|
7
|
+
}
|
4
8
|
export interface StatusBarItems {
|
5
|
-
right:
|
6
|
-
left:
|
9
|
+
right: StatusItem[];
|
10
|
+
left: StatusItem[];
|
7
11
|
}
|
8
12
|
declare const statusBarItemsInjectable: import("@ogre-tools/injectable").Injectable<IComputedValue<StatusBarItems>, unknown, void>;
|
9
13
|
export default statusBarItemsInjectable;
|
@@ -3,7 +3,6 @@
|
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
4
4
|
*/
|
5
5
|
export declare const enum IpcRendererNavigationEvents {
|
6
|
-
RELOAD_PAGE = "renderer:page-reload",
|
7
6
|
CLUSTER_VIEW_CURRENT_ID = "renderer:cluster-id-of-active-view",
|
8
7
|
NAVIGATE_IN_APP = "renderer:navigate",
|
9
8
|
NAVIGATE_IN_CLUSTER = "renderer:navigate-in-cluster",
|