@livetiles/reach-plugin-types 0.4.0-preview.452 → 0.4.0-preview.453

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.
Files changed (2) hide show
  1. package/lib/index.d.ts +7 -4
  2. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -2516,18 +2516,21 @@ declare module "libs/reach/util/common/src/plugins/usePluginExtensions" {
2516
2516
  export function useInjectedRemotePlugins(): DevPlugin[];
2517
2517
  export function useRemotePlugins(): WebPluginDefinition[];
2518
2518
  }
2519
+ declare module "libs/reach/util/common/src/plugins/utils" {
2520
+ export function silenceNotFound(reason: any): any;
2521
+ }
2519
2522
  declare module "libs/reach/util/common/src/plugins/usePluginUserStore" {
2520
2523
  import { DependencyList } from 'react';
2521
2524
  import { PluginStore } from "libs/reach/util/common/src/plugins/PluginContext";
2522
2525
  import { Api } from 'restful.js';
2523
2526
  export function usePluginUserStore(): PluginStore;
2524
2527
  export function usePluginUserStoreValue<T>(key: string, deps?: DependencyList): {
2525
- data: T;
2528
+ data: any;
2526
2529
  set: (newValue: T) => Promise<unknown>;
2527
2530
  isLoading: boolean;
2528
2531
  error: any;
2529
2532
  refresh: () => void;
2530
- remove: () => Promise<unknown>;
2533
+ remove: () => Promise<any>;
2531
2534
  };
2532
2535
  export function getPluginUserStoreWrapper(pluginId: string, api: Api): PluginStore;
2533
2536
  }
@@ -2537,12 +2540,12 @@ declare module "libs/reach/util/common/src/plugins/usePluginSubscriptionStore" {
2537
2540
  import { Api } from 'restful.js';
2538
2541
  export function usePluginSubscriptionStore(): PluginStore;
2539
2542
  export function usePluginSubscriptionStoreValue<T>(key: string, deps?: DependencyList): {
2540
- data: T;
2543
+ data: any;
2541
2544
  set: (newValue: T) => Promise<unknown>;
2542
2545
  isLoading: boolean;
2543
2546
  error: any;
2544
2547
  refresh: () => void;
2545
- remove: () => Promise<unknown>;
2548
+ remove: () => Promise<any>;
2546
2549
  };
2547
2550
  export function getPluginSubscriptionStoreWrapper(pluginId: string, api: Api): PluginStore;
2548
2551
  }
package/package.json CHANGED
@@ -4,6 +4,6 @@
4
4
  "main": "",
5
5
  "types": "./index.d.ts",
6
6
  "license": "ISC",
7
- "version": "0.4.0-preview.452",
7
+ "version": "0.4.0-preview.453",
8
8
  "dependencies": {}
9
9
  }