@k8slens/extensions 5.3.1-git.44f1f38a75.0 → 5.3.1-git.495e80cd45.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -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 { IReactionOptions } from "mobx";
23
+ import { IEqualsComparer } from "mobx";
24
24
  import { Singleton, Disposer } from "./utils";
25
25
  export interface BaseStoreParams<T> extends ConfOptions<T> {
26
- syncOptions?: IReactionOptions;
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: KubeObject): string;
36
+ lookupApiLink(ref: IKubeObjectRef, parentObject?: KubeObject): string;
37
37
  }
38
38
  export declare const apiManager: ApiManager;