@fozy-labs/rx-toolkit 0.6.0 → 0.6.2

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.
@@ -1,4 +1,3 @@
1
1
  export { Api } from "./Api";
2
2
  export { mergeHooks } from "./mergeHooks";
3
- export { normalizeLinks } from "./normalizeLinks";
4
3
  export { DEFAULT_RESOURCE_RETENTION_TIME, DEFAULT_COMMAND_RETENTION_TIME } from "./constants";
@@ -1,4 +1,3 @@
1
1
  export { Api } from "./Api";
2
2
  export { mergeHooks } from "./mergeHooks";
3
- export { normalizeLinks } from "./normalizeLinks";
4
3
  export { DEFAULT_RESOURCE_RETENTION_TIME, DEFAULT_COMMAND_RETENTION_TIME } from "./constants";
@@ -10,7 +10,7 @@ export interface TLinkConfig<TArgs, TData, TResArgs, TResData> {
10
10
  optimisticUpdate?: (draft: TResData, commandArgs: TArgs) => void;
11
11
  update?: (draft: TResData, commandArgs: TArgs, result: TData) => void;
12
12
  }
13
- export type TLinksInput<TArgs, TData> = TLinkConfig<TArgs, TData, any, any>[] | ((link: (config: TLinkConfig<TArgs, TData, any, any>) => void) => void);
13
+ export type TLinksInput<TArgs, TData> = (link: <TResArgs, TResData>(config: TLinkConfig<TArgs, TData, TResArgs, TResData>) => void) => void;
14
14
  export interface ICommand<TArgs, TData> {
15
15
  trigger(args: Args<TArgs>, key?: string): Promise<TData>;
16
16
  getEntry(key: string): IQueryCacheEntry<TArgs, TData> | null;
package/docs/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # CHANGELOG
2
2
 
3
+ ## [0.6.2] - 2026-05-17
4
+
5
+ ### Fixed
6
+ - Исправлен вывод типов в `links`
7
+
3
8
  ## [0.6.0] - 2026-04-17
4
9
 
5
10
  [Гайд по миграции с 0.5.x](./migrations/0.6.0.md)
@@ -133,6 +138,7 @@
133
138
  - **BatchStrategy**: настройка стратегии обновлений (`'sync'`, `'microtask'`, `'task'`)
134
139
  - **DefaultOptions**: расширенная конфигурация (`onQueryError`, `getScopeName`)
135
140
 
141
+ [0.6.2]: https://github.com/fozy-labs/rx-toolkit/compare/v0.6.0...v0.6.2
136
142
  [0.6.0]: https://github.com/fozy-labs/rx-toolkit/compare/v0.5.4...v0.6.0
137
143
  [0.5.4]: https://github.com/fozy-labs/rx-toolkit/compare/v0.5.3...v0.5.4
138
144
  [0.5.3]: https://github.com/fozy-labs/rx-toolkit/compare/v0.5.2...v0.5.3
@@ -22,10 +22,7 @@ npm version patch # для патч-версии (0.4.18 -> 0.4.19)
22
22
  npm version minor # для минорной версии (0.4.18 -> 0.5.0)
23
23
  npm version major # для мажорной версии (0.4.18 -> 1.0.0)
24
24
 
25
- # 4. Публикация в npm
26
- npm publish
27
-
28
- # 5. Пуш тегов в репозиторий
25
+ # 4. Пуш тегов в репозиторий
29
26
  git push origin develop --tags
30
27
  ```
31
28
 
@@ -44,10 +41,7 @@ npm run build
44
41
  npm version prerelease --preid=rc
45
42
  # пример: 1.2.0 → 1.2.0-rc.0
46
43
 
47
- # 4. Публикация RC (НЕ latest!)
48
- npm publish --tag rc
49
-
50
- # 5. Пуш тегов
44
+ # 4. Пуш тегов
51
45
  git push origin develop --tags
52
46
  ```
53
47
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fozy-labs/rx-toolkit",
3
- "version": "0.6.0",
3
+ "version": "0.6.2",
4
4
  "main": "./dist/index.js",
5
5
  "types": "./dist/index.d.ts",
6
6
  "type": "module",