@k8slens/extensions 5.5.0-beta.0 → 5.5.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/src/common/user-store/preferences-helpers.d.ts +0 -1
- package/dist/src/common/user-store/user-store.d.ts +0 -1
- package/dist/src/common/utils/type-narrowing.d.ts +5 -0
- package/dist/src/extensions/extension-api.js +193 -171
- package/dist/src/main/menu/menu.d.ts +1 -6
- package/dist/src/main/tray/tray.d.ts +1 -1
- package/dist/src/renderer/components/+namespaces/namespace-select-filter-model/namespace-select-filter-model.d.ts +1 -1
- package/dist/src/renderer/components/switch/switcher.d.ts +1 -1
- package/dist/src/renderer/theme.store.d.ts +5 -7
- package/package.json +6 -3
|
@@ -55,7 +55,6 @@ export declare const DESCRIPTORS: {
|
|
|
55
55
|
terminalTheme: PreferenceDescription<string, string>;
|
|
56
56
|
localeTimezone: PreferenceDescription<string, string>;
|
|
57
57
|
allowUntrustedCAs: PreferenceDescription<boolean, boolean>;
|
|
58
|
-
allowTelemetry: PreferenceDescription<boolean, boolean>;
|
|
59
58
|
allowErrorReporting: PreferenceDescription<boolean, boolean>;
|
|
60
59
|
downloadMirror: PreferenceDescription<string, string>;
|
|
61
60
|
downloadKubectlBinaries: PreferenceDescription<boolean, boolean>;
|
|
@@ -18,7 +18,6 @@ export declare class UserStore extends BaseStore<UserStoreModel> {
|
|
|
18
18
|
kubeConfigPath: string;
|
|
19
19
|
seenContexts: import("mobx").ObservableSet<string>;
|
|
20
20
|
newContexts: import("mobx").ObservableSet<string>;
|
|
21
|
-
allowTelemetry: boolean;
|
|
22
21
|
allowErrorReporting: boolean;
|
|
23
22
|
allowUntrustedCAs: boolean;
|
|
24
23
|
colorTheme: string;
|
|
@@ -54,6 +54,11 @@ export declare function isTypedArray<T>(val: unknown, isEntry: (entry: unknown)
|
|
|
54
54
|
* @param val the value to be checked
|
|
55
55
|
*/
|
|
56
56
|
export declare function isString(val: unknown): val is string;
|
|
57
|
+
/**
|
|
58
|
+
* checks if val is of type boolean
|
|
59
|
+
* @param val the value to be checked
|
|
60
|
+
*/
|
|
61
|
+
export declare function isBoolean(val: unknown): val is boolean;
|
|
57
62
|
/**
|
|
58
63
|
* checks if val is of type object and isn't null
|
|
59
64
|
* @param val the value to be checked
|