MCPcopy
hub / github.com/colinhacks/zod / xid

Method xid

packages/zod/src/v4/classic/schemas.ts:498–498  ·  view source on GitHub ↗

@deprecated Use `z.xid()` instead.

(params?: string | core.$ZodCheckXIDParams)

Source from the content-addressed store, hash-verified

496 // jsonString(params?: string | core.$ZodCheckJSONStringParams): this;
497 /** @deprecated Use `z.xid()` instead. */
498 xid(params?: string | core.$ZodCheckXIDParams): this;
499 /** @deprecated Use `z.ksuid()` instead. */
500 ksuid(params?: string | core.$ZodCheckKSUIDParams): this;
501 // /** @deprecated Use `z.ipv4()` or `z.ipv6()` instead. */

Callers 4

convertBaseSchemaFunction · 0.80
string.test.tsFile · 0.80
string.test.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected