mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
chore: Move kubeApiInjectionToken into own package
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
711ad11bf1
commit
8fd0b5fab4
58 files changed
+189
-47
No files matched your search
@@ -0,0 +1,10 @@
|
||||
/**
|
||||
* 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 "@k8slens/kube-api";
|
||||
|
||||
export const kubeApiInjectionToken = getInjectionToken<KubeApi<any, any>>({
|
||||
id: "kube-api-injection-token",
|
||||
});
|
||||
Reference in new issue
Block a user