1
0
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:
Iku-turso 2022-06-21 15:00:02 +03:00
parent 7f6710d2f7
commit a515cca7ee
2 changed files with 12 additions and 0 deletions

View File

@ -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,
};

View 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);