@kimesh/query 0.2.39 → 0.2.40
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/dist/index.d.mts +2 -2
- package/package.json +2 -2
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as _tanstack_vue_query0 from "@tanstack/vue-query";
|
|
2
2
|
import { QueryClient, QueryClient as QueryClient$1, QueryKey, QueryKey as QueryKey$1, UseInfiniteQueryReturnType, UseQueryReturnType, VueQueryPlugin, VueQueryPluginOptions, queryOptions, useInfiniteQuery, useMutation, useQuery, useQueryClient } from "@tanstack/vue-query";
|
|
3
3
|
import { FetchContext, FetchContext as FetchContext$1, FetchError, FetchResponse, FetchResponse as FetchResponse$1 } from "ofetch";
|
|
4
|
-
import * as
|
|
4
|
+
import * as vue from "vue";
|
|
5
5
|
import { ComputedRef, MaybeRefOrGetter, Plugin, Ref, WatchSource } from "vue";
|
|
6
6
|
import { RouteLocationNormalized, Router } from "vue-router";
|
|
7
7
|
|
|
@@ -533,7 +533,7 @@ declare function useLazyKmAsyncData<T>(key: string, handler: (ctx: KmAsyncDataCo
|
|
|
533
533
|
* user.value = { ...user.value, name: 'New Name' }
|
|
534
534
|
* ```
|
|
535
535
|
*/
|
|
536
|
-
declare function useKmData<T>(key: string):
|
|
536
|
+
declare function useKmData<T>(key: string): vue.WritableComputedRef<T | undefined, T | undefined>;
|
|
537
537
|
//#endregion
|
|
538
538
|
//#region src/define-query.d.ts
|
|
539
539
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kimesh/query",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.40",
|
|
4
4
|
"description": "Query utilities for Kimesh framework",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"tsdown": "^0.20.0-beta.3",
|
|
36
36
|
"typescript": "^5.9.3",
|
|
37
37
|
"vitest": "^4.0.17",
|
|
38
|
-
"vue": "^3.5.
|
|
38
|
+
"vue": "^3.5.29",
|
|
39
39
|
"vue-router": "^4.5.1",
|
|
40
40
|
"vue-tsc": "^3.2.2"
|
|
41
41
|
},
|