@k8slens/extensions 5.5.0-git.91405f854e.0 → 5.5.0-git.9f7e0c4583.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,11 @@
3
3
  * Licensed under MIT License. See LICENSE in root directory for more information.
4
4
  */
5
5
  import type { KubeJsonApiData } from "./kube-json-api";
6
- export interface IKubeWatchEvent<T extends KubeJsonApiData> {
7
- type: "ADDED" | "MODIFIED" | "DELETED" | "ERROR";
8
- object?: T;
9
- }
6
+ import type { KubeStatusData } from "./kube-object";
7
+ export declare type IKubeWatchEvent<T extends KubeJsonApiData> = {
8
+ type: "ADDED" | "MODIFIED" | "DELETED";
9
+ object: T;
10
+ } | {
11
+ type: "ERROR";
12
+ object: KubeStatusData;
13
+ };