From 57a2647a03e1606a99f069cd04f02021da92b7b8 Mon Sep 17 00:00:00 2001 From: Jari Kolehmainen Date: Thu, 27 Jan 2022 08:30:09 +0200 Subject: [PATCH] Export missing k8s api types for extensions (#4749) Signed-off-by: Jari Kolehmainen --- src/extensions/main-api/k8s-api.ts | 2 ++ src/extensions/renderer-api/k8s-api.ts | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/extensions/main-api/k8s-api.ts b/src/extensions/main-api/k8s-api.ts index 31fd2ea14d..cc54ab0134 100644 --- a/src/extensions/main-api/k8s-api.ts +++ b/src/extensions/main-api/k8s-api.ts @@ -43,3 +43,5 @@ export { CustomResourceDefinition, crdApi } from "../../common/k8s-api/endpoints export type { ILocalKubeApiConfig, IRemoteKubeApiConfig, IKubeApiCluster } from "../../common/k8s-api/kube-api"; export type { IPodContainer, IPodContainerStatus } from "../../common/k8s-api/endpoints/pods.api"; export type { ISecretRef } from "../../common/k8s-api/endpoints/secret.api"; +export type { KubeObjectMetadata, KubeStatusData } from "../../common/k8s-api/kube-object"; +export type { KubeObjectStoreLoadAllParams, KubeObjectStoreLoadingParams, KubeObjectStoreSubscribeParams } from "../../common/k8s-api/kube-object.store"; diff --git a/src/extensions/renderer-api/k8s-api.ts b/src/extensions/renderer-api/k8s-api.ts index 266d4759f5..47a17e4427 100644 --- a/src/extensions/renderer-api/k8s-api.ts +++ b/src/extensions/renderer-api/k8s-api.ts @@ -46,6 +46,8 @@ export type { ILocalKubeApiConfig, IRemoteKubeApiConfig, IKubeApiCluster } from export type { IPodContainer, IPodContainerStatus } from "../../common/k8s-api/endpoints"; export type { ISecretRef } from "../../common/k8s-api/endpoints"; export type { KubeObjectStatus } from "./kube-object-status"; +export type { KubeObjectMetadata, KubeStatusData } from "../../common/k8s-api/kube-object"; +export type { KubeObjectStoreLoadAllParams, KubeObjectStoreLoadingParams, KubeObjectStoreSubscribeParams } from "../../common/k8s-api/kube-object.store"; // stores export type { EventStore } from "../../renderer/components/+events/event.store";