mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
Expose resolving of proxy in extension-API
Co-authored-by: Janne Savolainen <janne.savolainen@live.fi> Signed-off-by: Iku-turso <mikko.aspiala@gmail.com>
This commit is contained in:
parent
7f6710d2f7
commit
a515cca7ee
@ -10,6 +10,8 @@ import * as Store from "./stores";
|
||||
import * as Util from "./utils";
|
||||
import * as Catalog from "./catalog";
|
||||
import * as Types from "./types";
|
||||
import * as Proxy from "./proxy";
|
||||
|
||||
import logger from "../../common/logger";
|
||||
|
||||
export {
|
||||
@ -20,4 +22,5 @@ export {
|
||||
Types,
|
||||
Util,
|
||||
logger,
|
||||
Proxy,
|
||||
};
|
||||
|
||||
9
src/extensions/common-api/proxy.ts
Normal file
9
src/extensions/common-api/proxy.ts
Normal file
@ -0,0 +1,9 @@
|
||||
/**
|
||||
* Copyright (c) OpenLens Authors. All rights reserved.
|
||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||
*/
|
||||
|
||||
import { asLegacyGlobalFunctionForExtensionApi } from "../as-legacy-globals-for-extension-api/as-legacy-global-function-for-extension-api";
|
||||
import { resolveProxyInjectionToken } from "../../behaviours/proxy/resolve-proxy/common/resolve-proxy-injection-token";
|
||||
|
||||
export const resolveProxy = asLegacyGlobalFunctionForExtensionApi(resolveProxyInjectionToken);
|
||||
Loading…
Reference in New Issue
Block a user