@k8slens/extensions 6.0.1-git.d9785ad4dc.0 → 6.0.1-git.edacf3bec6.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.
@@ -3,6 +3,10 @@
3
3
  * Licensed under MIT License. See LICENSE in root directory for more information.
4
4
  */
5
5
  import type { Injectable } from "@ogre-tools/injectable";
6
+ export interface GlobalOverride {
7
+ injectable: Injectable<any, any, any>;
8
+ overridingInstantiate: any;
9
+ }
6
10
  export declare const getGlobalOverride: <T extends Injectable<any, any, any>>(injectable: T, overridingInstantiate: T["instantiate"]) => {
7
11
  injectable: T;
8
12
  overridingInstantiate: T["instantiate"];
@@ -0,0 +1,5 @@
1
+ /**
2
+ * Copyright (c) OpenLens Authors. All rights reserved.
3
+ * Licensed under MIT License. See LICENSE in root directory for more information.
4
+ */
5
+ export {};
@@ -21,7 +21,6 @@ export * from "./hash-set";
21
21
  export * from "./n-fircate";
22
22
  export * from "./noop";
23
23
  export * from "./observable-crate/impl";
24
- export * from "./openBrowser";
25
24
  export * from "./paths";
26
25
  export * from "./promise-exec";
27
26
  export * from "./readonly";
@@ -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<import("./open-link-in-browser.injectable").OpenLinkInBrowser, unknown, void>;
7
+ overridingInstantiate: import("@ogre-tools/injectable").Instantiate<import("./open-link-in-browser.injectable").OpenLinkInBrowser, void>;
8
+ };
9
+ export default _default;
@@ -0,0 +1,3 @@
1
+ export declare type OpenLinkInBrowser = (url: string) => Promise<void>;
2
+ declare const openLinkInBrowserInjectable: import("@ogre-tools/injectable").Injectable<OpenLinkInBrowser, unknown, void>;
3
+ export default openLinkInBrowserInjectable;
@@ -0,0 +1,12 @@
1
+ /**
2
+ * Copyright (c) OpenLens Authors. All rights reserved.
3
+ * Licensed under MIT License. See LICENSE in root directory for more information.
4
+ */
5
+ /**
6
+ * Join all entires with a PATH env var delimated string together
7
+ * @param PATHs Any number of PATH env variables
8
+ *
9
+ * NOTE: This function does not attempt to handle any sort of escape sequences since after testing
10
+ * it was found that `zsh` (at least on `macOS`) does not when trying to find programs
11
+ */
12
+ export declare function unionPATHs(...PATHs: string[]): string;
@@ -12,6 +12,10 @@ declare const packageJsonInjectable: import("@ogre-tools/injectable").Injectable
12
12
  email: string;
13
13
  };
14
14
  scripts: {
15
+ "adr:create": string;
16
+ "adr:change-status": string;
17
+ "adr:update-readme": string;
18
+ "adr:list": string;
15
19
  dev: string;
16
20
  "dev-build": string;
17
21
  "debug-build": string;
@@ -208,6 +212,7 @@ declare const packageJsonInjectable: import("@ogre-tools/injectable").Injectable
208
212
  "winston-console-format": string;
209
213
  "winston-transport-browserconsole": string;
210
214
  ws: string;
215
+ "xterm-link-provider": string;
211
216
  };
212
217
  devDependencies: {
213
218
  "@async-fn/jest": string;
@@ -278,6 +283,7 @@ declare const packageJsonInjectable: import("@ogre-tools/injectable").Injectable
278
283
  "@types/webpack-node-externals": string;
279
284
  "@typescript-eslint/eslint-plugin": string;
280
285
  "@typescript-eslint/parser": string;
286
+ adr: string;
281
287
  ansi_up: string;
282
288
  "chart.js": string;
283
289
  "circular-dependency-plugin": string;
@@ -2,6 +2,11 @@
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
- export { Singleton, openExternal, openBrowser, getAppVersion } from "../../common/utils";
5
+ export { Singleton, getAppVersion } from "../../common/utils";
6
6
  export { prevDefault, stopPropagation } from "../../renderer/utils/prevDefault";
7
7
  export { cssNames } from "../../renderer/utils/cssNames";
8
+ /**
9
+ * @deprecated Use {@link openBrowser} instead
10
+ */
11
+ export declare const openExternal: import("../../common/utils/open-link-in-browser.injectable").OpenLinkInBrowser;
12
+ export declare const openBrowser: import("../../common/utils/open-link-in-browser.injectable").OpenLinkInBrowser;