@kubb/plugin-zod 5.4.6 → 5.4.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/README.md +2 -2
- package/dist/index.cjs +4 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -4
- package/dist/index.js.map +1 -1
- package/docs/guides/customization.md +148 -0
- package/docs/options.md +273 -0
- package/docs/overview.md +40 -0
- package/kubb-extension.json +8 -2
- package/package.json +5 -5
- package/OVERVIEW.md +0 -20
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __name } from "./rolldown-runtime-C0LytTxp.js";
|
|
2
|
-
import { Resolver, addGenerator, ast, containsCircularRef, createResolver,
|
|
2
|
+
import { Resolver, addGenerator, ast, containsCircularRef, createResolver, defineExtension, defineGenerator, extractRefName, setMacros, setResolver, syncSchemaRef } from "kubb/kit";
|
|
3
3
|
import { Const, File, Function, Type, jsxRenderer } from "kubb/jsx";
|
|
4
4
|
import { Fragment, jsx, jsxs } from "kubb/jsx/jsx-runtime";
|
|
5
5
|
//#region ../../internals/shared/src/params.ts
|
|
@@ -2221,12 +2221,12 @@ const zodGenerator = defineGenerator({
|
|
|
2221
2221
|
//#endregion
|
|
2222
2222
|
//#region kubb-extension.json
|
|
2223
2223
|
var compatibility = {
|
|
2224
|
-
"kubb": ">=5.8.
|
|
2224
|
+
"kubb": ">=5.8.3",
|
|
2225
2225
|
"node": ">=22"
|
|
2226
2226
|
};
|
|
2227
2227
|
//#endregion
|
|
2228
2228
|
//#region package.json
|
|
2229
|
-
var version = "5.4.
|
|
2229
|
+
var version = "5.4.8";
|
|
2230
2230
|
//#endregion
|
|
2231
2231
|
//#region src/resolvers/resolverZod.ts
|
|
2232
2232
|
/**
|
|
@@ -2314,7 +2314,8 @@ const pluginZodName = "plugin-zod";
|
|
|
2314
2314
|
* })
|
|
2315
2315
|
* ```
|
|
2316
2316
|
*/
|
|
2317
|
-
const pluginZod =
|
|
2317
|
+
const pluginZod = defineExtension({
|
|
2318
|
+
kind: "plugin",
|
|
2318
2319
|
meta: {
|
|
2319
2320
|
name: pluginZodName,
|
|
2320
2321
|
version,
|