@k8slens/extensions 6.2.0-git.cd6df109aa.0 → 6.2.0-git.d63bf277b2.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/extensions/extension-api.js +28 -28
- package/dist/src/extensions/lens-renderer-extension.d.ts +2 -0
- package/dist/src/features/cluster/legacy-extension-adding-cluster-frame-components.test.d.ts +1 -0
- package/dist/src/main/utils/shell-env/compute-unix-shell-environment.injectable.d.ts +2 -2
- 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/package.json +1 -1
@@ -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[];
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -4,8 +4,8 @@
|
|
4
4
|
*/
|
5
5
|
import type { EnvironmentVariables } from "./compute-shell-environment.injectable";
|
6
6
|
export interface UnixShellEnvOptions {
|
7
|
-
signal
|
7
|
+
signal: AbortSignal;
|
8
8
|
}
|
9
|
-
export declare type ComputeUnixShellEnvironment = (shell: string, opts
|
9
|
+
export declare type ComputeUnixShellEnvironment = (shell: string, opts: UnixShellEnvOptions) => Promise<EnvironmentVariables>;
|
10
10
|
declare const computeUnixShellEnvironmentInjectable: import("@ogre-tools/injectable").Injectable<ComputeUnixShellEnvironment, unknown, void>;
|
11
11
|
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;
|
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.d63bf277b2.0",
|
6
6
|
"copyright": "© 2022 OpenLens Authors",
|
7
7
|
"license": "MIT",
|
8
8
|
"main": "dist/src/extensions/extension-api.js",
|