@kubb/plugin-swr 4.12.7 → 4.12.8
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-C8bOpN3-.d.ts → types-BzCyeXsG.d.ts} +10 -10
- package/dist/{types-2siB3blQ.d.cts → types-lwx0avOF.d.cts} +10 -10
- package/package.json +9 -9
package/dist/components.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as OperationSchemas, n as PluginSwr, r as Transformer, s as Operation } from "./types-
|
|
1
|
+
import { a as OperationSchemas, n as PluginSwr, r as Transformer, s as Operation } from "./types-lwx0avOF.cjs";
|
|
2
2
|
import { FunctionParams } from "@kubb/react-fabric";
|
|
3
3
|
import { KubbNode } from "@kubb/react-fabric/types";
|
|
4
4
|
|
package/dist/components.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as OperationSchemas, n as PluginSwr, r as Transformer, s as Operation } from "./types-
|
|
1
|
+
import { a as OperationSchemas, n as PluginSwr, r as Transformer, s as Operation } from "./types-BzCyeXsG.js";
|
|
2
2
|
import { FunctionParams } from "@kubb/react-fabric";
|
|
3
3
|
import { KubbNode } from "@kubb/react-fabric/types";
|
|
4
4
|
|
package/dist/generators.d.cts
CHANGED
package/dist/generators.d.ts
CHANGED
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as PluginSwr, o as UserPluginWithLifeCycle, t as Options } from "./types-
|
|
1
|
+
import { n as PluginSwr, o as UserPluginWithLifeCycle, t as Options } from "./types-lwx0avOF.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin.d.ts
|
|
4
4
|
declare const pluginSwrName = "plugin-swr";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as PluginSwr, o as UserPluginWithLifeCycle, t as Options } from "./types-
|
|
1
|
+
import { n as PluginSwr, o as UserPluginWithLifeCycle, t as Options } from "./types-BzCyeXsG.js";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin.d.ts
|
|
4
4
|
declare const pluginSwrName = "plugin-swr";
|
|
@@ -169,21 +169,21 @@ interface KubbEvents {
|
|
|
169
169
|
*/
|
|
170
170
|
'hooks:end': [];
|
|
171
171
|
/**
|
|
172
|
-
* Emitted when a single hook execution starts.
|
|
173
|
-
*/
|
|
174
|
-
'hook:start': [command: string];
|
|
175
|
-
/**
|
|
176
|
-
* Emitted to execute a hook command (e.g., format or lint).
|
|
172
|
+
* Emitted when a single hook execution starts. (e.g., format or lint).
|
|
177
173
|
* The callback should be invoked when the command completes.
|
|
178
174
|
*/
|
|
179
|
-
'hook:
|
|
180
|
-
|
|
175
|
+
'hook:start': [{
|
|
176
|
+
id?: string;
|
|
177
|
+
command: string;
|
|
181
178
|
args?: readonly string[];
|
|
182
|
-
}
|
|
179
|
+
}];
|
|
183
180
|
/**
|
|
184
181
|
* Emitted when a single hook execution completes.
|
|
185
182
|
*/
|
|
186
|
-
'hook:end': [
|
|
183
|
+
'hook:end': [{
|
|
184
|
+
id?: string;
|
|
185
|
+
command: string;
|
|
186
|
+
}];
|
|
187
187
|
/**
|
|
188
188
|
* Emitted when a new version of Kubb is available.
|
|
189
189
|
*/
|
|
@@ -1425,4 +1425,4 @@ type ResolvedOptions = {
|
|
|
1425
1425
|
type PluginSwr = PluginFactoryOptions<'plugin-swr', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1426
1426
|
//#endregion
|
|
1427
1427
|
export { OperationSchemas as a, ReactGenerator as i, PluginSwr as n, UserPluginWithLifeCycle as o, Transformer as r, Operation$1 as s, Options as t };
|
|
1428
|
-
//# sourceMappingURL=types-
|
|
1428
|
+
//# sourceMappingURL=types-BzCyeXsG.d.ts.map
|
|
@@ -169,21 +169,21 @@ interface KubbEvents {
|
|
|
169
169
|
*/
|
|
170
170
|
'hooks:end': [];
|
|
171
171
|
/**
|
|
172
|
-
* Emitted when a single hook execution starts.
|
|
173
|
-
*/
|
|
174
|
-
'hook:start': [command: string];
|
|
175
|
-
/**
|
|
176
|
-
* Emitted to execute a hook command (e.g., format or lint).
|
|
172
|
+
* Emitted when a single hook execution starts. (e.g., format or lint).
|
|
177
173
|
* The callback should be invoked when the command completes.
|
|
178
174
|
*/
|
|
179
|
-
'hook:
|
|
180
|
-
|
|
175
|
+
'hook:start': [{
|
|
176
|
+
id?: string;
|
|
177
|
+
command: string;
|
|
181
178
|
args?: readonly string[];
|
|
182
|
-
}
|
|
179
|
+
}];
|
|
183
180
|
/**
|
|
184
181
|
* Emitted when a single hook execution completes.
|
|
185
182
|
*/
|
|
186
|
-
'hook:end': [
|
|
183
|
+
'hook:end': [{
|
|
184
|
+
id?: string;
|
|
185
|
+
command: string;
|
|
186
|
+
}];
|
|
187
187
|
/**
|
|
188
188
|
* Emitted when a new version of Kubb is available.
|
|
189
189
|
*/
|
|
@@ -1425,4 +1425,4 @@ type ResolvedOptions = {
|
|
|
1425
1425
|
type PluginSwr = PluginFactoryOptions<'plugin-swr', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1426
1426
|
//#endregion
|
|
1427
1427
|
export { OperationSchemas as a, ReactGenerator as i, PluginSwr as n, UserPluginWithLifeCycle as o, Transformer as r, Operation$1 as s, Options as t };
|
|
1428
|
-
//# sourceMappingURL=types-
|
|
1428
|
+
//# sourceMappingURL=types-lwx0avOF.d.cts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-swr",
|
|
3
|
-
"version": "4.12.
|
|
3
|
+
"version": "4.12.8",
|
|
4
4
|
"description": "SWR hooks generator plugin for Kubb, creating type-safe data fetching hooks from OpenAPI specifications for React and Next.js applications.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"swr",
|
|
@@ -70,17 +70,17 @@
|
|
|
70
70
|
}
|
|
71
71
|
],
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"@kubb/react-fabric": "0.7.
|
|
73
|
+
"@kubb/react-fabric": "0.7.4",
|
|
74
74
|
"remeda": "^2.32.0",
|
|
75
|
-
"@kubb/core": "4.12.
|
|
76
|
-
"@kubb/oas": "4.12.
|
|
77
|
-
"@kubb/plugin-client": "4.12.
|
|
78
|
-
"@kubb/plugin-oas": "4.12.
|
|
79
|
-
"@kubb/plugin-ts": "4.12.
|
|
80
|
-
"@kubb/plugin-zod": "4.12.
|
|
75
|
+
"@kubb/core": "4.12.8",
|
|
76
|
+
"@kubb/oas": "4.12.8",
|
|
77
|
+
"@kubb/plugin-client": "4.12.8",
|
|
78
|
+
"@kubb/plugin-oas": "4.12.8",
|
|
79
|
+
"@kubb/plugin-ts": "4.12.8",
|
|
80
|
+
"@kubb/plugin-zod": "4.12.8"
|
|
81
81
|
},
|
|
82
82
|
"peerDependencies": {
|
|
83
|
-
"@kubb/react-fabric": "0.7.
|
|
83
|
+
"@kubb/react-fabric": "0.7.4"
|
|
84
84
|
},
|
|
85
85
|
"engines": {
|
|
86
86
|
"node": ">=20"
|