mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
fix build to not use webpack for generating types
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
f1be6a3ec7
commit
488db8cab5
4 files changed
+53
-2
No files matched your search
@@ -42,7 +42,7 @@ export type KubeTemplateObjectMetadata<Namespaced extends KubeObjectScope> = Pic
|
||||
namespace?: ScopedNamespace<Namespaced>;
|
||||
};
|
||||
|
||||
interface BaseKubeJsonApiObjectMetadata<Namespaced extends KubeObjectScope> {
|
||||
export interface BaseKubeJsonApiObjectMetadata<Namespaced extends KubeObjectScope> {
|
||||
/**
|
||||
* Annotations is an unstructured key value map stored with a resource that may be set by
|
||||
* external tools to store and retrieve arbitrary metadata. They are not queryable and should be
|
||||
|
||||
@@ -6,6 +6,7 @@ import type { KubeResource } from "../../common/rbac";
|
||||
import isAllowedResourceInjectable from "../../common/utils/is-allowed-resource.injectable";
|
||||
import { castArray } from "lodash/fp";
|
||||
import { getLegacyGlobalDiForExtensionApi } from "../as-legacy-globals-for-extension-api/legacy-global-di-for-extension-api";
|
||||
import type { BaseKubeJsonApiObjectMetadata } from "../../common/k8s-api/kube-object";
|
||||
|
||||
export function isAllowedResource(resource: KubeResource | KubeResource[]) {
|
||||
const resources = castArray(resource);
|
||||
@@ -20,6 +21,9 @@ export function isAllowedResource(resource: KubeResource | KubeResource[]) {
|
||||
});
|
||||
}
|
||||
|
||||
export {
|
||||
BaseKubeJsonApiObjectMetadata,
|
||||
};
|
||||
export { ResourceStack } from "../../common/k8s/resource-stack";
|
||||
export { apiManager } from "../../common/k8s-api/api-manager";
|
||||
export { KubeObjectStore } from "../../common/k8s-api/kube-object.store";
|
||||
|
||||
Reference in new issue
Block a user