@kubb/plugin-zod 5.7.2 → 5.7.3

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.d.cts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { Exclude, Group, Include, Output, OutputOptions, Override, PluginType, Resolver, ResolverPatch, ast } from "kubb/kit";
2
- //#region src/printers/printerZod.d.ts
3
2
  /**
4
3
  * Partial map of node-type overrides for the Zod printer.
5
4
  *
@@ -111,8 +110,6 @@ type PrinterZodFactory = ast.PrinterFactoryOptions<'zod', PrinterZodOptions, str
111
110
  * ```
112
111
  */
113
112
  export declare const printerZod: (options?: PrinterZodOptions | undefined) => ast.Printer<PrinterZodFactory>;
114
- //#endregion
115
- //#region src/printers/printerZodMini.d.ts
116
113
  /**
117
114
  * Partial map of node-type overrides for the Zod Mini printer.
118
115
  *
@@ -195,8 +192,6 @@ type PrinterZodMiniFactory = ast.PrinterFactoryOptions<'zod-mini', PrinterZodMin
195
192
  * ```
196
193
  */
197
194
  export declare const printerZodMini: (options?: PrinterZodMiniOptions | undefined) => ast.Printer<PrinterZodMiniFactory>;
198
- //#endregion
199
- //#region src/types.d.ts
200
195
  /**
201
196
  * Resolver for Zod that provides naming methods for schema types.
202
197
  *
@@ -513,8 +508,6 @@ declare global {
513
508
  }
514
509
  }
515
510
  }
516
- //#endregion
517
- //#region src/generators/zodGenerator.d.ts
518
511
  /**
519
512
  * Built-in generator for `@kubb/plugin-zod`. Emits one Zod schema per
520
513
  * schema in the spec plus per-operation request/response/parameter schemas.
@@ -522,8 +515,6 @@ declare global {
522
515
  * chainable methods.
523
516
  */
524
517
  export declare const zodGenerator: import("kubb/kit").Generator<PluginZod, unknown>;
525
- //#endregion
526
- //#region src/plugin.d.ts
527
518
  /**
528
519
  * Canonical plugin name for `@kubb/plugin-zod`. Used for driver lookups and
529
520
  * cross-plugin dependency references.
@@ -556,8 +547,6 @@ export declare const pluginZodName = "plugin-zod";
556
547
  * ```
557
548
  */
558
549
  export declare const pluginZod: import("kubb/kit").PluginFactory<PluginZod>;
559
- //#endregion
560
- //#region src/resolvers/resolverZod.d.ts
561
550
  /**
562
551
  * Default resolver used by `@kubb/plugin-zod`. Decides the names and file
563
552
  * paths for every generated Zod schema. Schemas use camelCase with a
@@ -574,6 +563,5 @@ export declare const pluginZod: import("kubb/kit").PluginFactory<PluginZod>;
574
563
  * ```
575
564
  */
576
565
  export declare const resolverZod: ResolverZod;
577
- //#endregion
578
566
  export { type CompileOptions, type PluginZod, type PrinterZodFactory, type PrinterZodMiniFactory, type PrinterZodMiniNodes, type PrinterZodMiniOptions, type PrinterZodNodes, type PrinterZodOptions, type ResolverZod, pluginZod as default };
579
567
  //# sourceMappingURL=index.d.cts.map
package/dist/index.d.ts CHANGED
@@ -1,5 +1,4 @@
1
1
  import { Exclude, Group, Include, Output, OutputOptions, Override, PluginType, Resolver, ResolverPatch, ast } from "kubb/kit";
2
- //#region src/printers/printerZod.d.ts
3
2
  /**
4
3
  * Partial map of node-type overrides for the Zod printer.
5
4
  *
@@ -111,8 +110,6 @@ type PrinterZodFactory = ast.PrinterFactoryOptions<'zod', PrinterZodOptions, str
111
110
  * ```
112
111
  */
113
112
  export declare const printerZod: (options?: PrinterZodOptions | undefined) => ast.Printer<PrinterZodFactory>;
114
- //#endregion
115
- //#region src/printers/printerZodMini.d.ts
116
113
  /**
117
114
  * Partial map of node-type overrides for the Zod Mini printer.
118
115
  *
@@ -195,8 +192,6 @@ type PrinterZodMiniFactory = ast.PrinterFactoryOptions<'zod-mini', PrinterZodMin
195
192
  * ```
196
193
  */
197
194
  export declare const printerZodMini: (options?: PrinterZodMiniOptions | undefined) => ast.Printer<PrinterZodMiniFactory>;
198
- //#endregion
199
- //#region src/types.d.ts
200
195
  /**
201
196
  * Resolver for Zod that provides naming methods for schema types.
202
197
  *
@@ -513,8 +508,6 @@ declare global {
513
508
  }
514
509
  }
515
510
  }
516
- //#endregion
517
- //#region src/generators/zodGenerator.d.ts
518
511
  /**
519
512
  * Built-in generator for `@kubb/plugin-zod`. Emits one Zod schema per
520
513
  * schema in the spec plus per-operation request/response/parameter schemas.
@@ -522,8 +515,6 @@ declare global {
522
515
  * chainable methods.
523
516
  */
524
517
  export declare const zodGenerator: import("kubb/kit").Generator<PluginZod, unknown>;
525
- //#endregion
526
- //#region src/plugin.d.ts
527
518
  /**
528
519
  * Canonical plugin name for `@kubb/plugin-zod`. Used for driver lookups and
529
520
  * cross-plugin dependency references.
@@ -556,8 +547,6 @@ export declare const pluginZodName = "plugin-zod";
556
547
  * ```
557
548
  */
558
549
  export declare const pluginZod: import("kubb/kit").PluginFactory<PluginZod>;
559
- //#endregion
560
- //#region src/resolvers/resolverZod.d.ts
561
550
  /**
562
551
  * Default resolver used by `@kubb/plugin-zod`. Decides the names and file
563
552
  * paths for every generated Zod schema. Schemas use camelCase with a
@@ -574,6 +563,5 @@ export declare const pluginZod: import("kubb/kit").PluginFactory<PluginZod>;
574
563
  * ```
575
564
  */
576
565
  export declare const resolverZod: ResolverZod;
577
- //#endregion
578
566
  export { type CompileOptions, type PluginZod, type PrinterZodFactory, type PrinterZodMiniFactory, type PrinterZodMiniNodes, type PrinterZodMiniOptions, type PrinterZodNodes, type PrinterZodOptions, type ResolverZod, pluginZod as default };
579
567
  //# sourceMappingURL=index.d.ts.map