@kubb/plugin-zod 5.4.8 → 5.4.10

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.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  import { t as __name } from "./rolldown-runtime-C0LytTxp.js";
2
- import { Exclude, Group, Include, Output, OutputOptions, Override, PluginFactoryOptions, Resolver, ResolverPatch, ast } from "kubb/kit";
3
- import { AdapterOas } from "@kubb/adapter-oas";
2
+ import { Exclude, Group, Include, Output, OutputOptions, Override, PluginType, Resolver, ResolverPatch, ast } from "kubb/kit";
4
3
  //#region src/printers/printerZod.d.ts
5
4
  /**
6
5
  * Partial map of node-type overrides for the Zod printer.
@@ -58,7 +57,7 @@ type PrinterZodOptions = {
58
57
  /**
59
58
  * Date format in the OpenAPI spec (`'date'` or `'date-time'`).
60
59
  */
61
- dateType?: AdapterOas['resolvedOptions']['dateType'];
60
+ dateType?: ast.ParserOptions['dateType'];
62
61
  /**
63
62
  * Transforms raw schema names into valid JavaScript identifiers.
64
63
  */
@@ -483,7 +482,7 @@ type ResolvedOptions = {
483
482
  typeGuards: NonNullable<Options['typeGuards']>;
484
483
  printer: Options['printer'];
485
484
  };
486
- type PluginZod = PluginFactoryOptions<'plugin-zod', Options, ResolvedOptions, ResolverZod>;
485
+ type PluginZod = PluginType<'plugin-zod', Options, ResolvedOptions, ResolverZod>;
487
486
  declare global {
488
487
  namespace Kubb {
489
488
  interface PluginRegistry {