Files
SnowLuma/.pnpm-store/v11/files/07/a4ad2c4c251ebc60808198ff301a0567bc3f85b600f895e3174d9d98674c829abb563bbae9ba6e1808badab60498319b96a0c9c71596c48bb1166a6d4a1261
TanTan 2a69b23b47
Dev Build / cleanup (push) Canceled after 0s
Dev Build / typecheck (push) Canceled after 0s
Dev Build / build (linux-arm64, ubuntu-24.04-arm, linux-arm64) (push) Canceled after 0s
Dev Build / build (linux-x64, ubuntu-latest, linux-x64) (push) Canceled after 0s
Dev Build / build (win-x64, windows-latest, win32-x64) (push) Canceled after 0s
Dev Build / dispatch-dev-docker (push) Skipped
docs: 仓库链接指向本镜像仓库
2026-11-13 09:27:07 +08:00

58 lines
1.4 KiB
Plaintext

export * as core from "../core/index.js";
export * from "./schemas.js";
export * from "./checks.js";
export * from "./errors.js";
export * from "./parse.js";
export * from "./compat.js";
export type { infer } from "../core/index.js";
export type { JSONType } from "../core/util.js";
export type { CompileOptions } from "../core/index.js";
export {
globalRegistry,
type GlobalMeta,
registry,
config,
memoizer,
$output,
$input,
$brand,
clone,
regexes,
treeifyError,
prettifyError,
formatError,
flattenError,
TimePrecision,
util,
NEVER,
INVALID,
toZod,
compile,
withParser,
ZodCompileAsyncError,
ZodCompileUnsupportedError,
getDiscriminatedOption,
} from "../core/index.js";
export { toJSONSchema } from "../core/json-schema-processors.js";
export { fromJSONSchema } from "./from-json-schema.js";
export { deepPartial } from "./deep-partial.js";
// Types and values both, from one module — re-exporting the types from core would collide.
export { input, output } from "./in-out.js";
export * as locales from "../locales/index.js";
// iso must be exported from top-level https://github.com/colinhacks/zod/issues/4491
export { ZodISODateTime, ZodISODate, ZodISOTime, ZodISODuration } from "./iso.js";
export * as iso from "./iso.js";
// coerce
export type {
ZodCoercedString,
ZodCoercedNumber,
ZodCoercedBigInt,
ZodCoercedBoolean,
ZodCoercedDate,
} from "./coerce.js";
export * as coerce from "./coerce.js";