chore: Move kubeApiInjectionToken into own package

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton committed 2023-05-29 09:38:24 -04:00
1 parent 711ad11bf1
commit 8fd0b5fab4
58 files changed
+189 -47

No files matched your search

@@ -1,4 +1,3 @@
export * from "./src/kube-api-injection-token";
export * from "./src/api-kube";
export * from "./src/kube-api";
export * from "./src/kube-api-parse";
@@ -1,10 +0,0 @@
/**
* Copyright (c) OpenLens Authors. All rights reserved.
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import { getInjectionToken } from "@ogre-tools/injectable";
import type { KubeApi } from "./kube-api";
export const kubeApiInjectionToken = getInjectionToken<KubeApi<any, any>>({
id: "kube-api-injection-token",
});
@@ -1,6 +1,6 @@
{
"extends": "@k8slens/typescript/config/base.json",
"include": ["**/*.ts"],
"include": ["**/*.ts", "../kube-api-specifics/src/token.ts"],
"compilerOptions": {
"moduleResolution": "node"
}