@k8slens/extensions 5.3.1-git.44f1f38a75.0 → 5.3.1-git.495e80cd45.0
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/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 +659 -2087
- package/dist/src/renderer/bootstrap.d.ts +2 -1
- package/dist/src/renderer/components/+namespaces/namespace.store.d.ts +4 -2
- package/dist/src/renderer/components/+workloads-overview/overview-workload-status.d.ts +2 -7
- package/dist/src/renderer/components/dock/dock.store.d.ts +11 -4
- package/dist/src/renderer/components/getDi.d.ts +22 -0
- package/dist/src/renderer/components/getDiForUnitTesting.d.ts +22 -0
- 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;
|