Skip to content

Commit 7e7e346

Browse files
committed
Clean up docs
1 parent af96ad4 commit 7e7e346

File tree

3 files changed

+5
-1031
lines changed

3 files changed

+5
-1031
lines changed

packages/docs/content/v4/index.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -663,8 +663,6 @@ z.e164();
663663
z.base64();
664664
z.base64url();
665665
z.jwt();
666-
z.ascii();
667-
z.utf8();
668666
z.lowercase();
669667
z.iso.date();
670668
z.iso.datetime();

packages/zod/src/v4/core/api.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -314,8 +314,8 @@ export function _ksuid<T extends schemas.$ZodKSUID>(
314314
}
315315

316316
// IPv4
317-
export type $ZodIPv4Params = StringFormatParams<schemas.$ZodIPv4, "pattern" | "when">;
318-
export type $ZodCheckIPv4Params = CheckStringFormatParams<schemas.$ZodIPv4, "pattern" | "when">;
317+
export type $ZodIPv4Params = StringFormatParams<schemas.$ZodIPv4, "pattern" | "when" | "version">;
318+
export type $ZodCheckIPv4Params = CheckStringFormatParams<schemas.$ZodIPv4, "pattern" | "when" | "version">;
319319
export function _ipv4<T extends schemas.$ZodIPv4>(
320320
Class: util.SchemaClass<T>,
321321
params?: string | $ZodIPv4Params | $ZodCheckIPv4Params
@@ -330,8 +330,8 @@ export function _ipv4<T extends schemas.$ZodIPv4>(
330330
}
331331

332332
// IPv6
333-
export type $ZodIPv6Params = StringFormatParams<schemas.$ZodIPv6, "pattern" | "when">;
334-
export type $ZodCheckIPv6Params = CheckStringFormatParams<schemas.$ZodIPv6, "pattern" | "when">;
333+
export type $ZodIPv6Params = StringFormatParams<schemas.$ZodIPv6, "pattern" | "when" | "version">;
334+
export type $ZodCheckIPv6Params = CheckStringFormatParams<schemas.$ZodIPv6, "pattern" | "when" | "version">;
335335
export function _ipv6<T extends schemas.$ZodIPv6>(
336336
Class: util.SchemaClass<T>,
337337
params?: string | $ZodIPv6Params | $ZodCheckIPv6Params

0 commit comments

Comments
 (0)