@tanstack/lit-query 0.2.38 → 0.2.39
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.
- package/README.md +1 -1
- package/build/legacy/index.cjs.map +1 -1
- package/build/legacy/index.js.map +1 -1
- package/build/modern/index.cjs.map +1 -1
- package/build/modern/index.js.map +1 -1
- package/package.json +2 -2
- package/src/createInfiniteQueryController.ts +1 -1
- package/src/createMutationController.ts +1 -1
- package/src/createQueriesController.ts +1 -1
- package/src/createQueryController.ts +1 -1
- package/src/index.ts +1 -0
- package/src/useIsFetching.ts +1 -1
- package/src/useIsMutating.ts +1 -1
- package/src/useMutationState.ts +1 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tanstack/lit-query",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.39",
|
|
4
4
|
"description": "Lit adapter for TanStack Query Core",
|
|
5
5
|
"author": "tannerlinsley",
|
|
6
6
|
"license": "MIT",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
42
|
"@lit/context": "^1.1.6",
|
|
43
|
-
"@tanstack/query-core": "5.107.
|
|
43
|
+
"@tanstack/query-core": "5.107.2"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@lit-labs/ssr": "^3.3.1",
|
|
@@ -3,7 +3,6 @@ import { createValueAccessor, readAccessor } from './accessor.js'
|
|
|
3
3
|
import { createMissingQueryClientError } from './context.js'
|
|
4
4
|
import { BaseController } from './controllers/BaseController.js'
|
|
5
5
|
import { QueryObserverResultTracker } from './queryObserverResultTracker.js'
|
|
6
|
-
import type { Accessor, ValueAccessor } from './accessor.js'
|
|
7
6
|
import type {
|
|
8
7
|
DefaultError,
|
|
9
8
|
DefaultedInfiniteQueryObserverOptions,
|
|
@@ -14,6 +13,7 @@ import type {
|
|
|
14
13
|
QueryKey,
|
|
15
14
|
} from '@tanstack/query-core'
|
|
16
15
|
import type { ReactiveControllerHost } from 'lit'
|
|
16
|
+
import type { Accessor, ValueAccessor } from './accessor.js'
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
* Options accepted by `createInfiniteQueryController`.
|
|
@@ -2,7 +2,6 @@ import { MutationObserver } from '@tanstack/query-core'
|
|
|
2
2
|
import { createValueAccessor, readAccessor } from './accessor.js'
|
|
3
3
|
import { createMissingQueryClientError } from './context.js'
|
|
4
4
|
import { BaseController } from './controllers/BaseController.js'
|
|
5
|
-
import type { Accessor, ValueAccessor } from './accessor.js'
|
|
6
5
|
import type {
|
|
7
6
|
DefaultError,
|
|
8
7
|
MutateFunction,
|
|
@@ -11,6 +10,7 @@ import type {
|
|
|
11
10
|
QueryClient,
|
|
12
11
|
} from '@tanstack/query-core'
|
|
13
12
|
import type { ReactiveControllerHost } from 'lit'
|
|
13
|
+
import type { Accessor, ValueAccessor } from './accessor.js'
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* Options accepted by `createMutationController`.
|
|
@@ -2,7 +2,6 @@ import { QueriesObserver, replaceEqualDeep } from '@tanstack/query-core'
|
|
|
2
2
|
import { createValueAccessor, readAccessor } from './accessor.js'
|
|
3
3
|
import { createMissingQueryClientError } from './context.js'
|
|
4
4
|
import { BaseController } from './controllers/BaseController.js'
|
|
5
|
-
import type { Accessor, ValueAccessor } from './accessor.js'
|
|
6
5
|
import type {
|
|
7
6
|
DefaultError,
|
|
8
7
|
DefinedQueryObserverResult,
|
|
@@ -16,6 +15,7 @@ import type {
|
|
|
16
15
|
ThrowOnError,
|
|
17
16
|
} from '@tanstack/query-core'
|
|
18
17
|
import type { ReactiveControllerHost } from 'lit'
|
|
18
|
+
import type { Accessor, ValueAccessor } from './accessor.js'
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* Options for one query inside `createQueriesController`.
|
|
@@ -3,7 +3,6 @@ import { createValueAccessor, readAccessor } from './accessor.js'
|
|
|
3
3
|
import { createMissingQueryClientError } from './context.js'
|
|
4
4
|
import { BaseController } from './controllers/BaseController.js'
|
|
5
5
|
import { QueryObserverResultTracker } from './queryObserverResultTracker.js'
|
|
6
|
-
import type { Accessor, ValueAccessor } from './accessor.js'
|
|
7
6
|
import type {
|
|
8
7
|
DefaultError,
|
|
9
8
|
DefaultedQueryObserverOptions,
|
|
@@ -13,6 +12,7 @@ import type {
|
|
|
13
12
|
QueryObserverResult,
|
|
14
13
|
} from '@tanstack/query-core'
|
|
15
14
|
import type { ReactiveControllerHost } from 'lit'
|
|
15
|
+
import type { Accessor, ValueAccessor } from './accessor.js'
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Options accepted by `createQueryController`.
|
package/src/index.ts
CHANGED
package/src/useIsFetching.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createValueAccessor, readAccessor } from './accessor.js'
|
|
2
2
|
import { BaseController } from './controllers/BaseController.js'
|
|
3
|
-
import type { Accessor, ValueAccessor } from './accessor.js'
|
|
4
3
|
import type { QueryClient, QueryFilters } from '@tanstack/query-core'
|
|
5
4
|
import type { ReactiveControllerHost } from 'lit'
|
|
5
|
+
import type { Accessor, ValueAccessor } from './accessor.js'
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Accessor returned by `useIsFetching`.
|
package/src/useIsMutating.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { createValueAccessor, readAccessor } from './accessor.js'
|
|
2
2
|
import { BaseController } from './controllers/BaseController.js'
|
|
3
|
-
import type { Accessor, ValueAccessor } from './accessor.js'
|
|
4
3
|
import type { MutationFilters, QueryClient } from '@tanstack/query-core'
|
|
5
4
|
import type { ReactiveControllerHost } from 'lit'
|
|
5
|
+
import type { Accessor, ValueAccessor } from './accessor.js'
|
|
6
6
|
|
|
7
7
|
/**
|
|
8
8
|
* Accessor returned by `useIsMutating`.
|
package/src/useMutationState.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { replaceEqualDeep } from '@tanstack/query-core'
|
|
2
2
|
import { createValueAccessor, readAccessor } from './accessor.js'
|
|
3
3
|
import { BaseController } from './controllers/BaseController.js'
|
|
4
|
-
import type { Accessor, ValueAccessor } from './accessor.js'
|
|
5
4
|
import type {
|
|
6
5
|
Mutation,
|
|
7
6
|
MutationFilters,
|
|
@@ -9,6 +8,7 @@ import type {
|
|
|
9
8
|
QueryClient,
|
|
10
9
|
} from '@tanstack/query-core'
|
|
11
10
|
import type { ReactiveControllerHost } from 'lit'
|
|
11
|
+
import type { Accessor, ValueAccessor } from './accessor.js'
|
|
12
12
|
|
|
13
13
|
/**
|
|
14
14
|
* Options accepted by `useMutationState`.
|