1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

Fix build

Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
Sebastian Malton 2021-10-19 15:43:54 -04:00
parent 537f0b5404
commit e84f9b9394

View File

@ -42,7 +42,7 @@ export interface ISecretRef {
} }
export interface SecretData extends KubeJsonApiData { export interface SecretData extends KubeJsonApiData {
type: SecretType; type?: SecretType;
data?: Record<string, string>; data?: Record<string, string>;
} }
@ -51,7 +51,7 @@ export class Secret extends KubeObject {
static namespaced = true; static namespaced = true;
static apiBase = "/api/v1/secrets"; static apiBase = "/api/v1/secrets";
declare type: SecretType; declare type?: SecretType;
declare data: Record<string, string>; declare data: Record<string, string>;
constructor(data: SecretData) { constructor(data: SecretData) {