@astral/mobx-query 1.10.0 → 1.10.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.
Files changed (2) hide show
  1. package/README.md +3 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -653,9 +653,9 @@ docQuery.forceUpdate({ name: 'test' });
653
653
  Для мокинга QuerySet и InfiniteQuerySet необходимо использовать mock следующего вида:
654
654
  ```ts
655
655
  type Fetcher = {
656
- queries: QuerySet<any[], any>;
657
- infiniteQueries: InfiniteQuerySet<any[], any>;
658
- mutations: MutationSet<any[], any>;
656
+ queries: Record<string, QuerySet<any[], any>>;
657
+ infiniteQueries: Record<InfiniteQuerySet<any[], any>>;
658
+ mutations: Record<MutationSet<any[], any>>;
659
659
  };
660
660
 
661
661
  const mockFetcher = <TFetcher extends Fetcher>(config: DeepPartial<TFetcher>) => config as TFetcher;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@astral/mobx-query",
3
- "version": "1.10.0",
3
+ "version": "1.10.1",
4
4
  "browser": "./index.js",
5
5
  "main": "./node/index.js",
6
6
  "dependencies": {