@kubb/plugin-zod 4.16.0 → 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.
@@ -1,4 +1,4 @@
1
- import { i as Schema, n as PluginZod, o as Operation, s as SchemaObject } from "./types-BshzN0sW.cjs";
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
 
@@ -1,4 +1,4 @@
1
- import { i as Schema, n as PluginZod, o as Operation, s as SchemaObject } from "./types-DYDPZSaV.js";
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
 
@@ -1,4 +1,4 @@
1
- import { n as PluginZod, r as ReactGenerator } from "./types-BshzN0sW.cjs";
1
+ import { n as PluginZod, r as ReactGenerator } from "./types-2i6tfiCa.cjs";
2
2
 
3
3
  //#region src/generators/operationsGenerator.d.ts
4
4
  declare const operationsGenerator: ReactGenerator<PluginZod>;
@@ -1,4 +1,4 @@
1
- import { n as PluginZod, r as ReactGenerator } from "./types-DYDPZSaV.js";
1
+ import { n as PluginZod, r as ReactGenerator } from "./types-D3c_5EM2.js";
2
2
 
3
3
  //#region src/generators/operationsGenerator.d.ts
4
4
  declare const operationsGenerator: ReactGenerator<PluginZod>;
package/dist/index.d.cts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as UserPluginWithLifeCycle, n as PluginZod, t as Options } from "./types-BshzN0sW.cjs";
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-DYDPZSaV.js";
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-DYDPZSaV.d.ts.map
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-BshzN0sW.d.cts.map
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.16.0",
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.9.5",
72
- "@kubb/core": "4.16.0",
73
- "@kubb/oas": "4.16.0",
74
- "@kubb/plugin-oas": "4.16.0",
75
- "@kubb/plugin-ts": "4.16.0"
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",