eco-vue-js 0.3.73 → 0.3.74

Sign up to get free protection for your applications and to get access to all the features.
@@ -37,12 +37,12 @@ type Params = Parameters<import('@tanstack/vue-query').QueryClient['setQueriesDa
37
37
 
38
38
  declare type QueryParams = Partial<Record<string, number | string> & {page?: number}>
39
39
 
40
- declare type UseDefaultQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends QueryKey = QueryKey> =
40
+ declare type UseDefaultQuery<TQueryFnData = unknown, TError = unknown, TData = TQueryFnData, TQueryKey extends import('@tanstack/vue-query').QueryKey = import('@tanstack/vue-query').QueryKey> =
41
41
  (...args: Parameters<typeof useQuery<TQueryFnData, TError, TData, TQueryKey>>) => import('@tanstack/vue-query').UseQueryReturnType<TData, TError> & {
42
42
  setData: (updater: TQueryFnData, options?: Params[2]) => ReturnType<import('@tanstack/vue-query').QueryClient['setQueriesData']>
43
43
  }
44
44
 
45
45
  declare type UsePaginatedQuery<Data extends DefaultData = DefaultData> = (
46
46
  queryParams: import('vue').Ref<QueryParams>,
47
- options?: Parameters<UseDefaultQuery<PaginatedResponse<Data>>>[2]
47
+ options?: Partial<Parameters<UseDefaultQuery<PaginatedResponse<Data>>>[0]>
48
48
  ) => ReturnType<UseDefaultQuery<PaginatedResponse<Data>>>
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/rsmple/eco-vue-js.git"
6
6
  },
7
- "version": "0.3.73",
7
+ "version": "0.3.74",
8
8
  "scripts": {
9
9
  "dev": "vite",
10
10
  "build": "run-p type-check build-only",
@@ -17,7 +17,7 @@
17
17
  "write-imports": "node write-imports.js"
18
18
  },
19
19
  "peerDependencies": {
20
- "@tanstack/vue-query": "^4.32.0",
20
+ "@tanstack/vue-query": "^5.17.19",
21
21
  "vue": "^3.4.15",
22
22
  "vue-router": "^4.2.5"
23
23
  },