@kubb/plugin-svelte-query 4.21.0 → 4.21.1
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/components.d.cts +1 -1
- package/dist/components.d.ts +1 -1
- package/dist/generators.d.cts +1 -1
- package/dist/generators.d.ts +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/{types-BUe2gV6R.d.cts → types-BkhovPjN.d.cts} +2 -2
- package/dist/{types-ZCy002j7.d.ts → types-D3I6F2Ek.d.ts} +2 -2
- package/package.json +9 -9
- package/src/types.ts +1 -1
package/dist/components.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as OperationSchemas, n as PluginSvelteQuery, o as Operation, r as Transformer, s as __name } from "./types-
|
|
1
|
+
import { a as OperationSchemas, n as PluginSvelteQuery, o as Operation, r as Transformer, s as __name } from "./types-BkhovPjN.cjs";
|
|
2
2
|
import { FunctionParams } from "@kubb/react-fabric";
|
|
3
3
|
import { FabricReactNode } from "@kubb/react-fabric/types";
|
|
4
4
|
|
package/dist/components.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __name } from "./chunk-eQyhnF5A.js";
|
|
2
|
-
import { a as OperationSchemas, n as PluginSvelteQuery, o as Operation, r as Transformer } from "./types-
|
|
2
|
+
import { a as OperationSchemas, n as PluginSvelteQuery, o as Operation, r as Transformer } from "./types-D3I6F2Ek.js";
|
|
3
3
|
import { FunctionParams } from "@kubb/react-fabric";
|
|
4
4
|
import { FabricReactNode } from "@kubb/react-fabric/types";
|
|
5
5
|
|
package/dist/generators.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as ReactGenerator, n as PluginSvelteQuery, s as __name } from "./types-
|
|
1
|
+
import { i as ReactGenerator, n as PluginSvelteQuery, s as __name } from "./types-BkhovPjN.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/generators/mutationGenerator.d.ts
|
|
4
4
|
declare const mutationGenerator: ReactGenerator<PluginSvelteQuery>;
|
package/dist/generators.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __name } from "./chunk-eQyhnF5A.js";
|
|
2
|
-
import { i as ReactGenerator, n as PluginSvelteQuery } from "./types-
|
|
2
|
+
import { i as ReactGenerator, n as PluginSvelteQuery } from "./types-D3I6F2Ek.js";
|
|
3
3
|
|
|
4
4
|
//#region src/generators/mutationGenerator.d.ts
|
|
5
5
|
declare const mutationGenerator: ReactGenerator<PluginSvelteQuery>;
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __name } from "./chunk-eQyhnF5A.js";
|
|
2
|
-
import { n as PluginSvelteQuery, t as Options } from "./types-
|
|
2
|
+
import { n as PluginSvelteQuery, t as Options } from "./types-D3I6F2Ek.js";
|
|
3
3
|
import * as _kubb_core0 from "@kubb/core";
|
|
4
4
|
|
|
5
5
|
//#region src/plugin.d.ts
|
|
@@ -781,7 +781,7 @@ type Options = {
|
|
|
781
781
|
/**
|
|
782
782
|
* Override some useMutation behaviors.
|
|
783
783
|
*/
|
|
784
|
-
mutation?: Mutation | false;
|
|
784
|
+
mutation?: Partial<Mutation> | false;
|
|
785
785
|
/**
|
|
786
786
|
* Which parser should be used before returning the data to `@tanstack/query`.
|
|
787
787
|
* `'zod'` uses `@kubb/plugin-zod` to parse the data.
|
|
@@ -814,4 +814,4 @@ type ResolvedOptions = {
|
|
|
814
814
|
type PluginSvelteQuery = PluginFactoryOptions<'plugin-svelte-query', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
815
815
|
//#endregion
|
|
816
816
|
export { OperationSchemas as a, ReactGenerator as i, PluginSvelteQuery as n, Operation$1 as o, Transformer as r, __name as s, Options as t };
|
|
817
|
-
//# sourceMappingURL=types-
|
|
817
|
+
//# sourceMappingURL=types-BkhovPjN.d.cts.map
|
|
@@ -780,7 +780,7 @@ type Options = {
|
|
|
780
780
|
/**
|
|
781
781
|
* Override some useMutation behaviors.
|
|
782
782
|
*/
|
|
783
|
-
mutation?: Mutation | false;
|
|
783
|
+
mutation?: Partial<Mutation> | false;
|
|
784
784
|
/**
|
|
785
785
|
* Which parser should be used before returning the data to `@tanstack/query`.
|
|
786
786
|
* `'zod'` uses `@kubb/plugin-zod` to parse the data.
|
|
@@ -813,4 +813,4 @@ type ResolvedOptions = {
|
|
|
813
813
|
type PluginSvelteQuery = PluginFactoryOptions<'plugin-svelte-query', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
814
814
|
//#endregion
|
|
815
815
|
export { OperationSchemas as a, ReactGenerator as i, PluginSvelteQuery as n, Operation$1 as o, Transformer as r, Options as t };
|
|
816
|
-
//# sourceMappingURL=types-
|
|
816
|
+
//# sourceMappingURL=types-D3I6F2Ek.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-svelte-query",
|
|
3
|
-
"version": "4.21.
|
|
3
|
+
"version": "4.21.1",
|
|
4
4
|
"description": "Svelte Query hooks generator plugin for Kubb, creating type-safe API client hooks from OpenAPI specifications for Svelte applications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"svelte-query",
|
|
@@ -73,17 +73,17 @@
|
|
|
73
73
|
}
|
|
74
74
|
],
|
|
75
75
|
"dependencies": {
|
|
76
|
-
"@kubb/react-fabric": "0.12.
|
|
76
|
+
"@kubb/react-fabric": "0.12.11",
|
|
77
77
|
"remeda": "^2.33.5",
|
|
78
|
-
"@kubb/core": "4.21.
|
|
79
|
-
"@kubb/oas": "4.21.
|
|
80
|
-
"@kubb/plugin-client": "4.21.
|
|
81
|
-
"@kubb/plugin-oas": "4.21.
|
|
82
|
-
"@kubb/plugin-ts": "4.21.
|
|
83
|
-
"@kubb/plugin-zod": "4.21.
|
|
78
|
+
"@kubb/core": "4.21.1",
|
|
79
|
+
"@kubb/oas": "4.21.1",
|
|
80
|
+
"@kubb/plugin-client": "4.21.1",
|
|
81
|
+
"@kubb/plugin-oas": "4.21.1",
|
|
82
|
+
"@kubb/plugin-ts": "4.21.1",
|
|
83
|
+
"@kubb/plugin-zod": "4.21.1"
|
|
84
84
|
},
|
|
85
85
|
"peerDependencies": {
|
|
86
|
-
"@kubb/react-fabric": "0.12.
|
|
86
|
+
"@kubb/react-fabric": "0.12.11"
|
|
87
87
|
},
|
|
88
88
|
"engines": {
|
|
89
89
|
"node": ">=20"
|
package/src/types.ts
CHANGED
|
@@ -111,7 +111,7 @@ export type Options = {
|
|
|
111
111
|
/**
|
|
112
112
|
* Override some useMutation behaviors.
|
|
113
113
|
*/
|
|
114
|
-
mutation?: Mutation | false
|
|
114
|
+
mutation?: Partial<Mutation> | false
|
|
115
115
|
/**
|
|
116
116
|
* Which parser should be used before returning the data to `@tanstack/query`.
|
|
117
117
|
* `'zod'` uses `@kubb/plugin-zod` to parse the data.
|