@k8slens/extensions 5.3.1-git.e5c1eba9cb.0 → 5.3.1-git.eb93a2eee7.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 (486) hide show
  1. package/__mocks__/electron-updater.ts +23 -0
  2. package/__mocks__/node-pty.ts +23 -0
  3. package/dist/src/common/app-event-bus/app-event-bus.injectable.d.ts +3 -0
  4. package/dist/src/common/{event-bus.d.ts → app-event-bus/event-bus.d.ts} +1 -1
  5. package/dist/src/common/app-paths/app-path-injection-token.d.ts +5 -0
  6. package/dist/src/common/app-paths/app-path-names.d.ts +23 -0
  7. package/dist/src/common/app-paths/app-paths.test.d.ts +1 -0
  8. package/dist/src/common/app-paths/directory-for-binaries/directory-for-binaries.injectable.d.ts +3 -0
  9. package/dist/src/common/app-paths/directory-for-downloads/directory-for-downloads.injectable.d.ts +3 -0
  10. package/dist/src/common/app-paths/directory-for-exes/directory-for-exes.injectable.d.ts +3 -0
  11. package/dist/src/common/app-paths/directory-for-kube-configs/directory-for-kube-configs.injectable.d.ts +3 -0
  12. package/dist/src/common/app-paths/directory-for-temp/directory-for-temp.injectable.d.ts +3 -0
  13. package/dist/src/common/app-paths/directory-for-user-data/directory-for-user-data.injectable.d.ts +3 -0
  14. package/dist/src/common/app-paths/get-custom-kube-config-directory/get-custom-kube-config-directory.injectable.d.ts +3 -0
  15. package/dist/src/common/catalog/catalog-entity.d.ts +51 -0
  16. package/dist/src/common/catalog-entities/kubernetes-cluster.d.ts +1 -2
  17. package/dist/src/common/catalog-entities/web-link.d.ts +0 -2
  18. package/dist/src/{main → common/cluster}/cluster.d.ts +18 -14
  19. package/dist/src/common/cluster/create-cluster-injection-token.d.ts +4 -0
  20. package/dist/src/common/{cluster-store.d.ts → cluster-store/cluster-store.d.ts} +10 -5
  21. package/dist/src/common/cluster-store/cluster-store.injectable.d.ts +4 -0
  22. package/dist/src/common/cluster-store/hosted-cluster/hosted-cluster.injectable.d.ts +3 -0
  23. package/dist/src/common/cluster-types.d.ts +5 -1
  24. package/dist/src/common/directory-for-lens-local-storage/directory-for-lens-local-storage.injectable.d.ts +3 -0
  25. package/dist/src/common/event-emitter.d.ts +1 -1
  26. package/dist/src/common/fs/fs.injectable.d.ts +4 -0
  27. package/dist/src/common/fs/read-json-file/read-json-file.d.ts +28 -0
  28. package/dist/src/common/fs/read-json-file/read-json-file.injectable.d.ts +3 -0
  29. package/dist/src/common/fs/write-json-file/write-json-file.d.ts +13 -0
  30. package/dist/src/common/fs/write-json-file/write-json-file.injectable.d.ts +3 -0
  31. package/dist/src/common/hotbar-store.d.ts +16 -11
  32. package/dist/src/common/hotbar-store.injectable.d.ts +4 -0
  33. package/dist/src/common/hotbar-types.d.ts +5 -2
  34. package/dist/src/{renderer/protocol-handler/router.d.ts → common/ipc/catalog.d.ts} +7 -4
  35. package/dist/src/common/ipc/extension-loader.ipc.d.ts +21 -0
  36. package/dist/src/common/ipc/index.d.ts +2 -0
  37. package/dist/src/common/ipc/update-available.ipc.d.ts +2 -0
  38. package/dist/src/common/ipc-channel/create-channel/create-channel.d.ts +22 -0
  39. package/dist/src/common/k8s-api/cluster-context.d.ts +2 -1
  40. package/dist/src/common/k8s-api/endpoints/crd.api.d.ts +29 -28
  41. package/dist/src/common/k8s-api/endpoints/daemon-set.api.d.ts +2 -5
  42. package/dist/src/common/k8s-api/endpoints/deployment.api.d.ts +2 -5
  43. package/dist/src/common/k8s-api/endpoints/job.api.d.ts +2 -5
  44. package/dist/src/common/k8s-api/endpoints/metrics.api.d.ts +2 -0
  45. package/dist/src/common/k8s-api/endpoints/network-policy.api.d.ts +72 -32
  46. package/dist/src/common/k8s-api/endpoints/nodes.api.d.ts +6 -6
  47. package/dist/src/common/k8s-api/endpoints/persistent-volume-claims.api.d.ts +3 -16
  48. package/dist/src/common/k8s-api/endpoints/poddisruptionbudget.api.d.ts +2 -6
  49. package/dist/src/common/k8s-api/endpoints/pods.api.d.ts +4 -2
  50. package/dist/src/common/k8s-api/endpoints/replica-set.api.d.ts +2 -5
  51. package/dist/src/common/k8s-api/endpoints/stateful-set.api.d.ts +2 -5
  52. package/dist/src/common/k8s-api/kube-api-parse.d.ts +2 -2
  53. package/dist/src/common/k8s-api/kube-api.d.ts +59 -31
  54. package/dist/src/common/k8s-api/kube-json-api.d.ts +1 -2
  55. package/dist/src/common/k8s-api/kube-object.d.ts +25 -2
  56. package/dist/src/common/k8s-api/kube-object.store.d.ts +14 -10
  57. package/dist/src/common/protocol-handler/error.d.ts +3 -3
  58. package/dist/src/common/protocol-handler/router.d.ts +15 -7
  59. package/dist/src/common/user-store/preferences-helpers.d.ts +14 -0
  60. package/dist/src/common/user-store/user-store.d.ts +2 -6
  61. package/dist/src/common/user-store/user-store.injectable.d.ts +4 -0
  62. package/dist/src/common/utils/index.d.ts +1 -1
  63. package/dist/src/common/utils/promise-exec.d.ts +1 -2
  64. package/dist/src/common/utils/readableStream.d.ts +2 -2
  65. package/dist/src/common/vars.d.ts +1 -0
  66. package/dist/src/extensions/as-legacy-globals-for-extension-api/as-legacy-global-function-for-extension-api.d.ts +25 -0
  67. package/dist/src/extensions/as-legacy-globals-for-extension-api/as-legacy-global-object-for-extension-api.d.ts +24 -0
  68. package/dist/src/extensions/as-legacy-globals-for-extension-api/as-legacy-global-singleton-for-extension-api.d.ts +28 -0
  69. package/dist/src/extensions/as-legacy-globals-for-extension-api/legacy-global-di-for-extension-api.d.ts +23 -0
  70. package/dist/src/extensions/common-api/app.d.ts +1 -1
  71. package/dist/src/extensions/common-api/event-bus.d.ts +2 -2
  72. package/dist/src/extensions/common-api/get-enabled-extensions/get-enabled-extensions.injectable.d.ts +3 -0
  73. package/dist/src/extensions/extension-api.js +2489 -4095
  74. package/dist/src/extensions/extension-compatibility.d.ts +3 -1
  75. package/dist/src/extensions/{extension-discovery.d.ts → extension-discovery/extension-discovery.d.ts} +18 -5
  76. package/dist/src/extensions/extension-discovery/extension-discovery.injectable.d.ts +4 -0
  77. package/dist/src/extensions/{__tests__ → extension-discovery}/extension-discovery.test.d.ts +0 -0
  78. package/dist/src/extensions/extension-discovery/is-compatible-bundled-extension/is-compatible-bundled-extension.d.ts +27 -0
  79. package/dist/src/extensions/extension-discovery/is-compatible-bundled-extension/is-compatible-bundled-extension.injectable.d.ts +3 -0
  80. package/dist/src/extensions/extension-discovery/is-compatible-extension/is-compatible-extension.d.ts +27 -0
  81. package/dist/src/extensions/extension-discovery/is-compatible-extension/is-compatible-extension.injectable.d.ts +3 -0
  82. package/dist/src/{renderer/components/+extensions/extension-install.store.d.ts → extensions/extension-installation-state-store/extension-installation-state-store.d.ts} +27 -28
  83. package/dist/src/extensions/extension-installation-state-store/extension-installation-state-store.injectable.d.ts +4 -0
  84. package/dist/src/extensions/{extension-installer.d.ts → extension-installer/extension-installer.d.ts} +8 -4
  85. package/dist/src/extensions/extension-installer/extension-installer.injectable.d.ts +4 -0
  86. package/dist/src/extensions/extension-installer/extension-package-root-directory/extension-package-root-directory.injectable.d.ts +3 -0
  87. package/dist/src/extensions/extension-installer/install-extension/install-extension.injectable.d.ts +3 -0
  88. package/dist/src/extensions/extension-installer/install-extensions/install-extensions.injectable.d.ts +3 -0
  89. package/dist/src/extensions/extension-loader/create-extension-instance/create-extension-instance.d.ts +24 -0
  90. package/dist/src/extensions/extension-loader/create-extension-instance/create-extension-instance.injectable.d.ts +3 -0
  91. package/dist/src/extensions/extension-loader/create-extension-instance/file-system-provisioner-store/directory-for-extension-data/directory-for-extension-data.injectable.d.ts +3 -0
  92. package/dist/src/{main/extension-filesystem.d.ts → extensions/extension-loader/create-extension-instance/file-system-provisioner-store/file-system-provisioner-store.d.ts} +7 -3
  93. package/dist/src/extensions/extension-loader/create-extension-instance/file-system-provisioner-store/file-system-provisioner-store.injectable.d.ts +4 -0
  94. package/dist/src/extensions/{extension-loader.d.ts → extension-loader/extension-loader.d.ts} +21 -9
  95. package/dist/src/extensions/extension-loader/extension-loader.injectable.d.ts +4 -0
  96. package/dist/src/{renderer/components/clipboard → extensions/extension-loader}/index.d.ts +1 -1
  97. package/dist/src/extensions/extension-loader/update-extensions-state/update-extensions-state.injectable.d.ts +3 -0
  98. package/dist/src/extensions/extension-packages-root/extension-packages-root.injectable.d.ts +3 -0
  99. package/dist/src/extensions/{extensions-store.d.ts → extensions-store/extensions-store.d.ts} +3 -3
  100. package/dist/src/extensions/extensions-store/extensions-store.injectable.d.ts +4 -0
  101. package/dist/src/extensions/extensions.injectable.d.ts +3 -0
  102. package/dist/src/extensions/{registries/menu-registry.d.ts → lens-extension-set-dependencies.d.ts} +4 -6
  103. package/dist/src/extensions/lens-extension.d.ts +6 -2
  104. package/dist/src/extensions/lens-main-extension.d.ts +3 -1
  105. package/dist/src/extensions/lens-renderer-extension.d.ts +14 -7
  106. package/dist/src/extensions/main-extensions.injectable.d.ts +5 -0
  107. package/dist/src/extensions/registries/base-registry.d.ts +1 -1
  108. package/dist/src/extensions/registries/entity-setting-registry.d.ts +1 -1
  109. package/dist/src/extensions/registries/index.d.ts +0 -5
  110. package/dist/src/extensions/registries/status-bar-registry.d.ts +6 -0
  111. package/dist/src/extensions/renderer-api/components.d.ts +10 -23
  112. package/dist/src/extensions/renderer-api/k8s-api.d.ts +2 -1
  113. package/dist/src/extensions/renderer-extensions.injectable.d.ts +5 -0
  114. package/dist/src/main/__test__/kubeconfig-manager.test.d.ts +0 -20
  115. package/dist/src/main/app-paths/app-name/app-name.injectable.d.ts +3 -0
  116. package/dist/src/main/app-paths/app-paths.injectable.d.ts +3 -0
  117. package/dist/src/main/app-paths/directory-for-integration-testing/directory-for-integration-testing.injectable.d.ts +3 -0
  118. package/dist/src/main/app-paths/get-app-paths.d.ts +7 -0
  119. package/dist/src/main/app-paths/get-electron-app-path/electron-app/electron-app.injectable.d.ts +4 -0
  120. package/dist/src/main/app-paths/get-electron-app-path/get-electron-app-path.d.ts +27 -0
  121. package/dist/src/main/app-paths/get-electron-app-path/get-electron-app-path.injectable.d.ts +3 -0
  122. package/dist/src/main/app-paths/get-electron-app-path/get-electron-app-path.test.d.ts +1 -0
  123. package/dist/src/main/app-paths/register-channel/ipc-main/ipc-main.injectable.d.ts +4 -0
  124. package/dist/src/main/app-paths/register-channel/register-channel.d.ts +27 -0
  125. package/dist/src/main/app-paths/register-channel/register-channel.injectable.d.ts +3 -0
  126. package/dist/src/main/app-paths/set-electron-app-path/set-electron-app-path.injectable.d.ts +4 -0
  127. package/dist/src/main/catalog-pusher.d.ts +1 -1
  128. package/dist/src/main/catalog-sources/index.d.ts +0 -1
  129. package/dist/src/main/catalog-sources/{kubeconfig-sync.d.ts → kubeconfig-sync-manager/kubeconfig-sync-manager.d.ts} +13 -9
  130. package/dist/src/main/catalog-sources/kubeconfig-sync-manager/kubeconfig-sync-manager.injectable.d.ts +4 -0
  131. package/dist/src/main/cluster-detectors/base-cluster-detector.d.ts +1 -1
  132. package/dist/src/main/cluster-detectors/detector-registry.d.ts +1 -1
  133. package/dist/src/main/cluster-manager.d.ts +2 -2
  134. package/dist/src/main/{context-handler.d.ts → context-handler/context-handler.d.ts} +17 -6
  135. package/dist/src/main/context-handler/create-context-handler.injectable.d.ts +5 -0
  136. package/dist/src/main/create-cluster/create-cluster.injectable.d.ts +5 -0
  137. package/dist/src/main/getDi.d.ts +22 -0
  138. package/dist/src/{common/utils/local-kubeconfig.d.ts → main/getDiForUnitTesting.d.ts} +4 -3
  139. package/dist/src/main/helm/helm-release-manager.d.ts +9 -10
  140. package/dist/src/main/helm/helm-repo-manager.d.ts +2 -2
  141. package/dist/src/main/helm/helm-service.d.ts +3 -3
  142. package/dist/src/main/initializers/index.d.ts +0 -2
  143. package/dist/src/main/initializers/init-ipc-main-handlers/init-ipc-main-handlers.d.ts +28 -0
  144. package/dist/src/main/initializers/init-ipc-main-handlers/init-ipc-main-handlers.injectable.d.ts +3 -0
  145. package/dist/src/main/k8s-request.d.ts +1 -1
  146. package/dist/src/main/kube-auth-proxy/create-kube-auth-proxy.injectable.d.ts +5 -0
  147. package/dist/src/main/{kube-auth-proxy.d.ts → kube-auth-proxy/kube-auth-proxy.d.ts} +12 -9
  148. package/dist/src/main/kubeconfig-manager/create-kubeconfig-manager.injectable.d.ts +8 -0
  149. package/dist/src/main/{kubeconfig-manager.d.ts → kubeconfig-manager/kubeconfig-manager.d.ts} +24 -7
  150. package/dist/src/main/kubectl/bundled-kubectl.injectable.d.ts +3 -0
  151. package/dist/src/main/kubectl/create-kubectl.injectable.d.ts +4 -0
  152. package/dist/src/main/kubectl/directory-for-kubectl-binaries/directory-for-kubectl-binaries.injectable.d.ts +3 -0
  153. package/dist/src/main/{kubectl.d.ts → kubectl/kubectl.d.ts} +13 -5
  154. package/dist/src/main/lens-proxy.d.ts +10 -3
  155. package/dist/src/main/menu/electron-menu-items.injectable.d.ts +3 -0
  156. package/dist/src/main/menu/electron-menu-items.test.d.ts +1 -0
  157. package/dist/src/main/{menu.d.ts → menu/menu.d.ts} +11 -4
  158. package/dist/src/main/protocol-handler/index.d.ts +1 -1
  159. package/dist/src/main/protocol-handler/{router.d.ts → lens-protocol-router-main/lens-protocol-router-main.d.ts} +16 -8
  160. package/dist/src/main/protocol-handler/lens-protocol-router-main/lens-protocol-router-main.injectable.d.ts +4 -0
  161. package/dist/src/main/proxy-functions/index.d.ts +0 -1
  162. package/dist/src/main/proxy-functions/shell-api-request/shell-api-request.d.ts +37 -0
  163. package/dist/src/main/proxy-functions/shell-api-request/shell-api-request.injectable.d.ts +3 -0
  164. package/dist/src/main/proxy-functions/shell-api-request/shell-request-authenticator/shell-request-authenticator.d.ts +13 -0
  165. package/dist/src/main/proxy-functions/shell-api-request/shell-request-authenticator/shell-request-authenticator.injectable.d.ts +4 -0
  166. package/dist/src/main/proxy-functions/types.d.ts +1 -1
  167. package/dist/src/main/resource-applier.d.ts +1 -1
  168. package/dist/src/main/router/router.injectable.d.ts +4 -0
  169. package/dist/src/main/router.d.ts +7 -2
  170. package/dist/src/main/routes/port-forward/create-port-forward.injectable.d.ts +4 -0
  171. package/dist/src/main/routes/port-forward/port-forward.d.ts +32 -0
  172. package/dist/src/main/routes/port-forward/route-port-forward/route-port-forward.d.ts +27 -0
  173. package/dist/src/main/routes/port-forward/route-port-forward/route-port-forward.injectable.d.ts +3 -0
  174. package/dist/src/main/routes/port-forward-route.d.ts +0 -2
  175. package/dist/src/main/shell-session/create-shell-session.injectable.d.ts +11 -0
  176. package/dist/src/main/shell-session/index.d.ts +2 -2
  177. package/dist/src/main/shell-session/{local-shell-session.d.ts → local-shell-session/local-shell-session.d.ts} +1 -1
  178. package/dist/src/main/shell-session/local-shell-session/local-shell-session.injectable.d.ts +11 -0
  179. package/dist/src/main/shell-session/{node-shell-session.d.ts → node-shell-session/node-shell-session.d.ts} +4 -3
  180. package/dist/src/main/shell-session/node-shell-session/node-shell-session.injectable.d.ts +12 -0
  181. package/dist/src/main/shell-session/shell-session.d.ts +4 -4
  182. package/dist/src/main/tray/tray-menu-items.injectable.d.ts +3 -0
  183. package/dist/src/main/tray/tray-menu-items.test.d.ts +1 -0
  184. package/dist/src/main/{tray.d.ts → tray/tray.d.ts} +4 -2
  185. package/dist/src/main/window-manager.d.ts +3 -0
  186. package/dist/src/renderer/api/__tests__/catalog-entity-registry.test.d.ts +1 -1
  187. package/dist/src/renderer/api/catalog-entity-registry/catalog-entity-registry.injectable.d.ts +3 -0
  188. package/dist/src/renderer/api/catalog-entity-registry.d.ts +5 -1
  189. package/dist/src/renderer/api/catalog-entity.d.ts +1 -5
  190. package/dist/src/{main/catalog-sources → renderer/api}/helpers/general-active-sync.d.ts +0 -0
  191. package/dist/src/renderer/api/terminal-api.d.ts +0 -2
  192. package/dist/src/renderer/app-paths/app-paths.injectable.d.ts +4 -0
  193. package/dist/src/renderer/app-paths/get-value-from-registered-channel/get-value-from-registered-channel.d.ts +27 -0
  194. package/dist/src/renderer/app-paths/get-value-from-registered-channel/get-value-from-registered-channel.injectable.d.ts +3 -0
  195. package/dist/src/renderer/app-paths/get-value-from-registered-channel/ipc-renderer/ipc-renderer.injectable.d.ts +4 -0
  196. package/dist/src/renderer/bootstrap.d.ts +2 -4
  197. package/dist/src/renderer/{components/context.d.ts → cluster-frame-context/cluster-frame-context.d.ts} +14 -1
  198. package/dist/src/renderer/cluster-frame-context/cluster-frame-context.injectable.d.ts +4 -0
  199. package/dist/src/renderer/components/+add-cluster/add-cluster.d.ts +3 -19
  200. package/dist/src/renderer/components/+apps-helm-charts/helm-chart-details.d.ts +4 -18
  201. package/dist/src/renderer/components/+apps-releases/release-details.d.ts +5 -23
  202. package/dist/src/renderer/components/+apps-releases/release-menu.d.ts +3 -7
  203. package/dist/src/renderer/components/+apps-releases/release-rollback-dialog-model/release-rollback-dialog-model.d.ts +8 -0
  204. package/dist/src/renderer/components/+apps-releases/release-rollback-dialog-model/release-rollback-dialog-model.injectable.d.ts +4 -0
  205. package/dist/src/renderer/components/+apps-releases/release-rollback-dialog.d.ts +3 -15
  206. package/dist/src/renderer/components/+apps-releases/release-store.injectable.d.ts +4 -0
  207. package/dist/src/renderer/components/+apps-releases/release.store.d.ts +9 -4
  208. package/dist/src/renderer/components/+apps-releases/releases.d.ts +4 -11
  209. package/dist/src/renderer/components/+catalog/catalog-entity-details.d.ts +3 -3
  210. package/dist/src/renderer/components/+catalog/catalog-entity-drawer-menu.d.ts +1 -2
  211. package/dist/src/renderer/components/+catalog/catalog-entity-store/catalog-entity-store.injectable.d.ts +4 -0
  212. package/dist/src/renderer/components/+catalog/{catalog-entity.store.d.ts → catalog-entity-store/catalog-entity.store.d.ts} +15 -11
  213. package/dist/src/renderer/components/+catalog/catalog-previous-active-tab-storage/catalog-previous-active-tab-storage.injectable.d.ts +3 -0
  214. package/dist/src/renderer/components/+catalog/catalog.d.ts +3 -28
  215. package/dist/src/renderer/components/{command-palette/command-overlay.d.ts → +catalog/helpers.d.ts} +5 -7
  216. package/dist/src/renderer/components/+cluster/cluster-metric-switchers.d.ts +4 -1
  217. package/dist/src/renderer/components/+cluster/cluster-metrics.d.ts +4 -1
  218. package/dist/src/renderer/components/+cluster/{cluster-overview.store.d.ts → cluster-overview-store/cluster-overview-store.d.ts} +11 -7
  219. package/dist/src/renderer/components/+cluster/cluster-overview-store/cluster-overview-store.injectable.d.ts +4 -0
  220. package/dist/src/renderer/components/+cluster/cluster-overview.d.ts +3 -9
  221. package/dist/src/renderer/components/+cluster/cluster-pie-charts.d.ts +4 -1
  222. package/dist/src/renderer/components/+custom-resources/custom-resources.injectable.d.ts +23 -0
  223. package/dist/src/renderer/components/+events/kube-event-details.d.ts +3 -4
  224. package/dist/src/renderer/components/+extensions/attempt-install/attempt-install.d.ts +36 -0
  225. package/dist/src/renderer/components/+extensions/attempt-install/attempt-install.injectable.d.ts +3 -0
  226. package/dist/src/renderer/components/+extensions/attempt-install/create-temp-files-and-validate/create-temp-files-and-validate.d.ts +16 -0
  227. package/dist/src/renderer/components/+extensions/attempt-install/create-temp-files-and-validate/create-temp-files-and-validate.injectable.d.ts +3 -0
  228. package/dist/src/renderer/components/+extensions/attempt-install/get-extension-dest-folder/get-extension-dest-folder.d.ts +26 -0
  229. package/dist/src/renderer/components/+extensions/attempt-install/get-extension-dest-folder/get-extension-dest-folder.injectable.d.ts +3 -0
  230. package/dist/src/renderer/components/+extensions/attempt-install/unpack-extension/unpack-extension.d.ts +31 -0
  231. package/dist/src/renderer/components/+extensions/attempt-install/unpack-extension/unpack-extension.injectable.d.ts +3 -0
  232. package/dist/src/renderer/components/+extensions/attempt-install/validate-package/validate-package.d.ts +22 -0
  233. package/dist/src/renderer/components/+extensions/attempt-install-by-info/attempt-install-by-info.d.ts +35 -0
  234. package/dist/src/renderer/components/+extensions/attempt-install-by-info/attempt-install-by-info.injectable.d.ts +3 -0
  235. package/dist/src/renderer/components/+extensions/attempt-installs/attempt-installs.d.ts +6 -0
  236. package/dist/src/renderer/components/+extensions/attempt-installs/attempt-installs.injectable.d.ts +3 -0
  237. package/dist/src/renderer/components/+extensions/confirm-uninstall-extension/confirm-uninstall-extension.d.ts +7 -0
  238. package/dist/src/renderer/components/+extensions/confirm-uninstall-extension/confirm-uninstall-extension.injectable.d.ts +3 -0
  239. package/dist/src/renderer/components/+extensions/disable-extension/disable-extension.d.ts +27 -0
  240. package/dist/src/renderer/components/+extensions/disable-extension/disable-extension.injectable.d.ts +3 -0
  241. package/dist/src/renderer/components/+extensions/enable-extension/enable-extension.d.ts +27 -0
  242. package/dist/src/renderer/components/+extensions/enable-extension/enable-extension.injectable.d.ts +3 -0
  243. package/dist/src/renderer/components/+extensions/extensions.d.ts +3 -15
  244. package/dist/src/renderer/components/+extensions/get-base-registry-url/get-base-registry-url.d.ts +26 -0
  245. package/dist/src/renderer/components/+extensions/get-base-registry-url/get-base-registry-url.injectable.d.ts +23 -0
  246. package/dist/src/renderer/components/+extensions/get-message-from-error/get-message-from-error.d.ts +21 -0
  247. package/dist/src/renderer/components/+extensions/install-from-input/install-from-input.d.ts +31 -0
  248. package/dist/src/renderer/components/+extensions/install-from-input/install-from-input.injectable.d.ts +3 -0
  249. package/dist/src/renderer/components/+extensions/install-from-select-file-dialog/install-from-select-file-dialog.d.ts +6 -0
  250. package/dist/src/renderer/components/+extensions/install-from-select-file-dialog/install-from-select-file-dialog.injectable.d.ts +3 -0
  251. package/dist/src/renderer/components/+extensions/install-on-drop/install-on-drop.d.ts +5 -0
  252. package/dist/src/renderer/components/+extensions/install-on-drop/install-on-drop.injectable.d.ts +3 -0
  253. package/dist/src/renderer/components/+extensions/install.d.ts +4 -1
  254. package/dist/src/renderer/components/+extensions/installed-extensions.d.ts +5 -2
  255. package/dist/src/renderer/components/+extensions/read-file-notify/read-file-notify.d.ts +2 -0
  256. package/dist/src/renderer/components/+extensions/supported-extension-formats.d.ts +21 -0
  257. package/dist/src/renderer/components/+extensions/uninstall-extension/uninstall-extension.d.ts +31 -0
  258. package/dist/src/renderer/components/+extensions/uninstall-extension/uninstall-extension.injectable.d.ts +3 -0
  259. package/dist/src/renderer/components/+extensions/user-extensions/user-extensions.injectable.d.ts +3 -0
  260. package/dist/src/renderer/components/+namespaces/add-namespace-dialog-model/add-namespace-dialog-model.d.ts +6 -0
  261. package/dist/src/renderer/components/+namespaces/add-namespace-dialog-model/add-namespace-dialog-model.injectable.d.ts +4 -0
  262. package/dist/src/renderer/components/+namespaces/add-namespace-dialog.d.ts +3 -9
  263. package/dist/src/renderer/components/+namespaces/namespace-details.d.ts +4 -11
  264. package/dist/src/renderer/components/+namespaces/namespace-select-filter-model/namespace-select-filter-model.d.ts +23 -0
  265. package/dist/src/renderer/components/+namespaces/namespace-select-filter-model/namespace-select-filter-model.injectable.d.ts +24 -0
  266. package/dist/src/renderer/components/+namespaces/namespace-select-filter.d.ts +4 -24
  267. package/dist/src/renderer/components/+namespaces/namespace-select.d.ts +3 -8
  268. package/dist/src/renderer/components/+namespaces/namespace-store/namespace-store.injectable.d.ts +4 -0
  269. package/dist/src/renderer/components/+namespaces/{namespace.store.d.ts → namespace-store/namespace.store.d.ts} +12 -9
  270. package/dist/src/renderer/components/+namespaces/namespaces.d.ts +3 -3
  271. package/dist/src/renderer/components/+network-ingresses/ingress-details.d.ts +1 -1
  272. package/dist/src/{common/__tests__/search-store.test.d.ts → renderer/components/+network-policies/__tests__/network-policy-details.test.d.ts} +0 -0
  273. package/dist/src/renderer/components/+network-policies/network-policy-details.d.ts +8 -4
  274. package/dist/src/renderer/components/+network-port-forwards/port-forward-menu.d.ts +3 -5
  275. package/dist/src/renderer/components/+network-port-forwards/port-forwards.d.ts +3 -10
  276. package/dist/src/renderer/components/+network-services/service-details.d.ts +3 -4
  277. package/dist/src/renderer/components/+network-services/service-port-component.d.ts +3 -11
  278. package/dist/src/renderer/components/+nodes/node-details.d.ts +4 -9
  279. package/dist/src/renderer/components/+nodes/nodes.d.ts +2 -1
  280. package/dist/src/renderer/components/+preferences/extension-settings.d.ts +7 -0
  281. package/dist/src/renderer/components/+preferences/kubectl-binaries.d.ts +4 -1
  282. package/dist/src/renderer/components/+preferences/preferences.d.ts +0 -2
  283. package/dist/src/renderer/components/+storage-classes/storage-class-details.d.ts +3 -4
  284. package/dist/src/renderer/components/+storage-volume-claims/volume-claim-details.d.ts +1 -1
  285. package/dist/src/renderer/components/+welcome/welcome-banner-items/welcome-banner-items.injectable.d.ts +3 -0
  286. package/dist/src/renderer/components/+welcome/welcome-menu-items/get-welcome-menu-items.d.ts +27 -0
  287. package/dist/src/renderer/components/+welcome/welcome-menu-items/welcome-menu-items.injectable.d.ts +3 -0
  288. package/dist/src/renderer/components/+welcome/welcome.d.ts +3 -3
  289. package/dist/src/renderer/components/+workloads-cronjobs/cronjob-details.d.ts +3 -4
  290. package/dist/src/renderer/components/+workloads-daemonsets/daemonset-details.d.ts +4 -9
  291. package/dist/src/renderer/components/+workloads-deployments/deployment-details.d.ts +4 -9
  292. package/dist/src/renderer/components/+workloads-jobs/job-details.d.ts +4 -8
  293. package/dist/src/renderer/components/+workloads-overview/overview-statuses.d.ts +3 -5
  294. package/dist/src/renderer/components/+workloads-overview/overview-workload-status.d.ts +2 -7
  295. package/dist/src/renderer/components/+workloads-overview/overview.d.ts +3 -7
  296. package/dist/src/renderer/components/+workloads-pods/pod-container-port.d.ts +3 -11
  297. package/dist/src/renderer/components/+workloads-pods/pod-details-container.d.ts +4 -7
  298. package/dist/src/renderer/components/+workloads-replicasets/replicaset-details.d.ts +4 -9
  299. package/dist/src/renderer/components/+workloads-statefulsets/statefulset-details.d.ts +4 -9
  300. package/dist/src/renderer/components/activate-entity-command/activate-entity-command.d.ts +3 -9
  301. package/dist/src/renderer/components/{layout/__tests__/topbar.test.d.ts → avatar/__tests__/avatar.test.d.ts} +0 -0
  302. package/dist/src/renderer/components/avatar/avatar.d.ts +7 -8
  303. package/dist/src/renderer/components/{+404 → avatar}/index.d.ts +1 -1
  304. package/dist/src/renderer/components/catalog-entities/weblink-add-command.d.ts +3 -11
  305. package/dist/src/renderer/components/chart/zebra-stripes.plugin.d.ts +1 -1
  306. package/dist/src/renderer/components/checkbox/checkbox.d.ts +0 -1
  307. package/dist/src/renderer/components/{layout/topbar.d.ts → cluster-manager/active-hotbar-name.d.ts} +3 -4
  308. package/dist/src/renderer/components/cluster-manager/bottom-bar.d.ts +0 -1
  309. package/dist/src/renderer/components/cluster-manager/cluster-manager.d.ts +3 -4
  310. package/dist/src/renderer/components/cluster-manager/cluster-status.d.ts +1 -1
  311. package/dist/src/renderer/components/cluster-manager/cluster-view.d.ts +1 -1
  312. package/dist/src/renderer/components/cluster-settings/components/cluster-accessible-namespaces.d.ts +1 -1
  313. package/dist/src/renderer/components/cluster-settings/components/cluster-icon-settings.d.ts +1 -1
  314. package/dist/src/renderer/components/cluster-settings/components/cluster-kubeconfig.d.ts +1 -1
  315. package/dist/src/renderer/components/cluster-settings/components/cluster-local-terminal-settings.d.ts +1 -1
  316. package/dist/src/renderer/components/cluster-settings/components/cluster-metrics-setting.d.ts +1 -1
  317. package/dist/src/renderer/components/cluster-settings/components/cluster-name-setting.d.ts +1 -1
  318. package/dist/src/renderer/components/cluster-settings/components/cluster-node-shell-setting.d.ts +1 -1
  319. package/dist/src/renderer/components/cluster-settings/components/cluster-prometheus-setting.d.ts +1 -1
  320. package/dist/src/renderer/components/cluster-settings/components/cluster-proxy-setting.d.ts +1 -1
  321. package/dist/src/renderer/components/cluster-settings/components/cluster-show-metrics.d.ts +1 -1
  322. package/dist/src/renderer/components/command-palette/command-container.d.ts +3 -7
  323. package/dist/src/renderer/components/command-palette/command-dialog.d.ts +3 -13
  324. package/dist/src/renderer/components/command-palette/command-overlay.injectable.d.ts +31 -0
  325. package/dist/src/renderer/components/command-palette/index.d.ts +1 -1
  326. package/dist/src/renderer/components/command-palette/registered-commands/internal-commands.injectable.d.ts +25 -0
  327. package/dist/src/renderer/components/command-palette/registered-commands/registered-commands.injectable.d.ts +25 -0
  328. package/dist/src/renderer/components/delete-cluster-dialog/delete-cluster-dialog.d.ts +1 -1
  329. package/dist/src/renderer/components/dialog/dialog.d.ts +1 -0
  330. package/dist/src/renderer/components/dock/create-install-chart-tab/create-install-chart-tab.d.ts +29 -0
  331. package/dist/src/renderer/components/dock/create-install-chart-tab/create-install-chart-tab.injectable.d.ts +3 -0
  332. package/dist/src/renderer/components/dock/create-resource-store/create-resource-store.injectable.d.ts +4 -0
  333. package/dist/src/renderer/components/dock/{create-resource.store.d.ts → create-resource-store/create-resource.store.d.ts} +10 -5
  334. package/dist/src/renderer/components/dock/create-resource-tab/create-resource-tab.d.ts +26 -0
  335. package/dist/src/renderer/components/dock/create-resource-tab/create-resource-tab.injectable.d.ts +3 -0
  336. package/dist/src/renderer/components/dock/create-resource.d.ts +4 -20
  337. package/dist/src/renderer/components/dock/create-terminal-tab/create-terminal-tab.d.ts +26 -0
  338. package/dist/src/renderer/components/dock/create-terminal-tab/create-terminal-tab.injectable.d.ts +3 -0
  339. package/dist/src/renderer/components/dock/create-upgrade-chart-tab/create-upgrade-chart-tab.d.ts +29 -0
  340. package/dist/src/renderer/components/dock/create-upgrade-chart-tab/create-upgrade-chart-tab.injectable.d.ts +3 -0
  341. package/dist/src/renderer/components/dock/dock-store/dock-storage/dock-storage.injectable.d.ts +4 -0
  342. package/dist/src/renderer/components/dock/dock-store/dock-store.injectable.d.ts +4 -0
  343. package/dist/src/renderer/components/dock/{dock.store.d.ts → dock-store/dock.store.d.ts} +8 -4
  344. package/dist/src/renderer/components/dock/dock-tab-store/create-dock-tab-store.injectable.d.ts +4 -0
  345. package/dist/src/renderer/components/dock/{dock-tab.store.d.ts → dock-tab-store/dock-tab.store.d.ts} +9 -3
  346. package/dist/src/renderer/components/dock/dock-tab.d.ts +4 -9
  347. package/dist/src/renderer/components/dock/dock-tabs.d.ts +1 -1
  348. package/dist/src/renderer/components/dock/dock.d.ts +3 -11
  349. package/dist/src/renderer/components/dock/edit-resource-store/edit-resource-store.injectable.d.ts +4 -0
  350. package/dist/src/renderer/components/dock/{edit-resource.store.d.ts → edit-resource-store/edit-resource.store.d.ts} +12 -7
  351. package/dist/src/renderer/components/dock/edit-resource-tab/edit-resource-tab.d.ts +29 -0
  352. package/dist/src/renderer/components/dock/edit-resource-tab/edit-resource-tab.injectable.d.ts +3 -0
  353. package/dist/src/renderer/components/dock/edit-resource.d.ts +4 -15
  354. package/dist/src/renderer/components/dock/editor-panel.d.ts +5 -9
  355. package/dist/src/renderer/components/dock/info-panel.d.ts +5 -15
  356. package/dist/src/renderer/components/dock/install-chart-store/install-chart-store.injectable.d.ts +4 -0
  357. package/dist/src/renderer/components/dock/{install-chart.store.d.ts → install-chart-store/install-chart.store.d.ts} +15 -9
  358. package/dist/src/renderer/components/dock/install-chart.d.ts +5 -23
  359. package/dist/src/renderer/components/dock/log-controls.d.ts +5 -3
  360. package/dist/src/renderer/components/dock/log-list.d.ts +13 -4
  361. package/dist/src/renderer/components/dock/log-resource-selector.d.ts +6 -4
  362. package/dist/src/renderer/components/dock/log-search.d.ts +4 -1
  363. package/dist/src/renderer/components/dock/log-store/call-for-logs/call-for-logs.injectable.d.ts +9 -0
  364. package/dist/src/renderer/components/dock/log-store/log-store.injectable.d.ts +4 -0
  365. package/dist/src/renderer/components/dock/{log.store.d.ts → log-store/log.store.d.ts} +16 -6
  366. package/dist/src/renderer/components/dock/log-store/reloaded-log-store.injectable.d.ts +3 -0
  367. package/dist/src/renderer/components/dock/log-tab-store/log-tab-store.injectable.d.ts +4 -0
  368. package/dist/src/renderer/components/dock/{log-tab.store.d.ts → log-tab-store/log-tab.store.d.ts} +12 -5
  369. package/dist/src/renderer/components/dock/logs/logs-view-model/logs-view-model.d.ts +39 -0
  370. package/dist/src/renderer/components/dock/logs/logs-view-model/logs-view-model.injectable.d.ts +4 -0
  371. package/dist/src/renderer/components/dock/logs.d.ts +3 -23
  372. package/dist/src/renderer/components/dock/terminal/create-terminal.injectable.d.ts +6 -0
  373. package/dist/src/renderer/components/dock/{terminal.d.ts → terminal/terminal.d.ts} +9 -4
  374. package/dist/src/renderer/components/dock/terminal-store/terminal-store.injectable.d.ts +4 -0
  375. package/dist/src/renderer/components/dock/{terminal.store.d.ts → terminal-store/terminal.store.d.ts} +12 -11
  376. package/dist/src/renderer/components/dock/terminal-tab.d.ts +3 -7
  377. package/dist/src/renderer/components/dock/terminal-window.d.ts +4 -9
  378. package/dist/src/renderer/components/dock/upgrade-chart-store/upgrade-chart-store.injectable.d.ts +4 -0
  379. package/dist/src/renderer/components/dock/{upgrade-chart.store.d.ts → upgrade-chart-store/upgrade-chart.store.d.ts} +14 -7
  380. package/dist/src/renderer/components/dock/upgrade-chart.d.ts +12 -3
  381. package/dist/src/renderer/components/drawer/drawer-storage/drawer-storage.injectable.d.ts +8 -0
  382. package/dist/src/renderer/components/drawer/drawer.d.ts +10 -25
  383. package/dist/src/renderer/components/hotbar/hotbar-add-command.d.ts +3 -6
  384. package/dist/src/renderer/components/hotbar/hotbar-entity-icon.d.ts +3 -3
  385. package/dist/src/renderer/components/hotbar/hotbar-icon.d.ts +3 -10
  386. package/dist/src/renderer/components/hotbar/hotbar-menu.d.ts +4 -1
  387. package/dist/src/renderer/components/hotbar/hotbar-remove-command.d.ts +3 -9
  388. package/dist/src/renderer/components/hotbar/hotbar-rename-command.d.ts +3 -14
  389. package/dist/src/renderer/components/hotbar/hotbar-selector.d.ts +5 -3
  390. package/dist/src/renderer/components/hotbar/hotbar-switch-command.d.ts +3 -12
  391. package/dist/src/renderer/components/input/input.d.ts +1 -0
  392. package/dist/src/renderer/components/input/validators/unique-hotbar-name.injectable.d.ts +24 -0
  393. package/dist/src/renderer/components/item-object-list/item-list-layout-storage/item-list-layout-storage.injectable.d.ts +7 -0
  394. package/dist/src/renderer/components/item-object-list/item-list-layout.d.ts +14 -6
  395. package/dist/src/renderer/components/kube-object-list-layout/kube-object-list-layout.d.ts +1 -10
  396. package/dist/src/renderer/components/kube-object-menu/dependencies/api-manager.injectable.d.ts +3 -0
  397. package/dist/src/renderer/components/kube-object-menu/dependencies/cluster-name.injectable.d.ts +23 -0
  398. package/dist/src/renderer/components/kube-object-menu/dependencies/cluster.injectable.d.ts +3 -0
  399. package/dist/src/renderer/components/kube-object-menu/dependencies/hide-details.injectable.d.ts +24 -0
  400. package/dist/src/renderer/components/kube-object-menu/dependencies/kube-object-menu-items/get-kube-object-menu-items.d.ts +26 -0
  401. package/dist/src/renderer/components/kube-object-menu/dependencies/kube-object-menu-items/kube-object-menu-items.injectable.d.ts +9 -0
  402. package/dist/src/renderer/components/kube-object-menu/dependencies/kube-object-menu-items/kube-object-menu-registry.injectable.d.ts +24 -0
  403. package/dist/src/renderer/components/kube-object-menu/index.d.ts +2 -1
  404. package/dist/src/renderer/components/kube-object-menu/kube-object-menu.d.ts +4 -14
  405. package/dist/src/{main/initializers/registries.d.ts → renderer/components/kube-object-menu/kube-object-menu.test.d.ts} +1 -1
  406. package/dist/src/renderer/components/kubeconfig-dialog/kubeconfig-dialog.d.ts +0 -1
  407. package/dist/src/renderer/components/layout/close-button.d.ts +25 -0
  408. package/dist/src/renderer/components/layout/main-layout.d.ts +3 -9
  409. package/dist/src/renderer/components/layout/sidebar-item.d.ts +3 -11
  410. package/dist/src/renderer/components/layout/sidebar-storage/sidebar-storage.injectable.d.ts +16 -0
  411. package/dist/src/renderer/components/layout/sidebar.d.ts +3 -12
  412. package/dist/src/renderer/components/layout/top-bar/top-bar-items/top-bar-items.injectable.d.ts +3 -0
  413. package/dist/src/renderer/components/layout/top-bar/top-bar-win-linux.test.d.ts +21 -0
  414. package/dist/src/renderer/components/{+404/not-found.d.ts → layout/top-bar/top-bar.d.ts} +3 -3
  415. package/dist/src/renderer/components/layout/top-bar/top-bar.test.d.ts +21 -0
  416. package/dist/src/renderer/components/menu/menu-actions.d.ts +1 -1
  417. package/dist/src/renderer/components/monaco-editor/monaco-editor.d.ts +1 -1
  418. package/dist/src/renderer/components/resizing-anchor/resizing-anchor.d.ts +3 -1
  419. package/dist/src/renderer/components/switch/__tests__/switch.test.d.ts +21 -0
  420. package/dist/src/renderer/components/switch/form-switcher.d.ts +3 -0
  421. package/dist/src/renderer/components/switch/index.d.ts +1 -0
  422. package/dist/src/{extensions/registries/topbar-registry.d.ts → renderer/components/switch/switch.d.ts} +4 -9
  423. package/dist/src/renderer/components/switch/switcher.d.ts +4 -1
  424. package/dist/src/renderer/components/table/{table.storage.d.ts → table-model/table-model.d.ts} +12 -4
  425. package/dist/src/renderer/components/table/table-model/table-model.injectable.d.ts +4 -0
  426. package/dist/src/renderer/components/table/table.d.ts +1 -15
  427. package/dist/src/renderer/components/test-utils/renderFor.d.ts +27 -0
  428. package/dist/src/renderer/create-cluster/create-cluster.injectable.d.ts +5 -0
  429. package/dist/src/renderer/frames/cluster-frame/cluster-frame.d.ts +24 -0
  430. package/dist/src/renderer/frames/cluster-frame/init-cluster-frame/frame-routing-id/frame-routing-id.injectable.d.ts +3 -0
  431. package/dist/src/renderer/frames/cluster-frame/init-cluster-frame/frame-routing-id/web-frame/web-frame.injectable.d.ts +4 -0
  432. package/dist/src/renderer/frames/cluster-frame/init-cluster-frame/init-cluster-frame.d.ts +35 -0
  433. package/dist/src/renderer/frames/cluster-frame/init-cluster-frame/init-cluster-frame.injectable.d.ts +3 -0
  434. package/dist/src/renderer/frames/root-frame/init-root-frame/init-root-frame.d.ts +15 -0
  435. package/dist/src/renderer/frames/root-frame/init-root-frame/init-root-frame.injectable.d.ts +3 -0
  436. package/dist/src/renderer/{root-frame.d.ts → frames/root-frame/root-frame.d.ts} +0 -2
  437. package/dist/src/renderer/getDi.d.ts +22 -0
  438. package/dist/src/renderer/getDiForUnitTesting.d.ts +24 -0
  439. package/dist/src/renderer/hooks/index.d.ts +0 -1
  440. package/dist/src/renderer/initializers/catalog.d.ts +6 -1
  441. package/dist/src/renderer/initializers/index.d.ts +1 -2
  442. package/dist/src/renderer/initializers/ipc.d.ts +2 -1
  443. package/dist/src/{main/initializers/ipc.d.ts → renderer/initializers/status-bar-registry.d.ts} +1 -1
  444. package/dist/src/renderer/kube-watch-api/kube-watch-api.d.ts +28 -0
  445. package/dist/src/renderer/kube-watch-api/kube-watch-api.injectable.d.ts +4 -0
  446. package/dist/src/renderer/navigation/helpers.d.ts +1 -1
  447. package/dist/src/renderer/port-forward/index.d.ts +1 -1
  448. package/dist/src/renderer/port-forward/port-forward-dialog-model/port-forward-dialog-model.d.ts +16 -0
  449. package/dist/src/renderer/port-forward/port-forward-dialog-model/port-forward-dialog-model.injectable.d.ts +4 -0
  450. package/dist/src/renderer/port-forward/port-forward-dialog.d.ts +4 -20
  451. package/dist/src/renderer/port-forward/port-forward-item.d.ts +4 -4
  452. package/dist/src/renderer/port-forward/port-forward-notify.d.ts +1 -0
  453. package/dist/src/renderer/port-forward/port-forward-store/port-forward-store.d.ts +95 -0
  454. package/dist/src/renderer/port-forward/port-forward-store/port-forward-store.injectable.d.ts +4 -0
  455. package/dist/src/renderer/protocol-handler/bind-protocol-add-route-handlers/bind-protocol-add-route-handlers.d.ts +28 -0
  456. package/dist/src/renderer/protocol-handler/bind-protocol-add-route-handlers/bind-protocol-add-route-handlers.injectable.d.ts +3 -0
  457. package/dist/src/renderer/protocol-handler/index.d.ts +2 -2
  458. package/dist/src/{extensions/registries/welcome-banner-registry.d.ts → renderer/protocol-handler/lens-protocol-router-renderer/lens-protocol-router-renderer.d.ts} +13 -15
  459. package/dist/src/renderer/protocol-handler/lens-protocol-router-renderer/lens-protocol-router-renderer.injectable.d.ts +4 -0
  460. package/dist/src/{common → renderer/search-store}/search-store.d.ts +6 -2
  461. package/dist/src/renderer/search-store/search-store.injectable.d.ts +4 -0
  462. package/dist/src/{main/kubectl_spec.d.ts → renderer/search-store/search-store.test.d.ts} +0 -0
  463. package/dist/src/renderer/theme.store.d.ts +0 -1
  464. package/dist/src/renderer/utils/{createStorage.d.ts → create-storage/create-storage.d.ts} +9 -4
  465. package/dist/src/renderer/utils/create-storage/create-storage.injectable.d.ts +3 -0
  466. package/dist/src/renderer/utils/index.d.ts +0 -2
  467. package/dist/src/renderer/utils/storageHelper.d.ts +4 -1
  468. package/dist/src/renderer/window/event-listener.injectable.d.ts +25 -0
  469. package/dist/src/test-utils/get-dis-for-unit-testing.d.ts +8 -0
  470. package/dist/src/test-utils/override-ipc-bridge.d.ts +25 -0
  471. package/package.json +1 -1
  472. package/dist/src/common/app-paths.d.ts +0 -43
  473. package/dist/src/common/k8s-api/kube-watch-api.d.ts +0 -77
  474. package/dist/src/extensions/registries/command-registry.d.ts +0 -36
  475. package/dist/src/extensions/registries/welcome-menu-registry.d.ts +0 -28
  476. package/dist/src/main/proxy-functions/shell-api-request.d.ts +0 -36
  477. package/dist/src/renderer/cluster-frame.d.ts +0 -37
  478. package/dist/src/renderer/components/clipboard/clipboard.d.ts +0 -37
  479. package/dist/src/renderer/components/hotbar/hotbar-display-label.d.ts +0 -22
  480. package/dist/src/renderer/components/layout/sidebar-storage.d.ts +0 -28
  481. package/dist/src/renderer/hooks/useStorage.d.ts +0 -21
  482. package/dist/src/renderer/initializers/command-registry.d.ts +0 -21
  483. package/dist/src/renderer/initializers/welcome-menu-registry.d.ts +0 -21
  484. package/dist/src/renderer/port-forward/port-forward.store.d.ts +0 -39
  485. package/dist/src/renderer/protocol-handler/app-handlers.d.ts +0 -21
  486. package/dist/src/renderer/utils/copyToClipboard.d.ts +0 -27
@@ -20,8 +20,6 @@
20
20
  */
21
21
  export * from "../../common/utils";
22
22
  export * from "../../common/event-emitter";
23
- export * from "./copyToClipboard";
24
- export * from "./createStorage";
25
23
  export * from "./cssNames";
26
24
  export * from "./cssVar";
27
25
  export * from "./display-booleans";
@@ -38,7 +38,6 @@ export interface StorageHelperOptions<T> {
38
38
  export declare class StorageHelper<T> {
39
39
  readonly key: string;
40
40
  private options;
41
- static getLocalStoragePath(): Promise<string>;
42
41
  static logPrefix: string;
43
42
  readonly storage: StorageAdapter<T>;
44
43
  private data;
@@ -55,7 +54,11 @@ export declare class StorageHelper<T> {
55
54
  }): void;
56
55
  isDefaultValue(value: T): boolean;
57
56
  protected onChange(value: T, oldValue?: T): void;
57
+ /**
58
+ * @deprecated Switch to using value for being reactive
59
+ */
58
60
  get(): T;
61
+ get value(): T;
59
62
  set(value: T): void;
60
63
  reset(): void;
61
64
  merge(value: Partial<T> | ((draft: Draft<T>) => Partial<T> | void)): void;
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Copyright (c) 2021 OpenLens Authors
3
+ *
4
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of
5
+ * this software and associated documentation files (the "Software"), to deal in
6
+ * the Software without restriction, including without limitation the rights to
7
+ * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
8
+ * the Software, and to permit persons to whom the Software is furnished to do so,
9
+ * subject to the following conditions:
10
+ *
11
+ * The above copyright notice and this permission notice shall be included in all
12
+ * copies or substantial portions of the Software.
13
+ *
14
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
16
+ * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
17
+ * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18
+ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+ */
21
+ /// <reference types="@ogre-tools/injectable" />
22
+ import type { Disposer } from "../utils";
23
+ declare function addWindowEventListener<K extends keyof WindowEventMap>(type: K, listener: (this: Window, ev: WindowEventMap[K]) => any, options?: boolean | AddEventListenerOptions): Disposer;
24
+ declare const windowAddEventListenerInjectable: import("@ogre-tools/injectable").Injectable<import("@ogre-tools/injectable").InjectionToken<typeof addWindowEventListener, unknown>, typeof addWindowEventListener, unknown>;
25
+ export default windowAddEventListenerInjectable;
@@ -0,0 +1,8 @@
1
+ /// <reference types="@ogre-tools/injectable" />
2
+ export declare const getDisForUnitTesting: ({ doGeneralOverrides }?: {
3
+ doGeneralOverrides: boolean;
4
+ }) => {
5
+ rendererDi: import("@ogre-tools/injectable").ConfigurableDependencyInjectionContainer;
6
+ mainDi: import("@ogre-tools/injectable").ConfigurableDependencyInjectionContainer;
7
+ runSetups: () => Promise<[void, void]>;
8
+ };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Copyright (c) 2021 OpenLens Authors
3
+ *
4
+ * Permission is hereby granted, free of charge, to any person obtaining a copy of
5
+ * this software and associated documentation files (the "Software"), to deal in
6
+ * the Software without restriction, including without limitation the rights to
7
+ * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
8
+ * the Software, and to permit persons to whom the Software is furnished to do so,
9
+ * subject to the following conditions:
10
+ *
11
+ * The above copyright notice and this permission notice shall be included in all
12
+ * copies or substantial portions of the Software.
13
+ *
14
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
16
+ * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
17
+ * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18
+ * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
+ * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
+ */
21
+ import type { DependencyInjectionContainer } from "@ogre-tools/injectable";
22
+ export declare const overrideIpcBridge: ({ rendererDi, mainDi, }: {
23
+ rendererDi: DependencyInjectionContainer;
24
+ mainDi: DependencyInjectionContainer;
25
+ }) => void;
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": "5.3.1-git.e5c1eba9cb.0",
5
+ "version": "5.3.1-git.eb93a2eee7.0",
6
6
  "copyright": "© 2021 OpenLens Authors",
7
7
  "license": "MIT",
8
8
  "main": "dist/src/extensions/extension-api.js",
@@ -1,43 +0,0 @@
1
- /**
2
- * Copyright (c) 2021 OpenLens Authors
3
- *
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy of
5
- * this software and associated documentation files (the "Software"), to deal in
6
- * the Software without restriction, including without limitation the rights to
7
- * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
8
- * the Software, and to permit persons to whom the Software is furnished to do so,
9
- * subject to the following conditions:
10
- *
11
- * The above copyright notice and this permission notice shall be included in all
12
- * copies or substantial portions of the Software.
13
- *
14
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
16
- * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
17
- * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18
- * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
- */
21
- import { app } from "electron";
22
- export declare type PathName = Parameters<typeof app["getPath"]>[0];
23
- export declare class AppPaths {
24
- private static paths;
25
- private static readonly ipcChannel;
26
- /**
27
- * Initializes the local copy of the paths from electron.
28
- */
29
- static init(): Promise<void>;
30
- private static initMain;
31
- private static initRenderer;
32
- /**
33
- * An alternative to `app.getPath()` for use in renderer and common.
34
- * This function throws if called before initialization.
35
- * @param name The name of the path field
36
- */
37
- static get(name: PathName): string;
38
- /**
39
- * An async version of `AppPaths.get()` which waits for `AppPaths.init()` to
40
- * be called before returning
41
- */
42
- static getAsync(name: PathName): Promise<string>;
43
- }
@@ -1,77 +0,0 @@
1
- /**
2
- * Copyright (c) 2021 OpenLens Authors
3
- *
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy of
5
- * this software and associated documentation files (the "Software"), to deal in
6
- * the Software without restriction, including without limitation the rights to
7
- * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
8
- * the Software, and to permit persons to whom the Software is furnished to do so,
9
- * subject to the following conditions:
10
- *
11
- * The above copyright notice and this permission notice shall be included in all
12
- * copies or substantial portions of the Software.
13
- *
14
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
16
- * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
17
- * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18
- * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
- */
21
- import type { KubeObjectStore } from "./kube-object.store";
22
- import type { ClusterContext } from "./cluster-context";
23
- import { Disposer } from "../utils";
24
- import type { KubeApi } from "./kube-api";
25
- import type { KubeJsonApiData } from "./kube-json-api";
26
- import type { KubeObject } from "./kube-object";
27
- export interface IKubeWatchEvent<T extends KubeJsonApiData> {
28
- type: "ADDED" | "MODIFIED" | "DELETED" | "ERROR";
29
- object?: T;
30
- }
31
- interface KubeWatchPreloadOptions {
32
- /**
33
- * The namespaces to watch
34
- * @default all-accessible
35
- */
36
- namespaces?: string[];
37
- /**
38
- * Whether to skip loading if the store is already loaded
39
- * @default false
40
- */
41
- loadOnce?: boolean;
42
- /**
43
- * A function that is called when listing fails. If set then blocks errors
44
- * being rejected with
45
- */
46
- onLoadFailure?: (err: any) => void;
47
- }
48
- export interface KubeWatchSubscribeStoreOptions extends KubeWatchPreloadOptions {
49
- /**
50
- * Whether to subscribe only after loading all stores
51
- * @default true
52
- */
53
- waitUntilLoaded?: boolean;
54
- /**
55
- * Whether to preload the stores before watching
56
- * @default true
57
- */
58
- preload?: boolean;
59
- }
60
- export interface IKubeWatchLog {
61
- message: string | string[] | Error;
62
- meta?: object;
63
- cssStyle?: string;
64
- }
65
- export declare class KubeWatchApi {
66
- context: ClusterContext;
67
- constructor();
68
- isAllowedApi(api: KubeApi<KubeObject>): boolean;
69
- preloadStores(stores: KubeObjectStore<KubeObject>[], { loadOnce, namespaces, onLoadFailure }?: KubeWatchPreloadOptions): {
70
- loading: Promise<PromiseSettledResult<any>[]>;
71
- cancelLoading: () => void;
72
- };
73
- subscribeStores(stores: KubeObjectStore<KubeObject>[], opts?: KubeWatchSubscribeStoreOptions): Disposer;
74
- protected log({ message, cssStyle, meta }: IKubeWatchLog): void;
75
- }
76
- export declare const kubeWatchApi: KubeWatchApi;
77
- export {};
@@ -1,36 +0,0 @@
1
- /**
2
- * Copyright (c) 2021 OpenLens Authors
3
- *
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy of
5
- * this software and associated documentation files (the "Software"), to deal in
6
- * the Software without restriction, including without limitation the rights to
7
- * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
8
- * the Software, and to permit persons to whom the Software is furnished to do so,
9
- * subject to the following conditions:
10
- *
11
- * The above copyright notice and this permission notice shall be included in all
12
- * copies or substantial portions of the Software.
13
- *
14
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
16
- * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
17
- * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18
- * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
- */
21
- import { BaseRegistry } from "./base-registry";
22
- import type { LensExtension } from "../lens-extension";
23
- import type { CatalogEntity } from "../../common/catalog";
24
- export interface CommandContext {
25
- entity?: CatalogEntity;
26
- }
27
- export interface CommandRegistration {
28
- id: string;
29
- title: string;
30
- scope: "entity" | "global";
31
- action: (context: CommandContext) => void;
32
- isActive?: (context: CommandContext) => boolean;
33
- }
34
- export declare class CommandRegistry extends BaseRegistry<CommandRegistration> {
35
- add(items: CommandRegistration | CommandRegistration[], extension?: LensExtension): () => void;
36
- }
@@ -1,28 +0,0 @@
1
- /**
2
- * Copyright (c) 2021 OpenLens Authors
3
- *
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy of
5
- * this software and associated documentation files (the "Software"), to deal in
6
- * the Software without restriction, including without limitation the rights to
7
- * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
8
- * the Software, and to permit persons to whom the Software is furnished to do so,
9
- * subject to the following conditions:
10
- *
11
- * The above copyright notice and this permission notice shall be included in all
12
- * copies or substantial portions of the Software.
13
- *
14
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
16
- * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
17
- * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18
- * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
- */
21
- import { BaseRegistry } from "./base-registry";
22
- export interface WelcomeMenuRegistration {
23
- title: string | (() => string);
24
- icon: string;
25
- click: () => void | Promise<void>;
26
- }
27
- export declare class WelcomeMenuRegistry extends BaseRegistry<WelcomeMenuRegistration> {
28
- }
@@ -1,36 +0,0 @@
1
- /**
2
- * Copyright (c) 2021 OpenLens Authors
3
- *
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy of
5
- * this software and associated documentation files (the "Software"), to deal in
6
- * the Software without restriction, including without limitation the rights to
7
- * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
8
- * the Software, and to permit persons to whom the Software is furnished to do so,
9
- * subject to the following conditions:
10
- *
11
- * The above copyright notice and this permission notice shall be included in all
12
- * copies or substantial portions of the Software.
13
- *
14
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
16
- * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
17
- * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18
- * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
- */
21
- import type { ProxyApiRequestArgs } from "./types";
22
- import { Singleton } from "../../common/utils";
23
- import type { ClusterId } from "../../common/cluster-types";
24
- export declare class ShellRequestAuthenticator extends Singleton {
25
- private tokens;
26
- init(): void;
27
- /**
28
- * Authenticates a single use token for creating a new shell
29
- * @param clusterId The `ClusterId` for the shell
30
- * @param tabId The ID for the shell
31
- * @param token The value that is being presented as a one time authentication token
32
- * @returns `true` if `token` was valid, false otherwise
33
- */
34
- authenticate(clusterId: ClusterId, tabId: string, token: string): boolean;
35
- }
36
- export declare function shellApiRequest({ req, socket, head }: ProxyApiRequestArgs): void;
@@ -1,37 +0,0 @@
1
- /**
2
- * Copyright (c) 2021 OpenLens Authors
3
- *
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy of
5
- * this software and associated documentation files (the "Software"), to deal in
6
- * the Software without restriction, including without limitation the rights to
7
- * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
8
- * the Software, and to permit persons to whom the Software is furnished to do so,
9
- * subject to the following conditions:
10
- *
11
- * The above copyright notice and this permission notice shall be included in all
12
- * copies or substantial portions of the Software.
13
- *
14
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
16
- * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
17
- * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18
- * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
- */
21
- import React from "react";
22
- import { ClusterPageMenuRegistration } from "../extensions/registries";
23
- import { TabLayoutRoute } from "./components/layout/tab-layout";
24
- import type { ClusterId } from "../common/cluster-types";
25
- export declare class ClusterFrame extends React.Component {
26
- static clusterId: ClusterId;
27
- static readonly logPrefix = "[CLUSTER-FRAME]:";
28
- static displayName: string;
29
- constructor(props: {});
30
- static init(rootElem: HTMLElement): Promise<void>;
31
- componentDidMount(): void;
32
- startUrl: string;
33
- getTabLayoutRoutes(menuItem: ClusterPageMenuRegistration): TabLayoutRoute[];
34
- renderExtensionTabLayoutRoutes(): JSX.Element[];
35
- renderExtensionRoutes(): JSX.Element[];
36
- render(): JSX.Element;
37
- }
@@ -1,37 +0,0 @@
1
- /**
2
- * Copyright (c) 2021 OpenLens Authors
3
- *
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy of
5
- * this software and associated documentation files (the "Software"), to deal in
6
- * the Software without restriction, including without limitation the rights to
7
- * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
8
- * the Software, and to permit persons to whom the Software is furnished to do so,
9
- * subject to the following conditions:
10
- *
11
- * The above copyright notice and this permission notice shall be included in all
12
- * copies or substantial portions of the Software.
13
- *
14
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
16
- * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
17
- * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18
- * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
- */
21
- import "./clipboard.scss";
22
- import React from "react";
23
- export interface CopyToClipboardProps {
24
- resetSelection?: boolean;
25
- showNotification?: boolean;
26
- cssSelectorLimit?: string;
27
- getNotificationMessage?(copiedText: string): React.ReactNode;
28
- }
29
- export declare const defaultProps: Partial<CopyToClipboardProps>;
30
- export declare class Clipboard extends React.Component<CopyToClipboardProps> {
31
- static displayName: string;
32
- static defaultProps: object;
33
- get rootElem(): HTMLElement;
34
- get rootReactElem(): React.ReactElement<React.HTMLProps<any>>;
35
- onClick(evt: React.MouseEvent): void;
36
- render(): React.ReactElement<React.HTMLProps<any>, string | React.JSXElementConstructor<any>>;
37
- }
@@ -1,22 +0,0 @@
1
- /**
2
- * Copyright (c) 2021 OpenLens Authors
3
- *
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy of
5
- * this software and associated documentation files (the "Software"), to deal in
6
- * the Software without restriction, including without limitation the rights to
7
- * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
8
- * the Software, and to permit persons to whom the Software is furnished to do so,
9
- * subject to the following conditions:
10
- *
11
- * The above copyright notice and this permission notice shall be included in all
12
- * copies or substantial portions of the Software.
13
- *
14
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
16
- * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
17
- * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18
- * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
- */
21
- export declare function hotbarDisplayLabel(id: string): string;
22
- export declare function hotbarDisplayIndex(id: string): string;
@@ -1,28 +0,0 @@
1
- /**
2
- * Copyright (c) 2021 OpenLens Authors
3
- *
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy of
5
- * this software and associated documentation files (the "Software"), to deal in
6
- * the Software without restriction, including without limitation the rights to
7
- * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
8
- * the Software, and to permit persons to whom the Software is furnished to do so,
9
- * subject to the following conditions:
10
- *
11
- * The above copyright notice and this permission notice shall be included in all
12
- * copies or substantial portions of the Software.
13
- *
14
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
16
- * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
17
- * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18
- * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
- */
21
- export interface SidebarStorageState {
22
- width: number;
23
- expanded: {
24
- [itemId: string]: boolean;
25
- };
26
- }
27
- export declare const defaultSidebarWidth = 200;
28
- export declare const sidebarStorage: import("../../utils").StorageHelper<SidebarStorageState>;
@@ -1,21 +0,0 @@
1
- /**
2
- * Copyright (c) 2021 OpenLens Authors
3
- *
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy of
5
- * this software and associated documentation files (the "Software"), to deal in
6
- * the Software without restriction, including without limitation the rights to
7
- * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
8
- * the Software, and to permit persons to whom the Software is furnished to do so,
9
- * subject to the following conditions:
10
- *
11
- * The above copyright notice and this permission notice shall be included in all
12
- * copies or substantial portions of the Software.
13
- *
14
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
16
- * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
17
- * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18
- * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
- */
21
- export declare function useStorage<T>(key: string, initialValue: T): [T, (value: T) => void];
@@ -1,21 +0,0 @@
1
- /**
2
- * Copyright (c) 2021 OpenLens Authors
3
- *
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy of
5
- * this software and associated documentation files (the "Software"), to deal in
6
- * the Software without restriction, including without limitation the rights to
7
- * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
8
- * the Software, and to permit persons to whom the Software is furnished to do so,
9
- * subject to the following conditions:
10
- *
11
- * The above copyright notice and this permission notice shall be included in all
12
- * copies or substantial portions of the Software.
13
- *
14
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
16
- * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
17
- * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18
- * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
- */
21
- export declare function initCommandRegistry(): void;
@@ -1,21 +0,0 @@
1
- /**
2
- * Copyright (c) 2021 OpenLens Authors
3
- *
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy of
5
- * this software and associated documentation files (the "Software"), to deal in
6
- * the Software without restriction, including without limitation the rights to
7
- * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
8
- * the Software, and to permit persons to whom the Software is furnished to do so,
9
- * subject to the following conditions:
10
- *
11
- * The above copyright notice and this permission notice shall be included in all
12
- * copies or substantial portions of the Software.
13
- *
14
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
16
- * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
17
- * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18
- * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
- */
21
- export declare function initWelcomeMenuRegistry(): void;
@@ -1,39 +0,0 @@
1
- /**
2
- * Copyright (c) 2021 OpenLens Authors
3
- *
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy of
5
- * this software and associated documentation files (the "Software"), to deal in
6
- * the Software without restriction, including without limitation the rights to
7
- * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
8
- * the Software, and to permit persons to whom the Software is furnished to do so,
9
- * subject to the following conditions:
10
- *
11
- * The above copyright notice and this permission notice shall be included in all
12
- * copies or substantial portions of the Software.
13
- *
14
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
16
- * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
17
- * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18
- * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
- */
21
- import { ItemStore } from "../../common/item.store";
22
- import { ForwardedPort, PortForwardItem } from "./port-forward-item";
23
- export declare class PortForwardStore extends ItemStore<PortForwardItem> {
24
- private storage;
25
- portForwards: PortForwardItem[];
26
- constructor();
27
- private init;
28
- watch(): import("../utils").ExtendableDisposer;
29
- loadAll(): Promise<any>;
30
- reset(): void;
31
- removeSelectedItems(): Promise<void[]>;
32
- getById(id: string): PortForwardItem;
33
- }
34
- export declare function addPortForward(portForward: ForwardedPort): Promise<number>;
35
- export declare function getPortForward(portForward: ForwardedPort): Promise<number>;
36
- export declare function modifyPortForward(portForward: ForwardedPort, desiredPort: number): Promise<number>;
37
- export declare function removePortForward(portForward: ForwardedPort): Promise<void>;
38
- export declare function getPortForwards(): Promise<ForwardedPort[]>;
39
- export declare const portForwardStore: PortForwardStore;
@@ -1,21 +0,0 @@
1
- /**
2
- * Copyright (c) 2021 OpenLens Authors
3
- *
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy of
5
- * this software and associated documentation files (the "Software"), to deal in
6
- * the Software without restriction, including without limitation the rights to
7
- * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
8
- * the Software, and to permit persons to whom the Software is furnished to do so,
9
- * subject to the following conditions:
10
- *
11
- * The above copyright notice and this permission notice shall be included in all
12
- * copies or substantial portions of the Software.
13
- *
14
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
16
- * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
17
- * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18
- * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
- */
21
- export declare function bindProtocolAddRouteHandlers(): void;
@@ -1,27 +0,0 @@
1
- /**
2
- * Copyright (c) 2021 OpenLens Authors
3
- *
4
- * Permission is hereby granted, free of charge, to any person obtaining a copy of
5
- * this software and associated documentation files (the "Software"), to deal in
6
- * the Software without restriction, including without limitation the rights to
7
- * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
8
- * the Software, and to permit persons to whom the Software is furnished to do so,
9
- * subject to the following conditions:
10
- *
11
- * The above copyright notice and this permission notice shall be included in all
12
- * copies or substantial portions of the Software.
13
- *
14
- * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
16
- * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
17
- * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
18
- * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
19
- * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
20
- */
21
- export declare function copyToClipboard(elem: HTMLElement, { resetSelection }?: {
22
- resetSelection?: boolean;
23
- }): {
24
- copied: boolean;
25
- copiedText: string;
26
- clearSelection: () => void;
27
- };