@kubb/plugin-zod 5.8.0-canary.20261029T093900 → 5.8.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/index.cjs +120 -120
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +7 -5
package/dist/index.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Exclude, Group, Include, Output, OutputOptions, Override, PluginType, Resolver, ResolverPatch, ast } from "kubb/kit";
|
|
1
|
+
import { Exclude, Group, Include, Output, OutputOptions, Override, PluginType, Resolver, ResolverPatch, ast } from "@kubb/kit";
|
|
2
2
|
/**
|
|
3
3
|
* Partial map of node-type overrides for the Zod printer.
|
|
4
4
|
*
|
|
@@ -507,7 +507,7 @@ declare global {
|
|
|
507
507
|
* When `mini: true`, schemas use the Zod Mini functional API instead of
|
|
508
508
|
* chainable methods.
|
|
509
509
|
*/
|
|
510
|
-
export declare const zodGenerator: import("kubb/kit").Generator<PluginZod, unknown>;
|
|
510
|
+
export declare const zodGenerator: import("@kubb/kit").Generator<PluginZod, unknown>;
|
|
511
511
|
/**
|
|
512
512
|
* Canonical plugin name for `@kubb/plugin-zod`. Used for driver lookups and
|
|
513
513
|
* cross-plugin dependency references.
|
|
@@ -539,7 +539,7 @@ export declare const pluginZodName = "plugin-zod";
|
|
|
539
539
|
* })
|
|
540
540
|
* ```
|
|
541
541
|
*/
|
|
542
|
-
export declare const pluginZod: import("kubb/kit").PluginFactory<PluginZod>;
|
|
542
|
+
export declare const pluginZod: import("@kubb/kit").PluginFactory<PluginZod>;
|
|
543
543
|
/**
|
|
544
544
|
* Default resolver used by `@kubb/plugin-zod`. Decides the names and file
|
|
545
545
|
* paths for every generated Zod schema. Schemas use camelCase with a
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Exclude, Group, Include, Output, OutputOptions, Override, PluginType, Resolver, ResolverPatch, ast } from "kubb/kit";
|
|
1
|
+
import { Exclude, Group, Include, Output, OutputOptions, Override, PluginType, Resolver, ResolverPatch, ast } from "@kubb/kit";
|
|
2
2
|
/**
|
|
3
3
|
* Partial map of node-type overrides for the Zod printer.
|
|
4
4
|
*
|
|
@@ -507,7 +507,7 @@ declare global {
|
|
|
507
507
|
* When `mini: true`, schemas use the Zod Mini functional API instead of
|
|
508
508
|
* chainable methods.
|
|
509
509
|
*/
|
|
510
|
-
export declare const zodGenerator: import("kubb/kit").Generator<PluginZod, unknown>;
|
|
510
|
+
export declare const zodGenerator: import("@kubb/kit").Generator<PluginZod, unknown>;
|
|
511
511
|
/**
|
|
512
512
|
* Canonical plugin name for `@kubb/plugin-zod`. Used for driver lookups and
|
|
513
513
|
* cross-plugin dependency references.
|
|
@@ -539,7 +539,7 @@ export declare const pluginZodName = "plugin-zod";
|
|
|
539
539
|
* })
|
|
540
540
|
* ```
|
|
541
541
|
*/
|
|
542
|
-
export declare const pluginZod: import("kubb/kit").PluginFactory<PluginZod>;
|
|
542
|
+
export declare const pluginZod: import("@kubb/kit").PluginFactory<PluginZod>;
|
|
543
543
|
/**
|
|
544
544
|
* Default resolver used by `@kubb/plugin-zod`. Decides the names and file
|
|
545
545
|
* paths for every generated Zod schema. Schemas use camelCase with a
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Diagnostics, Resolver, addGenerator, ast, camelCase, containsCircularRef, createResolver, defineExtension, defineGenerator, pascalCase, setMacros, setResolver, syncSchemaRef } from "kubb/kit";
|
|
2
|
-
import { Const, File, Function, Type, jsxRenderer } from "kubb/jsx";
|
|
3
|
-
import { Fragment, jsx, jsxs } from "kubb/jsx/jsx-runtime";
|
|
1
|
+
import { Diagnostics, Resolver, addGenerator, ast, camelCase, containsCircularRef, createResolver, defineExtension, defineGenerator, pascalCase, setMacros, setResolver, syncSchemaRef } from "@kubb/kit";
|
|
2
|
+
import { Const, File, Function, Type, jsxRenderer } from "@kubb/renderer-jsx";
|
|
3
|
+
import { Fragment, jsx, jsxs } from "@kubb/renderer-jsx/jsx-runtime";
|
|
4
4
|
// ../../internals/shared/src/operation.ts
|
|
5
5
|
/**
|
|
6
6
|
* Maps a content type to the PascalCase suffix used to name per-content-type variants
|
|
@@ -2122,7 +2122,7 @@ var compatibility = {
|
|
|
2122
2122
|
"node": ">=22.22"
|
|
2123
2123
|
};
|
|
2124
2124
|
// package.json
|
|
2125
|
-
var version = "5.8.0
|
|
2125
|
+
var version = "5.8.0";
|
|
2126
2126
|
// src/resolvers/resolverZod.ts
|
|
2127
2127
|
/**
|
|
2128
2128
|
* Default resolver used by `@kubb/plugin-zod`. Decides the names and file
|