@k8slens/extensions 5.3.1-git.44f1f38a75.0 → 5.3.1-git.ae9b9e82e7.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/common/base-store.d.ts +5 -2
- package/dist/src/common/k8s-api/api-manager.d.ts +1 -1
- package/dist/src/extensions/extension-api.js +20 -8
- package/dist/src/renderer/components/+namespaces/namespace.store.d.ts +4 -2
- package/dist/src/renderer/components/dock/dock.store.d.ts +11 -4
- package/dist/src/renderer/components/notifications/notifications.d.ts +3 -3
- package/dist/src/renderer/components/switch/switcher.d.ts +1 -1
- package/package.json +1 -1
@@ -20,10 +20,13 @@
|
|
20
20
|
*/
|
21
21
|
import Config from "conf";
|
22
22
|
import type { Options as ConfOptions } from "conf/dist/source/types";
|
23
|
-
import {
|
23
|
+
import { IEqualsComparer } from "mobx";
|
24
24
|
import { Singleton, Disposer } from "./utils";
|
25
25
|
export interface BaseStoreParams<T> extends ConfOptions<T> {
|
26
|
-
syncOptions?:
|
26
|
+
syncOptions?: {
|
27
|
+
fireImmediately?: boolean;
|
28
|
+
equals?: IEqualsComparer<T>;
|
29
|
+
};
|
27
30
|
}
|
28
31
|
/**
|
29
32
|
* Note: T should only contain base JSON serializable types.
|
@@ -33,6 +33,6 @@ export declare class ApiManager {
|
|
33
33
|
unregisterApi(api: string | KubeApi<KubeObject>): void;
|
34
34
|
registerStore(store: KubeObjectStore<KubeObject>, apis?: KubeApi<KubeObject>[]): void;
|
35
35
|
getStore<S extends KubeObjectStore<KubeObject>>(api: string | KubeApi<KubeObject>): S | undefined;
|
36
|
-
lookupApiLink(ref: IKubeObjectRef, parentObject
|
36
|
+
lookupApiLink(ref: IKubeObjectRef, parentObject?: KubeObject): string;
|
37
37
|
}
|
38
38
|
export declare const apiManager: ApiManager;
|