@kubb/plugin-react-query 3.14.4 → 3.15.0
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/{chunk-ROPPXITS.js → chunk-2LUZUNTA.js} +3 -3
- package/dist/{chunk-ROPPXITS.js.map → chunk-2LUZUNTA.js.map} +1 -1
- package/dist/{chunk-HXZAB52N.cjs → chunk-7VVTPMRL.cjs} +11 -11
- package/dist/{chunk-HXZAB52N.cjs.map → chunk-7VVTPMRL.cjs.map} +1 -1
- package/dist/{chunk-CWZ3H3M4.js → chunk-LT467H44.js} +11 -11
- package/dist/{chunk-CWZ3H3M4.js.map → chunk-LT467H44.js.map} +1 -1
- package/dist/{chunk-DCK6RDZF.cjs → chunk-PIAL3C5M.cjs} +14 -14
- package/dist/{chunk-DCK6RDZF.cjs.map → chunk-PIAL3C5M.cjs.map} +1 -1
- package/dist/components.cjs +9 -9
- package/dist/components.js +1 -1
- package/dist/generators.cjs +6 -6
- package/dist/generators.js +2 -2
- package/dist/index.cjs +5 -5
- package/dist/index.js +2 -2
- package/package.json +10 -10
- package/src/components/InfiniteQuery.tsx +3 -3
- package/src/components/Query.tsx +3 -3
- package/src/components/SuspenseQuery.tsx +3 -3
- package/src/generators/__snapshots__/clientDataReturnTypeFull.ts +3 -3
- package/src/generators/__snapshots__/clientGetImportPath.ts +3 -3
- package/src/generators/__snapshots__/findByTags.ts +3 -3
- package/src/generators/__snapshots__/findByTagsObject.ts +3 -3
- package/src/generators/__snapshots__/findByTagsPathParamsObject.ts +3 -3
- package/src/generators/__snapshots__/findByTagsWithCustomQueryKey.ts +3 -3
- package/src/generators/__snapshots__/findByTagsWithZod.ts +3 -3
- package/src/generators/__snapshots__/findInfiniteByTags.ts +3 -3
- package/src/generators/__snapshots__/findInfiniteByTagsCursor.ts +3 -3
- package/src/generators/__snapshots__/getPetIdCamelCase.ts +3 -3
- package/src/generators/__snapshots__/postAsQuery.ts +3 -3
|
@@ -58,10 +58,10 @@ export function useGetPetById<TData = GetPetByIdQueryResponse, TQueryData = GetP
|
|
|
58
58
|
|
|
59
59
|
const query = useQuery(
|
|
60
60
|
{
|
|
61
|
-
...
|
|
61
|
+
...getPetByIdQueryOptions(petId, config),
|
|
62
62
|
queryKey,
|
|
63
|
-
...
|
|
64
|
-
},
|
|
63
|
+
...queryOptions,
|
|
64
|
+
} as unknown as QueryObserverOptions,
|
|
65
65
|
queryClient,
|
|
66
66
|
) as UseQueryResult<TData, ResponseErrorConfig<GetPetById400 | GetPetById404>> & { queryKey: TQueryKey }
|
|
67
67
|
|
|
@@ -79,10 +79,10 @@ export function useUpdatePetWithForm<
|
|
|
79
79
|
|
|
80
80
|
const query = useQuery(
|
|
81
81
|
{
|
|
82
|
-
...
|
|
82
|
+
...updatePetWithFormQueryOptions(petId, data, params, config),
|
|
83
83
|
queryKey,
|
|
84
|
-
...
|
|
85
|
-
},
|
|
84
|
+
...queryOptions,
|
|
85
|
+
} as unknown as QueryObserverOptions,
|
|
86
86
|
queryClient,
|
|
87
87
|
) as UseQueryResult<TData, ResponseErrorConfig<UpdatePetWithForm405>> & { queryKey: TQueryKey }
|
|
88
88
|
|