@kubb/plugin-swr 5.2.5 → 5.2.6
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.cjs +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/package.json +4 -4
package/dist/index.cjs
CHANGED
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __name } from "./rolldown-runtime-C0LytTxp.js";
|
|
2
|
-
import { Exclude, Group, Include, Output, OutputOptions, Override,
|
|
2
|
+
import { Exclude, Group, Include, Output, OutputOptions, Override, PluginType, Resolver, ResolverPatch, ast } from "kubb/kit";
|
|
3
3
|
import "@kubb/plugin-ts";
|
|
4
4
|
import "kubb/jsx";
|
|
5
5
|
import "@kubb/plugin-zod";
|
|
@@ -245,7 +245,7 @@ type ResolvedOptions = {
|
|
|
245
245
|
mutation: NonNullable<Required<Mutation>> | false;
|
|
246
246
|
resolver: ResolverSwr;
|
|
247
247
|
};
|
|
248
|
-
type PluginSwr =
|
|
248
|
+
type PluginSwr = PluginType<'plugin-swr', Options, ResolvedOptions, ResolverSwr>;
|
|
249
249
|
declare global {
|
|
250
250
|
namespace Kubb {
|
|
251
251
|
interface PluginRegistry {
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-swr",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.6",
|
|
4
4
|
"description": "Generate type-safe SWR hooks with Kubb. Covers useSWR and useSWRMutation with full TypeScript support.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"code-generation",
|
|
@@ -74,18 +74,18 @@
|
|
|
74
74
|
"registry": "https://registry.npmjs.org/"
|
|
75
75
|
},
|
|
76
76
|
"dependencies": {
|
|
77
|
-
"@kubb/plugin-ts": "^5.0.
|
|
77
|
+
"@kubb/plugin-ts": "^5.0.11"
|
|
78
78
|
},
|
|
79
79
|
"devDependencies": {
|
|
80
80
|
"@internals/client": "0.0.0",
|
|
81
81
|
"@internals/shared": "0.0.0",
|
|
82
82
|
"@internals/tanstack-query": "0.0.0",
|
|
83
83
|
"@internals/utils": "0.0.0",
|
|
84
|
-
"kubb": "^5.
|
|
84
|
+
"kubb": "^5.9.2",
|
|
85
85
|
"swr": "^2.5.1"
|
|
86
86
|
},
|
|
87
87
|
"peerDependencies": {
|
|
88
|
-
"kubb": "^5.
|
|
88
|
+
"kubb": "^5.9.2",
|
|
89
89
|
"swr": "^2.2.0"
|
|
90
90
|
},
|
|
91
91
|
"peerDependenciesMeta": {
|