cleanup Lens repo with tighter linting

Signed-off-by: Sebastian Malton <smalton@mirantis.com>
This commit is contained in:
Sebastian Malton committed 2020-07-09 17:00:23 -04:00
1 parent e468105143
commit b1ff34879a
470 files changed
+8447 -7443

No files matched your search

+1 -1
View File
@@ -1,4 +1,4 @@
export interface IClusterInfo {
export interface BaseClusterInfo {
kubeVersion?: string;
clusterName?: string;
}
+2 -2
View File
@@ -1,5 +1,5 @@
import { IClusterInfo } from "../common/cluster";
export interface IConfig extends Partial<IClusterInfo> {
import { BaseClusterInfo } from "../common/cluster";
export interface CommonConfig extends Partial<BaseClusterInfo> {
lensVersion?: string;
lensTheme?: string;
username?: string;
+3 -3
View File
@@ -1,14 +1,14 @@
export interface IKubeWatchEvent<T = any> {
export interface KubeWatchEvent<T = any> {
type: "ADDED" | "MODIFIED" | "DELETED";
object?: T;
}
export interface IKubeWatchRouteEvent {
export interface KubeWatchRouteEvent {
type: "STREAM_END";
url: string;
status: number;
}
export interface IKubeWatchRouteQuery {
export interface KubeWatchRouteQuery {
api: string | string[];
}