@k8slens/extensions 6.0.2 → 6.1.0-git.9918c6a4d9.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-event-bus/app-event-bus.global-override-for-injectable.d.ts +5 -0
- package/dist/src/common/base-store.d.ts +1 -1
- package/dist/src/common/cluster/cluster.d.ts +2 -0
- package/dist/src/common/cluster-store/cluster-store.global-override-for-injectable.d.ts +6 -0
- package/dist/src/common/front-end-routing/routes/welcome/default-welcome-route.injectable.d.ts +6 -0
- package/dist/src/common/front-end-routing/routes/welcome/welcome-route-config.global-override-for-injectable.d.ts +5 -0
- package/dist/src/common/front-end-routing/routes/welcome/welcome-route-config.injectable.d.ts +2 -0
- package/dist/src/common/fs/exec-file.injectable.d.ts +3 -1
- package/dist/src/common/fs/stat/stat.global-override-for-injectable.d.ts +5 -0
- package/dist/src/common/fs/stat/stat.injectable.d.ts +2 -0
- package/dist/src/common/fs/validate-directory.injectable.d.ts +4 -0
- package/dist/src/common/fs/watch/watch.global-override-for-injectable.d.ts +5 -0
- package/dist/src/common/fs/watch/watch.injectable.d.ts +4 -0
- package/dist/src/common/get-configuration-file-model/get-configuration-file-model.injectable.d.ts +1 -1
- package/dist/src/common/ipc/broadcast-message.injectable.d.ts +2 -2
- package/dist/src/common/k8s-api/endpoints/daemon-set.api.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/index.d.ts +1 -0
- package/dist/src/common/k8s-api/endpoints/job.api.d.ts +4 -3
- package/dist/src/common/k8s-api/endpoints/metrics.api.d.ts +5 -2
- package/dist/src/common/k8s-api/endpoints/pod.api.d.ts +14 -129
- package/dist/src/common/k8s-api/endpoints/replica-set.api.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/stateful-set.api.d.ts +1 -1
- package/dist/src/common/k8s-api/endpoints/types/capabilities.d.ts +17 -0
- package/dist/src/common/k8s-api/endpoints/types/container-port.d.ts +11 -0
- package/dist/src/common/k8s-api/endpoints/types/container.d.ts +158 -0
- package/dist/src/common/k8s-api/endpoints/types/env-from-source.d.ts +13 -0
- package/dist/src/common/k8s-api/endpoints/types/env-source.d.ts +11 -0
- package/dist/src/common/k8s-api/endpoints/types/env-var-key-selector.d.ts +9 -0
- package/dist/src/common/k8s-api/endpoints/types/env-var-source.d.ts +13 -0
- package/dist/src/common/k8s-api/endpoints/types/env-var.d.ts +10 -0
- package/dist/src/common/k8s-api/endpoints/types/exec-action.d.ts +18 -0
- package/dist/src/common/k8s-api/endpoints/types/handler.d.ts +15 -0
- package/dist/src/common/k8s-api/endpoints/types/http-get-action.d.ts +32 -0
- package/dist/src/common/k8s-api/endpoints/types/http-header.d.ts +17 -0
- package/dist/src/common/k8s-api/endpoints/types/index.d.ts +35 -0
- package/dist/src/common/k8s-api/endpoints/types/lifecycle.d.ts +15 -0
- package/dist/src/common/k8s-api/endpoints/types/object-field-selector.d.ts +8 -0
- package/dist/src/common/k8s-api/endpoints/types/pod-security-context.d.ts +20 -0
- package/dist/src/common/k8s-api/endpoints/types/probe.d.ts +70 -0
- package/dist/src/common/k8s-api/endpoints/types/resource-field-selector.d.ts +9 -0
- package/dist/src/common/k8s-api/endpoints/types/se-linux-options.d.ts +25 -0
- package/dist/src/common/k8s-api/endpoints/types/seccomp-profile.d.ts +27 -0
- package/dist/src/common/k8s-api/endpoints/types/security-context.d.ts +45 -0
- package/dist/src/common/k8s-api/endpoints/types/tcp-socket-action.d.ts +17 -0
- package/dist/src/common/k8s-api/endpoints/types/volume-device.d.ts +17 -0
- package/dist/src/common/k8s-api/endpoints/types/volume-mount.d.ts +12 -0
- package/dist/src/common/k8s-api/endpoints/types/windows-security-context-options.d.ts +36 -0
- package/dist/src/common/protocol-handler/router.d.ts +2 -0
- package/dist/src/common/test-utils/get-global-override.d.ts +4 -0
- package/dist/src/{behaviours/add-cluster/navigation-using-application-menu.test.d.ts → common/utils/__tests__/union-env-path.test.d.ts} +0 -0
- package/dist/src/common/utils/abort-controller.d.ts +1 -1
- package/dist/src/common/utils/index.d.ts +0 -1
- package/dist/src/common/utils/open-link-in-browser.global-override-for-injectable.d.ts +9 -0
- package/dist/src/common/utils/open-link-in-browser.injectable.d.ts +3 -0
- package/dist/src/common/utils/singleton.d.ts +1 -1
- package/dist/src/common/utils/union-env-path.d.ts +12 -0
- package/dist/src/common/vars/package-json.injectable.d.ts +8 -0
- package/dist/src/extensions/as-legacy-globals-for-extension-api/as-legacy-global-object-for-extension-api-with-modifications.d.ts +1 -1
- package/dist/src/extensions/common-api/k8s-api.d.ts +1 -1
- package/dist/src/extensions/common-api/utils.d.ts +6 -1
- package/dist/src/extensions/extension-api.js +794 -606
- package/dist/src/extensions/extension-discovery/extension-discovery.d.ts +9 -2
- package/dist/src/extensions/extension-store.d.ts +1 -1
- package/dist/src/extensions/renderer-api/theming.d.ts +7 -1
- package/dist/src/{behaviours/extensions → 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/command-pallet/keyboard-shortcuts.test.d.ts → features/cluster/workload-overview.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/preferences/navigation-using-application-menu.test.d.ts → 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/welcome → 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/quitting-and-restarting-the-app/opening-application-window-using-tray.test.d.ts → features/pod-logs/download-logs.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/quitting-and-restarting-the-app/quitting-the-app-using-application-menu.test.d.ts → 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/features/quitting-and-restarting-the-app/opening-application-window-using-tray.test.d.ts +5 -0
- package/dist/src/features/quitting-and-restarting-the-app/quitting-the-app-using-application-menu.test.d.ts +5 -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/tray/clicking-tray-menu-item-originating-from-extension.test.d.ts → features/telemetry/emit-telemetry-from-specific-function-calls.test.d.ts} +0 -0
- package/dist/src/features/telemetry/renderer/emit-telemetry.injectable.d.ts +5 -0
- package/dist/src/features/telemetry/renderer/telemetry-decorator.injectable.d.ts +11 -0
- package/dist/src/features/telemetry/renderer/telemetry-white-list-for-functions.injectable.d.ts +2 -0
- package/dist/src/{behaviours/tray/extension-adding-tray-items.test.d.ts → features/tray/clicking-tray-menu-item-originating-from-extension.test.d.ts} +0 -0
- package/dist/src/{behaviours/tray/multiple-separators-originating-from-extension.test.d.ts → features/tray/extension-adding-tray-items.test.d.ts} +0 -0
- package/dist/src/features/tray/multiple-separators-originating-from-extension.test.d.ts +1 -0
- package/dist/src/features/welcome/navigation-using-application-menu.test.d.ts +5 -0
- package/dist/src/features/welcome/setting-welcome-page.test.d.ts +5 -0
- package/dist/src/main/__test__/cluster.test.d.ts +0 -4
- package/dist/src/main/helm/exec-helm/exec-helm.injectable.d.ts +2 -1
- package/dist/src/main/helm/helm-chart-manager-cache.injectable.d.ts +7 -0
- package/dist/src/main/helm/helm-chart-manager.d.ts +9 -3
- package/dist/src/main/helm/helm-chart-manager.injectable.d.ts +4 -0
- package/dist/src/main/helm/helm-release-manager.d.ts +1 -6
- package/dist/src/main/helm/helm-service/get-helm-release-resources/call-for-helm-manifest/call-for-helm-manifest.injectable.d.ts +4 -0
- package/dist/src/main/helm/helm-service/get-helm-release-resources/call-for-kube-resources-by-manifest/call-for-kube-resources-by-manifest.injectable.d.ts +5 -0
- package/dist/src/main/helm/helm-service/get-helm-release-resources/call-for-kube-resources-by-manifest/exec-file-with-input/exec-file-with-input.global-override-for-injectable.d.ts +5 -0
- package/dist/src/main/helm/helm-service/get-helm-release-resources/call-for-kube-resources-by-manifest/exec-file-with-input/exec-file-with-input.injectable.d.ts +8 -0
- package/dist/src/main/helm/helm-service/get-helm-release-resources/call-for-kube-resources-by-manifest/exec-file-with-input/exec-file-with-input.test.d.ts +1 -0
- package/dist/src/main/helm/helm-service/get-helm-release-resources/call-for-kube-resources-by-manifest/exec-file-with-input/non-promise-exec-file.injectable.d.ts +4 -0
- package/dist/src/main/helm/helm-service/get-helm-release-resources/get-helm-release-resources.injectable.d.ts +4 -0
- package/dist/src/main/helm/helm-service/get-helm-release-resources/get-helm-release-resources.test.d.ts +5 -0
- package/dist/src/main/helm/helm-service/get-helm-release.global-override-for-injectable.d.ts +5 -0
- package/dist/src/main/helm/helm-service/update-helm-release.global-override-for-injectable.d.ts +11 -0
- package/dist/src/main/kube-auth-proxy/kube-auth-proxy.d.ts +3 -1
- package/dist/src/main/kube-auth-proxy/wait-until-port-is-used/wait-until-port-is-used.global-override-for-injectable.d.ts +5 -0
- package/dist/src/main/kube-auth-proxy/wait-until-port-is-used/wait-until-port-is-used.injectable.d.ts +3 -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/prometheus/helm-14.d.ts +14 -0
- package/dist/src/main/prometheus/helm.d.ts +3 -3
- package/dist/src/main/protocol-handler/lens-protocol-router-main/lens-protocol-router-main.d.ts +2 -0
- package/dist/src/main/router/router.d.ts +1 -1
- package/dist/src/main/start-main-application/lens-window/application-window/application-window-injection-token.d.ts +2 -0
- package/dist/src/main/start-main-application/lens-window/application-window/create-application-window.injectable.d.ts +2 -0
- package/dist/src/main/start-main-application/lens-window/application-window/create-electron-window.global-override-for-injectable.d.ts +5 -0
- package/dist/src/main/start-main-application/lens-window/application-window/create-first-application-window.injectable.d.ts +2 -0
- package/dist/src/main/start-main-application/lens-window/application-window/create-lens-window.injectable.d.ts +18 -1
- package/dist/src/main/start-main-application/lens-window/application-window/get-current-application-window.injectable.d.ts +2 -0
- package/dist/src/main/start-main-application/lens-window/application-window/send-to-channel-in-electron-browser-window.injectable.d.ts +2 -2
- package/dist/src/main/start-main-application/lens-window/get-visible-windows.injectable.d.ts +1 -1
- package/dist/src/main/start-main-application/lens-window/reload-current-application-window.injectable.d.ts +2 -0
- package/dist/src/main/start-main-application/lens-window/splash-window/splash-window.injectable.d.ts +1 -1
- package/dist/src/main/start-main-application/start-main-application.injectable.d.ts +1 -1
- package/dist/src/main/utils/channel/ipc-main/ipc-main.global-override-for-injectable.d.ts +5 -0
- package/dist/src/main/utils/shell-env.d.ts +1 -1
- package/dist/src/renderer/api/catalog/entity/registry.d.ts +2 -0
- package/dist/src/renderer/components/+helm-releases/release-details/release-details-drawer-toolbar.d.ts +12 -0
- package/dist/src/renderer/components/+helm-releases/release-details/release-details-drawer.d.ts +12 -0
- package/dist/src/renderer/components/+helm-releases/release-details/release-details-model/call-for-helm-release/call-for-helm-release.injectable.d.ts +2 -1
- package/dist/src/renderer/components/+helm-releases/release-details/release-details-model/release-details-model.injectable.d.ts +15 -16
- package/dist/src/renderer/components/+welcome/{welcome-route-component.injectable.d.ts → default-welcome-route-component.injectable.d.ts} +2 -2
- package/dist/src/renderer/components/+workloads-overview/overview-workload-status.d.ts +19 -1
- package/dist/src/renderer/components/+workloads-overview/workloads/workload-injection-token.d.ts +2 -1
- package/dist/src/renderer/components/+workloads-pods/__tests__/pod-container-env.test.d.ts +5 -0
- package/dist/src/renderer/components/+workloads-pods/details/volumes/variant-helpers.d.ts +1 -1
- package/dist/src/renderer/components/+workloads-pods/pod-container-env.d.ts +4 -10
- package/dist/src/renderer/components/+workloads-pods/pod-details-container.d.ts +2 -2
- package/dist/src/renderer/components/chart/chart.d.ts +1 -0
- package/dist/src/renderer/components/cluster-settings/components/cluster-local-terminal-settings.d.ts +2 -1
- package/dist/src/renderer/components/dock/logs/controls.d.ts +1 -3
- package/dist/src/renderer/components/dock/logs/create-pod-logs-tab.injectable.d.ts +2 -2
- package/dist/src/renderer/components/dock/logs/download-all-logs.injectable.d.ts +4 -0
- package/dist/src/renderer/components/dock/logs/download-logs-dropdown.d.ts +10 -0
- package/dist/src/renderer/components/dock/logs/download-logs.injectable.d.ts +2 -0
- package/dist/src/renderer/components/dock/logs/get-random-id-for-pod-logs-tab.injectable.d.ts +2 -0
- package/dist/src/renderer/components/dock/logs/logs-view-model.d.ts +6 -1
- package/dist/src/renderer/components/dock/terminal/terminal.d.ts +3 -1
- package/dist/src/renderer/components/dropdown/dropdown.d.ts +11 -0
- package/dist/src/renderer/components/status-bar/status-bar-registration.d.ts +5 -0
- package/dist/src/renderer/components/switch/form-switcher.d.ts +9 -2
- package/dist/src/renderer/components/switch/switcher.d.ts +7 -8
- package/dist/src/renderer/components/test-utils/get-application-builder.d.ts +30 -27
- package/dist/src/renderer/components/test-utils/get-extension-fake.d.ts +3 -6
- package/dist/src/renderer/components/tooltip/__mocks__/withTooltip.d.ts +1 -0
- package/dist/src/renderer/kube-watch-api/subscribe-stores.global-override-for-injectable.d.ts +5 -0
- package/dist/src/renderer/navigation/index.d.ts +0 -4
- package/dist/src/renderer/navigation/match-route.injectable.d.ts +3 -1
- package/dist/src/renderer/port-forward/open-port-forward.injectable.d.ts +4 -0
- package/dist/src/renderer/port-forward/port-forward-utils.d.ts +0 -1
- package/dist/src/renderer/protocol-handler/lens-protocol-router-renderer/lens-protocol-router-renderer.d.ts +2 -5
- package/dist/src/renderer/themes/active-type.injectable.d.ts +5 -0
- package/dist/src/renderer/themes/active.injectable.d.ts +2 -0
- package/dist/src/renderer/themes/lens-dark.d.ts +2 -2
- package/dist/src/renderer/themes/lens-light.d.ts +2 -2
- package/dist/src/renderer/themes/store.d.ts +6 -5
- package/dist/src/renderer/utils/channel/ipc-renderer.global-override-for-injectable.d.ts +5 -0
- package/dist/src/renderer/utils/storageHelper.d.ts +1 -1
- package/dist/src/test-utils/channel-fakes/override-channels.d.ts +1 -1
- package/dist/src/test-utils/channel-fakes/override-messaging-from-main-to-window.d.ts +1 -1
- package/package.json +1 -1
- package/dist/src/common/utils/openBrowser.d.ts +0 -17
- package/dist/src/extensions/extension-discovery/is-compatible-bundled-extension/is-compatible-bundled-extension.d.ts +0 -11
- package/dist/src/extensions/extension-discovery/is-compatible-bundled-extension/is-compatible-bundled-extension.injectable.d.ts +0 -2
- package/dist/src/main/helm/__mocks__/helm-chart-manager.d.ts +0 -11
- package/dist/src/main/routes/metrics/metrics-query.d.ts +0 -7
- package/dist/src/main/start-main-application/lens-window/application-window/application-window.injectable.d.ts +0 -2
- package/dist/src/main/start-main-application/lens-window/application-window/lens-window-injection-token.d.ts +0 -16
- package/dist/src/main/start-main-application/lens-window/reload-all-windows.injectable.d.ts +0 -2
- package/dist/src/main/start-main-application/lens-window/reload-window.injectable.d.ts +0 -3
- package/dist/src/renderer/components/test-utils/get-renderer-extension-fake.d.ts +0 -12
@@ -9,16 +9,23 @@ import type { ExtensionLoader } from "../extension-loader";
|
|
9
9
|
import type { LensExtensionId, LensExtensionManifest } from "../lens-extension";
|
10
10
|
import type { ExtensionInstallationStateStore } from "../extension-installation-state-store/extension-installation-state-store";
|
11
11
|
import type { PackageJson } from "type-fest";
|
12
|
+
import type { ReadJson } from "../../common/fs/read-json-file.injectable";
|
13
|
+
import type { Logger } from "../../common/logger";
|
14
|
+
import type { PathExists } from "../../common/fs/path-exists.injectable";
|
15
|
+
import type { Watch } from "../../common/fs/watch/watch.injectable";
|
12
16
|
interface Dependencies {
|
13
17
|
extensionLoader: ExtensionLoader;
|
14
18
|
extensionsStore: ExtensionsStore;
|
15
19
|
extensionInstallationStateStore: ExtensionInstallationStateStore;
|
16
|
-
isCompatibleBundledExtension: (manifest: LensExtensionManifest) => boolean;
|
17
20
|
isCompatibleExtension: (manifest: LensExtensionManifest) => boolean;
|
18
21
|
installExtension: (name: string) => Promise<void>;
|
19
22
|
installExtensions: (packageJsonPath: string, packagesJson: PackageJson) => Promise<void>;
|
20
23
|
extensionPackageRootDirectory: string;
|
21
24
|
staticFilesDirectory: string;
|
25
|
+
readJsonFile: ReadJson;
|
26
|
+
pathExists: PathExists;
|
27
|
+
watch: Watch;
|
28
|
+
logger: Logger;
|
22
29
|
}
|
23
30
|
export interface InstalledExtension {
|
24
31
|
id: LensExtensionId;
|
@@ -47,7 +54,7 @@ interface LoadFromFolderOptions {
|
|
47
54
|
* - "remove": When extension is removed. The event is of type LensExtensionId
|
48
55
|
*/
|
49
56
|
export declare class ExtensionDiscovery {
|
50
|
-
protected dependencies: Dependencies;
|
57
|
+
protected readonly dependencies: Dependencies;
|
51
58
|
protected bundledFolderPath: string;
|
52
59
|
private loadStarted;
|
53
60
|
private extensions;
|
@@ -4,7 +4,7 @@
|
|
4
4
|
*/
|
5
5
|
import { BaseStore } from "../common/base-store";
|
6
6
|
import type { LensExtension } from "./lens-extension";
|
7
|
-
export declare abstract class ExtensionStore<T> extends BaseStore<T> {
|
7
|
+
export declare abstract class ExtensionStore<T extends object> extends BaseStore<T> {
|
8
8
|
readonly displayName = "ExtensionStore<T>";
|
9
9
|
protected extension?: LensExtension;
|
10
10
|
loadExtension(extension: LensExtension): void;
|
@@ -2,4 +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
|
+
import type { LensTheme } from "../../renderer/themes/store";
|
6
|
+
export declare const activeTheme: import("mobx").IComputedValue<LensTheme>;
|
7
|
+
/**
|
8
|
+
* @deprecated This hides the reactivity of active theme, use {@link activeTheme} instead
|
9
|
+
*/
|
10
|
+
export declare function getActiveTheme(): LensTheme;
|
11
|
+
export type { LensTheme };
|
File without changes
|
File without changes
|
package/dist/src/{behaviours → features}/application-update/downgrading-version-update.test.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
package/dist/src/{behaviours → features}/application-update/installing-update-using-tray.test.d.ts
RENAMED
File without changes
|
File without changes
|
package/dist/src/{behaviours → features}/application-update/periodical-checking-of-updates.test.d.ts
RENAMED
File without changes
|
package/dist/src/{behaviours → features}/application-update/selection-of-update-stability.test.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
package/dist/src/{behaviours → features}/cluster/namespaces/edit-namespace-from-new-tab.test.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
package/dist/src/{behaviours → features}/cluster/sidebar-and-tab-navigation-for-core.test.d.ts
RENAMED
File without changes
|
package/dist/src/{behaviours → features}/cluster/sidebar-and-tab-navigation-for-extensions.test.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
package/dist/src/{behaviours → features}/helm-releases/showing-details-for-helm-release.test.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
package/dist/src/{behaviours → features}/preferences/extension-adding-preference-tabs.test.d.ts
RENAMED
File without changes
|
package/dist/src/{behaviours → features}/preferences/navigation-to-application-preferences.test.d.ts
RENAMED
File without changes
|
package/dist/src/{behaviours → features}/preferences/navigation-to-editor-preferences.test.d.ts
RENAMED
File without changes
|
File without changes
|
package/dist/src/{behaviours → features}/preferences/navigation-to-kubernetes-preferences.test.d.ts
RENAMED
File without changes
|
package/dist/src/{behaviours → features}/preferences/navigation-to-proxy-preferences.test.d.ts
RENAMED
File without changes
|
package/dist/src/{behaviours → features}/preferences/navigation-to-telemetry-preferences.test.d.ts
RENAMED
File without changes
|
package/dist/src/{behaviours → features}/preferences/navigation-to-terminal-preferences.test.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
package/dist/src/{behaviours → features}/resolve-system-proxy/resolve-system-proxy.test.d.ts
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -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 type { DiContainerForInjection, Injectable } from "@ogre-tools/injectable";
|
6
|
+
declare const telemetryDecoratorInjectable: Injectable<{
|
7
|
+
decorate: (instantiateToBeDecorated: any) => (di: DiContainerForInjection, instantiationParameter: any) => any;
|
8
|
+
}, {
|
9
|
+
decorate: (toBeDecorated: any) => any;
|
10
|
+
}, unknown>;
|
11
|
+
export default telemetryDecoratorInjectable;
|
File without changes
|
File without changes
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -1,3 +1,4 @@
|
|
1
1
|
import type { AsyncResult } from "../../../common/utils/async-result";
|
2
|
-
declare
|
2
|
+
export declare type ExecHelm = (args: string[]) => Promise<AsyncResult<string>>;
|
3
|
+
declare const execHelmInjectable: import("@ogre-tools/injectable").Injectable<ExecHelm, unknown, void>;
|
3
4
|
export default execHelmInjectable;
|
@@ -0,0 +1,7 @@
|
|
1
|
+
export interface ChartCacheEntry {
|
2
|
+
data: string;
|
3
|
+
mtimeMs: number;
|
4
|
+
}
|
5
|
+
export declare type HelmChartManagerCache = Map<string, ChartCacheEntry>;
|
6
|
+
declare const helmChartManagerCacheInjectable: import("@ogre-tools/injectable").Injectable<HelmChartManagerCache, unknown, void>;
|
7
|
+
export default helmChartManagerCacheInjectable;
|
@@ -5,15 +5,20 @@
|
|
5
5
|
import type { RepoHelmChartList } from "../../common/k8s-api/endpoints/helm-charts.api";
|
6
6
|
import type { SetRequired } from "type-fest";
|
7
7
|
import type { HelmRepo } from "../../common/helm/helm-repo";
|
8
|
+
import type { HelmChartManagerCache } from "./helm-chart-manager-cache.injectable";
|
9
|
+
import type { Logger } from "../../common/logger";
|
8
10
|
export interface HelmCacheFile {
|
9
11
|
apiVersion: string;
|
10
12
|
entries: RepoHelmChartList;
|
11
13
|
}
|
14
|
+
interface Dependencies {
|
15
|
+
cache: HelmChartManagerCache;
|
16
|
+
logger: Logger;
|
17
|
+
}
|
12
18
|
export declare class HelmChartManager {
|
13
|
-
|
19
|
+
private dependencies;
|
14
20
|
protected readonly repo: SetRequired<HelmRepo, "cacheFilePath">;
|
15
|
-
|
16
|
-
static forRepo(repo: HelmRepo): HelmChartManager;
|
21
|
+
constructor(repo: HelmRepo, dependencies: Dependencies);
|
17
22
|
chartVersions(name: string): Promise<import("../../common/k8s-api/endpoints/helm-charts.api").RawHelmChart[]>;
|
18
23
|
charts(): Promise<RepoHelmChartList>;
|
19
24
|
private executeCommand;
|
@@ -25,3 +30,4 @@ export declare class HelmChartManager {
|
|
25
30
|
}>;
|
26
31
|
protected cachedYaml(): Promise<RepoHelmChartList>;
|
27
32
|
}
|
33
|
+
export {};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import type { HelmRepo } from "../../common/helm/helm-repo";
|
2
|
+
import { HelmChartManager } from "./helm-chart-manager";
|
3
|
+
declare const helmChartManagerInjectable: import("@ogre-tools/injectable").Injectable<HelmChartManager, unknown, HelmRepo>;
|
4
|
+
export default helmChartManagerInjectable;
|
@@ -2,7 +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 {
|
5
|
+
import type { JsonValue } from "type-fest";
|
6
6
|
export declare function listReleases(pathToKubeconfig: string, namespace?: string): Promise<Record<string, any>[]>;
|
7
7
|
export declare function installChart(chart: string, values: JsonValue, name: string | undefined, namespace: string, version: string, kubeconfigPath: string): Promise<{
|
8
8
|
log: string;
|
@@ -11,11 +11,6 @@ export declare function installChart(chart: string, values: JsonValue, name: str
|
|
11
11
|
namespace: string;
|
12
12
|
};
|
13
13
|
}>;
|
14
|
-
export declare function upgradeRelease(name: string, chart: string, values: any, namespace: string, version: string, kubeconfigPath: string, kubectlPath: string): Promise<{
|
15
|
-
log: string;
|
16
|
-
release: JsonObject | undefined;
|
17
|
-
}>;
|
18
|
-
export declare function getRelease(name: string, namespace: string, kubeconfigPath: string, kubectlPath: string): Promise<JsonObject | undefined>;
|
19
14
|
export declare function deleteRelease(name: string, namespace: string, kubeconfigPath: string): Promise<string>;
|
20
15
|
interface GetValuesOptions {
|
21
16
|
namespace: string;
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import type { AsyncResult } from "../../../../../common/utils/async-result";
|
2
|
+
import type { KubeJsonApiData } from "../../../../../common/k8s-api/kube-json-api";
|
3
|
+
declare const callForHelmManifestInjectable: import("@ogre-tools/injectable").Injectable<(name: string, namespace: string, kubeconfigPath: string) => Promise<AsyncResult<KubeJsonApiData[]>>, unknown, void>;
|
4
|
+
export default callForHelmManifestInjectable;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
import type { JsonObject } from "type-fest";
|
2
|
+
import type { KubeJsonApiData } from "../../../../../common/k8s-api/kube-json-api";
|
3
|
+
export declare type CallForKubeResourcesByManifest = (namespace: string, kubeconfigPath: string, kubectlPath: string, resourceManifests: KubeJsonApiData[]) => Promise<JsonObject[]>;
|
4
|
+
declare const callForKubeResourcesByManifestInjectable: import("@ogre-tools/injectable").Injectable<CallForKubeResourcesByManifest, unknown, void>;
|
5
|
+
export default callForKubeResourcesByManifestInjectable;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
injectable: import("@ogre-tools/injectable").Injectable<import("./exec-file-with-input.injectable").ExecFileWithInput, unknown, void>;
|
3
|
+
overridingInstantiate: import("@ogre-tools/injectable").Instantiate<import("./exec-file-with-input.injectable").ExecFileWithInput, void>;
|
4
|
+
};
|
5
|
+
export default _default;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import type { AsyncResult } from "../../../../../../common/utils/async-result";
|
2
|
+
export declare type ExecFileWithInput = (options: {
|
3
|
+
filePath: string;
|
4
|
+
commandArguments: string[];
|
5
|
+
input: string;
|
6
|
+
}) => Promise<AsyncResult<string, unknown>>;
|
7
|
+
declare const execFileWithInputInjectable: import("@ogre-tools/injectable").Injectable<ExecFileWithInput, unknown, void>;
|
8
|
+
export default execFileWithInputInjectable;
|
@@ -0,0 +1 @@
|
|
1
|
+
export {};
|
@@ -0,0 +1,4 @@
|
|
1
|
+
import type { JsonObject } from "type-fest";
|
2
|
+
export declare type GetHelmReleaseResources = (name: string, namespace: string, kubeconfigPath: string, kubectlPath: string) => Promise<JsonObject[]>;
|
3
|
+
declare const getHelmReleaseResourcesInjectable: import("@ogre-tools/injectable").Injectable<GetHelmReleaseResources, unknown, void>;
|
4
|
+
export default getHelmReleaseResourcesInjectable;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
injectable: import("@ogre-tools/injectable").Injectable<(cluster: import("../../../common/cluster/cluster").Cluster, releaseName: string, namespace: string) => Promise<import("type-fest").JsonObject | undefined>, unknown, void>;
|
3
|
+
overridingInstantiate: import("@ogre-tools/injectable").Instantiate<(cluster: import("../../../common/cluster/cluster").Cluster, releaseName: string, namespace: string) => Promise<import("type-fest").JsonObject | undefined>, void>;
|
4
|
+
};
|
5
|
+
export default _default;
|
package/dist/src/main/helm/helm-service/update-helm-release.global-override-for-injectable.d.ts
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
injectable: import("@ogre-tools/injectable").Injectable<(cluster: import("../../../common/cluster/cluster").Cluster, releaseName: string, namespace: string, data: import("./update-helm-release.injectable").UpdateChartArgs) => Promise<{
|
3
|
+
log: string;
|
4
|
+
release: import("type-fest").JsonObject | undefined;
|
5
|
+
}>, unknown, void>;
|
6
|
+
overridingInstantiate: import("@ogre-tools/injectable").Instantiate<(cluster: import("../../../common/cluster/cluster").Cluster, releaseName: string, namespace: string, data: import("./update-helm-release.injectable").UpdateChartArgs) => Promise<{
|
7
|
+
log: string;
|
8
|
+
release: import("type-fest").JsonObject | undefined;
|
9
|
+
}>, void>;
|
10
|
+
};
|
11
|
+
export default _default;
|
@@ -9,11 +9,13 @@ import type { Cluster } from "../../common/cluster/cluster";
|
|
9
9
|
import type { SelfSignedCert } from "selfsigned";
|
10
10
|
import type { Spawn } from "../child-process/spawn.injectable";
|
11
11
|
import type { Logger } from "../../common/logger";
|
12
|
+
import type { WaitUntilPortIsUsed } from "./wait-until-port-is-used/wait-until-port-is-used.injectable";
|
12
13
|
export interface KubeAuthProxyDependencies {
|
13
14
|
readonly proxyBinPath: string;
|
14
15
|
readonly proxyCert: SelfSignedCert;
|
15
|
-
spawn: Spawn;
|
16
|
+
readonly spawn: Spawn;
|
16
17
|
readonly logger: Logger;
|
18
|
+
readonly waitUntilPortIsUsed: WaitUntilPortIsUsed;
|
17
19
|
}
|
18
20
|
export declare class KubeAuthProxy {
|
19
21
|
private readonly dependencies;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
injectable: import("@ogre-tools/injectable").Injectable<import("./wait-until-port-is-used.injectable").WaitUntilPortIsUsed, unknown, void>;
|
3
|
+
overridingInstantiate: import("@ogre-tools/injectable").Instantiate<import("./wait-until-port-is-used.injectable").WaitUntilPortIsUsed, void>;
|
4
|
+
};
|
5
|
+
export default _default;
|
@@ -0,0 +1,3 @@
|
|
1
|
+
export declare type WaitUntilPortIsUsed = (port: number, retryAfterMs: number, timeoutAfterMs: number) => Promise<void>;
|
2
|
+
declare const waitUntilPortIsUsedInjectable: import("@ogre-tools/injectable").Injectable<WaitUntilPortIsUsed, unknown, void>;
|
3
|
+
export default waitUntilPortIsUsedInjectable;
|
@@ -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<string, unknown, void>;
|
7
|
+
overridingInstantiate: import("@ogre-tools/injectable").Instantiate<string, void>;
|
8
|
+
};
|
9
|
+
export default _default;
|
@@ -2,8 +2,10 @@ import type { MenuItemOpts } from "./application-menu-items.injectable";
|
|
2
2
|
import type { ShowMessagePopup } from "../electron-app/features/show-message-popup.injectable";
|
3
3
|
export declare type MenuTopId = "mac" | "file" | "edit" | "view" | "help";
|
4
4
|
interface Dependencies {
|
5
|
+
appVersion: string;
|
6
|
+
extensionApiVersion: string;
|
5
7
|
showMessagePopup: ShowMessagePopup;
|
6
8
|
}
|
7
|
-
export declare const showAbout: ({ showMessagePopup }: Dependencies) => () => Promise<void>;
|
9
|
+
export declare const showAbout: ({ showMessagePopup, extensionApiVersion, appVersion }: Dependencies) => () => Promise<void>;
|
8
10
|
export declare function buildMenu(applicationMenuItems: MenuItemOpts[]): void;
|
9
11
|
export {};
|
@@ -0,0 +1,14 @@
|
|
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 { PrometheusLens } from "./lens";
|
6
|
+
import type { CoreV1Api } from "@kubernetes/client-node";
|
7
|
+
import type { PrometheusService } from "./provider-registry";
|
8
|
+
export declare class PrometheusHelm14 extends PrometheusLens {
|
9
|
+
readonly id: string;
|
10
|
+
readonly name: string;
|
11
|
+
readonly rateAccuracy: string;
|
12
|
+
readonly isConfigurable: boolean;
|
13
|
+
getPrometheusService(client: CoreV1Api): Promise<PrometheusService>;
|
14
|
+
}
|
@@ -2,13 +2,13 @@
|
|
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 { PrometheusLens } from "./lens";
|
6
5
|
import type { CoreV1Api } from "@kubernetes/client-node";
|
7
|
-
import type
|
8
|
-
export declare class PrometheusHelm extends
|
6
|
+
import { PrometheusProvider, type PrometheusService } from "./provider-registry";
|
7
|
+
export declare class PrometheusHelm extends PrometheusProvider {
|
9
8
|
readonly id: string;
|
10
9
|
readonly name: string;
|
11
10
|
readonly rateAccuracy: string;
|
12
11
|
readonly isConfigurable: boolean;
|
13
12
|
getPrometheusService(client: CoreV1Api): Promise<PrometheusService>;
|
13
|
+
getQuery(opts: Record<string, string>, queryName: string): string;
|
14
14
|
}
|
package/dist/src/main/protocol-handler/lens-protocol-router-main/lens-protocol-router-main.d.ts
CHANGED
@@ -6,11 +6,13 @@ import * as proto from "../../../common/protocol-handler";
|
|
6
6
|
import URLParse from "url-parse";
|
7
7
|
import type { LensExtension } from "../../../extensions/lens-extension";
|
8
8
|
import type { LensProtocolRouterDependencies, RouteAttempt } from "../../../common/protocol-handler";
|
9
|
+
import type { BroadcastMessage } from "../../../common/ipc/broadcast-message.injectable";
|
9
10
|
export interface FallbackHandler {
|
10
11
|
(name: string): Promise<boolean>;
|
11
12
|
}
|
12
13
|
export interface LensProtocolRouterMainDependencies extends LensProtocolRouterDependencies {
|
13
14
|
showApplicationWindow: () => Promise<void>;
|
15
|
+
broadcastMessage: BroadcastMessage;
|
14
16
|
}
|
15
17
|
export declare class LensProtocolRouterMain extends proto.LensProtocolRouter {
|
16
18
|
protected readonly dependencies: LensProtocolRouterMainDependencies;
|
@@ -21,7 +21,7 @@ interface Dependencies {
|
|
21
21
|
}
|
22
22
|
export declare class Router {
|
23
23
|
private dependencies;
|
24
|
-
protected router: Call.Router<(request: LensApiRequest<string>, response: http.ServerResponse) => Promise<void>>;
|
24
|
+
protected router: Call.Router<(request: LensApiRequest<string>, response: http.ServerResponse<http.IncomingMessage>) => Promise<void>>;
|
25
25
|
constructor(routes: Route<unknown, string>[], dependencies: Dependencies);
|
26
26
|
route(cluster: Cluster | undefined, req: ServerIncomingMessage, res: http.ServerResponse): Promise<boolean>;
|
27
27
|
protected getRequest(opts: RouterRequestOpts): Promise<LensApiRequest<string>>;
|
@@ -0,0 +1,5 @@
|
|
1
|
+
declare const _default: {
|
2
|
+
injectable: import("@ogre-tools/injectable").Injectable<import("./create-electron-window.injectable").CreateElectronWindow, unknown, void>;
|
3
|
+
overridingInstantiate: import("@ogre-tools/injectable").Instantiate<import("./create-electron-window.injectable").CreateElectronWindow, void>;
|
4
|
+
};
|
5
|
+
export default _default;
|
@@ -1,11 +1,27 @@
|
|
1
|
-
import type { LensWindow, SendToViewArgs } from "./lens-window-injection-token";
|
2
1
|
import type { ContentSource, ElectronWindowTitleBarStyle } from "./create-electron-window.injectable";
|
2
|
+
import type { ClusterFrameInfo } from "../../../../common/cluster-frames";
|
3
3
|
export interface ElectronWindow {
|
4
4
|
show: () => void;
|
5
5
|
close: () => void;
|
6
6
|
send: (args: SendToViewArgs) => void;
|
7
7
|
loadFile: (filePath: string) => Promise<void>;
|
8
8
|
loadUrl: (url: string) => Promise<void>;
|
9
|
+
reload: () => void;
|
10
|
+
}
|
11
|
+
export interface SendToViewArgs {
|
12
|
+
channel: string;
|
13
|
+
frameInfo?: ClusterFrameInfo;
|
14
|
+
data?: unknown[];
|
15
|
+
}
|
16
|
+
export interface LensWindow {
|
17
|
+
id: string;
|
18
|
+
start: () => Promise<void>;
|
19
|
+
close: () => void;
|
20
|
+
show: () => void;
|
21
|
+
send: (args: SendToViewArgs) => void;
|
22
|
+
isVisible: boolean;
|
23
|
+
isStarting: boolean;
|
24
|
+
reload: () => void;
|
9
25
|
}
|
10
26
|
export interface LensWindowConfiguration {
|
11
27
|
id: string;
|
@@ -21,6 +37,7 @@ export interface LensWindowConfiguration {
|
|
21
37
|
onFocus?: () => void;
|
22
38
|
onBlur?: () => void;
|
23
39
|
onDomReady?: () => void;
|
40
|
+
onClose?: () => void;
|
24
41
|
}
|
25
42
|
declare const createLensWindowInjectable: import("@ogre-tools/injectable").Injectable<(configuration: LensWindowConfiguration) => LensWindow, unknown, void>;
|
26
43
|
export default createLensWindowInjectable;
|