@k8slens/extensions 6.0.1-git.d6ca2c2cd7.0 → 6.0.1-git.df1cc8b788.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.
Files changed (96) hide show
  1. package/dist/src/common/cluster-store/cluster-store.global-override-for-injectable.d.ts +6 -0
  2. package/dist/src/common/k8s-api/endpoints/pod.api.d.ts +1 -0
  3. package/dist/src/common/k8s-api/kube-api.d.ts +1 -0
  4. package/dist/src/common/k8s-api/kube-object.store.d.ts +1 -0
  5. package/dist/src/common/utils/abort-controller.d.ts +1 -0
  6. package/dist/src/common/utils/delay.d.ts +1 -0
  7. package/dist/src/common/utils/reject-promise.d.ts +1 -0
  8. package/dist/src/common/vars/package-json.injectable.d.ts +4 -0
  9. package/dist/src/extensions/extension-api.js +1830 -36
  10. package/dist/src/{behaviours → features}/add-cluster/navigation-using-application-menu.test.d.ts +0 -0
  11. package/dist/src/{behaviours → features}/application-update/analytics-for-installing-update.test.d.ts +0 -0
  12. package/dist/src/{behaviours → features}/application-update/downgrading-version-update.test.d.ts +0 -0
  13. package/dist/src/{behaviours → features}/application-update/force-user-to-update-when-too-long-time-since-update-was-downloaded.test.d.ts +0 -0
  14. package/dist/src/{behaviours → features}/application-update/installing-update-using-topbar-button.test.d.ts +0 -0
  15. package/dist/src/{behaviours → features}/application-update/installing-update-using-tray.test.d.ts +0 -0
  16. package/dist/src/{behaviours → features}/application-update/installing-update.test.d.ts +0 -0
  17. package/dist/src/{behaviours → features}/application-update/periodical-checking-of-updates.test.d.ts +0 -0
  18. package/dist/src/{behaviours → features}/application-update/selection-of-update-stability.test.d.ts +0 -0
  19. package/dist/src/{behaviours → features}/cluster/extension-api/disable-cluster-pages-when-cluster-is-not-relevant.test.d.ts +0 -0
  20. package/dist/src/{behaviours → features}/cluster/extension-api/disable-sidebar-items-when-cluster-is-not-relevant.test.d.ts +0 -0
  21. package/dist/src/{behaviours → features}/cluster/extension-api/reactively-disable-cluster-pages.test.d.ts +0 -0
  22. 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
  23. package/dist/src/{behaviours → features}/cluster/kube-object-details/extension-api/reactively-hide-kube-object-detail-item.test.d.ts +0 -0
  24. 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
  25. package/dist/src/{behaviours → features}/cluster/kube-object-menu/extension-api/reactively-hide-kube-object-menu-item.test.d.ts +0 -0
  26. 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
  27. package/dist/src/{behaviours → features}/cluster/kube-object-status-icon/extension-api/reactively-hide-kube-object-status.test.d.ts +0 -0
  28. package/dist/src/{behaviours → features}/cluster/kube-object-status-icon/show-status-for-a-kube-object.test.d.ts +0 -0
  29. package/dist/src/{behaviours → features}/cluster/namespaces/edit-namespace-from-new-tab.test.d.ts +0 -0
  30. package/dist/src/{behaviours → features}/cluster/namespaces/edit-namespace-from-previously-opened-tab.test.d.ts +0 -0
  31. package/dist/src/{behaviours → features}/cluster/order-of-sidebar-items.test.d.ts +0 -0
  32. package/dist/src/{behaviours → features}/cluster/sidebar-and-tab-navigation-for-core.test.d.ts +0 -0
  33. package/dist/src/{behaviours → features}/cluster/sidebar-and-tab-navigation-for-extensions.test.d.ts +0 -0
  34. package/dist/src/{behaviours → features}/cluster/visibility-of-sidebar-items.test.d.ts +0 -0
  35. package/dist/src/{behaviours → features}/cluster/workloads/overview/extension-api/disable-workloads-overview-details-when-cluster-is-not-relevant.test.d.ts +0 -0
  36. package/dist/src/{behaviours → features}/cluster/workloads/overview/extension-api/order-of-workload-overview-details.test.d.ts +0 -0
  37. package/dist/src/{behaviours → features}/cluster/workloads/overview/extension-api/reactively-hide-workloads-overview-details-item.test.d.ts +0 -0
  38. package/dist/src/{behaviours → features}/command-pallet/keyboard-shortcuts.test.d.ts +0 -0
  39. package/dist/src/{behaviours → features}/extension-special-characters-in-page-registrations.test.d.ts +0 -0
  40. package/dist/src/{behaviours → features}/extensions/navigation-using-application-menu.test.d.ts +0 -0
  41. package/dist/src/{behaviours → features}/helm-charts/add-custom-helm-repository-in-preferences.test.d.ts +0 -0
  42. package/dist/src/{behaviours → features}/helm-charts/add-helm-repository-from-list-in-preferences.test.d.ts +0 -0
  43. package/dist/src/{behaviours → features}/helm-charts/installing-chart/installing-helm-chart-from-new-tab.test.d.ts +0 -0
  44. package/dist/src/{behaviours → features}/helm-charts/installing-chart/installing-helm-chart-from-previously-opened-tab.test.d.ts +0 -0
  45. package/dist/src/{behaviours → features}/helm-charts/installing-chart/opening-dock-tab-for-installing-helm-chart.test.d.ts +0 -0
  46. package/dist/src/{behaviours → features}/helm-charts/listing-active-helm-repositories-in-preferences.test.d.ts +0 -0
  47. package/dist/src/{behaviours → features}/helm-charts/remove-helm-repository-from-list-of-active-repository-in-preferences.test.d.ts +0 -0
  48. package/dist/src/{behaviours → features}/helm-releases/showing-details-for-helm-release.test.d.ts +0 -0
  49. package/dist/src/{behaviours → features}/navigate-to-extension-page.test.d.ts +0 -0
  50. package/dist/src/{behaviours → features}/navigating-between-routes.test.d.ts +0 -0
  51. package/dist/src/{behaviours → features}/preferences/closing-preferences.test.d.ts +0 -0
  52. package/dist/src/{behaviours → features}/preferences/extension-adding-preference-tabs.test.d.ts +0 -0
  53. package/dist/src/{behaviours → features}/preferences/navigation-to-application-preferences.test.d.ts +0 -0
  54. package/dist/src/{behaviours → features}/preferences/navigation-to-editor-preferences.test.d.ts +0 -0
  55. package/dist/src/{behaviours → features}/preferences/navigation-to-extension-specific-preferences.test.d.ts +0 -0
  56. package/dist/src/{behaviours → features}/preferences/navigation-to-kubernetes-preferences.test.d.ts +0 -0
  57. package/dist/src/{behaviours → features}/preferences/navigation-to-proxy-preferences.test.d.ts +0 -0
  58. package/dist/src/{behaviours → features}/preferences/navigation-to-telemetry-preferences.test.d.ts +0 -0
  59. package/dist/src/{behaviours → features}/preferences/navigation-to-terminal-preferences.test.d.ts +0 -0
  60. package/dist/src/{behaviours → features}/preferences/navigation-using-application-menu.test.d.ts +0 -0
  61. package/dist/src/{behaviours → features}/preferences/navigation-using-tray.test.d.ts +0 -0
  62. package/dist/src/{behaviours → features}/quitting-and-restarting-the-app/opening-application-window-using-tray.test.d.ts +0 -0
  63. package/dist/src/{behaviours → features}/quitting-and-restarting-the-app/quitting-the-app-using-application-menu.test.d.ts +0 -0
  64. package/dist/src/{behaviours → features}/resolve-system-proxy/resolve-system-proxy.test.d.ts +0 -0
  65. package/dist/src/{behaviours → features}/routes/extension-api/reactively-disable-global-pages.test.d.ts +0 -0
  66. package/dist/src/{behaviours → features}/status-bar/status-bar-items-originating-from-extensions.test.d.ts +0 -0
  67. package/dist/src/{behaviours → features}/tray/clicking-tray-menu-item-originating-from-extension.test.d.ts +0 -0
  68. package/dist/src/{behaviours → features}/tray/extension-adding-tray-items.test.d.ts +0 -0
  69. package/dist/src/{behaviours → features}/tray/multiple-separators-originating-from-extension.test.d.ts +0 -0
  70. package/dist/src/{behaviours → features}/welcome/navigation-using-application-menu.test.d.ts +0 -0
  71. package/dist/src/main/menu/build-version.global-override-for-injectable.d.ts +9 -0
  72. package/dist/src/main/menu/build-version.injectable.d.ts +2 -0
  73. package/dist/src/main/menu/menu.d.ts +3 -1
  74. package/dist/src/main/start-main-application/lens-window/application-window/application-window-injection-token.d.ts +2 -0
  75. package/dist/src/main/start-main-application/lens-window/application-window/create-application-window.injectable.d.ts +2 -0
  76. package/dist/src/main/start-main-application/lens-window/application-window/create-electron-window.global-override-for-injectable.d.ts +5 -0
  77. package/dist/src/main/start-main-application/lens-window/application-window/create-first-application-window.injectable.d.ts +2 -0
  78. package/dist/src/main/start-main-application/lens-window/application-window/create-lens-window.injectable.d.ts +18 -1
  79. package/dist/src/main/start-main-application/lens-window/application-window/get-current-application-window.injectable.d.ts +2 -0
  80. package/dist/src/main/start-main-application/lens-window/application-window/send-to-channel-in-electron-browser-window.injectable.d.ts +2 -2
  81. package/dist/src/main/start-main-application/lens-window/get-visible-windows.injectable.d.ts +1 -1
  82. package/dist/src/main/start-main-application/lens-window/reload-current-application-window.injectable.d.ts +2 -0
  83. package/dist/src/main/start-main-application/lens-window/splash-window/splash-window.injectable.d.ts +1 -1
  84. package/dist/src/main/start-main-application/start-main-application.injectable.d.ts +1 -1
  85. package/dist/src/renderer/components/switch/switcher.d.ts +1 -1
  86. package/dist/src/renderer/components/test-utils/get-application-builder.d.ts +29 -27
  87. package/dist/src/renderer/components/test-utils/get-extension-fake.d.ts +3 -6
  88. package/dist/src/renderer/kube-watch-api/subscribe-stores.global-override-for-injectable.d.ts +5 -0
  89. package/dist/src/test-utils/channel-fakes/override-channels.d.ts +1 -1
  90. package/dist/src/test-utils/channel-fakes/override-messaging-from-main-to-window.d.ts +1 -1
  91. package/package.json +1 -1
  92. package/dist/src/main/start-main-application/lens-window/application-window/application-window.injectable.d.ts +0 -2
  93. package/dist/src/main/start-main-application/lens-window/application-window/lens-window-injection-token.d.ts +0 -16
  94. package/dist/src/main/start-main-application/lens-window/reload-all-windows.injectable.d.ts +0 -2
  95. package/dist/src/main/start-main-application/lens-window/reload-window.injectable.d.ts +0 -3
  96. package/dist/src/renderer/components/test-utils/get-renderer-extension-fake.d.ts +0 -12
@@ -0,0 +1,6 @@
1
+ import type { ClusterStore } from "./cluster-store";
2
+ declare const _default: {
3
+ injectable: import("@ogre-tools/injectable").Injectable<ClusterStore, unknown, void>;
4
+ overridingInstantiate: import("@ogre-tools/injectable").Instantiate<ClusterStore, void>;
5
+ };
6
+ export default _default;
@@ -686,6 +686,7 @@ export declare class Pod extends KubeObject<NamespaceScopedMetadata, PodStatus,
686
686
  getQosClass(): string;
687
687
  getReason(): string;
688
688
  getPriorityClassName(): string;
689
+ getServiceAccountName(): string;
689
690
  getStatus(): PodStatusPhase;
690
691
  getStatusMessage(): string;
691
692
  getStatusPhase(): string | undefined;
@@ -13,6 +13,7 @@ import type { RequestInit } from "node-fetch";
13
13
  import { Agent } from "https";
14
14
  import type { Patch } from "rfc6902";
15
15
  import type { PartialDeep } from "type-fest";
16
+ import type AbortController from "abort-controller";
16
17
  /**
17
18
  * The options used for creating a `KubeApi`
18
19
  */
@@ -11,6 +11,7 @@ import type { KubeApiQueryParams, KubeApi } from "./kube-api";
11
11
  import type { RequestInit } from "node-fetch";
12
12
  import type { Patch } from "rfc6902";
13
13
  import type { PartialDeep } from "type-fest";
14
+ import { AbortController } from "abort-controller";
14
15
  export declare type OnLoadFailure = (error: unknown) => void;
15
16
  export interface KubeObjectStoreLoadingParams {
16
17
  namespaces: string[];
@@ -2,6 +2,7 @@
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 { AbortController } from "abort-controller";
5
6
  /**
6
7
  * This is like an `AbortController` but will also abort if the parent aborts,
7
8
  * but won't make the parent abort if this aborts (single direction)
@@ -2,6 +2,7 @@
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";
5
6
  /**
6
7
  * Return a promise that will be resolved after at least `timeout` ms have
7
8
  * passed. If `failFast` is provided then the promise is also resolved if it has
@@ -2,6 +2,7 @@
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";
5
6
  /**
6
7
  * Creates a new promise that will be rejected when the signal rejects.
7
8
  *
@@ -132,6 +132,9 @@ declare const packageJsonInjectable: import("@ogre-tools/injectable").Injectable
132
132
  role: string;
133
133
  };
134
134
  };
135
+ resolutions: {
136
+ "@astronautlabs/jsonpath/underscore": string;
137
+ };
135
138
  dependencies: {
136
139
  "@astronautlabs/jsonpath": string;
137
140
  "@hapi/call": string;
@@ -147,6 +150,7 @@ declare const packageJsonInjectable: import("@ogre-tools/injectable").Injectable
147
150
  "@sentry/integrations": string;
148
151
  "@side/jest-runtime": string;
149
152
  "@types/circular-dependency-plugin": string;
153
+ "abort-controller": string;
150
154
  "auto-bind": string;
151
155
  "await-lock": string;
152
156
  byline: string;