1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00
lens/dashboard/server/common/kubewatch.ts
Sebastian Malton b1ff34879a cleanup Lens repo with tighter linting
Signed-off-by: Sebastian Malton <smalton@mirantis.com>
2020-07-09 17:00:23 -04:00

15 lines
266 B
TypeScript

export interface KubeWatchEvent<T = any> {
type: "ADDED" | "MODIFIED" | "DELETED";
object?: T;
}
export interface KubeWatchRouteEvent {
type: "STREAM_END";
url: string;
status: number;
}
export interface KubeWatchRouteQuery {
api: string | string[];
}