@tanstack/query-db-collection 1.0.22 → 1.0.23

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.
@@ -15,7 +15,7 @@ import { LoadSubsetOptions } from '@tanstack/db';
15
15
  * ```
16
16
  */
17
17
  export interface QueryCollectionMeta extends Record<string, unknown> {
18
- loadSubsetOptions: LoadSubsetOptions;
18
+ loadSubsetOptions?: LoadSubsetOptions;
19
19
  }
20
20
  declare module '@tanstack/query-core' {
21
21
  interface Register {
@@ -15,7 +15,7 @@ import { LoadSubsetOptions } from '@tanstack/db';
15
15
  * ```
16
16
  */
17
17
  export interface QueryCollectionMeta extends Record<string, unknown> {
18
- loadSubsetOptions: LoadSubsetOptions;
18
+ loadSubsetOptions?: LoadSubsetOptions;
19
19
  }
20
20
  declare module '@tanstack/query-core' {
21
21
  interface Register {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tanstack/query-db-collection",
3
- "version": "1.0.22",
3
+ "version": "1.0.23",
4
4
  "description": "TanStack Query collection for TanStack DB",
5
5
  "author": "Kyle Mathews",
6
6
  "license": "MIT",
@@ -40,14 +40,14 @@
40
40
  ],
41
41
  "dependencies": {
42
42
  "@standard-schema/spec": "^1.1.0",
43
- "@tanstack/db": "0.5.25"
43
+ "@tanstack/db": "0.5.26"
44
44
  },
45
45
  "peerDependencies": {
46
46
  "@tanstack/query-core": "^5.0.0",
47
47
  "typescript": ">=4.7"
48
48
  },
49
49
  "devDependencies": {
50
- "@tanstack/query-core": "^5.90.16",
50
+ "@tanstack/query-core": "^5.90.20",
51
51
  "@vitest/coverage-istanbul": "^3.2.4"
52
52
  },
53
53
  "scripts": {
package/src/global.ts CHANGED
@@ -28,7 +28,7 @@ import type { LoadSubsetOptions } from '@tanstack/db'
28
28
  * ```
29
29
  */
30
30
  export interface QueryCollectionMeta extends Record<string, unknown> {
31
- loadSubsetOptions: LoadSubsetOptions
31
+ loadSubsetOptions?: LoadSubsetOptions
32
32
  }
33
33
 
34
34
  // Module augmentation to extend TanStack Query's Register interface