@kubb/plugin-zod 5.7.2 → 5.7.4

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
  *
@@ -511,10 +506,12 @@ declare global {
511
506
  interface PluginRegistry {
512
507
  'plugin-zod': PluginZod;
513
508
  }
509
+ interface MemoRegistry {
510
+ typeName: string;
511
+ type: string;
512
+ }
514
513
  }
515
514
  }
516
- //#endregion
517
- //#region src/generators/zodGenerator.d.ts
518
515
  /**
519
516
  * Built-in generator for `@kubb/plugin-zod`. Emits one Zod schema per
520
517
  * schema in the spec plus per-operation request/response/parameter schemas.
@@ -522,8 +519,6 @@ declare global {
522
519
  * chainable methods.
523
520
  */
524
521
  export declare const zodGenerator: import("kubb/kit").Generator<PluginZod, unknown>;
525
- //#endregion
526
- //#region src/plugin.d.ts
527
522
  /**
528
523
  * Canonical plugin name for `@kubb/plugin-zod`. Used for driver lookups and
529
524
  * cross-plugin dependency references.
@@ -556,8 +551,6 @@ export declare const pluginZodName = "plugin-zod";
556
551
  * ```
557
552
  */
558
553
  export declare const pluginZod: import("kubb/kit").PluginFactory<PluginZod>;
559
- //#endregion
560
- //#region src/resolvers/resolverZod.d.ts
561
554
  /**
562
555
  * Default resolver used by `@kubb/plugin-zod`. Decides the names and file
563
556
  * paths for every generated Zod schema. Schemas use camelCase with a
@@ -574,6 +567,5 @@ export declare const pluginZod: import("kubb/kit").PluginFactory<PluginZod>;
574
567
  * ```
575
568
  */
576
569
  export declare const resolverZod: ResolverZod;
577
- //#endregion
578
570
  export { type CompileOptions, type PluginZod, type PrinterZodFactory, type PrinterZodMiniFactory, type PrinterZodMiniNodes, type PrinterZodMiniOptions, type PrinterZodNodes, type PrinterZodOptions, type ResolverZod, pluginZod as default };
579
571
  //# 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
  *
@@ -511,10 +506,12 @@ declare global {
511
506
  interface PluginRegistry {
512
507
  'plugin-zod': PluginZod;
513
508
  }
509
+ interface MemoRegistry {
510
+ typeName: string;
511
+ type: string;
512
+ }
514
513
  }
515
514
  }
516
- //#endregion
517
- //#region src/generators/zodGenerator.d.ts
518
515
  /**
519
516
  * Built-in generator for `@kubb/plugin-zod`. Emits one Zod schema per
520
517
  * schema in the spec plus per-operation request/response/parameter schemas.
@@ -522,8 +519,6 @@ declare global {
522
519
  * chainable methods.
523
520
  */
524
521
  export declare const zodGenerator: import("kubb/kit").Generator<PluginZod, unknown>;
525
- //#endregion
526
- //#region src/plugin.d.ts
527
522
  /**
528
523
  * Canonical plugin name for `@kubb/plugin-zod`. Used for driver lookups and
529
524
  * cross-plugin dependency references.
@@ -556,8 +551,6 @@ export declare const pluginZodName = "plugin-zod";
556
551
  * ```
557
552
  */
558
553
  export declare const pluginZod: import("kubb/kit").PluginFactory<PluginZod>;
559
- //#endregion
560
- //#region src/resolvers/resolverZod.d.ts
561
554
  /**
562
555
  * Default resolver used by `@kubb/plugin-zod`. Decides the names and file
563
556
  * paths for every generated Zod schema. Schemas use camelCase with a
@@ -574,6 +567,5 @@ export declare const pluginZod: import("kubb/kit").PluginFactory<PluginZod>;
574
567
  * ```
575
568
  */
576
569
  export declare const resolverZod: ResolverZod;
577
- //#endregion
578
570
  export { type CompileOptions, type PluginZod, type PrinterZodFactory, type PrinterZodMiniFactory, type PrinterZodMiniNodes, type PrinterZodMiniOptions, type PrinterZodNodes, type PrinterZodOptions, type ResolverZod, pluginZod as default };
579
571
  //# sourceMappingURL=index.d.ts.map