@k8slens/extensions 6.0.1-git.09f2919946.0 → 6.0.1-git.299922c8a7.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/k8s-api/kube-api.d.ts +0 -1
- package/dist/src/common/k8s-api/kube-object.store.d.ts +0 -1
- package/dist/src/common/test-utils/get-global-override.d.ts +4 -0
- package/dist/src/common/utils/abort-controller.d.ts +5 -2
- package/dist/src/common/utils/delay.d.ts +0 -1
- package/dist/src/common/utils/reject-promise.d.ts +0 -1
- package/dist/src/common/vars/package-json.injectable.d.ts +5 -1
- package/dist/src/extensions/extension-api.js +102 -113
- package/dist/src/{behaviours → features}/add-cluster/navigation-using-application-menu.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/application-update/analytics-for-installing-update.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/application-update/downgrading-version-update.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/application-update/force-user-to-update-when-too-long-time-since-update-was-downloaded.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/application-update/installing-update-using-topbar-button.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/application-update/installing-update-using-tray.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/application-update/installing-update.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/application-update/periodical-checking-of-updates.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/application-update/selection-of-update-stability.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/extension-api/disable-cluster-pages-when-cluster-is-not-relevant.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/extension-api/disable-sidebar-items-when-cluster-is-not-relevant.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/extension-api/reactively-disable-cluster-pages.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/kube-object-details/extension-api/disable-kube-object-detail-items-when-cluster-is-not-relevant.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/kube-object-details/extension-api/reactively-hide-kube-object-detail-item.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/kube-object-menu/extension-api/disable-kube-object-menu-items-when-cluster-is-not-relevant.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/kube-object-menu/extension-api/reactively-hide-kube-object-menu-item.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/kube-object-status-icon/extension-api/disable-kube-object-statuses-when-cluster-is-not-relevant.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/kube-object-status-icon/extension-api/reactively-hide-kube-object-status.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/kube-object-status-icon/show-status-for-a-kube-object.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/namespaces/edit-namespace-from-new-tab.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/namespaces/edit-namespace-from-previously-opened-tab.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/order-of-sidebar-items.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/sidebar-and-tab-navigation-for-core.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/sidebar-and-tab-navigation-for-extensions.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/visibility-of-sidebar-items.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/workloads/overview/extension-api/disable-workloads-overview-details-when-cluster-is-not-relevant.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/workloads/overview/extension-api/order-of-workload-overview-details.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/cluster/workloads/overview/extension-api/reactively-hide-workloads-overview-details-item.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/command-pallet/keyboard-shortcuts.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/extension-special-characters-in-page-registrations.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/extensions/navigation-using-application-menu.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/helm-charts/add-custom-helm-repository-in-preferences.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/helm-charts/add-helm-repository-from-list-in-preferences.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/helm-charts/installing-chart/installing-helm-chart-from-new-tab.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/helm-charts/installing-chart/installing-helm-chart-from-previously-opened-tab.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/helm-charts/installing-chart/opening-dock-tab-for-installing-helm-chart.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/helm-charts/listing-active-helm-repositories-in-preferences.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/helm-charts/remove-helm-repository-from-list-of-active-repository-in-preferences.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/helm-releases/showing-details-for-helm-release.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/navigate-to-extension-page.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/navigating-between-routes.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/preferences/closing-preferences.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/preferences/extension-adding-preference-tabs.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/preferences/navigation-to-application-preferences.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/preferences/navigation-to-editor-preferences.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/preferences/navigation-to-extension-specific-preferences.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/preferences/navigation-to-kubernetes-preferences.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/preferences/navigation-to-proxy-preferences.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/preferences/navigation-to-telemetry-preferences.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/preferences/navigation-to-terminal-preferences.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/preferences/navigation-using-application-menu.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/preferences/navigation-using-tray.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/quitting-and-restarting-the-app/opening-application-window-using-tray.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/quitting-and-restarting-the-app/quitting-the-app-using-application-menu.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/resolve-system-proxy/resolve-system-proxy.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/routes/extension-api/reactively-disable-global-pages.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/status-bar/status-bar-items-originating-from-extensions.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/tray/clicking-tray-menu-item-originating-from-extension.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/tray/extension-adding-tray-items.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/tray/multiple-separators-originating-from-extension.test.d.ts +0 -0
- package/dist/src/{behaviours → features}/welcome/navigation-using-application-menu.test.d.ts +0 -0
- package/dist/src/main/menu/build-version.global-override-for-injectable.d.ts +9 -0
- package/dist/src/main/menu/build-version.injectable.d.ts +2 -0
- package/dist/src/main/menu/menu.d.ts +3 -1
- package/dist/src/main/tray/tray-menu-registration.d.ts +1 -1
- package/dist/src/renderer/components/switch/switcher.d.ts +1 -1
- package/package.json +1 -1
|
@@ -10,7 +10,6 @@ import type { KubeJsonApiData } from "./kube-json-api";
|
|
|
10
10
|
import { KubeJsonApi } from "./kube-json-api";
|
|
11
11
|
import type { Disposer } from "../utils";
|
|
12
12
|
import type { RequestInit } from "node-fetch";
|
|
13
|
-
import type AbortController from "abort-controller";
|
|
14
13
|
import { Agent } from "https";
|
|
15
14
|
import type { Patch } from "rfc6902";
|
|
16
15
|
import type { PartialDeep } from "type-fest";
|
|
@@ -9,7 +9,6 @@ import type { IKubeWatchEvent } from "./kube-watch-event";
|
|
|
9
9
|
import { ItemStore } from "../item.store";
|
|
10
10
|
import type { KubeApiQueryParams, KubeApi } from "./kube-api";
|
|
11
11
|
import type { RequestInit } from "node-fetch";
|
|
12
|
-
import AbortController from "abort-controller";
|
|
13
12
|
import type { Patch } from "rfc6902";
|
|
14
13
|
import type { PartialDeep } from "type-fest";
|
|
15
14
|
export declare type OnLoadFailure = (error: unknown) => void;
|
|
@@ -3,6 +3,10 @@
|
|
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
4
4
|
*/
|
|
5
5
|
import type { Injectable } from "@ogre-tools/injectable";
|
|
6
|
+
export interface GlobalOverride {
|
|
7
|
+
injectable: Injectable<any, any, any>;
|
|
8
|
+
overridingInstantiate: any;
|
|
9
|
+
}
|
|
6
10
|
export declare const getGlobalOverride: <T extends Injectable<any, any, any>>(injectable: T, overridingInstantiate: T["instantiate"]) => {
|
|
7
11
|
injectable: T;
|
|
8
12
|
overridingInstantiate: T["instantiate"];
|
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
4
4
|
*/
|
|
5
|
-
|
|
5
|
+
/**
|
|
6
|
+
* This is like an `AbortController` but will also abort if the parent aborts,
|
|
7
|
+
* but won't make the parent abort if this aborts (single direction)
|
|
8
|
+
*/
|
|
6
9
|
export declare class WrappedAbortController extends AbortController {
|
|
7
|
-
constructor(parent?: AbortController);
|
|
10
|
+
constructor(parent?: AbortController | undefined);
|
|
8
11
|
}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
4
4
|
*/
|
|
5
|
-
import type { AbortController } from "abort-controller";
|
|
6
5
|
/**
|
|
7
6
|
* Return a promise that will be resolved after at least `timeout` ms have
|
|
8
7
|
* passed. If `failFast` is provided then the promise is also resolved if it has
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
* Copyright (c) OpenLens Authors. All rights reserved.
|
|
3
3
|
* Licensed under MIT License. See LICENSE in root directory for more information.
|
|
4
4
|
*/
|
|
5
|
-
import type { AbortSignal } from "abort-controller";
|
|
6
5
|
/**
|
|
7
6
|
* Creates a new promise that will be rejected when the signal rejects.
|
|
8
7
|
*
|
|
@@ -12,6 +12,10 @@ declare const packageJsonInjectable: import("@ogre-tools/injectable").Injectable
|
|
|
12
12
|
email: string;
|
|
13
13
|
};
|
|
14
14
|
scripts: {
|
|
15
|
+
"adr:create": string;
|
|
16
|
+
"adr:change-status": string;
|
|
17
|
+
"adr:update-readme": string;
|
|
18
|
+
"adr:list": string;
|
|
15
19
|
dev: string;
|
|
16
20
|
"dev-build": string;
|
|
17
21
|
"debug-build": string;
|
|
@@ -143,7 +147,6 @@ declare const packageJsonInjectable: import("@ogre-tools/injectable").Injectable
|
|
|
143
147
|
"@sentry/integrations": string;
|
|
144
148
|
"@side/jest-runtime": string;
|
|
145
149
|
"@types/circular-dependency-plugin": string;
|
|
146
|
-
"abort-controller": string;
|
|
147
150
|
"auto-bind": string;
|
|
148
151
|
"await-lock": string;
|
|
149
152
|
byline: string;
|
|
@@ -279,6 +282,7 @@ declare const packageJsonInjectable: import("@ogre-tools/injectable").Injectable
|
|
|
279
282
|
"@types/webpack-node-externals": string;
|
|
280
283
|
"@typescript-eslint/eslint-plugin": string;
|
|
281
284
|
"@typescript-eslint/parser": string;
|
|
285
|
+
adr: string;
|
|
282
286
|
ansi_up: string;
|
|
283
287
|
"chart.js": string;
|
|
284
288
|
"circular-dependency-plugin": string;
|