@kubb/plugin-zod 4.15.2 → 4.17.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/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-DYDPZSaV.d.ts → types-2i6tfiCa.d.cts} +3 -3
- package/dist/{types-BshzN0sW.d.cts → types-D3c_5EM2.d.ts} +3 -3
- package/package.json +6 -6
package/dist/components.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as Schema, n as PluginZod, o as Operation, s as SchemaObject } from "./types-
|
|
1
|
+
import { i as Schema, n as PluginZod, o as Operation, s as SchemaObject } from "./types-2i6tfiCa.cjs";
|
|
2
2
|
import { KubbFile } from "@kubb/fabric-core/types";
|
|
3
3
|
import { KubbNode } from "@kubb/react-fabric/types";
|
|
4
4
|
|
package/dist/components.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as Schema, n as PluginZod, o as Operation, s as SchemaObject } from "./types-
|
|
1
|
+
import { i as Schema, n as PluginZod, o as Operation, s as SchemaObject } from "./types-D3c_5EM2.js";
|
|
2
2
|
import { KubbFile } from "@kubb/fabric-core/types";
|
|
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 { a as UserPluginWithLifeCycle, n as PluginZod, t as Options } from "./types-
|
|
1
|
+
import { a as UserPluginWithLifeCycle, n as PluginZod, t as Options } from "./types-2i6tfiCa.cjs";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin.d.ts
|
|
4
4
|
declare const pluginZodName = "plugin-zod";
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as UserPluginWithLifeCycle, n as PluginZod, t as Options } from "./types-
|
|
1
|
+
import { a as UserPluginWithLifeCycle, n as PluginZod, t as Options } from "./types-D3c_5EM2.js";
|
|
2
2
|
|
|
3
3
|
//#region src/plugin.d.ts
|
|
4
4
|
declare const pluginZodName = "plugin-zod";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Fabric } from "@kubb/react-fabric";
|
|
2
1
|
import * as oas_normalize_lib_types0 from "oas-normalize/lib/types";
|
|
3
2
|
import BaseOas from "oas";
|
|
4
3
|
import { Operation } from "oas/operation";
|
|
5
4
|
import { DiscriminatorObject, HttpMethods, OASDocument, SchemaObject } from "oas/types";
|
|
6
5
|
import { KubbFile } from "@kubb/fabric-core/types";
|
|
6
|
+
import { Fabric } from "@kubb/react-fabric";
|
|
7
7
|
import { KubbNode } from "@kubb/react-fabric/types";
|
|
8
8
|
|
|
9
9
|
//#region ../oas/src/types.d.ts
|
|
@@ -361,7 +361,7 @@ type Config<TInput = Input> = {
|
|
|
361
361
|
* - 'biome': Uses Biome for code formatting.
|
|
362
362
|
*
|
|
363
363
|
*/
|
|
364
|
-
format?: 'auto' | 'prettier' | 'biome' | false;
|
|
364
|
+
format?: 'auto' | 'prettier' | 'biome' | 'oxfmt' | false;
|
|
365
365
|
/**
|
|
366
366
|
* Specifies the linter that should be used to analyze the code.
|
|
367
367
|
* The accepted values indicate different linting tools.
|
|
@@ -1311,4 +1311,4 @@ type ResolvedOptions = {
|
|
|
1311
1311
|
type PluginZod = PluginFactoryOptions<'plugin-zod', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1312
1312
|
//#endregion
|
|
1313
1313
|
export { UserPluginWithLifeCycle as a, Schema as i, PluginZod as n, Operation$1 as o, ReactGenerator as r, SchemaObject$1 as s, Options as t };
|
|
1314
|
-
//# sourceMappingURL=types-
|
|
1314
|
+
//# sourceMappingURL=types-2i6tfiCa.d.cts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
+
import { Fabric } from "@kubb/react-fabric";
|
|
1
2
|
import * as oas_normalize_lib_types0 from "oas-normalize/lib/types";
|
|
2
3
|
import BaseOas from "oas";
|
|
3
4
|
import { Operation } from "oas/operation";
|
|
4
5
|
import { DiscriminatorObject, HttpMethods, OASDocument, SchemaObject } from "oas/types";
|
|
5
6
|
import { KubbFile } from "@kubb/fabric-core/types";
|
|
6
|
-
import { Fabric } from "@kubb/react-fabric";
|
|
7
7
|
import { KubbNode } from "@kubb/react-fabric/types";
|
|
8
8
|
|
|
9
9
|
//#region ../oas/src/types.d.ts
|
|
@@ -361,7 +361,7 @@ type Config<TInput = Input> = {
|
|
|
361
361
|
* - 'biome': Uses Biome for code formatting.
|
|
362
362
|
*
|
|
363
363
|
*/
|
|
364
|
-
format?: 'auto' | 'prettier' | 'biome' | false;
|
|
364
|
+
format?: 'auto' | 'prettier' | 'biome' | 'oxfmt' | false;
|
|
365
365
|
/**
|
|
366
366
|
* Specifies the linter that should be used to analyze the code.
|
|
367
367
|
* The accepted values indicate different linting tools.
|
|
@@ -1311,4 +1311,4 @@ type ResolvedOptions = {
|
|
|
1311
1311
|
type PluginZod = PluginFactoryOptions<'plugin-zod', Options, ResolvedOptions, never, ResolvePathOptions>;
|
|
1312
1312
|
//#endregion
|
|
1313
1313
|
export { UserPluginWithLifeCycle as a, Schema as i, PluginZod as n, Operation$1 as o, ReactGenerator as r, SchemaObject$1 as s, Options as t };
|
|
1314
|
-
//# sourceMappingURL=types-
|
|
1314
|
+
//# sourceMappingURL=types-D3c_5EM2.d.ts.map
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kubb/plugin-zod",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.17.0",
|
|
4
4
|
"description": "Zod schema generator plugin for Kubb, creating type-safe validation schemas from OpenAPI specifications for runtime data validation.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"zod",
|
|
@@ -68,11 +68,11 @@
|
|
|
68
68
|
}
|
|
69
69
|
],
|
|
70
70
|
"dependencies": {
|
|
71
|
-
"@kubb/react-fabric": "0.
|
|
72
|
-
"@kubb/core": "4.
|
|
73
|
-
"@kubb/oas": "4.
|
|
74
|
-
"@kubb/plugin-oas": "4.
|
|
75
|
-
"@kubb/plugin-ts": "4.
|
|
71
|
+
"@kubb/react-fabric": "0.10.0",
|
|
72
|
+
"@kubb/core": "4.17.0",
|
|
73
|
+
"@kubb/oas": "4.17.0",
|
|
74
|
+
"@kubb/plugin-oas": "4.17.0",
|
|
75
|
+
"@kubb/plugin-ts": "4.17.0"
|
|
76
76
|
},
|
|
77
77
|
"devDependencies": {
|
|
78
78
|
"@asteasolutions/zod-to-openapi": "^8.4.0",
|