@questpie/tanstack-query 3.25.3 → 3.26.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/dist/index.d.mts +1 -1
  2. package/package.json +2 -2
package/dist/index.d.mts CHANGED
@@ -39,7 +39,7 @@ type CollectionKeys<TApp extends QuestpieApp> = Extract<keyof QuestpieClient<TAp
39
39
  /** Extract global keys from QuestpieClient */
40
40
  type GlobalKeys<TApp extends QuestpieApp> = Extract<keyof QuestpieClient<TApp>["globals"], string>;
41
41
  /** Extract generated channel registry keys without client control properties. */
42
- type ChannelKeys<TApp extends QuestpieApp> = Extract<keyof NonNullable<TApp["channels"]>, string>;
42
+ type ChannelKeys<TApp extends QuestpieApp> = Extract<keyof NonNullable<TApp["channels"]>, keyof QuestpieClient<TApp>["channels"]>;
43
43
  type ChannelIter<TApp extends QuestpieApp, K$1 extends ChannelKeys<TApp>> = QuestpieClient<TApp>["channels"][K$1] extends {
44
44
  iter: infer TIter;
45
45
  } ? TIter extends ((...args: infer _TArgs) => AsyncGenerator<unknown, void, unknown>) ? TIter : never : never;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@questpie/tanstack-query",
3
- "version": "3.25.3",
3
+ "version": "3.26.1",
4
4
  "description": "TanStack Query integration for QUESTPIE, with a typed query-options factory",
5
5
  "repository": {
6
6
  "type": "git",
@@ -44,6 +44,6 @@
44
44
  },
45
45
  "peerDependencies": {
46
46
  "@tanstack/react-query": "^5.0.0",
47
- "questpie": "^3.25.3"
47
+ "questpie": "^3.26.1"
48
48
  }
49
49
  }